mirror of
https://github.com/fankes/beszel.git
synced 2025-10-21 19:10:38 +08:00
updates
This commit is contained in:
@@ -1,56 +1,38 @@
|
||||
import { cn } from '@/lib/utils'
|
||||
import { buttonVariants } from '@/components/ui/button'
|
||||
import { UserAuthForm } from '@/components/user-auth-form'
|
||||
import { ChevronLeft } from 'lucide-react'
|
||||
import { Logo } from './logo'
|
||||
|
||||
export default function () {
|
||||
return (
|
||||
<div className="container relative hidden h-screen flex-col items-center justify-center md:grid lg:max-w-none lg:grid-cols-2 lg:px-0">
|
||||
<div className="lg:p-8">
|
||||
<div className="mx-auto flex w-full flex-col justify-center space-y-6 sm:w-[350px]">
|
||||
<div className="flex flex-col space-y-2 text-center">
|
||||
{/* <img
|
||||
className="mx-auto h-10 w-10 mb-2"
|
||||
src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Numelon_Logo.png/240px-Numelon_Logo.png"
|
||||
alt=""
|
||||
/> */}
|
||||
<h1 className="text-2xl font-semibold tracking-tight">Welcome back</h1>
|
||||
<div className="relative h-screen grid lg:max-w-none lg:grid-cols-2 lg:px-0">
|
||||
<div className="grid items-center">
|
||||
<div className="flex flex-col justify-center space-y-6 w-full px-4 max-w-[22em] mx-auto">
|
||||
<div className="text-center">
|
||||
<h1 className="mb-4">
|
||||
<Logo className="h-6 fill-foreground mx-auto" />
|
||||
<div className="sr-only">Qoma</div>
|
||||
</h1>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
Enter your email to sign in to your account
|
||||
</p>
|
||||
</div>
|
||||
<UserAuthForm />
|
||||
<p className="px-8 text-center text-sm text-muted-foreground">
|
||||
<a href="/register" className="hover:text-brand underline underline-offset-4">
|
||||
Don't have an account? Sign Up
|
||||
{/* todo: add forgot password section to readme and link to section
|
||||
reset w/ command or link to pb reset */}
|
||||
<a
|
||||
href="https://github.com/henrygd/qoma"
|
||||
className="hover:text-brand underline underline-offset-4"
|
||||
>
|
||||
Forgot password?
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="relative hidden h-full flex-col bg-muted p-10 text-white dark:border-r lg:flex">
|
||||
<div
|
||||
className="absolute inset-0 bg-background bg-cover opacity-80"
|
||||
style={{
|
||||
backgroundImage: `url(https://directus.cloud/assets/waves.2b156907.svg)`,
|
||||
}}
|
||||
></div>
|
||||
<div className="relative z-20 flex gap-2 items-center text-lg font-medium ml-auto">
|
||||
placeholder
|
||||
<img
|
||||
className={'w-6 h-6'}
|
||||
src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Numelon_Logo.png/240px-Numelon_Logo.png"
|
||||
alt=""
|
||||
/>
|
||||
</div>
|
||||
{/* <div className="relative z-20 mt-auto">
|
||||
<blockquote className="space-y-2">
|
||||
<p className="text-lg">
|
||||
“This library has saved me countless hours of work and helped me deliver stunning
|
||||
designs to my clients faster than ever before.”
|
||||
</p>
|
||||
<footer className="text-sm">Sofia Davis</footer>
|
||||
</blockquote>
|
||||
</div> */}
|
||||
<div className="relative hidden h-full bg-primary lg:block">
|
||||
<img
|
||||
className="absolute inset-0 h-full w-full object-cover bg-primary"
|
||||
src="/penguin-and-egg.avif"
|
||||
></img>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
Reference in New Issue
Block a user