refactor: navbar
This commit is contained in:
parent
08f8e0da52
commit
aa4cdeae79
|
|
@ -26,12 +26,12 @@ const App: Component = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="min-h-screen bg-gray-50">
|
<div class="min-h-screen bg-gray-50">
|
||||||
<header class="bg-white shadow">
|
<header class="fixed top-0 left-0 right-0 bg-white shadow z-50">
|
||||||
<div class="max-w-4xl mx-auto px-4 py-4">
|
<div class="max-w-4xl mx-auto px-4 py-4">
|
||||||
<h1 class="text-2xl font-bold text-gray-900">TTRPG Tools</h1>
|
<h1 class="text-2xl font-bold text-gray-900">TTRPG Tools</h1>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<main class="max-w-4xl mx-auto px-4 py-8">
|
<main class="max-w-4xl mx-auto px-4 py-8 pt-20">
|
||||||
<Article src={currentPath()} />
|
<Article src={currentPath()} />
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue