1
0
forked from nixcn/nixcn-web

format(tree-wide): prettier

- Fixed inconsistent tab width and quotes

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2025-12-09 16:30:22 +08:00
parent 8bcc73bab5
commit 5f38953330
5 changed files with 60 additions and 57 deletions

View File

@@ -20,4 +20,4 @@
"prettier-plugin-astro": "^0.14.1"
},
"packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501"
}
}

View File

@@ -1,17 +1,17 @@
---
title: "Nix CN"
title: 'Nix CN'
description: Explore a reproducible future with the Nix CN community
template: splash
hero:
tagline: Explore a reproducible future with the Nix CN community
image:
file: ../../../assets/nix-flake-logo.svg
actions:
- text: "Meetup #2 Attendee Guide"
link: /en/meetup-2-guide
icon: right-arrow
- text: Join the event group
link: https://t.me/nixcnmeetup
icon: external
variant: minimal
tagline: Explore a reproducible future with the Nix CN community
image:
file: ../../../assets/nix-flake-logo.svg
actions:
- text: 'Meetup #2 Attendee Guide'
link: /en/meetup-2-guide
icon: right-arrow
- text: Join the event group
link: https://t.me/nixcnmeetup
icon: external
variant: minimal
---

View File

@@ -4,10 +4,11 @@ description: 'Nix CN Meetup #2 is the second Nix-themed meetup in China. We aim
sidebar:
label: 'Meetup #2 Guide'
---
import { LinkButton } from '@astrojs/starlight/components';
import { Aside } from '@astrojs/starlight/components';
<Aside type="caution">Translated by ChatGPT, not proofread.</Aside>
<Aside type='caution'>Translated by ChatGPT, not proofread.</Aside>
Nix CN Meetup #2 is the second Nix-themed gathering in China. We aim to bring together NixOS enthusiasts, developers, and practitioners to share their experiences, best practices, and use cases of NixOS in various scenarios.
@@ -44,12 +45,12 @@ Metro Line 2, Maglev, and the Airport Link Line stop at **Pudong Airport Termina
From **Pudong Airport Terminal 1 & 2**, you may reach the venue using the following route:
- **Airport Link Line → Metro Line 15**
- Fare: **21 CNY**.
Last Airport Link Line train departs at **22:00**.
- Take the Airport Link Line toward **Hongqiao Terminal 2**, get off at **Jinghong Road** Station, and transfer to Line 15 (transfer passage ~800 m).
- Take **Line 15** to **Zizhu High-tech Park** Station (some trains short-turn at Shuangbai Road; transfer if needed).
- Exit **Exit 6**, walk west along **Dongchuan Road** (~500 m) to **SJTU Minhang Campus South Gate**.
Alternatively, exit **Exit 7**, walk north along **Lianhua South Road** (~50 m) to **East Gate 3** of the campus.
- Fare: **21 CNY**.
Last Airport Link Line train departs at **22:00**.
- Take the Airport Link Line toward **Hongqiao Terminal 2**, get off at **Jinghong Road** Station, and transfer to Line 15 (transfer passage ~800 m).
- Take **Line 15** to **Zizhu High-tech Park** Station (some trains short-turn at Shuangbai Road; transfer if needed).
- Exit **Exit 6**, walk west along **Dongchuan Road** (~500 m) to **SJTU Minhang Campus South Gate**.
Alternatively, exit **Exit 7**, walk north along **Lianhua South Road** (~50 m) to **East Gate 3** of the campus.
---
@@ -62,18 +63,18 @@ Metro Lines 2, 10, and 17 serve **Hongqiao Railway Station** (west side), and Li
From **Hongqiao Terminal 2** or **Hongqiao Railway Station**, the recommended routes are:
- **Airport Link Line → Line 15**
- Fare: **9 CNY**.
Airport Link Line frequency: ~15 min; last train **22:00**.
- Take the Airport Link Line toward **Pudong Airport**, get off at **Jinghong Road**, transfer to Line 15 (transfer passage ~800 m).
- Take Line 15 to **Zizhu High-tech Park** Station.
- Exit **Exit 6** → walk west along **Dongchuan Road** (~500 m) to **South Gate**.
Or exit **Exit 7** → walk north along **Lianhua South Road** (~50 m) to **East Gate 3**.
- Fare: **9 CNY**.
Airport Link Line frequency: ~15 min; last train **22:00**.
- Take the Airport Link Line toward **Pudong Airport**, get off at **Jinghong Road**, transfer to Line 15 (transfer passage ~800 m).
- Take Line 15 to **Zizhu High-tech Park** Station.
- Exit **Exit 6** → walk west along **Dongchuan Road** (~500 m) to **South Gate**.
Or exit **Exit 7** → walk north along **Lianhua South Road** (~50 m) to **East Gate 3**.
- **Bus Minhong Line 2**
- Fare: **13 CNY**.
Frequency: 1520 min (subject to holiday adjustments).
- Tickets must be purchased through the “江南定制专线” WeChat public account (select **Minhong Line 2 (Down) Hongqiao High-speed Railway Station → Dongchuan Road Transit Hub**) or buy remaining tickets at boarding point.
- From **Dongchuan Road Transit Hub**, walk/ride east along **Dongchuan Road** (~1500 m) to **SJTU Minhang Campus (Siyuan Gate)**.
- Fare: **13 CNY**.
Frequency: 1520 min (subject to holiday adjustments).
- Tickets must be purchased through the “江南定制专线” WeChat public account (select **Minhong Line 2 (Down) Hongqiao High-speed Railway Station → Dongchuan Road Transit Hub**) or buy remaining tickets at boarding point.
- From **Dongchuan Road Transit Hub**, walk/ride east along **Dongchuan Road** (~1500 m) to **SJTU Minhang Campus (Siyuan Gate)**.
---
@@ -85,10 +86,10 @@ Served by Metro Lines 1, 3, and 4 at **Shanghai Railway Station**.
Recommended route:
- **Line 1 → Line 5**
- Fare: **6 CNY**.
- Take Line 1 to **Xinzhuang** Station, transfer to Line 5 (transfer passage ~100 m).
- Take Line 5 to **Jianchuan Road** Station.
- Exit **Exit 1/2**, walk/ride west along **Jianchuan Road** (~1000 m) to **SJTU Minhang Campus North Gate 1**.
- Fare: **6 CNY**.
- Take Line 1 to **Xinzhuang** Station, transfer to Line 5 (transfer passage ~100 m).
- Take Line 5 to **Jianchuan Road** Station.
- Exit **Exit 1/2**, walk/ride west along **Jianchuan Road** (~1000 m) to **SJTU Minhang Campus North Gate 1**.
---
@@ -100,10 +101,10 @@ Served by Metro Lines 1, 3, and 15.
Recommended route:
- **Line 15**
- Fare: **5 CNY**.
- Take Line 15 to **Zizhu High-tech Park** Station.
- Exit 6 → walk west along **Dongchuan Road** (~500 m) to **South Gate**.
Or exit 7 → walk north to **East Gate 3** (~50 m).
- Fare: **5 CNY**.
- Take Line 15 to **Zizhu High-tech Park** Station.
- Exit 6 → walk west along **Dongchuan Road** (~500 m) to **South Gate**.
Or exit 7 → walk north to **East Gate 3** (~50 m).
---
@@ -123,6 +124,7 @@ Estimated taxi/ride-hailing fare: **5060 CNY**.
Venue: **Dong Xiayuan (East Upper Yard) Teaching Building** (exact room TBA).
Location: Southeast area of the campus, near South Gate 2 (closed).
Distances:
- ~1200 m from **Siyuan Gate / South Gate**
- ~1600 m from **North Gate 1 / East Gate 3**
@@ -131,12 +133,12 @@ Distances:
## Accommodation
- **Shanghai Royal Century Hotel (Dalinghuowan International Convention Center)**
- Reference price: **~400 CNY / night** (standard twin room).
- Location: Northwest of the campus, ~800 m from North Gate 1.
- Personal notes: Very spacious rooms, good facilities; interior style is old-fashioned and overly luxurious; restaurant quality is poor—dining at **Longhu Paradise Walk** nearby is recommended.
- Reference price: **~400 CNY / night** (standard twin room).
- Location: Northwest of the campus, ~800 m from North Gate 1.
- Personal notes: Very spacious rooms, good facilities; interior style is old-fashioned and overly luxurious; restaurant quality is poor—dining at **Longhu Paradise Walk** nearby is recommended.
- **Huazhu Group Hotels (Ji Hotel, Hanting, etc.)**
- Reference price: **~300 CNY / night** (twin room).
- Location: Southwest / northeast of the campus; all relatively far (1000+ m).
- Personal notes: Among Huazhu brands, **Ji Hotel (Dongchuan Road)** is the recommended option.
Nearby Hanting branches are not recommended and offer no price advantage.
- Reference price: **~300 CNY / night** (twin room).
- Location: Southwest / northeast of the campus; all relatively far (1000+ m).
- Personal notes: Among Huazhu brands, **Ji Hotel (Dongchuan Road)** is the recommended option.
Nearby Hanting branches are not recommended and offer no price advantage.

