Update Navbar and UserAvatar components, and +page styling

This commit is contained in:
Sean Morley
2024-04-10 23:25:24 +00:00
parent 3d0116a684
commit 549840128f
4 changed files with 13 additions and 13 deletions

View File

@@ -13,13 +13,14 @@
</script>
<div class="flex flex-col items-center justify-center">
<article class="prose">
{#if data.user && data.user.username != ""}
<h1 class="mb-4">Welcome {data.user.first_name}. Let's get Exploring!</h1>
{:else}
<h1 class="mb-4">Welcome. Let's get Exploring!</h1>
{/if}
</article>
{#if data.user && data.user.username != ""}
<h1 class="mb-6 text-4xl font-extrabold">
Welcome {data.user.first_name}. Let's get Exploring!
</h1>
{:else}
<h1 class="mb-6 text-4xl font-extrabold">Welcome. Let's get Exploring!</h1>
{/if}
<img src={campingDrawing} class="w-1/4 mb-4" alt="Logo" />
<button on:click={navToLog} class="btn btn-primary">Open Log</button>