Files
cms-template/components/PayloadInjects.tsx
T
2026-08-31 19:55:41 +02:00

38 lines
506 B
TypeScript

'use client';
import Image from 'next/image';
import { Button } from '@payloadcms/ui';
export function Logo() {
return (
<Image
src="/logo.png"
width={7845}
height={956}
alt=""
/>
);
}
export function Icon() {
return (
<Image
src="/icon.png"
width={836}
height={956}
alt=""
/>
);
}
export function Action() {
function goToSite() {
window.location.href = window.location.origin;
}
return (
<Button onClick={goToSite}>
Zur Website wechseln
</Button>
);
}