mirror of
https://github.com/kevin-DL/commander_league_web.git
synced 2026-01-15 03:34:48 +00:00
Added a base layout with a nav bar
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user