A beautiful, animated landing page built with Svelte 5, SvelteKit, and GSAP for scroll animations. This project is statically generated for optimal performance.
Clone the repository:
git clone https://github.com/gustavodslara/svelte-memorycarddigital-landingpage.git
cd svelte-memorycarddigital-landingpage
Install dependencies:
npm install
Start the development server:
npm run dev
Open your browser and visit http://localhost:5173
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.
After building, you can preview the production build:
npm run preview
āāā 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
Edit the CSS custom properties in src/app.css to customize the color scheme:
:root {
--primary-color: #6366f1;
--secondary-color: #8b5cf6;
--accent-color: #ec4899;
/* ... */
}
Each component in src/lib/components/ can be easily customized with your own content, images, and styling.
This project can be deployed to any static hosting service:
vercel deploybuild folderbuild folder to gh-pages branchMIT License - feel free to use this project for your own purposes.
Gustavo Lara