fix layout
This commit is contained in:
@@ -12,7 +12,7 @@ function App() {
|
|||||||
<Route path="/" element={<Navigate to="/auth/login" replace />} />
|
<Route path="/" element={<Navigate to="/auth/login" replace />} />
|
||||||
|
|
||||||
<Route path="/auth" element={
|
<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="login" element={<LoginPage />} />
|
||||||
<Route path="signup" element={<SignUp />} />
|
<Route path="signup" element={<SignUp />} />
|
||||||
|
|||||||
@@ -5,14 +5,13 @@ import { Link } from "react-router"
|
|||||||
const SignUp = ({
|
const SignUp = ({
|
||||||
heading = "Signup",
|
heading = "Signup",
|
||||||
logo = {
|
logo = {
|
||||||
url: "https://www.shadcnblocks.com",
|
// url: "https://www.shadcnblocks.com",
|
||||||
src: "https://deifkwefumgah.cloudfront.net/shadcnblocks/block/logos/shadcnblockscom-wordmark.svg",
|
// src: "https://deifkwefumgah.cloudfront.net/shadcnblocks/block/logos/shadcnblockscom-wordmark.svg",
|
||||||
alt: "logo",
|
alt: "logo",
|
||||||
title: "shadcnblocks.com",
|
title: "shadcnblocks.com",
|
||||||
},
|
},
|
||||||
buttonText = "Create Account",
|
buttonText = "Create Account",
|
||||||
signupText = "Already a user?",
|
signupText = "Already a user?",
|
||||||
signupUrl = "https://shadcnblocks.com",
|
|
||||||
}) => {
|
}) => {
|
||||||
return (
|
return (
|
||||||
<section className="bg-muted h-screen">
|
<section className="bg-muted h-screen">
|
||||||
@@ -54,7 +53,6 @@ const SignUp = ({
|
|||||||
<div className="text-muted-foreground flex justify-center gap-1 text-sm">
|
<div className="text-muted-foreground flex justify-center gap-1 text-sm">
|
||||||
<p>{signupText}</p>
|
<p>{signupText}</p>
|
||||||
<a
|
<a
|
||||||
href={signupUrl}
|
|
||||||
className="text-primary font-medium hover:underline"
|
className="text-primary font-medium hover:underline"
|
||||||
>
|
>
|
||||||
<Link to="/auth/login">Login</Link>
|
<Link to="/auth/login">Login</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user