svelte-memorycarddigital-landingpage Svelte Themes

Svelte Memorycarddigital Landingpage

Landing Page Repo for MemoryCard.digital

Memory Card Digital Landing Page

A beautiful, animated landing page built with Svelte 5, SvelteKit, and GSAP for scroll animations. This project is statically generated for optimal performance.

Features

  • šŸš€ Built with Svelte 5 and SvelteKit
  • šŸŽØ Smooth scroll animations using GSAP and ScrollTrigger
  • šŸ“± Fully responsive design
  • ⚔ Static site generation for blazing-fast performance
  • šŸŽÆ Modern, gradient-based UI design
  • šŸ”§ Easy to customize

Tech Stack

  • Framework: SvelteKit
  • UI Library: Svelte 5
  • Animations: GSAP with ScrollTrigger
  • Adapter: @sveltejs/adapter-static (for SSG)
  • Build Tool: Vite

Getting Started

Prerequisites

  • Node.js 18+ installed on your machine
  • npm or pnpm package manager

Installation

  1. Clone the repository:

    git clone https://github.com/gustavodslara/svelte-memorycarddigital-landingpage.git
    cd svelte-memorycarddigital-landingpage
    
  2. Install dependencies:

    npm install
    
  3. Start the development server:

    npm run dev
    
  4. Open your browser and visit http://localhost:5173

Building for Production

To create a production build:

npm run build

The static site will be generated in the build directory, ready to be deployed to any static hosting service.

Preview Production Build

After building, you can preview the production build:

npm run preview

Project Structure

ā”œā”€ā”€ src/
│   ā”œā”€ā”€ lib/
│   │   └── components/
│   │       ā”œā”€ā”€ Navbar.svelte
│   │       ā”œā”€ā”€ Hero.svelte
│   │       ā”œā”€ā”€ Features.svelte
│   │       ā”œā”€ā”€ About.svelte
│   │       ā”œā”€ā”€ CTA.svelte
│   │       └── Footer.svelte
│   ā”œā”€ā”€ routes/
│   │   ā”œā”€ā”€ +layout.svelte
│   │   ā”œā”€ā”€ +layout.js
│   │   └── +page.svelte
│   ā”œā”€ā”€ app.html
│   ā”œā”€ā”€ app.css
│   └── app.d.ts
ā”œā”€ā”€ static/
ā”œā”€ā”€ svelte.config.js
ā”œā”€ā”€ vite.config.js
└── package.json

Customization

Colors

Edit the CSS custom properties in src/app.css to customize the color scheme:

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    /* ... */
}

Content

Each component in src/lib/components/ can be easily customized with your own content, images, and styling.

Deployment

This project can be deployed to any static hosting service:

  • Vercel: vercel deploy
  • Netlify: Drag and drop the build folder
  • GitHub Pages: Push the build folder to gh-pages branch
  • Cloudflare Pages: Connect your repository

License

MIT License - feel free to use this project for your own purposes.

Author

Gustavo Lara

Acknowledgments

  • Svelte team for the amazing framework
  • GreenSock for GSAP animations
  • The open-source community

Top categories

Loading Svelte Themes