Nicholai d2a647b04d Refactor src/pages/index.astro to idiomatic Astro architecture
- Extract React components (ParallaxBackground, FloatingHeader, StoryCard, CharacterAccordion, StickyMapSection, ScrollingBookCard) with proper client directives
- Create Astro wrapper components (HeroSection, BooksSection, StoriesSection, CharactersSection) for static markup composition
- Add reusable AnimatedSection component (client:visible) for scroll animations
- Create useScrollAnimation hook for shared intersection observer logic
- Update main layout to import global CSS for Tailwind styles
- Replace 1130-line monolithic file with modular, maintainable structure
- Remove Next.js imports (Image, Link) in favor of native Astro/HTML
- Implement islands architecture with strategic client directives for performance

Result: Better code organization, reduced client-side JavaScript, improved performance through lazy hydration
2025-11-29 16:48:20 -07:00
2025-11-29 15:46:47 -07:00
2025-11-29 15:46:47 -07:00
2025-11-29 15:46:47 -07:00
2025-11-29 15:46:47 -07:00
2025-11-29 04:04:14 -07:00
2025-11-29 15:46:47 -07:00
2025-11-29 15:46:47 -07:00
2025-11-28 20:09:20 -07:00
2025-11-29 04:04:14 -07:00

Astro with Tailwind

pnpm create astro@latest -- --template with-tailwindcss

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

Astro comes with Tailwind support out of the box. This example showcases how to style your Astro project with Tailwind.

For complete setup instructions, please see our Tailwind Integration Guide.

Description
a shiny new website for airic fenn
Readme 2.8 MiB
Languages
HTML 44.8%
TypeScript 19%
CSS 17.5%
JavaScript 15.7%
Astro 3%