Compare commits
9 Commits
main
...
d28350a083
| Author | SHA1 | Date | |
|---|---|---|---|
|
d28350a083
|
|||
|
cb8878938c
|
|||
|
|
ae4804381d | ||
|
|
993e61c1c5 | ||
|
|
64d0cb0a25 | ||
|
9c1d25f1fc
|
|||
|
a3af939272
|
|||
|
8fdf5b1e00
|
|||
|
096d477fde
|
@@ -27,3 +27,5 @@
|
|||||||
|
|
||||||
- Asai Neko <sugar@sne.moe>
|
- Asai Neko <sugar@sne.moe>
|
||||||
- Noa Virellia <noa@requiem.garden>
|
- Noa Virellia <noa@requiem.garden>
|
||||||
|
- Sizhe Zhao <prc.zhao@outlook.com>
|
||||||
|
- Haonan Chen <chn@chn.moe>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export default defineConfig({
|
|||||||
href: 'https://github.com/NixOS-CN/nixcn-web',
|
href: 'https://github.com/NixOS-CN/nixcn-web',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
sidebar: ['meetup-2-guide'],
|
sidebar: ['meetup-2-guide', 'badge-customization'],
|
||||||
plugins: [],
|
plugins: [],
|
||||||
}),
|
}),
|
||||||
mdx(),
|
mdx(),
|
||||||
|
|||||||
23
src/assets/badges/normal.svg
Normal file
23
src/assets/badges/normal.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 207 KiB |
26
src/assets/badges/rainbow.svg
Normal file
26
src/assets/badges/rainbow.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 206 KiB |
23
src/assets/badges/trans.svg
Normal file
23
src/assets/badges/trans.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 207 KiB |
25
src/components/BadgeTemplates.astro
Normal file
25
src/components/BadgeTemplates.astro
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
import NormalBadgeTemplate from '@assets/badges/normal.svg';
|
||||||
|
import RainbowBadgeTemplate from '@assets/badges/rainbow.svg';
|
||||||
|
import TransBadgeTemplate from '@assets/badges/trans.svg';
|
||||||
|
---
|
||||||
|
|
||||||
|
<div class="badge-row">
|
||||||
|
<NormalBadgeTemplate class="badge" />
|
||||||
|
<RainbowBadgeTemplate class="badge" />
|
||||||
|
<TransBadgeTemplate class="badge" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.badge-row {
|
||||||
|
display: flex;
|
||||||
|
gap: 1.5rem;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.badge {
|
||||||
|
margin-top: 0;
|
||||||
|
width: clamp(180px, 24vw, 240px);
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
29
src/content/docs/badge-customization.mdx
Normal file
29
src/content/docs/badge-customization.mdx
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: '会议名牌定制说明'
|
||||||
|
description: '会议名牌定制说明'
|
||||||
|
sidebar:
|
||||||
|
label: '会议名牌定制说明'
|
||||||
|
---
|
||||||
|
import BadgeTemplates from '@components/BadgeTemplates.astro';
|
||||||
|
import { LinkButton } from '@astrojs/starlight/components';
|
||||||
|
|
||||||
|
我们提供三种预设的会议名牌模板:
|
||||||
|
|
||||||
|
<BadgeTemplates />
|
||||||
|
|
||||||
|
对于所有参会者,默认会使用第一种模板样式(Nix 配色)制作名牌。
|
||||||
|
|
||||||
|
名牌上的 `#name` 和 `#type` 字段,将由您在报名时填写的信息和您的与会身份(参会者/志愿者/讲者)决定。
|
||||||
|
|
||||||
|
如果需要选择模板或有其他定制需求,您可以在这里提交申请:
|
||||||
|
|
||||||
|
<LinkButton href='#' icon='external' variant='secondary' iconPlacement='end'>
|
||||||
|
填写名牌定制需求表(尚未开放)
|
||||||
|
</LinkButton>
|
||||||
|
|
||||||
|
※ 目前支持以下内容的定制:
|
||||||
|
- `#name` 定制(可以与报名时填写的昵称不同)
|
||||||
|
- 下方文字颜色定制
|
||||||
|
- Flake 标志定制
|
||||||
|
- 请使用[此文件](https://meetup-files.nixos.org.cn/nixos-template.svg)作为定制基础。
|
||||||
|
- 请勿修改原文件的比例。
|
||||||
@@ -10,8 +10,12 @@ hero:
|
|||||||
- text: 'Meetup #2 Attendee Guide'
|
- text: 'Meetup #2 Attendee Guide'
|
||||||
link: /en/meetup-2-guide
|
link: /en/meetup-2-guide
|
||||||
icon: right-arrow
|
icon: right-arrow
|
||||||
- text: Join the event group
|
- text: Join the Telegram event group
|
||||||
link: https://t.me/nixcnmeetup
|
link: https://t.me/nixcnmeetup
|
||||||
icon: external
|
icon: external
|
||||||
variant: minimal
|
variant: minimal
|
||||||
|
- text: Join the Matrix event group
|
||||||
|
link: https://matrix.to/#/#nix-cn-meetup:rebmit.moe
|
||||||
|
icon: external
|
||||||
|
variant: minimal
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: 'Nix CN Meetup #2 Guide'
|
title: 'Nix CN Meetup #2 Guide'
|
||||||
description: 'Nix CN Meetup #2 is the second Nix-themed meetup in China. We aim to bring together NixOS enthusiasts, developers, and practitioners to share usage experiences, best practices, and real-world applications of NixOS.'
|
description: 'Nix CN Meetup #2 is the second Nix-themed meetup in China. We aim to bring together Nix enthusiasts, developers, and practitioners to share usage experiences, best practices, and real-world applications of Nix.'
|
||||||
sidebar:
|
sidebar:
|
||||||
label: 'Meetup #2 Guide'
|
label: 'Meetup #2 Guide'
|
||||||
---
|
---
|
||||||
@@ -10,7 +10,7 @@ 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.
|
Nix CN Meetup #2 is the second Nix-themed gathering in China. We aim to bring together Nix enthusiasts, developers, and practitioners to share their experiences, best practices, and use cases of Nix in various scenarios.
|
||||||
|
|
||||||
## Event Information
|
## Event Information
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,12 @@ hero:
|
|||||||
- text: 'Meetup #2 参会指南'
|
- text: 'Meetup #2 参会指南'
|
||||||
link: /meetup-2-guide
|
link: /meetup-2-guide
|
||||||
icon: right-arrow
|
icon: right-arrow
|
||||||
- text: 加入活动群组
|
- text: 加入 Telegram 活动群组
|
||||||
link: https://t.me/nixcnmeetup
|
link: https://t.me/nixcnmeetup
|
||||||
icon: external
|
icon: external
|
||||||
variant: minimal
|
variant: minimal
|
||||||
|
- text: 加入 Matrix 活动群组
|
||||||
|
link: https://matrix.to/#/#nix-cn-meetup:rebmit.moe
|
||||||
|
icon: external
|
||||||
|
variant: minimal
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
title: 'Nix CN Meetup #2 参会指南'
|
title: 'Nix CN Meetup #2 参会指南'
|
||||||
description: 'Nix CN Meetup #2 是国内第二次以 Nix 为主题的聚会。我们希望汇聚国内 NixOS 爱好者、开发者和实践者,共同分享 NixOS 的使用经验、最佳实践以及在不同场景下的应用案例。'
|
description: 'Nix CN Meetup #2 是国内第二次以 Nix 为主题的聚会。我们希望汇聚国内 Nix 爱好者、开发者和实践者,共同分享 Nix 的使用经验、最佳实践以及在不同场景下的应用案例。'
|
||||||
sidebar:
|
sidebar:
|
||||||
label: 'Meetup #2 参会指南'
|
label: 'Meetup #2 参会指南'
|
||||||
---
|
---
|
||||||
|
|
||||||
import { LinkButton } from '@astrojs/starlight/components';
|
import { LinkButton } from '@astrojs/starlight/components';
|
||||||
|
|
||||||
Nix/NixOS CN Meetup #2 是国内第二次以 Nix 为主题的聚会。我们希望汇聚国内 NixOS 爱好者、开发者和实践者,共同分享 NixOS 的使用经验、最佳实践以及在不同场景下的应用案例。
|
Nix CN Meetup #2 是国内第二次以 Nix 为主题的聚会。我们希望汇聚国内 Nix 爱好者、开发者和实践者,共同分享 Nix 的使用经验、最佳实践以及在不同场景下的应用案例。
|
||||||
|
|
||||||
## 会议信息
|
## 会议信息
|
||||||
|
|
||||||
@@ -20,8 +20,8 @@ Nix/NixOS CN Meetup #2 是国内第二次以 Nix 为主题的聚会。我们希
|
|||||||
<LinkButton href='https://www.wjx.top/vm/Qi3eqxV.aspx' icon='external' variant='secondary' iconPlacement='end'>
|
<LinkButton href='https://www.wjx.top/vm/Qi3eqxV.aspx' icon='external' variant='secondary' iconPlacement='end'>
|
||||||
填写议程收集表
|
填写议程收集表
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
<LinkButton href='#' icon='external' variant='secondary' iconPlacement='end'>
|
<LinkButton href='/badge-customization/' icon='external' variant='secondary' iconPlacement='end'>
|
||||||
填写名牌定制需求表(尚未开放)
|
会议名牌定制说明
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
|
|
||||||
## 交通信息
|
## 交通信息
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
{
|
{
|
||||||
"extends": "astro/tsconfigs/strict",
|
"extends": "astro/tsconfigs/strict",
|
||||||
"include": [".astro/types.d.ts", "**/*"],
|
"include": [".astro/types.d.ts", "**/*"],
|
||||||
|
"compilerOptions": {
|
||||||
|
"paths": {
|
||||||
|
"@assets/*": ["./src/assets/*"],
|
||||||
|
"@components/*": ["./src/components/*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
"exclude": ["dist"]
|
"exclude": ["dist"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user