Component Architecture
All components are located insrc/components/ and are written as Astro components (.astro files). These components leverage:
- Astro’s component syntax for templating and props
- Bootstrap 5 for responsive layouts and styling
- Bootstrap Icons for iconography
- Scoped styles for component-specific CSS
Available Components
Header
Site navigation with responsive menu and logo
Footer
Site footer with contact info and social links
Video
YouTube video embed with custom thumbnail
Apps
App store download links for Geometry Dash
Socials
Social media links with animated icons
Alert
Fixed position notification banner
Text
Content card with title and body text
SEO
Meta tags for search engines and social media
Import and Usage Pattern
All components follow a consistent import pattern:src/pages/index.astro
Component Composition
The site uses a mainLayout.astro component that includes the core structural components:
src/layouts/Layout.astro
Styling Conventions
Components use:- Bootstrap utility classes for layout and spacing
- Scoped
<style>blocks for component-specific styling - CSS transitions for hover effects and animations
- Responsive design with Bootstrap’s breakpoint system
Next Steps
Explore Components
Dive into individual component documentation
Layout Structure
Learn about page layouts
