mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Remove unused text search code.
This commit is contained in:
parent
5d9af200b7
commit
4c75d1f863
1 changed files with 66 additions and 82 deletions
|
|
@ -80,6 +80,7 @@
|
||||||
<SuperDebug data={$form} />
|
<SuperDebug data={$form} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<search>
|
||||||
<form id="search-form" action="/search" method="GET">
|
<form id="search-form" action="/search" method="GET">
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<fieldset class="text-search" aria-busy={submitting} disabled={submitting}>
|
<fieldset class="text-search" aria-busy={submitting} disabled={submitting}>
|
||||||
|
|
@ -124,20 +125,9 @@
|
||||||
<Button type="submit">Submit</Button>
|
<Button type="submit">Submit</Button>
|
||||||
{/if}
|
{/if}
|
||||||
</form>
|
</form>
|
||||||
|
</search>
|
||||||
|
|
||||||
{#if $boredState.loading}
|
<section class="games">
|
||||||
<div class="games">
|
|
||||||
<h1>Games Found:</h1>
|
|
||||||
<div class="games-list">
|
|
||||||
<!-- {#each placeholderList as game, i}
|
|
||||||
<SkeletonPlaceholder
|
|
||||||
style="width: 100%; height: 500px; border-radius: var(--borderRadius);"
|
|
||||||
/>
|
|
||||||
{/each} -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{:else}
|
|
||||||
<div class="games">
|
|
||||||
<h1>Games Found:</h1>
|
<h1>Games Found:</h1>
|
||||||
<div class="games-list">
|
<div class="games-list">
|
||||||
{#if totalCount > 0}
|
{#if totalCount > 0}
|
||||||
|
|
@ -161,15 +151,9 @@
|
||||||
on:perPageEvent={handlePerPageEvent}
|
on:perPageEvent={handlePerPageEvent}
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</section>
|
||||||
{/if}
|
|
||||||
|
|
||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
.search {
|
|
||||||
display: grid;
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
:global(.disclosure-button) {
|
:global(.disclosure-button) {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.25rem;
|
gap: 0.25rem;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue