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

Update AdventureCard and Navbar components

This commit is contained in:
Sean Morley 2024-04-01 21:35:21 +00:00
parent 301e630405
commit a0f07a9980
3 changed files with 9 additions and 9 deletions

View file

@ -9,15 +9,15 @@
goto('/log');
}
</script>
<div class="navbar bg-base-100">
<div class="navbar-start">
<button class="btn btn-primary mr-4 ml-2" on:click={goHome}>Home</button>
<button class="btn btn-primary" on:click={goToLog}>My Log</button>
<div class="navbar bg-base-100 flex flex-col md:flex-row">
<div class="navbar-start flex justify-around md:justify-start">
<button 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" on:click={goToLog}>My Log</button>
</div>
<div class="navbar-center">
<div class="navbar-center flex justify-center md:justify-center">
<a class="btn btn-ghost text-xl" href="/">AdventureLog 🗺️</a>
</div>
<div class="navbar-end">
<div class="navbar-end flex justify-around md:justify-end">
<p>Adventures: {getNumberOfAdventures()} </p>
</div>
</div>
</div>