mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-29 14:25:20 +03:00
parent
9ee86222a4
commit
85570d2e9e
@ -10,7 +10,7 @@ export const GoogleLoginButton = () => {
|
|||||||
<Button
|
<Button
|
||||||
onClick={signInWithGoogle}
|
onClick={signInWithGoogle}
|
||||||
isLoading={isPending}
|
isLoading={isPending}
|
||||||
variant={"secondary"}
|
variant={"danger"}
|
||||||
type="button"
|
type="button"
|
||||||
data-testid="google-login-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
|
Quivr is your second brain in the cloud, designed to easily store and
|
||||||
retrieve unstructured information.
|
retrieve unstructured information.
|
||||||
</p>
|
</p>
|
||||||
<Link href={"/signup"}>
|
<Link href={"/login"}>
|
||||||
<Button>Get Started</Button>
|
<Button>Get Started</Button>
|
||||||
</Link>
|
</Link>
|
||||||
<Link target="_blank" href={"https://github.com/StanGirard/quivr/"}>
|
<Link target="_blank" href={"https://github.com/StanGirard/quivr/"}>
|
||||||
|
@ -13,10 +13,19 @@ export const AuthButtons = (): JSX.Element => {
|
|||||||
</Link>
|
</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