Sela Atelier is a public-facing SvelteKit site for a fictional fragrance brand. The homepage is written like a real perfume launch page, while a separate disclaimer page makes it explicit that the project exists for portfolio use.
?lang=id and ?lang=enrobots.txt and sitemap.xml/ homepage/disclaimer portfolio disclaimer/robots.txt/sitemap.xmlsrc/
lib/
components/
Footer.svelte
LocaleSwitcher.svelte
Nav.svelte
ResponsiveImage.svelte
ThemeToggle.svelte
data/
en.json
id.json
stores/
theme.ts
content.ts
i18n.ts
site.ts
utils.ts
routes/
+layout.svelte
+layout.ts
+page.svelte
disclaimer/+page.svelte
robots.txt/+server.ts
sitemap.xml/+server.ts
tests/
content.test.ts
utils.test.ts
static/
images/sela/
npm install
npm run dev
npm run dev start development servernpm run build create production buildnpm run preview preview production buildnpm run check run Svelte and TypeScript checksnpm run lint run ESLint with autofixnpm run format run Prettiernpm run test:unit run Vitest unit testsnpm run test:e2e run Playwright testsThis repo is configured for Netlify through netlify.toml.
PUBLIC_SITE_URL=$URL npm run buildbuildMain content lives in:
src/lib/data/id.jsonsrc/lib/data/en.jsonShared helpers:
src/lib/content.tssrc/lib/types/content.tsThe fragrance artwork is stored locally under:
static/images/selaThe current working branch should be validated with:
npm run lintnpm run checknpm run buildnpm run test:unit