Commit Graph
4 Commits
Author SHA1 Message Date
Ryan Wang 6f1cede536 Expand README and tidy templates & VSCode settings
Replace the placeholder README with a full Chinese README for the Halo + Astro theme starter, adding rationale, architecture, dev/build instructions, directory layout, and usage notes. Also apply minor formatting/whitespace cleanups: adjust .vscode/settings.json formatting, collapse attributes on the category list div in src/pages/categories.astro, and remove an extra blank line in src/pages/category.astro. These are documentation and formatting changes only — no functional behavior changes.
2026-04-07 23:31:39 +08:00
Ryan Wang 29741c6df9 Add unplugin-icons & use Mingcute icons
Register unplugin-icons (Icons Vite plugin) in astro.config and add unplugin-icons + @iconify-json/mingcute to devDependencies. Replace inline SVGs in ThemeSwitcher.vue with MingcuteSunLine / MingcuteMoonLine icon components imported from ~icons, and add unplugin-icons types to tsconfig. Also simplify VSCode formatter setting and update package.json accordingly.
2026-04-07 23:15:32 +08:00
Ryan Wang b34fd27d45 Add UserButton, update Header & deps
Add a new src/components/UserButton.vue and update src/components/Header.astro to integrate UI changes. Add @halo-dev/api-client and ky to package.json and update editor settings to use Prettier for .vue and .astro files. Regenerate pnpm lockfile.
2026-04-07 23:09:18 +08:00
Ryan Wang cf680c4d17 Refactor 2026-04-07 22:52:16 +08:00