This commit is contained in:
Bradley Shellnut 2022-12-01 11:53:56 -08:00
parent c34f4f9409
commit ebb9b9d7b6
3 changed files with 24 additions and 633 deletions

View file

@ -16,8 +16,8 @@
"@playwright/test": "^1.27.1",
"@rgossiaux/svelte-headlessui": "1.0.2",
"@rgossiaux/svelte-heroicons": "^0.1.2",
"@sveltejs/adapter-auto": "1.0.0-next.72",
"@sveltejs/kit": "1.0.0-next.480",
"@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next",
"@types/cookie": "^0.5.1",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.42.1",

File diff suppressed because it is too large Load diff

View file

@ -1,13 +1,13 @@
<script lang="ts">
import { tick } from 'svelte';
import type { ActionData, PageData } from './$types';
import { applyAction, enhance } from '$app/forms';
import { fade } from 'svelte/transition';
import { Disclosure, DisclosureButton, DisclosurePanel } from '@rgossiaux/svelte-headlessui';
import { ChevronRightIcon } from '@rgossiaux/svelte-heroicons/solid';
import { xl, md } from '$lib/stores/mediaQueryStore';
import { boredState } from '$lib/stores/boredState';
import AdvancedSearch from '$lib/components/search/advancedSearch/index.svelte';
import { applyAction, enhance } from '$app/forms';
import { xl, md, sm } from '$lib/stores/mediaQueryStore';
import { gameStore } from '$root/lib/stores/gameSearchStore';
import { toast } from '../../toast/toast';
import Pagination from '$lib/components/pagination/index.svelte';
@ -46,6 +46,8 @@
numberOfGameSkeleton = 8;
} else if ($md) {
numberOfGameSkeleton = 3;
} else if ($sm) {
numberOfGameSkeleton = 2;
} else {
numberOfGameSkeleton = 1;
}