Skip to content

Instantly share code, notes, and snippets.

@shankardevy
Created April 17, 2023 21:43
Show Gist options
  • Save shankardevy/7c23f1c35a3fdd07ef054bfcba5cf60e to your computer and use it in GitHub Desktop.
Save shankardevy/7c23f1c35a3fdd07ef054bfcba5cf60e to your computer and use it in GitHub Desktop.
Starter App layout for firebnb
<header class="px-4 sm:px-6 lg:px-8 border-b border-zinc-100 shadow-md">
<div class="mx-auto max-w-7xl">
<div class="flex items-center justify-between py-3 text-sm">
<div class="flex items-center gap-4">
<a href="/" class="flex items-center font-bold text-2xl leading-12 text-brand">
firebnb
</a>
</div>
<div class="flex items-center gap-4 font-semibold leading-6 text-zinc-900">
<a href="#" class="hover:text-zinc-700">
Register
</a>
<a href="#" class="hover:text-zinc-700">
Login
</a>
</div>
</div>
</div>
</header>
<main class="px-4 py-8 sm:px-6 lg:px-8">
<div class="mx-auto max-w-7xl">
<.flash_group flash={@flash} />
<%= @inner_content %>
</div>
</main>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment