fix layout
This commit is contained in:
@@ -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 />} />
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user