This Site Source
About this item
This Site Source
The brand site you’re looking at — its complete source is free to download. Want a bilingual brand site with the same effect? Download it and make it yours. MIT licensed, free to use and commercialize.
What’s included
- Bilingual i18n: zh/en routing, automatic content fallback, auto-injected
<html lang>and hreflang for SEO. - Mobile-ready: the top nav collapses into a hamburger menu + dropdown on phones, with separate desktop/tablet/phone breakpoints; lists, detail pages, video, and QR codes are all responsive — no cramping or overflow on narrow screens.
- Dark theme: follows system or manual toggle, with first-paint flash (FOUC) handled.
- Build-time prerender: vite-ssg outputs standalone static HTML per language per page — fast first paint, crawler-friendly; dynamic detail routes are auto-enumerated from
content/, so adding content needs no route changes. - Content as files: Markdown + frontmatter, strict zod validation at build time; invalid content fails the build, and you edit content without touching code.
- Work / Store / Writing / About / Privacy / Donate content modules, feature-grouped (each feature’s page, components, and logic in one folder), drop-in editable.
- Embedded video: articles and products support embedded bilibili / YouTube demos with lazy loading, cover, and error fallback.
- Donate page: a built-in WeChat / Alipay QR display page with a nav entry (QR codes are placeholders, swap and go).
- Tested: full Vitest unit tests plus a three-step gate (test / typecheck / build) so changes are verified not to break.
Who it’s for
Anyone who wants to ship a personal brand site, product site, or portfolio fast. No engineering background needed — let AI handle the edits for you.
Stack
Vue 3 · TypeScript · Vite · vue-router · vue-i18n · vite-ssg · zod · Tailwind
How to use it
- Click the download link above, grab the source archive, and unpack it.
- Enter
site/, runpnpm install, thenpnpm devto preview locally. - Replace the Markdown under
content/with your own, thenpnpm buildfor the static site. - Full commands, structure, and the content-authoring guide are in
site/README.mdinside the package.
Note: replace the placeholders
To protect privacy, the contact email, donation QR codes, and social handles in the package are placeholders (your-email@example.com, your-name, placeholder QR images). Replace them with your own before going live.