How quinnkeast/quinnkeast-website works
Project Type Analysis
This is a modern JAMstack personal website/blog with the following characteristics:
• Static site generation capabilities through Next.js
• Content management through MDX files
• Frontend-focused architecture
• API routes for basic functionality
Main Components
A. Static Site Generation Layer:
• MDX Content Sources (_posts, _books, _talks, _favourites directories)
• Build-time Processing (fetch-mdx-files.mjs, lib/mdxToHtml.js)
• Static Page Generation
B. Frontend Application Layer:
• Page Components (pages directory)
• Reusable Components (components directory)
• Styling (Tailwind CSS, styles directory)
C. Dynamic Features:
• API Routes (pages/api directory)
• Authentication System (login/logout endpoints)
• User Session Management (lib/useUser.js, lib/session.js)
D. Asset Management:
• Static Assets (public directory)
• Fonts
• Media Files
• [Content Layer (MDX Files)] → [Build Process] → [Static Assets]
• ↓
• [Client Browser] ← [Next.js Server] ← [Static Pages/Assets]
• ↕
• [API Routes]
Key Elements to Emphasize
• Content Pipeline:
• MDX processing flow
• Static site generation process
• Asset optimization and delivery
• Application Architecture:
• Next.js page router structure
• Component hierarchy
• API route integration
• Performance Considerations:
• Static generation benefits
• Client-side navigation
• Asset optimization
Implementation Details
• Build Process:
• [MDX Files] → [MDX Processing] → [HTML Generation] → [Static Pages]
• Request Flow:
• [Browser] → [Static Pages] → [Client-side Navigation]
• ↘ [API Routes] → [Authentication/Session]