feat: implement credentials login
All checks were successful
container-scan / Container Scan (pull_request) Successful in 2m55s
docker-build / docker (pull_request) Successful in 7m1s

implements the credentials login functionality
This commit is contained in:
Dominik 2025-05-28 13:08:07 +02:00
parent 72a5c25838
commit 2bab63b2b9
Signed by: dominik
GPG key ID: 06A4003FC5049644
10 changed files with 508 additions and 115 deletions

View file

@ -6,8 +6,6 @@ import { Button } from '@/components/custom-ui/button';
import Image from 'next/image';
import { Separator } from '@/components/custom-ui/separator';
import Logo from '@/components/logo';
import '@/app/globals.css';
import {
Card,
CardContent,
@ -28,12 +26,12 @@ export default async function LoginPage() {
}
return (
<div className='flex flex-col items-center justify-center h-screen'>
<div className='flex flex-col items-center justify-center h-screen'>
<div className='absolute top-4 right-4'>
<div className='flex flex-col items-center min-h-screen'>
<div className='flex flex-col items-center min-h-screen'>
<div className='fixed top-4 right-4'>
<ThemePicker />
</div>
<div>
<div className='mt-auto mb-auto'>
<Card className='w-[350px] max-w-screen;'>
<CardHeader className='grid place-items-center'>
<Logo colorType='colored' logoType='secondary'></Logo>
@ -43,8 +41,6 @@ export default async function LoginPage() {
<Separator className='h-[1px] rounded-sm w-[60%] bg-border' />
{providerMap.length > 0}
{providerMap.map((provider) => (
<SSOLogin
key={provider.id}