How pisethmao/nexpress works
NexPress is a Next.js blogging and content-discovery frontend. Visitors enter through the home page, browse featured, categorized, latest, and feed content, and can explore author/about and category pages; the newsletter form records a subscription locally in the browser. The graph also retains the blog and authentication routes. Relationships are limited to route composition and data dependencies visible in excerpts or the SOURCE INDEX; unsampled implementation details are not inferred.
Main entry points: app/page.tsx Home page · FooterSection.tsx Footer · Navbar.tsx Navigation · categories/page.tsx Categories route
Components 32
Routes and shell
- Home page
src/app/page.tsx - App layout
src/app/layout.tsx - About route
src/app/about/page.tsx - Blogs route
src/app/blogs/page.tsx - Categories route
src/app/categories/page.tsx - Login and register
src/app/(auth) - Navigation
src/components/navbar/Navbar.tsx - Theme toggle
src/components/theme/ThemeToggle.tsx - Footer
src/components/FooterSection.tsx
Content discovery
- Hero section
src/components/hero/HeroSection.tsx - Featured posts
src/components/featured/FeaturedPosts.tsx - Category section
src/components/categories/CategoriesSection.tsx - Latest posts
src/components/latest/LatestPostsSection.tsx - Blog feed
src/components/BlogFeed.tsx - Post cards
src/components/cards/BlogCard.tsx - Blog experience
src/components/blog/Blog.tsx
Reader engagement
- Author spotlight
src/components/author/AuthorSpotlight.tsx - About and team
src/components/about/About.tsx - Newsletter form
src/components/newsletter/NewsletterSection.tsx
Content data
- Footer content
src/Data/footerData.ts - Team content
src/Data/teamData.ts - Featured content
src/Data/featuredPostsData.ts - Author content
src/Data/authorData.ts - Feed content
src/Data/blogFeedData.ts - Latest content
src/Data/latestPostData.ts - Navigation content
src/Data/navItemData.ts - Newsletter copy
src/Data/newsletterData.ts - Hero content
src/Data/heroData.ts - Category content
src/Data/categoryData.ts
Other components
- Visitor
- Browser local storage
- Posts API
Connections 30
- Visitor → Home page: opens
- Home page → Hero section: renders
src/app/page.tsx - Home page → Featured posts: renders
src/app/page.tsx - Home page → Category section: renders
src/app/page.tsx - Home page → Latest posts: renders
src/app/page.tsx - Home page → Author spotlight: renders
src/app/page.tsx - Home page → Newsletter form: renders
src/app/page.tsx - Home page → Blog feed: renders
src/app/page.tsx - Home page → Footer: renders
src/app/page.tsx - App layout → Navigation: includes
src/app/layout.tsx - App layout → Footer: includes
src/app/layout.tsx - Navigation → Theme toggle: renders
src/components/navbar/Navbar.tsx - About route → About and team: renders
src/app/about/page.tsx - About route → Footer: renders
src/app/about/page.tsx - Blogs route → Blog experience: renders
src/app/blogs/page.tsx - Categories route → Post cards: renders
src/app/categories/page.tsx - Categories route → Navigation: renders
src/app/categories/page.tsx - Categories route → Footer: renders
src/app/categories/page.tsx - Footer → Footer content: reads
src/components/FooterSection.tsx - About and team → Team content: reads
src/components/about/About.tsx - Featured posts → Featured content: reads
src/components/featured/FeaturedPosts.tsx - Author spotlight → Author content: reads
src/components/author/AuthorSpotlight.tsx - Blog feed → Feed content: reads
src/components/BlogFeed.tsx - Latest posts → Latest content: reads
src/components/latest/LatestPostsSection.tsx - Navigation → Navigation content: reads
src/components/navbar/Navbar.tsx - Newsletter form → Newsletter copy: reads
src/components/newsletter/NewsletterSection.tsx - Hero section → Hero content: reads
src/components/hero/HeroSection.tsx - Category section → Category content: reads
src/components/categories/CategoriesSection.tsx - Post cards → Posts API: fetches posts
src/components/cards/BlogCard.tsx - Newsletter form → Browser local storage: stores email
src/components/newsletter/NewsletterSection.tsx