Added a base layout with a nav bar

This commit is contained in:
2020-10-26 12:30:21 +00:00
parent eef551bf7a
commit a8f5fe8db4
11 changed files with 1002 additions and 137 deletions

View File

@@ -1,17 +1,18 @@
import Link from 'next/link'
import Link from "next/link";
import DefaultLayout from "../components/defaultLayout";
const Example = (props) => {
return (
<div>
<DefaultLayout requiresAuth>
<p>
This page is static because it does not fetch any data or include the
authed user info.
</p>
<Link href={'/'}>
<Link href={"/"}>
<a>Home</a>
</Link>
</div>
)
}
</DefaultLayout>
);
};
export default Example
export default Example;