mintyfrankie / brilliant-CV-Submodule

Apache License 2.0
17 stars 16 forks source link

feat: make personalInfo customizable #19

Closed mintyfrankie closed 11 months ago

mintyfrankie commented 12 months ago

Refering to #18

Here is a more "flexible" implementation that is not intended to bring breaking change to the template, yet allowing more power-user usage to customize an Info box (for icon, link and text).

A usage of a customizable element in personalInfo is to pass a key-value pair whose key contains custom, and the value being an array with the following keys:

Example:

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

#let personalInfo = (
  ...
  custom-1: (icon: "", text: "example", link: "https://example.com"),
  ...
)