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/blog
).
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-weight
color.css
text colors, border colors, background colors (2 color schemes: light
and dark
)animation.css
for anything animate.page | path |
---|---|
Home | / |
Project | /project |
Blog | /blog |
Resource | /resource |
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-imagetools
loading = 'lazy'
⭐ Routing: built-in filesystem-based router
⭐ Page Transition Animation
svelte/transiton
⭐ RSS
⭐ Working Contact Form (need Netlify setup)
⭐ Increased Defense against attacks: bot projectection, SQL injection, Cross-site scripting and more; works better than Web Application Firewall (WAF) Read more
categories
(#hashtag) to filter blogsrehype
and remark
⭐ Blog: Automatic Table of Contents
⭐ Blog: Code Highlight
styles/prism.css
⭐ Blog: Search, Pagination
⭐ Blog: Categories/Tags
⭐ Blog: Prev/Next Button
⭐ Blog: Comment using Giscus
Featured on: portfolioshub.com