Skip to content

feat: rename articles to blog - #66

Merged
calebephrem merged 2 commits into
mainfrom
dev
Aug 29, 2026
Merged

feat: rename articles to blog#66
calebephrem merged 2 commits into
mainfrom
dev

Conversation

@calebephrem

Copy link
Copy Markdown
Member

What does this PR do?

  • Renames every instance of article to blog
  • Changed redirects for the change (/articles/* -> /blog/*)
  • some primary bg color tweaks

Closes

Type of change(s)

  • Bug fix
  • New feature
  • Documentation update
  • Style / UI change
  • Refactor (no functional change)
  • Performance improvement
  • Other

Checklist

  • I've tested this change locally and it works as expected
  • bun run lint or npm run lint completes without warnings or errors
  • bun run build or npm run build completes successfully
  • My commit messages follow Conventional Commits (e.g. feat: ..., fix: ..., chore: ...)
  • I've updated relevant documentation (README, comments, etc.) if needed
  • I've removed any temporary debugging code (e.g. console.log)

@devhub-bot devhub-bot Bot added feat New feature style code style (linting, prettier, etc.) labels Aug 29, 2026
@beetle-ai

beetle-ai Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary by Beetle

This PR accomplishes a comprehensive rebranding of the website's content section from "articles" to "blog". The changes include:

  1. Terminology Update: Renaming all references from "articles" to "blog" across the codebase, documentation, and content files
  2. File Structure Reorganization: Moving content from content/articles/ to content/blog/ and updating corresponding app routes from app/articles/ to app/blog/
  3. Theme Refinement: Subtle tweaks to background colors in the CSS theme for improved visual consistency
  4. Navigation Updates: Updating all navigation links, headers, footers, and redirects to reflect the new terminology
  5. Redirect Configuration: Reversing redirect logic to point old /articles URLs to the new /blog routes
    The PR solves the problem of inconsistent terminology and improves the semantic clarity of the website's content section by using "blog" instead of "articles", which better reflects the nature of the content being published.

📁 File Changes Summary (Consolidated across all commits):

File Status Changes Description
app/globals.css Modified +5/-5 Updated CSS theme variables: tweaked background colors for light mode (--bg-primary from #f0f0f0 to #f0f0f5, --bg-secondary from #e4e4f4 to #e4e4fa) and dark mode (--bg-primary from #050505 to #05050a, --bg-tertiary from #0f0f2f to #0f0f32). Updated markdown comment from "pages and articles" to "pages and blog".
app/blog/page.tsx
app/blog/[slug]/page.tsx
app/blog/loader.ts
Renamed +69/-74 Renamed from app/articles/ to app/blog/. Updated all function names (ArticleContentBlogContent, ArticleCardBlogCard, ArticleSkeletonBlogSkeleton), type names (ArticleDataBlogData), function exports (getArticlesgetBlogs, getArticleBySluggetBlogBySlug), and all variable references throughout. Updated internal paths and links from /articles to /blog.
components/site/Header.tsx
components/site/Footer.tsx
Modified +2/-2 Updated navigation menu items from "Articles" label with /articles href to "Blog" label with /blog href in both header and footer components.
content/blog/android-developer-verification.md
content/blog/coming-soon.md
content/blog/how-discord-scams-work.md
Renamed +8/-7 Renamed from content/articles/ to content/blog/. Updated content references from "article" to "blog post" and "blog" terminology throughout the markdown files. Updated internal links and path references.
lib/redirects.ts Modified +4/-4 Reversed redirect configuration to point old /articles and /articles/:path* routes to new /blog and /blog/:path* destinations, ensuring backward compatibility for old URLs.
README.md Modified +5/-5 Updated documentation to reflect terminology change from "articles" to "blog" in multiple sections: project description, feature list, repository structure diagram, and content organization explanation.

Total Changes: 11 files changed, +93 additions, -97 deletions

🎯 Key Changes:

  • Semantic Rebranding: Systematically renamed all "articles" terminology to "blog" across the entire codebase, improving clarity about the content type
  • Route Migration: Moved all article routes from /articles to /blog with proper redirect configuration to maintain backward compatibility
  • Type System Updates: Renamed TypeScript types and interfaces (ArticleDataBlogData) to maintain consistency throughout the application
  • Component Refactoring: Updated React component names and props (ArticleCardBlogCard, article prop → blog prop) for semantic clarity
  • Content Organization: Reorganized content directory structure from content/articles/ to content/blog/ with updated file references
  • Navigation Consistency: Updated all navigation elements (header, footer, links) to use "Blog" terminology
  • Theme Enhancement: Applied subtle color adjustments to background variables for improved visual consistency in both light and dark modes
  • Documentation Alignment: Updated README and inline comments to reflect the new terminology throughout the project

📊 Impact Assessment:

  • Security: No security implications. This is a purely cosmetic and organizational refactoring with no changes to authentication, authorization, or data handling mechanisms.
  • Performance: No performance impact. The changes are terminology and organizational updates only. File structure changes don't affect runtime performance, and CSS color tweaks are negligible.
  • Maintainability: Positive Impact. The rebranding improves code clarity and maintainability by using more semantically accurate terminology. The "blog" terminology is more intuitive than "articles" for content management. Type names and function names are now more descriptive. The redirect configuration ensures backward compatibility, reducing technical debt.
  • Testing: Minimal Testing Required. The changes are primarily refactoring with no new functionality. Recommended tests: (1) Verify all /blog routes render correctly, (2) Confirm /articles redirects properly to /blog, (3) Test blog post loading and display, (4) Verify navigation links work in header/footer, (5) Check that blog content renders with correct metadata. No new test files are needed as this is a rename operation.
⚙️ Settings

Severity Threshold: Medium — Balanced feedback — medium and high severity issues only.Change in Settings
Custom Rules: Define your own review rules — Set Custom Rules
PR Summary: Configure PR summary — Change in Settings

📖 User Guide
  • Once repos are connected, PR analysis is automatically enabled. You can disable analysis for this repo from beetleai.dev/analysis
  • Comment @beetle on any PR to start analysis manually
  • Comment @beetle stop to stop any ongoing analysis

Follow us: Beetle · X · LinkedIn

Comment thread components/site/Header.tsx Outdated
@devhub-bot

devhub-bot Bot commented Aug 29, 2026

Copy link
Copy Markdown

Note

Linting checks passed successfully 🎉

All formatting and code quality checks are clean.

You're good to merge 🚀

@beetle-ai

beetle-ai Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary by Beetle

This PR accomplishes a comprehensive rebranding of the website's content section from "Articles" to "Blog". The changes include:

  1. Terminology Update: Renaming all references from "articles" to "blog" across the codebase, documentation, and content
  2. File Structure Reorganization: Moving content files from content/articles/ to content/blog/ and app routes from app/articles/ to app/blog/
  3. Code Refactoring: Updating all function names, type names, variable names, and imports to reflect the new terminology
  4. Navigation Updates: Updating site navigation (header, footer) and redirect rules to point to the new /blog route
  5. Theme Refinement: Fine-tuning background colors in the theme for improved visual consistency
    The PR solves the problem of outdated terminology by standardizing on "Blog" as the more accurate descriptor for the community's written content, which includes guides, releases, news, and deep dives—not just traditional articles.

📁 File Changes Summary (Consolidated across all commits):

File Status Changes Description
app/globals.css Modified +5/-5 Updated theme background colors for light mode (--bg-primary, --bg-secondary) and dark mode (--bg-primary, --bg-tertiary) for improved visual consistency. Updated comment from "pages and articles" to "pages and blog".
app/blog/page.tsx
app/blog/[slug]/page.tsx
app/blog/loader.ts
Renamed +69/-74 Renamed from app/articles/ to app/blog/. Updated all function names (getArticlesgetBlogs, ArticleCardBlogCard, ArticleContentBlogContent, ArticleSkeletonBlogSkeleton), type names (ArticleDataBlogData), variable names, and route references. Updated UI text from "Articles" to "Blog" and "Edit this article" to "Edit this blog".
content/blog/android-developer-verification.md
content/blog/coming-soon.md
content/blog/how-discord-scams-work.md
Renamed +8/-7 Renamed from content/articles/ to content/blog/. Updated internal references from "article" to "blog post" in content text and metadata descriptions.
components/site/Header.tsx
components/site/Footer.tsx
Modified +2/-2 Updated navigation menu items from "Articles" label with /articles href to "Blog" label with /blog href.
lib/redirects.ts Modified +4/-4 Reversed redirect rules to point old /articles routes to new /blog routes, ensuring backward compatibility for existing links.
README.md Modified +5/-5 Updated documentation to reflect the new "Blog" terminology. Changed "articles" to "blog" in feature descriptions, directory structure documentation, and content descriptions.

Total Changes: 11 files changed, +93 additions, -97 deletions

🗺️ Walkthrough:

graph TD
A["User navigates to website"] --> B{"Route requested"}
B -->|"/blog"| C["Blog listing page app/blog/page.tsx"]
B -->|"/articles" (legacy)| D["Redirect to /blog lib/redirects.ts"]
C --> E["Load blog posts getBlogs from loader.ts"]
E --> F["Render BlogCard components for each blog post"]
F --> G["Display blog grid with featured posts"]
B -->|"/blog/[slug]"| H["Individual blog page app/blog/[slug]/page.tsx"]
H --> I["Load specific blog getBlogBySlug"]
I --> J["Render BlogContent with markdown"]
J --> K["Display blog post with metadata & authors"]
L["Navigation components Header & Footer"] --> M["Updated links to /blog route"]
N["Theme system globals.css"] --> O["Refined colors for better UX"]
Loading

🎯 Key Changes:

  • Terminology Standardization: All references to "articles" have been systematically replaced with "blog" across the entire codebase, making the terminology more accurate for the type of content being published (guides, releases, news, and deep dives)
  • Route Migration: The primary route changed from /articles to /blog, with backward-compatible redirects ensuring old links continue to work
  • Type System Updates: TypeScript types and interfaces renamed (ArticleDataBlogData) to maintain consistency throughout the codebase
  • Component Refactoring: React components and functions comprehensively renamed (ArticleCardBlogCard, getArticlesgetBlogs, etc.) for clarity and consistency
  • Content Directory Reorganization: Blog content files moved from content/articles/ to content/blog/, with internal references updated to reflect the new structure
  • Navigation Consistency: Header and footer navigation updated to use "Blog" label and /blog route, providing a cohesive user experience
  • Theme Refinement: Background colors adjusted in both light and dark modes for improved visual hierarchy and consistency
  • Documentation Updates: README and inline comments updated to reflect the new terminology and directory structure

📊 Impact Assessment:

  • Security: No security implications. This is a purely cosmetic and structural refactoring with no changes to authentication, authorization, or data handling mechanisms.
  • Performance: No performance impact. The refactoring maintains the same data loading patterns, component structure, and rendering logic. File organization changes do not affect runtime performance.
  • Maintainability: Positive impact. The terminology change from "articles" to "blog" is more semantically accurate and reduces cognitive load for developers. The consistent naming across components, types, and functions improves code readability. Future contributors will have clearer intent when working with blog-related code.
  • Testing: No test files are included in this PR, but the changes are straightforward refactoring that should not require new tests. Existing tests for blog functionality (if any) would need to be updated to use the new function and component names. The redirect logic in lib/redirects.ts should be verified to ensure legacy /articles URLs properly redirect to /blog.
⚙️ Settings

Severity Threshold: Medium — Balanced feedback — medium and high severity issues only.Change in Settings
Custom Rules: Define your own review rules — Set Custom Rules
PR Summary: Configure PR summary — Change in Settings

📖 User Guide
  • Once repos are connected, PR analysis is automatically enabled. You can disable analysis for this repo from beetleai.dev/analysis
  • Comment @beetle on any PR to start analysis manually
  • Comment @beetle stop to stop any ongoing analysis

Follow us: Beetle · X · LinkedIn

@devhub-bot

devhub-bot Bot commented Aug 29, 2026

Copy link
Copy Markdown

Note

Linting checks passed successfully 🎉

All formatting and code quality checks are clean.

You're good to merge 🚀

@beetle-ai

beetle-ai Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

✅ You're good to merge this PR! No issues found. Great job!

Settings
⚙️ Settings

Severity Threshold: Medium — Balanced feedback — medium and high severity issues only.Change in Settings
Custom Rules: Define your own review rules — Set Custom Rules
PR Summary: Configure PR summary — Change in Settings

📖 User Guide
  • Once repos are connected, PR analysis is automatically enabled. You can disable analysis for this repo from beetleai.dev/analysis
  • Comment @beetle on any PR to start analysis manually
  • Comment @beetle stop to stop any ongoing analysis

@calebephrem
calebephrem merged commit cb17472 into main Aug 29, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature style code style (linting, prettier, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename every instalce of Article to Blog

1 participant