npm install (or pnpm install or yarn)npm run dev
This is a portfolio/blog built using SvelteKit. Hosted on Netlify.
Visit: wentallout.io.vn
A website made with SvelteKit is just incredibly fast even compared to other framework-based websites like React/Next/Vue and has great SEO out-of-the-box. You won't need a backend or CMS though, the blog posts are just markdown files you can store on your computer (see routes/blogs).
All imported images are automatically converted to webp and lazy loaded to optimize performance.
Visitors can also comment on your blogs using GitHub discussion (you might want to customize Comments.svelte component so that it works on your repo)
src/styles
reset.css custom CSS Reset by joshwcomeauglobal.css global styles and importing all other css filesspacing.css spacing for margin, padding and the whole page layout in general. Check out utopia.fyi for more information about this spacing system.typography.css typography-related stuff like font-size, line-height, letter-spacing, font-weightcolor.css text colors, border colors, background colors (2 color schemes: light and dark)animation.css for anything animate.| page | path |
|---|---|
| Home | / |
| Projects | /projects |
| Blogs | /blogs |
| Contact | /contact |
Slug
[slug][slug]⭐ SEO
⭐ Responsive
⭐ PWA: Works OFFLINE
⭐ Dark/Light Mode Toggle Button
⭐ Dynamic Breadcrumb (Breadcrumb.svelte)
⭐ Font Optimization
⭐ Icons
unplugin-icons⭐ Images
webp usingvite-imagetoolsloading = 'lazy'⭐ Routing: built-in filesystem-based router
⭐ Page Transition Animation
svelte/transiton⭐ RSS
⭐ Working Contact Form (need Netlify setup)
categories (#hashtag) to filter blogsrehype and remark⭐ Blogs: Automatic Table of Contents
⭐ Blogs: Code Highlight prism-themes
⭐ Blogs: Search, Pagination
⭐ Blogs: Categories/Tags
⭐ Blogs: Prev/Next Button
⭐ Blogs: Comment using Giscus
Featured on: portfolioshub.com