Skip to content

Add AI and outdoor blog content - #14

Merged
simihablo merged 1 commit into
mainfrom
feat/ai-outdoor-posts
Sep 6, 2026
Merged

Add AI and outdoor blog content#14
simihablo merged 1 commit into
mainfrom
feat/ai-outdoor-posts

Conversation

@simihablo

Copy link
Copy Markdown
Owner

Summary

  • add three AI-focused and three hiking/camping blog posts with full article pages
  • introduce a shared editorial data source and dynamic article route
  • refresh the site with a forest, amber, and slate theme across home, blog, article, and 404 pages

Validation

  • npm run build
  • targeted ESLint for changed TypeScript/TSX files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 6, 2026 01:07
@simihablo
simihablo merged commit d8b0b1b into main Sep 6, 2026
2 checks passed
@simihablo
simihablo deleted the feat/ai-outdoor-posts branch September 6, 2026 01:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

There are security and SPA-navigation issues in the touched UI (reverse-tabnabbing risk via window.open, and a full reload on the 404 home link) that should be addressed before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR expands the site’s blog with new AI/outdoor content, introduces a shared content source for those posts with a dynamic article route, and updates the UI theme (forest/amber/slate) across core pages.

Changes:

  • Added a shared newBlogPosts content module and a dynamic /blog/:slug route for rendering those posts.
  • Updated the Blog listing to include the new content alongside existing static posts.
  • Refreshed styling across home, blog, article, and 404 pages using new shared layout classes (site-home, site-page, site-header).
File summaries
File Description
src/App.tsx Adds the dynamic blog post route.
src/pages/Blog.tsx Pulls in newBlogPosts and updates blog list UI/category styling.
src/pages/blog/NewBlogPost.tsx New dynamic post page that renders content from newBlogPosts by slug.
src/content/newBlogPosts.ts Adds the shared editorial data source (6 new posts).
src/index.css Introduces shared theme/layout utility classes and updates CSS variables.
src/pages/Index.tsx Applies the refreshed theme across the home page sections.
src/pages/NotFound.tsx Restyles the 404 page to match the new theme.
src/pages/blog/HikingOaxacaAdventure.tsx Updates page wrapper/header classes to new theme.
src/pages/blog/KubernetesMonitoringKanvas.tsx Updates page wrapper/header classes to new theme.
src/pages/blog/OpenSourceContributionsMeshery.tsx Updates page wrapper/header classes to new theme.
src/pages/blog/DogsAndDevops.tsx Updates page wrapper/header classes to new theme.
Review details

Suppressed comments (1)

src/pages/Index.tsx:263

  • Same reverse-tabnabbing risk here: add noopener,noreferrer (or use an <a> with target + rel) when opening a new tab.
            <Button 
              size="lg"
              className="bg-amber-400 hover:bg-amber-300 text-slate-950 font-semibold transition-all duration-300 hover:scale-105"
              onClick={() => window.open('https://github.com/simihablo', '_blank')}
            >
  • Files reviewed: 11/11 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/pages/Index.tsx
Comment on lines 103 to 107
<Button
size="lg"
variant="outline"
className="border-orange-500 text-orange-400 hover:bg-orange-500 hover:text-white transition-all duration-300"
className="border-emerald-400/70 text-emerald-200 hover:bg-emerald-400 hover:text-slate-950 transition-all duration-300"
onClick={() => window.open('https://github.com/simihablo', '_blank')}
Comment thread src/pages/Blog.tsx
}
};

console.log('Blog component rendering');
Comment thread src/pages/NotFound.tsx
Comment on lines +20 to 22
<a href="/" className="font-medium text-emerald-700 underline decoration-emerald-300 underline-offset-4 hover:text-emerald-900">
Return to Home
</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants