fix layout

This commit is contained in:
IluaAir
2025-10-09 23:55:20 +03:00
parent b4f98fe6cd
commit 23945b3487
2 changed files with 3 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ function App() {
<Route path="/" element={<Navigate to="/auth/login" replace />} />
<Route path="/auth" element={
<AuthLayout className="flex min-h-svh flex-col items-center justify-center bg-background text-foreground" />
<AuthLayout className="flex min-h-svh flex-col items-center justify-center bg-muted text-foreground" />
}>
<Route path="login" element={<LoginPage />} />
<Route path="signup" element={<SignUp />} />

View File

@@ -5,14 +5,13 @@ import { Link } from "react-router"
const SignUp = ({
heading = "Signup",
logo = {
url: "https://www.shadcnblocks.com",
src: "https://deifkwefumgah.cloudfront.net/shadcnblocks/block/logos/shadcnblockscom-wordmark.svg",
// url: "https://www.shadcnblocks.com",
// src: "https://deifkwefumgah.cloudfront.net/shadcnblocks/block/logos/shadcnblockscom-wordmark.svg",
alt: "logo",
title: "shadcnblocks.com",
},
buttonText = "Create Account",
signupText = "Already a user?",
signupUrl = "https://shadcnblocks.com",
}) => {
return (
<section className="bg-muted h-screen">
@@ -54,7 +53,6 @@ const SignUp = ({
<div className="text-muted-foreground flex justify-center gap-1 text-sm">
<p>{signupText}</p>
<a
href={signupUrl}
className="text-primary font-medium hover:underline"
>
<Link to="/auth/login">Login</Link>