/** The full address without "https://" and a trailing slash, as written out in the PDF */ export function cvLinkText(url: string): string { return url.replace(/^https?:\/\//, '').replace(/\/$/, '') } /** Link buttons show only their icon on phones, where long labels don't fit; the label is then the tooltip and aria-label. The PDF shows the text without the icon (only the email is printed this way) */ export const CV_LINK_UI = { label: 'hidden sm:inline print:inline', leadingIcon: 'print:hidden' }