initial setup, ztdl-login, core

This commit is contained in:
Max Peintner
2023-04-03 13:39:51 +02:00
parent c1c9ccbf03
commit f9299ad990
100 changed files with 126387 additions and 81 deletions

View File

@@ -0,0 +1,28 @@
import { ColorService } from '#/utils/colors';
import Image from 'next/image';
import React, { useEffect } from 'react';
export default async function Layout({
children,
}: {
children: React.ReactNode;
}) {
const colorService = new ColorService();
return (
<div className="mx-auto flex max-w-[400px] flex-col items-center space-y-4 py-10">
<div className="relative h-28 w-48">
<Image
fill
priority
sizes="100%"
src="https://zitadel.com/zitadel-logo-light.svg"
alt="Login logo"
/>
</div>
<div className="w-full">{children}</div>
<div className="flex flex-row justify-between"></div>
</div>
);
}