1
0
Fork 0
nix-typst-resume/resumes/full/contact/lib.typ
2025-07-30 12:57:16 -05:00

40 lines
850 B
Typst

// SPDX-FileCopyrightText: 2025 Ethan Reece <contact@ethanreece.com>
//
// SPDX-License-Identifier: MIT
#import "@preview/linguify:0.4.2": linguify
#import "../../../base/lib.typ": contact as _contact, contact-method
#import "../locations/lib.typ": Richardson_TX
#let lang-data = toml("lang.toml")
#let l(content) = linguify(content, from: lang-data)
#let email = contact-method(
title: l("email"),
icon: "envelope",
)
#let email-utd = contact-method(
title: l("email_utd"),
icon: "envelope",
)
#let phone = contact-method(
title: l("phone"),
icon: "phone",
)
#let location = contact-method(
title: Richardson_TX,
icon: "location-dot",
)
#let linkedin = contact-method(
title: l("linkedin"),
icon: "linkedin",
)
#let contact(below: 0em) = _contact(
gutter: 2.7em,
below: below,
email,
phone,
location,
linkedin,
)