-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Danimal
committed
Mar 25, 2024
1 parent
8235adc
commit c5356e8
Showing
12 changed files
with
159 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// React | ||
import React from "react"; | ||
|
||
// NextJS | ||
import Link from "next/link"; | ||
|
||
// Components | ||
import { SiteNav } from "@/components/SiteNav"; | ||
|
||
// Styles | ||
import "@/app/globals.css"; | ||
import { Footer } from "@/components/Footer"; | ||
|
||
export default function Layout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<> | ||
<div className="flex-1 flex justify-center items-center flex-wrap-reverse"> | ||
<header className="flex-1 flex justify-center"> | ||
<div className="flex flex-col items-center gap-2"> | ||
<Link | ||
href="/" | ||
className="mb-2 whitespace-nowrap font-header text-3xl font-bold text-amber-300" | ||
> | ||
Chess Coven | ||
</Link> | ||
<SiteNav /> | ||
</div> | ||
</header> | ||
<div className="w-full xl:w-auto"> | ||
<div className="mx-auto max-w-2xl p-4">{children}</div> | ||
</div> | ||
<div className="flex-1" /> | ||
</div> | ||
<Footer /> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.