Introduce one-page career resume alongside the full BP resume, unify brand color across templates, and update monorepo docs and gitignore. Co-authored-by: Cursor <cursoragent@cursor.com>
99 lines
2.9 KiB
Markdown
99 lines
2.9 KiB
Markdown
# Resume Career · 求职 / 个人主页简历
|
||
|
||
精简一页中文简历,Brittany Chiang 风格双栏布局。与 [`resume-bp/`](../resume-bp/) 共用同一套目录约定。
|
||
|
||
## 目录结构
|
||
|
||
```
|
||
resume-career/
|
||
├── cv.typ # 入口(一般不用改)
|
||
├── data/
|
||
│ ├── config.typ # ★ 内容:姓名、经历、技能等
|
||
│ ├── layout.typ # 排版组件
|
||
│ └── theme.typ # 设计 token(字号、间距、主题色)
|
||
├── assets/
|
||
│ └── profile.jpeg # 证件照(可选,侧栏「专业技能」上方)
|
||
├── local/ # 个人本地版(已 gitignore,不提交)
|
||
│ └── <你的名字>/
|
||
│ ├── config.typ
|
||
│ ├── photo.jpeg
|
||
│ └── compile.ps1
|
||
└── sample.pdf # 示例 PDF(可提交)
|
||
```
|
||
|
||
| 文件 | 谁改 | 说明 |
|
||
|------|------|------|
|
||
| `data/config.typ` | 日常编辑 | 简历正文与联系方式 |
|
||
| `data/theme.typ` | 调样式时 | 字号、间距、主题色 |
|
||
| `data/layout.typ` | 改结构时 | 区块组件与排版逻辑 |
|
||
| `cv.typ` | 很少 | 页面级 grid 编排 |
|
||
|
||
## 快速开始
|
||
|
||
1. 编辑 `data/config.typ`
|
||
2. 证件照放入 `assets/profile.jpeg`(或在 `profile.photo-path` 指定相对 `data/` 的路径)
|
||
3. 打开 `cv.typ`,Tinymist 预览或导出 PDF
|
||
|
||
CLI 编译(仓库根目录为 `--root`):
|
||
|
||
```bash
|
||
typst compile --root . resume-career/cv.typ resume-career/sample.pdf
|
||
```
|
||
|
||
## 照片
|
||
|
||
`photo-path` 相对于 `data/layout.typ` 解析,默认:
|
||
|
||
```typst
|
||
photo-path: "../assets/profile.jpeg",
|
||
```
|
||
|
||
留空 `""` 则不显示照片。
|
||
|
||
## 本地定制(local/)
|
||
|
||
个人真实简历建议放在 `local/<名字>/`,避免污染模板示例:
|
||
|
||
```
|
||
local/qimengfan/
|
||
├── config.typ # 完整 config 副本,photo-path 可写 "../photo.jpeg"
|
||
├── photo.jpeg
|
||
└── compile.ps1 # 临时覆盖 data/config.typ 后编译,见 resume-bp/local 同款脚本
|
||
```
|
||
|
||
`local/` 已在仓库 `.gitignore` 中忽略。
|
||
|
||
## 主题色
|
||
|
||
在 `data/theme.typ` 改一行:
|
||
|
||
```typst
|
||
#let color-primary = rgb("#2850d0")
|
||
```
|
||
|
||
`color-accent` 已绑定 `color-primary`,姓名与区块标题会自动上色。
|
||
|
||
## 内容建议
|
||
|
||
- **简介**:一两句话
|
||
- **工作经历**:2–3 段,每段 2–3 条 bullet
|
||
- **项目**:2–3 个,各一行 `intro`
|
||
- **教育**:通常只保留最高学历
|
||
|
||
`bullets` 用字符串元组,不要手写 `-` 列表语法。
|
||
|
||
## 设计 token(Tailwind 灰稿)
|
||
|
||
规范来源:[Tailwind CSS 默认 theme](https://tailwindcss.com/docs/theme)
|
||
|
||
| Tailwind | 本模板 | 用途 |
|
||
|----------|--------|------|
|
||
| `text-3xl` | `size-3xl` 22.5pt | 姓名 |
|
||
| `text-base` | `size-base` 12pt | 区块标题 |
|
||
| `text-sm` | `size-sm` 10.5pt | 正文 |
|
||
| `gray-900` | `color-heading` | 小标题 |
|
||
| `gray-600` | `color-text` | 正文 |
|
||
| `gray-500` / `gray-400` | 次要 / 元信息 | |
|
||
|
||
间距 token 按各层级行高定义,详见 `data/theme.typ` 注释。
|