How llanesluis/portfolio works
Main Architecture Components
a) Client-Side Layer
• Static site generation aspect (Astro's key feature)
• Component architecture
• Routing system
b) Build/Compilation Layer
• Demonstrate Astro's build process
• Integration with other frameworks (React/TypeScript)
c) Asset/Static Content Layer
• Public assets handling
• Static file serving
Component Organization
Create distinct sections for:
a) Core Components Structure
• Global components (/src/components/global/*)
• Section components (/src/components/sections/*)
• Helper components (/src/components/helpers/*)
b) Layout System
• RootLayout.astro as the main wrapper
• Page templates
Specific Implementation Details
a) Data Flow
• How constants (from /src/constants/*) feed into components
• Demonstrate the routing structure from /src/pages
• Form handling (ContactForm.tsx)
b) Styling System
• Tailwind CSS integration
• Global styles
• Theme switching mechanism
┌─ Build Time ─────────────────────┐
• Astro Build Process │
• TypeScript Compilation │
• Tailwind CSS Processing │
• ┘
┌─ Runtime ──────────────────────┐
• Static Site Serving │
• Client-side Interactivity │
• Theme Switching │
• ┘
┌─ Components ────────────────────┐
• Global Components │
• Section Components │
• Helper Components │
• ┘
Key Relationships to Highlight
• How RootLayout.astro wraps all pages
• Demonstrate the relationship between sections and their components
• Theme control system's integration
• Form submission flow in the contact section
Technical Stack Indicators
• Astro
• React
• TypeScript
• Tailwind CSS
• Other integrated technologies