Erste brauchbare Version
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
'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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user