mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-28 22:04:48 +03:00
parent
9ee86222a4
commit
85570d2e9e
@ -10,7 +10,7 @@ export const GoogleLoginButton = () => {
|
||||
<Button
|
||||
onClick={signInWithGoogle}
|
||||
isLoading={isPending}
|
||||
variant={"secondary"}
|
||||
variant={"danger"}
|
||||
type="button"
|
||||
data-testid="google-login-button"
|
||||
>
|
||||
|
@ -46,7 +46,7 @@ const Hero = (): JSX.Element => {
|
||||
Quivr is your second brain in the cloud, designed to easily store and
|
||||
retrieve unstructured information.
|
||||
</p>
|
||||
<Link href={"/signup"}>
|
||||
<Link href={"/login"}>
|
||||
<Button>Get Started</Button>
|
||||
</Link>
|
||||
<Link target="_blank" href={"https://github.com/StanGirard/quivr/"}>
|
||||
|
@ -13,10 +13,19 @@ export const AuthButtons = (): JSX.Element => {
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
else if (pathname === "/login") {
|
||||
return (
|
||||
<Link href={"/signup"}>
|
||||
<Button variant={"secondary"}>Sign up</Button>
|
||||
</Link>
|
||||
)
|
||||
} else {
|
||||
return (
|
||||
<Link href={"/login"}>
|
||||
<Button variant={"secondary"}>Login</Button>
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<Link href={"/signup"}>
|
||||
<Button variant={"secondary"}>Register</Button>
|
||||
</Link>
|
||||
);
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user