diff options
author | Michal Sapka <michal@sapka.me> | 2022-08-06 22:36:07 +0200 |
---|---|---|
committer | Michal Sapka <michal@sapka.me> | 2022-08-06 22:36:07 +0200 |
commit | df14504b05642b39ab84d91aaab0b5f96283f5dd (patch) | |
tree | af0c95ec9c7a024db15672883f567d718470f543 /components/layout.tsx | |
parent | d1d59e5b53ceaf77e731555ab5f0a9148e6a7d93 (diff) |
feat: topnav draft
Diffstat (limited to 'components/layout.tsx')
-rw-r--r-- | components/layout.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/components/layout.tsx b/components/layout.tsx new file mode 100644 index 0000000..baf62dd --- /dev/null +++ b/components/layout.tsx @@ -0,0 +1,12 @@ +import TopNav from '../components/topnav.tsx' + +export default function Layout({ children }) { + return ( + <> + <TopNav/> + <main className="mx-auto max-w-screen-lg px-3 py-6"> + {children} + </main> + </> + ) +} |