boring stuff

This commit is contained in:
m5r
2021-08-01 11:05:40 +08:00
parent cd83f0c78e
commit a65d6e2bcc
17 changed files with 261 additions and 206 deletions

View File

@ -1,5 +1,6 @@
import { Suspense } from "react";
import { Link, BlitzPage, useMutation, Routes } from "blitz";
import type { BlitzPage } from "blitz";
import { Link, useMutation, Routes } from "blitz";
import BaseLayout from "../core/layouts/base-layout";
import logout from "../auth/mutations/logout";
@ -35,12 +36,12 @@ const UserInfo = () => {
} else {
return (
<>
<Link href={Routes.SignupPage()}>
<Link href={Routes.SignUp()}>
<a className="button small">
<strong>Sign Up</strong>
</a>
</Link>
<Link href={Routes.LoginPage()}>
<Link href={Routes.SignIn()}>
<a className="button small">
<strong>Login</strong>
</a>
@ -268,6 +269,7 @@ const Home: BlitzPage = () => {
};
Home.suppressFirstRenderFlicker = true;
Home.getLayout = (page) => <BaseLayout title="Home">{page}</BaseLayout>;
export default Home;