How youngvision-ev/website works
Main System Components
a. Frontend Architecture (Primary Focus)
• Static Site Generation Layer (Astro)
• Interactive Components Layer (Svelte)
• Asset Management
• Routing System
b. Build & Development Infrastructure
• Development Environment
• Production Build Pipeline
• Static Asset Pipeline
Component Organization
Top Layer (Page Layer):
• Main pages from src/pages (index, about-us, events, members, support-us)
• Dynamic routing for events ([slug].astro)
Middle Layer (Components):
• Shared Components (Navbar, Footer, Button, etc.)
• Feature-specific Components (organized by section)
• Layout Components
• Store Management (newsletter signup)
Bottom Layer (Assets & Data):
• Static Assets (public directory)
• Data Layer (src/data with real and test data)
Key Relationships to Highlight
• Page composition flow
• Component inheritance
• Data flow between components
• Asset loading paths
• Build process flow
Specific Implementation Details
• Astro Components (*.astro files)
• Svelte Components (*.svelte files)
• Static Assets
• Data Sources
• Build Configuration
Technical Stack Indicators
Technology badges for:
• Astro
• Svelte
• TailwindCSS
• TypeScript
• Playwright (Testing)
Create distinct sections for:
a. Runtime Architecture
• How pages are served
• Client-side interactivity points
• Static vs. Dynamic components
b. Development Architecture
• Development workflow
• Testing infrastructure
• Build pipeline