1
0
Fork 0
mirror of https://gitbruv.vercel.app/api/git/bruv/gitbruv.git synced 2025-12-20 23:24:09 +01:00
This commit is contained in:
Ahmet Kilinc 2025-12-20 12:07:05 +00:00
parent 4249f028aa
commit 468781e311
20 changed files with 84 additions and 185 deletions

View file

@ -1,14 +1,10 @@
import { GitBranch } from "lucide-react";
import Link from "next/link";
export default function AuthLayout({
children,
}: {
children: React.ReactNode;
}) {
export default function AuthLayout({ children }: { children: React.ReactNode }) {
return (
<div className="min-h-screen flex flex-col items-center justify-center relative overflow-hidden px-4">
<div className="absolute inset-0 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-accent/15 via-background to-background" />
<div className="absolute inset-0 bg-[radial-gradient(ellipse_at_top,var(--tw-gradient-stops))] from-accent/15 via-background to-background" />
<div className="absolute inset-0">
<div className="absolute top-1/4 left-1/4 w-[500px] h-[500px] bg-accent/5 rounded-full blur-[100px]" />
<div className="absolute bottom-1/4 right-1/4 w-[400px] h-[400px] bg-primary/5 rounded-full blur-[100px]" />

View file

@ -89,9 +89,7 @@ export default function RegisterPage() {
required
className="bg-input/50 h-11"
/>
<p className="text-xs text-muted-foreground">
This will be your unique identifier on gitbruv
</p>
<p className="text-xs text-muted-foreground">This will be your unique identifier on gitbruv</p>
</div>
<div className="space-y-2">
<Label htmlFor="email">Email address</Label>
@ -117,15 +115,9 @@ export default function RegisterPage() {
minLength={8}
className="bg-input/50 h-11"
/>
<p className="text-xs text-muted-foreground">
Must be at least 8 characters
</p>
<p className="text-xs text-muted-foreground">Must be at least 8 characters</p>
</div>
<Button
type="submit"
disabled={loading}
className="w-full h-11"
>
<Button type="submit" disabled={loading} className="w-full h-11">
{loading ? (
<>
<Loader2 className="mr-2 h-4 w-4 animate-spin" />
@ -140,10 +132,7 @@ export default function RegisterPage() {
<div className="mt-6 p-4 rounded-xl border border-border text-center">
<p className="text-sm text-muted-foreground">
Already have an account?{" "}
<Link
href="/login"
className="text-accent hover:underline font-medium"
>
<Link href="/login" className="text-accent hover:underline font-medium">
Sign in
</Link>
</p>