38 lines
506 B
TypeScript
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>
|
|
);
|
|
} |