FitLife is a static fitness-themed frontend landing page built with Svelte 5, TailwindCSS, and Svelte SPA Router. It is designed to showcase features, testimonials, pricing plans, and login/register forms in an interactive and responsive mannerβideal for demoing wellness or SaaS-based products.
FitLife was created to demonstrate a static landing page concept for health and fitness platforms. The project focuses on delivering an aesthetically pleasing, responsive, and single-page layout that highlights service benefits and encourages user engagement through CTAs and authentication UIs.
Svelte 5 and svelte-spa-router
were used to implement SPA navigation with lightweight performance. Components were built with bits-ui
, styled via TailwindCSS, and enhanced using tailwind-variants
for reusable variants. The project simulates form behavior using svelte-sonner
for toast notifications and leverages AOS for elegant scroll effects.
svelte-spa-router
.svelte-sonner
.bits-ui
, lucide-svelte
, and tailwind-variants
for modular component design.Page | Path | Description |
---|---|---|
Home | / |
Main landing page |
Login | /login |
Login form (demo only) |
Register | /register |
Registration form (demo only) |
git clone https://github.com/yourusername/fitlife-landingpage.git
cd fitlife-landingpage
npm install
npm run dev
npm run build
npm run preview
svelte-sonner
for toast feedback.This project is licensed under the MIT License β feel free to use and modify.
src/
βββ components/ # UI components like Hero, CTA, Footer, etc.
βββ pages/ # Main pages: Home, Login, Register
βββ routes.ts # SPA routing setup
βββ app.css # Global styles with Tailwind
βββ main.ts # App entry point