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} />
|
||||
{/if}
|
||||
|
||||
<search>
|
||||
<form id="search-form" action="/search" method="GET">
|
||||
<div class="search">
|
||||
<fieldset class="text-search" aria-busy={submitting} disabled={submitting}>
|
||||
|
|
@ -124,20 +125,9 @@
|
|||
<Button type="submit">Submit</Button>
|
||||
{/if}
|
||||
</form>
|
||||
</search>
|
||||
|
||||
{#if $boredState.loading}
|
||||
<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">
|
||||
<section class="games">
|
||||
<h1>Games Found:</h1>
|
||||
<div class="games-list">
|
||||
{#if totalCount > 0}
|
||||
|
|
@ -161,15 +151,9 @@
|
|||
on:perPageEvent={handlePerPageEvent}
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
<style lang="postcss">
|
||||
.search {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
:global(.disclosure-button) {
|
||||
display: flex;
|
||||
gap: 0.25rem;
|
||||
|
|
|
|||
Loading…
Reference in a new issue