wip: add basic version of a personal website link
This commit is contained in:
27
lib.typ
27
lib.typ
@@ -28,6 +28,7 @@
|
|||||||
#let email-icon = box(fa-icon("envelope", fill: color-darknight))
|
#let email-icon = box(fa-icon("envelope", fill: color-darknight))
|
||||||
#let birth-icon = box(fa-icon("cake", fill: color-darknight))
|
#let birth-icon = box(fa-icon("cake", fill: color-darknight))
|
||||||
#let homepage-icon = box(fa-icon("home", fill: color-darknight))
|
#let homepage-icon = box(fa-icon("home", fill: color-darknight))
|
||||||
|
#let website-icon = box(fa-icon("globe", fill: color-darknight))
|
||||||
|
|
||||||
/// Helpers
|
/// Helpers
|
||||||
|
|
||||||
@@ -217,7 +218,12 @@
|
|||||||
set page(
|
set page(
|
||||||
paper: "a4",
|
paper: "a4",
|
||||||
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
||||||
footer: if show-footer [#__resume_footer(author, language, lang_data, date)] else [],
|
footer: if show-footer [#__resume_footer(
|
||||||
|
author,
|
||||||
|
language,
|
||||||
|
lang_data,
|
||||||
|
date,
|
||||||
|
)] else [],
|
||||||
footer-descent: 0pt,
|
footer-descent: 0pt,
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -384,6 +390,11 @@
|
|||||||
#orcid-icon
|
#orcid-icon
|
||||||
#box[#link("https://orcid.org/" + author.orcid)[#author.orcid]]
|
#box[#link("https://orcid.org/" + author.orcid)[#author.orcid]]
|
||||||
]
|
]
|
||||||
|
#if ("website" in author) [
|
||||||
|
#separator
|
||||||
|
#website-icon
|
||||||
|
#box[#link(author.website)[#author.website]]
|
||||||
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
@@ -534,7 +545,12 @@
|
|||||||
set page(
|
set page(
|
||||||
paper: "a4",
|
paper: "a4",
|
||||||
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
margin: (left: 15mm, right: 15mm, top: 10mm, bottom: 10mm),
|
||||||
footer: if show-footer [#__coverletter_footer(author, language, date, lang_data)] else [],
|
footer: if show-footer [#__coverletter_footer(
|
||||||
|
author,
|
||||||
|
language,
|
||||||
|
date,
|
||||||
|
lang_data,
|
||||||
|
)] else [],
|
||||||
footer-descent: 0pt,
|
footer-descent: 0pt,
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -659,7 +675,12 @@
|
|||||||
#separator
|
#separator
|
||||||
#orcid-icon
|
#orcid-icon
|
||||||
#box[#link("https://orcid.org/" + author.orcid)[#author.orcid]]
|
#box[#link("https://orcid.org/" + author.orcid)[#author.orcid]]
|
||||||
],
|
],
|
||||||
|
if ("website" in author) [
|
||||||
|
#separator
|
||||||
|
#website-icon
|
||||||
|
#box[#link(author.website)[#author.website]]
|
||||||
|
],
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#import "@preview/modern-cv:0.5.0": *
|
#import "@preview/modern-cv:0.7.0": *
|
||||||
|
|
||||||
#show: coverletter.with(
|
#show: coverletter.with(
|
||||||
author: (
|
author: (
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
github: "DeveloperPaul123",
|
github: "DeveloperPaul123",
|
||||||
linkedin: "John Smith",
|
linkedin: "John Smith",
|
||||||
address: "111 Example St. Apt. 111, Example City, EX 11111",
|
address: "111 Example St. Apt. 111, Example City, EX 11111",
|
||||||
|
website: "https://www.github.com/DeveloperPaul123",
|
||||||
positions: (
|
positions: (
|
||||||
"Software Engineer",
|
"Software Engineer",
|
||||||
"Full Stack Developer",
|
"Full Stack Developer",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#import "@preview/modern-cv:0.6.0": *
|
#import "@preview/modern-cv:0.7.0": *
|
||||||
|
|
||||||
#show: resume.with(
|
#show: resume.with(
|
||||||
author: (
|
author: (
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "modern-cv"
|
name = "modern-cv"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
compiler = "0.11.0"
|
compiler = "0.11.0"
|
||||||
entrypoint = "lib.typ"
|
entrypoint = "lib.typ"
|
||||||
authors = ["Paul Tsouchlos <https://github.com/DeveloperPaul123>"]
|
authors = ["Paul Tsouchlos <https://github.com/DeveloperPaul123>"]
|
||||||
|
|||||||
Reference in New Issue
Block a user