A modern portfolio website built with SvelteKit 2, Svelte 5, and Tailwind CSS v4.
src/
├── lib/
│ ├── components/ # Reusable components
│ │ └── ui/ # shadcn/svelte components
│ ├── config/ # Application configuration
│ └── projects/ # Project data and types
├── routes/
│ ├── hackathons/ # Hackathon pages
│ └── projects/ # Project pages
└── app.html # HTML template
Install dependencies:
pnpm install
Start the development server:
pnpm dev
The application will be available at http://localhost:5173.
Create a production build:
pnpm build
Preview the production build:
pnpm preview
| Script | Description |
|---|---|
pnpm dev |
Start development server |
pnpm build |
Build for production |
pnpm preview |
Preview production build |
pnpm format |
Format code with Prettier |
pnpm lint |
Lint code with ESLint and Prettier |
pnpm check |
Type-check with svelte-check |
Add shadcn/svelte components:
pnpm dlx shadcn-svelte@latest add <component>
Tailwind configuration is defined in vite.config.ts using the Vite plugin. Global styles are imported in src/routes/layout.css.
SvelteKit is configured in svelte.config.js with the static adapter for pre-rendering.
TypeScript configuration is in tsconfig.json. Path aliases are configured for $lib and other imports.
This project uses @sveltejs/adapter-static for static site generation. The built files in the build directory can be deployed to any static hosting service.
This project is licensed under the MIT License. See LICENSE for details.