Commit Graph

21 Commits

Author SHA1 Message Date
e2fe451500 feat(prettier): add .prettierignore
- Excluded some yaml and lock files we don't want prettier to touch

Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 16:36:41 +08:00
5f38953330 format(tree-wide): prettier
- Fixed inconsistent tab width and quotes

Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 16:36:41 +08:00
8bcc73bab5 feat(prettier): support astro and fix mdx formatting
- Added prettier-plugin-astro as dev dependency
- Removed incorrect top-level "typescript" parser config
    - This causes the MDX files be parsed as typescript and error out.

Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 16:36:26 +08:00
92eb1d5616 feat(docs/meetup-2-guide): add register and badge customization actions
Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 16:27:26 +08:00
6d749cc728 Add sidebar item, fix typo error
- Add meetup-2-guide to sidebar
- Fix typo error in meetup-2-guide both cn/en

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-09 13:59:15 +08:00
f86286e6af Update README Toolchain section
- Add nix, devenv, direnv to toolchain

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-09 13:42:26 +08:00
db64e54baf Add prettier to devenv
Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-09 13:37:48 +08:00
bd0a9a1d92 Add devenv to project
- Init devenv with node22 and corepack22
- Add devenv gitignore
- Direnv auto active devenv shell
- Update pnpm corepack version to 10.25.0
- Rerun pnpm install

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-09 13:28:51 +08:00
26713548a1 Remove galaxy theme due to ui alignment errors
- Disable galaxy theme from astro.config.mjs plugins
- Remove galaxy theme dep from package.json

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-09 11:18:36 +08:00
8898318b1f chore(assets): update favicon
Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 10:12:44 +08:00
e743e86b68 feat(docs/index): version 1
- Removed default content from Starlight template
- Removed cards (as they don't seem necessary now - wait for more
content)
- Updated title, description, tagline and hero image
- Updated actions:
    - Primary action: Checkout meetup #2 guide
    - Secondary action: Join the meetup telegram group
- Added English variant of the index page

Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 10:09:42 +08:00
d99b12bcbb feat(astro-config): set social link to the source code of the docs
- Pointed the social link to git.sne.moe:nixcn-web
- Changed the social link icon to distinguish from GitHub

Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 09:44:21 +08:00
464f416f91 feat(astro-config): set site title to 'Nix CN'
- Per Sizhe 'prince213' Zhao:

> 祈園のあ | 天生骄傲, [2025/12/9 08:59]
> 提问 社群实体是叫Nix CN还是Nix/NixOS CN还是NixOS CN比较好(

> Eero Tang, [2025/12/9 08:59]
> Nix CN 吧(

Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 09:42:27 +08:00
2a817bcac5 feat(astro-config): set site-wide logo
Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 09:39:17 +08:00
685b1b944d chore(assets): add project logos
- Removed the default houston logo
- Added bright and variants of custom Nix CN logo, Figma draft:
https://www.figma.com/design/u5BcG8CtVqNwvyV0XcLHMx/Nix-CN-Logos?node-id=0-1&t=OrMavWfoAEzq8akM-1
- Added Nix flake logo from the NixOS branding guide

Signed-off-by: Noa Virellia <noa@requiem.garden>
2025-12-09 09:37:47 +08:00
879e43ce72 Change package from yarn to pnpm
- Fuck yarn, not working on macos aarch64

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-08 13:28:37 +08:00
b7be215f14 Fix typo error in prettierrc.json
- Reformat zed settings file
- 2 tyop error in prettierrc.json caused prettier crached.

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-08 00:17:16 +08:00
6845bcb208 Impl prettier to project
- Add prettier json config
- Format project with prettier config
- Enable prettier in zed project settings

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-08 00:06:01 +08:00
3e06961805 Modify README rules and format
- Lint README format
- Add one rule in Contribution section

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-07 21:34:58 +08:00
05f0552f42 Modify basic settings, i18n, add docs
- Edit README for subspecific rules
- Add meetup-2-guide for both root and en
- Remove vscode folder
- Remove default pages and docs
- Gitignore add editor section
- Setup i18n

Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-07 21:31:06 +08:00
7c79e5cee9 Initialize starlight with astro framework
Signed-off-by: Asai Neko <sugar@sne.moe>
2025-12-07 19:07:57 +08:00