Skip to content

Commit

Permalink
Bring "New letter" action to the front.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael committed Aug 1, 2023
1 parent d4d4bcf commit d235b18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/components/WebsiteNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,15 @@
>
<div class="max-w-screen-md mx-auto py-4 px-6">
<NotEditable {editable}>
<div class="flex items-center relative">
<div class="flex items-center relative space-x-4">
<a href="/" on:click={goBack} class="text-sm font-bold uppercase">
{backButton ? '' : ''}
{latestBio.name}
</a>
<div class="flex-1" />
{#if currentUser}
<PrimaryButton size="sm" href="/letters/new">New letter</PrimaryButton>
{/if}
<button
on:click={() => (showMenu = true)}
class="w-[26px] h-[26px] border border-black rounded-full"
Expand Down

0 comments on commit d235b18

Please sign in to comment.