* hide link to register page
* have google not index auth pages
This commit is contained in:
parent
31e5d00c74
commit
cb655d9f77
@ -16,7 +16,7 @@ export default function SignInPage() {
|
||||
<section>
|
||||
<header>
|
||||
<h2 className="mt-6 text-center text-3xl leading-9 font-extrabold text-gray-900">Welcome back!</h2>
|
||||
<p className="mt-2 text-center text-sm leading-5 text-gray-600">
|
||||
{/*<p className="mt-2 text-center text-sm leading-5 text-gray-600">
|
||||
Need an account?
|
||||
<Link
|
||||
to="/register"
|
||||
@ -25,7 +25,7 @@ export default function SignInPage() {
|
||||
>
|
||||
Create yours for free
|
||||
</Link>
|
||||
</p>
|
||||
</p>*/}
|
||||
</header>
|
||||
|
||||
<Form method="post" action={`./?${searchParams}`} className="mt-8 mx-auto w-full max-w-sm">
|
||||
@ -62,11 +62,7 @@ export default function SignInPage() {
|
||||
}
|
||||
/>
|
||||
|
||||
<Button
|
||||
type="submit"
|
||||
disabled={transition.state === "submitting"}
|
||||
tabIndex={3}
|
||||
>
|
||||
<Button type="submit" disabled={transition.state === "submitting"} tabIndex={3}>
|
||||
Sign in
|
||||
</Button>
|
||||
</Form>
|
||||
|
@ -10,4 +10,6 @@ export const action = forgotPasswordAction;
|
||||
export const loader = forgotPasswordLoader;
|
||||
export const meta: MetaFunction = () => ({
|
||||
...getSeoMeta({ title: "Forgot password" }),
|
||||
robots: "noindex",
|
||||
googlebot: "noindex",
|
||||
});
|
||||
|
@ -10,4 +10,6 @@ export const action = registerAction;
|
||||
export const loader = registerLoader;
|
||||
export const meta: MetaFunction = () => ({
|
||||
...getSeoMeta({ title: "Register" }),
|
||||
robots: "noindex",
|
||||
googlebot: "noindex",
|
||||
});
|
||||
|
@ -10,4 +10,6 @@ export const action = resetPasswordAction;
|
||||
export const loader = resetPasswordLoader;
|
||||
export const meta: MetaFunction = () => ({
|
||||
...getSeoMeta({ title: "Reset password" }),
|
||||
robots: "noindex",
|
||||
googlebot: "noindex",
|
||||
});
|
||||
|
@ -10,4 +10,6 @@ export const action = signInAction;
|
||||
export const loader = signInLoader;
|
||||
export const meta: MetaFunction = () => ({
|
||||
...getSeoMeta({ title: "Sign in" }),
|
||||
robots: "noindex",
|
||||
googlebot: "noindex",
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user