2026-04-07 16:21:09 +02:00
|
|
|
import Button from "$/uwil/Button";
|
|
|
|
|
import { sidePlacements } from "@/front/lib/constants";
|
|
|
|
|
import str from "@/hooks/use-string";
|
2026-10-19 17:43:33 +02:00
|
|
|
import trans from "@/hooks/use-translations";
|
2026-04-07 16:21:09 +02:00
|
|
|
|
|
|
|
|
export default function BackToHome() {
|
|
|
|
|
return (
|
|
|
|
|
<Button
|
2026-04-08 13:59:30 +02:00
|
|
|
variant="tertiary"
|
2026-04-07 16:21:09 +02:00
|
|
|
link={{
|
|
|
|
|
href: "/",
|
2026-10-19 17:43:33 +02:00
|
|
|
label: str(trans("front.back_to_your_website")).ucFirst().value(),
|
2026-04-07 16:21:09 +02:00
|
|
|
}}
|
|
|
|
|
icon={{
|
|
|
|
|
icon: "chevron-left",
|
2026-04-08 13:59:30 +02:00
|
|
|
placement: sidePlacements.LEFT,
|
2026-04-07 16:21:09 +02:00
|
|
|
}}
|
|
|
|
|
/>
|
2026-04-08 13:59:30 +02:00
|
|
|
);
|
2026-04-07 16:21:09 +02:00
|
|
|
}
|