grelin_templates/resume-career/README.md
MORRO 769decd445 Add resume-career template and migrate resume to resume-bp.
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>
2026-06-26 23:19:37 +08:00

99 lines
2.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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`,姓名与区块标题会自动上色。
## 内容建议
- **简介**:一两句话
- **工作经历**23 段,每段 23 条 bullet
- **项目**23 个,各一行 `intro`
- **教育**:通常只保留最高学历
`bullets` 用字符串元组,不要手写 `-` 列表语法。
## 设计 tokenTailwind 灰稿)
规范来源:[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` 注释。