feature: add another coverletter example

This commit is contained in:
Paul T
2024-04-02 17:53:36 -04:00
committed by Paul T
parent 1709d6458d
commit 0b7481e9be
4 changed files with 48 additions and 2 deletions

View File

@@ -72,8 +72,9 @@ For more information on how to use and compile `typst` files, see the [official
Documentation for this template is published with each commit. See the attached PDF on each Github Action run [here](https://github.com/DeveloperPaul123/modern-cv/actions). Documentation for this template is published with each commit. See the attached PDF on each Github Action run [here](https://github.com/DeveloperPaul123/modern-cv/actions).
### Output ### Output Examples
| | | | Resumes | Cover letters |
| --- | --- | | --- | --- |
| ![Resume](assets/images/resume.png) | ![Cover Letter](assets/images/coverletter.png) | | ![Resume](assets/images/resume.png) | ![Cover Letter](assets/images/coverletter.png) |
| | ![Cover Letter 2](assets/images/coverletter2.png)|

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

View File

@@ -1,4 +1,5 @@
typst compile -f png $PSScriptRoot/../template/resume.typ $PSScriptRoot/../assets/images/resume.png typst compile -f png $PSScriptRoot/../template/resume.typ $PSScriptRoot/../assets/images/resume.png
typst compile -f png $PSScriptRoot/../template/coverletter.typ $PSScriptRoot/../assets/images/coverletter.png typst compile -f png $PSScriptRoot/../template/coverletter.typ $PSScriptRoot/../assets/images/coverletter.png
typst compile -f png $PSScriptRoot/../template/coverletter2.typ $PSScriptRoot/../assets/images/coverletter2.png
oxipng.exe $PSScriptRoot/../assets/images/* oxipng.exe $PSScriptRoot/../assets/images/*

44
template/coverletter2.typ Normal file
View File

@@ -0,0 +1,44 @@
#import "@preview/modern-cv:0.2.0":*
#show: coverletter.with(
author: (
firstname: "John",
lastname: "Smith",
email: "js@gmail.com",
phone: "(+1) 111-111-1111",
github: "DeveloperPaul123",
linkedin: "John Smith",
address: "111 Example St. Apt. 111, Example City, EX 11111",
positions: (
"Software Engineer",
"Full Stack Developer"
)
),
profile_picture: none
)
#hiring-entity-info(
entity_info: (
target: "Company Recruitement Team",
name: "Google, Inc.",
street_address: "1600 AMPHITHEATRE PARKWAY",
city: "MOUNTAIN VIEW, CA 94043"
)
)
#letter-heading(
job_position: "Software Engineer",
addressee: "Sir or Madame"
)
#coverletter-content[
#lorem(100)
]
#coverletter-content[
#lorem(90)
]
#coverletter-content[
#lorem(110)
]