refactor: extract contact links to shared config

This commit is contained in:
Ilia Mashkov
2026-04-24 10:07:25 +03:00
parent fce4672218
commit f3b4e1d064
4 changed files with 30 additions and 7 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
'use client';
import { CONTACT_LINKS } from '$shared/lib';
import { Button } from '$shared/ui';
/**
@@ -18,8 +19,8 @@ export function UtilityBar() {
<div className="max-w-[2560px] mx-auto px-6 md:px-12 lg:px-16 py-4 flex items-center justify-between">
<div className="flex items-center gap-4">
<span className="text-sm uppercase tracking-wider">Contact</span>
<a href="mailto:hello@allmy.work" className="text-base hover:text-burnt-oxide transition-colors">
hello@allmy.work
<a href={`mailto:${CONTACT_LINKS.email}`} className="text-base hover:text-burnt-oxide transition-colors">
{CONTACT_LINKS.email}
</a>
</div>
<Button variant="primary" size="sm" onClick={handleDownloadCV}>