astro-epic-scroll-odyssey Svelte Themes

Astro Epic Scroll Odyssey

🌌 Immersive storytelling experience using Astro, Svelte, GSAP ScrollTrigger, and Lenis smooth scrolling.

🌌 Astro Epic Scroll Odyssey

An immersive, cinematic scroll-telling experience with deep GSAP animations and buttery-smooth Lenis scrolling.


Journey through a story woven into the very fabric of the scroll bar. Featuring dynamic pinning, parallax layers, and text reveals powered by GSAP ScrollTrigger, delivered with zero-compromise static performance via Astro.


✨ Highlights

  • Cinematic Scroll (Lenis): Perfect, buttery smooth scroll interception for flawless frame pacing.
  • Storytelling via GSAP: Complex horizontal pinning and parallax effects orchestrated with ScrollTrigger.
  • Astro Islands: 100% static HTML delivery with Svelte components hydrating only when the story demands interactivity.

🧭 Pages

  • / - Main storytelling page
  • /robots.txt - Crawler rules generated dynamically
  • /sitemap-index.xml - Auto-generated sitemap

šŸ› ļø Tech Stack

Layer Technology
Framework Astro 6
Islands Svelte
Animations GSAP & Lenis
Language TypeScript
Styling Tailwind CSS 4
SEO @astrojs/sitemap, canonical metadata, robots.txt
Hosting Static deployment ready (Netlify optimized)

šŸš€ Local Development

šŸ“¦ Install

npm install

ā–¶ļø Run dev server

npm run dev

šŸ—ļø Build

npm run build

šŸ“ Project Structure

astro-epic-scroll-odyssey/
ā”œā”€ā”€ public/
│   ā”œā”€ā”€ favicon.svg
│   └── og.svg
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ components/
│   │   ā”œā”€ā”€ Hero.svelte
│   │   ā”œā”€ā”€ HorizontalScroll.svelte
│   │   └── TextReveal.svelte
│   ā”œā”€ā”€ layouts/
│   │   └── Layout.astro
│   ā”œā”€ā”€ pages/
│   │   ā”œā”€ā”€ index.astro
│   │   └── robots.txt.ts
│   └── styles/
│       └── global.css
ā”œā”€ā”€ .gitignore
ā”œā”€ā”€ astro.config.mjs
ā”œā”€ā”€ LICENSE
ā”œā”€ā”€ netlify.toml
ā”œā”€ā”€ package-lock.json
ā”œā”€ā”€ package.json
ā”œā”€ā”€ README.md
└── tsconfig.json

🌐 Deployment

  1. Push your code to GitHub
  2. Connect repository to Netlify
  3. Build settings are auto-configured via netlify.toml
  4. Deploy


šŸ“„ License

MIT License. See LICENSE.

Top categories

Loading Svelte Themes