diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ca79d7d..5010884 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,10 +12,13 @@ jobs: - uses: actions/checkout@v3 - name: Install Roboto fonts run: sudo apt install -y fonts-roboto - - name: Install Source Han Sans TW fonts + - name: Install Source Sans & Source Han Sans TW fonts run: | + curl -sL -o SourceSans.zip https://github.com/adobe-fonts/source-sans/releases/download/3.052R/OTF-source-sans-3.052R.zip curl -sL -o SourceHanSansTW.zip https://github.com/adobe-fonts/source-han-sans/releases/latest/download/SourceHanSansTW.zip + unzip -d SourceSans SourceSans.zip unzip -d SourceHanSansTW SourceHanSansTW.zip + cp SourceSans/OTF/*.otf /usr/share/fonts/ cp SourceHanSansTW/SubsetOTF/TW/*.otf /usr/share/fonts/ fc-cache -fv - name: Setup Typst diff --git a/resume.typ b/resume.typ index 35cd1c8..9dc188d 100644 --- a/resume.typ +++ b/resume.typ @@ -15,6 +15,27 @@ ) #let sidebar_content = [ + #resume_section("Education") + #education_item[ + National Yang Ming Chiao Tung University + ][ + Institute of Computer Science and Engineering + ][ + Master of Science + ][ + Aug. 2022 - Now + ] + + #education_item[ + National Yang Ming Chiao Tung University + ][ + Department of Computer Science + ][ + Bachelor of Science + ][ + Aug. 2018 - Jul. 2022 + ] + #resume_section("Skills") #skill_item( "Programming Language", @@ -23,9 +44,9 @@ strong[C], strong[Bash], "C++", + "C#", "Python", "Javascript", - "C#", "Jsonnet", ) ) @@ -97,27 +118,6 @@ - Write Ansible playbook to do CI/CD for complex Nginx configuration files. ] - #resume_section("Education") - #education_item[ - National Yang Ming Chiao Tung University - ][ - Institute of Computer Science and Engineering - ][ - Master of Science - ][ - Aug. 2022 - Now - ] - - #education_item[ - National Yang Ming Chiao Tung University - ][ - Department of Computer Science - ][ - Bachelor of Science - ][ - Aug. 2018 - Jul. 2022 - ] - #resume_section("Personal Project") #personal_project_item_header( "rust-osshkeys", diff --git a/template.typ b/template.typ index 5977f43..7cd1b0e 100644 --- a/template.typ +++ b/template.typ @@ -2,6 +2,7 @@ #let color_darknight = rgb("#131A28") #let color_darksky = rgb("#335E99") #let color_darkgray = rgb("#333333") +#let color_gray = rgb("#555555") // layout utility #let justify_align(left_body, right_body) = { @@ -42,7 +43,10 @@ ) set text( - font: ("思源黑體 TW"), + font: ( + "Source Sans Pro", + "思源黑體 TW", + ), lang: "zh", size: 11pt, fill: color_darknight, @@ -181,7 +185,7 @@ } #let resume_time(body) = { - set text(weight: "light", style: "italic", size: 9pt) + set text(weight: "regular", style: "italic", size: 9pt) body } @@ -195,6 +199,11 @@ body } +#let resume_department(body) = { + set text(size: 10pt, style: "normal", weight: "medium", fill: color_gray) + body +} + #let resume_location(body) = { set text(size: 12pt, style: "italic", weight: "light") body @@ -228,11 +237,10 @@ #block[ #resume_organization[#organization] ] - #justify_align[ - #resume_degree[#department] - ][ - #resume_degree[#degree] - ] + #resume_department[#department] + + #resume_degree[#degree] + #align(right)[ #resume_time[#time_frame] ]