feat: implement credentials login
implements the credentials login functionality
This commit is contained in:
parent
72a5c25838
commit
2bab63b2b9
10 changed files with 508 additions and 115 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue