mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-26 16:29:37 +02:00
refactor: Update adventure search filter UI layout
This commit is contained in:
parent
b380b55942
commit
b2ceda819c
1 changed files with 53 additions and 52 deletions
|
@ -111,8 +111,8 @@
|
||||||
{#if myAdventures.length !== 0 && publicAdventures.length !== 0}
|
{#if myAdventures.length !== 0 && publicAdventures.length !== 0}
|
||||||
<h2 class="text-center font-bold text-2xl mb-4">AdventureLog Results</h2>
|
<h2 class="text-center font-bold text-2xl mb-4">AdventureLog Results</h2>
|
||||||
{/if}
|
{/if}
|
||||||
|
<div class="flex items-center justify-center mt-2 mb-2">
|
||||||
<div class="join">
|
<div class="join">
|
||||||
<input
|
<input
|
||||||
class="join-item btn"
|
class="join-item btn"
|
||||||
type="radio"
|
type="radio"
|
||||||
|
@ -162,8 +162,9 @@
|
||||||
id="activity_types"
|
id="activity_types"
|
||||||
on:change={() => (property = 'activity_types')}
|
on:change={() => (property = 'activity_types')}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
<button class="btn btn-primary ml-2" type="button" on:click={filterByProperty}>Filter</button>
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-primary ml-2" type="button" on:click={filterByProperty}>Filter</button>
|
|
||||||
|
|
||||||
{#if myAdventures.length > 0}
|
{#if myAdventures.length > 0}
|
||||||
<h2 class="text-center font-bold text-2xl mb-4">My Adventures</h2>
|
<h2 class="text-center font-bold text-2xl mb-4">My Adventures</h2>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue