mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-30 10:19:37 +02:00
Update Navbar and UserAvatar components, and +page styling
This commit is contained in:
parent
3d0116a684
commit
549840128f
4 changed files with 13 additions and 13 deletions
|
@ -64,9 +64,8 @@
|
|||
on:click={goHome}>Home</button
|
||||
>
|
||||
{#if user}
|
||||
<button
|
||||
class="btn btn-primary my-2 md:my-0 md:mr-4 md:ml-2"
|
||||
on:click={goToLog}>My Log</button
|
||||
<button class="btn btn-primary my-2 md:my-0 md:mr-4" on:click={goToLog}
|
||||
>My Log</button
|
||||
>
|
||||
{/if}
|
||||
<button class="btn btn-primary my-2 md:my-0" on:click={goToFeatured}
|
||||
|
@ -87,7 +86,7 @@
|
|||
{/if}
|
||||
|
||||
{#if user}
|
||||
<p>Adventures: {count}</p>
|
||||
<p class="font-bold">Adventures: {count}</p>
|
||||
<UserAvatar {user} />
|
||||
{/if}
|
||||
<button class="btn btn-neutral ml-4" on:click={showModal}>About</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue