#import "modernpro-cv-legacy.typ": *

// Remember to set the fonttype in `modernpro-cv-legacy.typ`

#show: mainbody => coverletter-legacy(
  name: [#lorem(2)], //name:"" or name:[]
  address: [#lorem(4)],
  contacts: (
    (text: "08856", link: ""),
    (text: "example.com", link: "https://www.example.com"),
    (text: "github.com", link: "https://www.github.com"),
    (text: "<EMAIL>", link: "mailto:<EMAIL>"),
  ),
  recipient: (
    starttitle: "Dear",
    jobtitle: "Hiring Manager",
    date: "",
    department: [#lorem(2)],
    university: [#lorem(2)],
    address: [#lorem(4)],
    postcode: [#lorem(1)],
  ),
  mainbody,
)

#lorem(300)

#lorem(100)