fix: inital eslint errors

This commit is contained in:
Huskydog9988
2025-04-13 21:44:29 -04:00
parent 1e19ccb442
commit e95091bbf5
74 changed files with 339 additions and 304 deletions
+7 -7
View File
@@ -43,13 +43,13 @@
</div>
<div class="mt-2 grid grid-cols-1">
<input
id="search"
v-model="searchQuery"
type="text"
name="search"
id="search"
class="col-start-1 row-start-1 block w-full rounded-md bg-zinc-900 py-1.5 pl-10 pr-3 text-base text-zinc-100 outline outline-1 -outline-offset-1 outline-zinc-700 placeholder:text-gray-400 focus:outline focus:outline-2 focus:-outline-offset-2 focus:outline-blue-600 sm:pl-9 sm:text-sm/6"
placeholder="Search library..."
v-model="searchQuery"
/>
>
<MagnifyingGlassIcon
class="pointer-events-none col-start-1 row-start-1 ml-3 size-5 self-center text-zinc-400 sm:size-4"
aria-hidden="true"
@@ -69,7 +69,7 @@
class="h-16 w-16 flex-shrink-0 rounded-md"
:src="useObject(game.mIconId)"
alt=""
/>
>
<div class="flex flex-col">
<h3 class="text-sm font-medium text-zinc-100 font-display">
{{ game.mName }}
@@ -93,8 +93,8 @@
Edit &rarr;
</NuxtLink>
<button
@click="() => deleteGame(game.id)"
class="mt-2 w-fit rounded-md bg-red-600 px-2.5 py-1.5 text-sm font-semibold text-white shadow-sm hover:bg-red-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-red-600"
@click="() => deleteGame(game.id)"
>
Delete
</button>
@@ -150,14 +150,14 @@
</div>
</li>
<p
class="text-zinc-600 text-sm font-display font-bold uppercase text-center col-span-4"
v-if="filteredLibraryGames.length == 0 && libraryGames.length != 0"
class="text-zinc-600 text-sm font-display font-bold uppercase text-center col-span-4"
>
No results
</p>
<p
class="text-zinc-600 text-sm font-display font-bold uppercase text-center col-span-4"
v-if="filteredLibraryGames.length == 0 && libraryGames.length == 0"
class="text-zinc-600 text-sm font-display font-bold uppercase text-center col-span-4"
>
No games imported
</p>