[READ-ONLY] Mirror of https://github.com/ewanc26/website-comm-template. A SvelteKit + TailwindCSS commission website template.
sveltekit template website
0

Configure Feed

Select the types of activity you want to include in your feed.

Svelte 50.1%
TypeScript 28.7%
CSS 8.4%
Nix 4.0%
JavaScript 3.1%
HTML 2.9%
Other 2.7%
17 1 6

Clone this repository

https://git.vm.fail/ewancroft.uk/website-comm-template https://git.vm.fail/did:plc:zc75tfpbniaroyynbjtpx5qq
ssh://git@knot1.tangled.sh:2222/ewancroft.uk/website-comm-template ssh://git@knot1.tangled.sh:2222/did:plc:zc75tfpbniaroyynbjtpx5qq

For self-hosted knots, clone URLs may differ based on your setup.


README.md

website-comm-template#

A SvelteKit + Tailwind CSS starter template for Ko-fi website commissions.

Light mode preview Dark mode preview

🧶 Also available on Tangled

Using this template#

For client setup instructions, see SETUP.md.

Project structure#

src/
  lib/
    components/
      Nav.svelte      ← sticky top nav, mobile-responsive
      Footer.svelte   ← copyright + social links
    config.ts         ← ✏️  edit this first for every commission
    email.ts          ← contact form email sender (swap provider here)
    index.ts
  routes/
    +layout.svelte    ← wraps all pages with Nav + Footer
    +page.svelte      ← homepage
    layout.css        ← Tailwind entry point
    about/
      +page.svelte
    contact/
      +page.svelte
static/               ← put images, fonts, etc. here

Adding a new page#

  1. Create a folder under src/routes/, e.g. src/routes/portfolio/
  2. Add a +page.svelte file inside it
  3. Add a matching entry to navLinks in src/lib/config.ts

Recreate from scratch#

pnpm dlx sv@0.12.5 create --template minimal --types ts \
  --add prettier tailwindcss="plugins:typography,forms" \
  sveltekit-adapter="adapter:auto" \
  --install pnpm ./

☕ Support#

If you found this useful, consider buying me a ko-fi!

Licence#

Copyright © Ewan Croft (https://ewancroft.uk)
Licensed under CC BY-SA 4.0.

You are free to use, adapt, and redistribute this template — including for commercial commissions — provided you give appropriate credit to Ewan Croft, link to the licence, and distribute any derivative work under the same licence. The attribution notice in Footer.svelte satisfies this requirement for deployed sites.