mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-15 09:11:21 +10:00
feat(library ui): add header
This commit is contained in:
@ -1,7 +1,22 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<div class="space-y-4">
|
||||||
|
<div class="mx-auto max-w-2xl lg:mx-0">
|
||||||
|
<h2
|
||||||
|
class="mt-2 text-xl font-semibold tracking-tight text-zinc-100 sm:text-3xl"
|
||||||
|
>
|
||||||
|
Library
|
||||||
|
</h2>
|
||||||
|
<p
|
||||||
|
class="mt-2 text-pretty text-sm font-medium text-gray-500 sm:text-md/8"
|
||||||
|
>
|
||||||
|
As you add folders to your library, Drop will detect it and prompt you
|
||||||
|
to import it. Each game needs to be imported before you can import a
|
||||||
|
version.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="libraryState.unimportedGames.length > 0"
|
v-if="libraryState.unimportedGames.length > 0"
|
||||||
class="rounded-md bg-blue-600/10 p-4 mb-4"
|
class="rounded-md bg-blue-600/10 p-4"
|
||||||
>
|
>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
@ -51,7 +66,9 @@
|
|||||||
</h3>
|
</h3>
|
||||||
<dl class="mt-1 flex flex-col justify-between">
|
<dl class="mt-1 flex flex-col justify-between">
|
||||||
<dt class="sr-only">Short Description</dt>
|
<dt class="sr-only">Short Description</dt>
|
||||||
<dd class="text-sm text-zinc-400">{{ game.mShortDescription }}</dd>
|
<dd class="text-sm text-zinc-400">
|
||||||
|
{{ game.mShortDescription }}
|
||||||
|
</dd>
|
||||||
<dt class="sr-only">Metadata provider</dt>
|
<dt class="sr-only">Metadata provider</dt>
|
||||||
</dl>
|
</dl>
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
@ -111,6 +128,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
Reference in New Issue
Block a user