Skip to content

Commit

Permalink
feature: add another coverletter example
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperPaul123 committed Apr 2, 2024
1 parent 1709d64 commit 0b7481e
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

### Output
### Output Examples

| | |
| Resumes | Cover letters |
| --- | --- |
| ![Resume](assets/images/resume.png) | ![Cover Letter](assets/images/coverletter.png) |
| | ![Cover Letter 2](assets/images/coverletter2.png)|
Binary file added assets/images/coverletter2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions scripts/update_thumbnails.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
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/coverletter2.typ $PSScriptRoot/../assets/images/coverletter2.png

oxipng.exe $PSScriptRoot/../assets/images/*
44 changes: 44 additions & 0 deletions template/coverletter2.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#import "@preview/modern-cv:0.2.0":*

#show: coverletter.with(
author: (
firstname: "John",
lastname: "Smith",
email: "[email protected]",
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)
]

0 comments on commit 0b7481e

Please sign in to comment.