2026-04-23 20:52:43 +03:00
|
|
|
'use client';
|
2026-04-19 08:40:08 +03:00
|
|
|
|
2026-04-24 10:07:25 +03:00
|
|
|
import { CONTACT_LINKS } from '$shared/lib';
|
2026-04-23 20:52:43 +03:00
|
|
|
import { Button } from '$shared/ui';
|
2026-04-19 08:40:08 +03:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Fixed bottom utility bar with contact info and CV download.
|
|
|
|
|
*/
|
|
|
|
|
export function UtilityBar() {
|
|
|
|
|
/**
|
|
|
|
|
* Handles CV download action.
|
|
|
|
|
*/
|
|
|
|
|
function handleDownloadCV() {
|
2026-04-23 20:52:43 +03:00
|
|
|
console.log('Downloading CV...');
|
2026-04-19 08:40:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return (
|
2026-05-11 12:59:32 +03:00
|
|
|
<div className="fixed bottom-0 left-0 right-0 bg-cream brutal-border-top z-40">
|
2026-04-19 08:40:08 +03:00
|
|
|
<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>
|
2026-05-11 12:59:32 +03:00
|
|
|
<a href={`mailto:${CONTACT_LINKS.email}`} className="text-base hover:opacity-60 transition-opacity">
|
2026-04-24 10:07:25 +03:00
|
|
|
{CONTACT_LINKS.email}
|
2026-04-19 08:40:08 +03:00
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<Button variant="primary" size="sm" onClick={handleDownloadCV}>
|
|
|
|
|
Download CV
|
|
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-04-23 20:52:43 +03:00
|
|
|
);
|
2026-04-19 08:40:08 +03:00
|
|
|
}
|