View File

@@ -1,17 +1,17 @@
---
title: "Nix CN"
title: 'Nix CN'
description: 与 Nix 中文社群一起探索可复现的未来
template: splash
hero:
tagline: 与 Nix 中文社群一起探索可复现的未来
image:
file: ../../assets/nix-flake-logo.svg
actions:
- text: "Meetup #2 参会指南"
link: /meetup-2-guide
icon: right-arrow
- text: 加入活动群组
link: https://t.me/nixcnmeetup
icon: external
variant: minimal
tagline: 与 Nix 中文社群一起探索可复现的未来
image:
file: ../../assets/nix-flake-logo.svg
actions:
- text: 'Meetup #2 参会指南'
link: /meetup-2-guide
icon: right-arrow
- text: 加入活动群组
link: https://t.me/nixcnmeetup
icon: external
variant: minimal
---

View File

@@ -4,6 +4,7 @@ description: 'Nix CN Meetup #2 是国内第二次以 Nix 为主题的聚会。
sidebar:
label: 'Meetup #2 参会指南'
---
import { LinkButton } from '@astrojs/starlight/components';
Nix/NixOS CN Meetup #2 是国内第二次以 Nix 为主题的聚会。我们希望汇聚国内 NixOS 爱好者、开发者和实践者,共同分享 NixOS 的使用经验、最佳实践以及在不同场景下的应用案例。