Skip to content

Commit

Permalink
Update version to 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jxpeng98 committed Oct 21, 2024
1 parent 93e3f2e commit 9864be7
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 43 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Fix

- Fix unclickable contact details in the header of CV.
- Fix unclickable contact details in the header of CV.
- Page margin is better adjusted.

## Update

- Update the `fontawesome` package to version `0.5.0`.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@ The template has the following arguments:
If you want to use the single column version, you create a new `.typ` file and copy the following code:

```Typst
#import "@preview/modernpro-cv:1.0.1": *
#import "@preview/modernpro-cv:1.0.2": *
#import "@preview/fontawesome:0.5.0": *
#show: cv-single.with(
font-type: "PT Serif",
continue-header: "false",
name: "",
address: "","
name: [],
address: [],
lastupdated: "true",
pagecount: "true",
date: "2024-07-03",
contacts: (
(text: "08856", link: ""),
(text: "example.com", link: "https://www.example.com"),
(text: "github.com", link: "https://github.com"),
(text: "123@example.com", link: "mailto:123@example.com"),
(text: [#fa-icon("location-dot") UK]),
(text: [#fa-icon("mobile") 123-456-789], link: "tel:123-456-789"),
(text: [#fa-icon("link") example.com], link: "https://www.example.com"),
)
)
```
Expand All @@ -80,7 +80,8 @@ If you want to use the single column version, you create a new `.typ` file and c
The double column version is similar to the single column version. However, you need to add contents to the specific `left` and `right` sections.

```Typst
#import "@preview/modernpro-cv:1.0.1": *
#import "@preview/modernpro-cv:1.0.2": *
#import "@preview/fontawesome:0.5.0": *
#show: cv-double(
font-type: "PT Sans",
Expand All @@ -91,10 +92,9 @@ The double column version is similar to the single column version. However, you
pagecount: "true",
date: "2024-07-03",
contacts: (
(text: "08856", link: ""),
(text: "example.com", link: "https://www.example.com"),
(text: "github.com", link: "https://github.com"),
(text: "123@example.com", link: "mailto:123@example.com"),
(text: [#fa-icon("location-dot") UK]),
(text: [#fa-icon("mobile") 123-456-789], link: "tel:123-456-789"),
(text: [#fa-icon("link") example.com], link: "https://www.example.com"),
),
left: [
// contents for the left column
Expand Down
9 changes: 4 additions & 5 deletions example_double.typ
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "@local/modernpro-cv:1.0.0": *

#import "@preview/fontawesome:0.5.0": *

#show: cv-double(
font-type: "PT Sans",
Expand All @@ -10,10 +10,9 @@
pagecount: "true",
date: "2024-07-03",
contacts: (
(text: "08856", link: ""),
(text: "example.com", link: "https://www.example.com"),
(text: "github.com", link: "https://github.com"),
(text: "123@example.com", link: "mailto:123@example.com"),
(text: [#fa-icon("location-dot") UK]),
(text: [#fa-icon("mobile") 123-456-789], link: "tel:123-456-789"),
(text: [#fa-icon("link") example.com], link: "https://www.example.com"),
),
left: [
#section[about]
Expand Down
14 changes: 8 additions & 6 deletions example_single.typ
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
// #import "@local/modernpro-cv:1.0.0": *

#import "modernpro-cv.typ": *
#import "@preview/fontawesome:0.5.0": *

#show: cv-single.with(
font-type: "PT Serif",
continue-header: "false",
name: [#lorem(2)], //name:"" or name:[]
address: [],
address: [UK],
lastupdated: "true",
pagecount: "true",
date: "2024-07-03",
contacts: (
(text: "08856", link: ""),
(text: "example.com", link: "https://www.example.com"),
(text: "github.com", link: "https://github.com"),
(text: "123@example.com", link: "mailto:123@example.com"),
)
(text: [#fa-icon("location-dot") UK]),
(text: [#fa-icon("mobile") 123-456-789], link: "tel:123-456-789"),
(text: [#fa-icon("link") example.com], link: "https://www.example.com"),
(text: [#fa-icon("github") github], link: "https://github.com/"),
(text: [#fa-icon("envelope") example\@example.com], link: "mailto:example@example.com"),
),
)

// about
Expand Down
12 changes: 6 additions & 6 deletions modernpro-cv.typ
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// Copyright (c) 2024
// Author: Jiaxin Peng
// License: MIT
// Version: 1.0.1
// Date: 2024-08-29
// Version: 1.0.2
// Date: 2024-10-21
// Email: jiaxin.peng@outlook.com
///////////////////////////////
Expand Down Expand Up @@ -230,7 +230,7 @@
)[#align(center, [#name])]
// address
if address != none {
v(2pt)
v(3pt)
text(
11pt,
fill: primary-colour,
Expand Down Expand Up @@ -258,7 +258,7 @@
)[#align(center, [#name])]
// address
if address != none {
v(2pt)
v(3pt)
text(
11pt,
fill: primary-colour,
Expand Down Expand Up @@ -332,7 +332,7 @@
)[#align(center, [#name])]
// address
if address != none {
v(2pt)
v(3pt)
text(
11pt,
fill: primary-colour,
Expand Down Expand Up @@ -366,7 +366,7 @@
)[#align(center, [#name])]
// address
if address != none {
v(2pt)
v(3pt)
text(
11pt,
fill: primary-colour,
Expand Down
Binary file added template/cv-double.pdf
Binary file not shown.
11 changes: 7 additions & 4 deletions template/cv-double.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#import "@preview/modernpro-cv:1.0.1": *
#import "@preview/modernpro-cv:1.0.2": *

#import "@preview/fontawesome:0.5.0": *

#show: cv-double(
font-type: "PT Sans",
Expand All @@ -7,10 +9,11 @@
address: [#lorem(4)],
lastupdated: "true",
pagecount: "true",
date: "2024-07-03",
date: [2024-07-03],
contacts: (
(text: "08856", link: ""),
(text: "example.com", link: "https://www.example.com"),
(text: [#fa-icon("location-dot") UK]),
(text: [#fa-icon("mobile") 123-456-789], link: "tel:123-456-789"),
(text: [#fa-icon("link") example.com], link: "https://www.example.com"),
),
left: [
#section[about]
Expand Down
Binary file added template/cv-single.pdf
Binary file not shown.
17 changes: 9 additions & 8 deletions template/cv-single.typ
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
#import "@preview/modernpro-cv:1.0.1": *
#import "@preview/modernpro-cv:1.0.2": *

#import "@preview/fontawesome:0.5.0": *

#show: cv-single.with(
font-type: "PT Serif",
continue-header: "false",
name: "John Doe",
address: "123 Street, City, Country",
name: [John Doe],
address: [123 Street, City, Country],
lastupdated: "true",
pagecount: "true",
date: "2024-07-03",
date: [2024-07-03],
contacts: (
(text: "08856", link: ""),
(text: "example.com", link: "https://www.example.com"),
(text: "github.com", link: "https://github.com"),
(text: "123@example.com", link: "mailto:123@example.com"),
(text: [#fa-icon("location-dot") UK]),
(text: [#fa-icon("mobile") 123-456-789], link: "tel:123-456-789"),
(text: [#fa-icon("link") example.com], link: "https://www.example.com"),
),
)

Expand Down
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "modernpro-cv"
version = "1.0.1"
version = "1.0.2"
entrypoint = "modernpro-cv.typ"
authors = [ "jxpeng98",]
repository = "https://github.com/jxpeng98/Typst-CV-Resume"
Expand Down

0 comments on commit 9864be7

Please # to comment.