This repository contains the source code for my personal portfolio website, built with SvelteKit, TypeScript, and Tailwind CSS. It showcases my skills, projects, professional experience, and provides ways to get in touch.
Visit the live site: adamec.me
- Modern Tech Stack: Built with the latest SvelteKit, leveraging Vite for lightning-fast HMR.
- Type Safety: Written entirely in TypeScript for enhanced code quality and maintainability.
- Component-Based: Uses Svelte components for modularity and reusability (
Project,TitleCard,Text, etc.). - Responsive Design: Styled with Tailwind CSS for a clean look that adapts seamlessly across devices.
- Dark Mode: Includes support for user-preferred color schemes.
- Smooth Scrolling & Navigation: Easy navigation between sections.
- Dynamic Content: Data for Experience, Projects, and Skills is managed centrally and rendered dynamically.
- Subtle Animations: Uses custom components (
Show) for smooth element loading animations. - Comprehensive Sections: Includes Home, About Me, Skills (detailed breakdown), Experience, Projects, and Contact sections.
- Framework: SvelteKit
- Language: TypeScript
- Styling: Tailwind CSS
- Development Server: Vite
- Deployment: Cloudflare
Follow these instructions to get a local copy up and running for development purposes.
- Node.js (v18 or later recommended)
- yarn (or pnpm/npm)
-
Clone the repository:
git clone https://github.com/Leif-Rydenfalk/portfolio.git cd adamec_svelte_tailwind #
-
Install dependencies:
yarn install # or # pnpm install # or # npm install
-
Start the development server:
yarn dev # or # pnpm dev # or # npm run dev
-
Open your browser and navigate to
http://localhost:5173(or the port specified in your terminal).
To create a production-ready version of the site:
yarn build
# or
# pnpm build
# or
# npm run buildThis will generate the static files or server output (depending on your SvelteKit adapter) in the designated build directory (e.g., build/ or .svelte-kit/output/). You can then deploy these files to your hosting provider. Refer to the SvelteKit adapters documentation for more details specific to your deployment target.
/
├── static/ # Static assets (images, favicons)
│
├── src/
│ ├── lib/ # Reusable Svelte components, utilities, data
│ │ ├── components/ # (If you structure components further)
│ │ ├── util/ # Utility functions (e.g., scrolling)
│ │ ├── Project.svelte
│ │ ├── Text.svelte
│ │ └── ... (other components/data files)
│ │
│ ├── routes/ # SvelteKit file-based routing
│ │ └── +page.svelte # Main page component loading all sections
│ │ └── +layout.svelte # Optional root layout
│ │
│ └── app.d.ts # TypeScript definitions
│ └── app.html # HTML template shell
│
├── package.json # Project dependencies and scripts
├── svelte.config.js # SvelteKit configuration
├── tailwind.config.js # Tailwind CSS configuration
├── vite.config.ts # Vite configuration
└── README.md # This file
This is primarily a personal project showcasing my own work. While contributions aren't actively solicited, feel free to open an issue if you spot a bug or have a suggestion.
This project is licensed under the MIT License - see the LICENSE file for details.