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:
17
components/authRequired.jsx
Normal file
17
components/authRequired.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import Link from "next/link";
|
||||
|
||||
const AuthRequired = (props) => {
|
||||
return (
|
||||
<>
|
||||
<p>Hi there!</p>
|
||||
<p>
|
||||
You are not signed in.{" "}
|
||||
<Link href={"/auth"}>
|
||||
<a>Sign in</a>
|
||||
</Link>
|
||||
</p>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default AuthRequired;
|
||||
Reference in New Issue
Block a user