1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-29 01:39:36 +02:00

Add log page, update database schema, and API endpoint for user visits

This commit is contained in:
Sean Morley 2024-04-06 12:54:17 +00:00
parent 1b9edeb61f
commit ea79fd2d76
8 changed files with 245 additions and 11 deletions

View file

@ -43,10 +43,12 @@
class="btn btn-primary my-2 md:my-0 md:mr-4 md:ml-2"
on:click={goHome}>Home</button
>
<button
class="btn btn-primary my-2 md:my-0 md:mr-4 md:ml-2"
on:click={goToLog}>My Log</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
>
{/if}
<button class="btn btn-primary my-2 md:my-0" on:click={goToFeatured}
>Featured</button
>