26 lines
733 B
TypeScript
26 lines
733 B
TypeScript
|
|
"use client";
|
||
|
|
|
||
|
|
import Link from "next/link";
|
||
|
|
|
||
|
|
export default function CvToolbar() {
|
||
|
|
return (
|
||
|
|
<div className="no-print sticky top-0 z-10 border-b border-line bg-canvas/85 backdrop-blur">
|
||
|
|
<div className="mx-auto flex max-w-[860px] items-center justify-between gap-3 px-6 py-2.5">
|
||
|
|
<Link
|
||
|
|
href="/"
|
||
|
|
className="text-sm font-medium text-muted hover:text-accent"
|
||
|
|
>
|
||
|
|
← Portfolio
|
||
|
|
</Link>
|
||
|
|
<button
|
||
|
|
type="button"
|
||
|
|
onClick={() => window.print()}
|
||
|
|
className="rounded-md border border-line bg-surface px-3.5 py-1.5 text-sm font-semibold hover:border-muted"
|
||
|
|
>
|
||
|
|
Télécharger en PDF
|
||
|
|
</button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|