chore: 项目基线(基于 WeKnora 定制版,整理文件忽略规则)
This commit is contained in:
commit
9097ee699d
5769 files changed
+1446466
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# WeKnora homepage source
|
||||
|
||||
The Next.js homepage is one part of the unified site. Run `npm run setup`, `npm run build`, and `npm run preview` from the parent directory to include both the homepage and the complete `/docs/` site. Deployment instructions are in the parent README.
|
||||
|
||||
- `app/page.tsx`: product content and same-origin documentation links.
|
||||
- `app/home.module.css`: homepage layout.
|
||||
- `app/interactive.tsx`: responsive navigation, theme switch, and on-demand README video.
|
||||
- `app/theme.ts`: VitePress-compatible theme persistence and pre-paint initialization.
|
||||
- `../shared/brand.css`: shared light/dark design tokens.
|
||||
- `public/docs/_home/`: homepage images. The site serves only `/` and `/docs/`, so build output and public assets both live under `/docs/_home/` (`homeAssets` in `../shared/header.ts`).
|
||||
|
||||
`npm run dev` can still preview the homepage alone during development. `/docs/` requires the combined preview from the parent directory.
|
||||
Reference in new issue
Block a user