cf7d84db1b
* #51 Adds settings page with showTitleDescriptionOnGamePanel * Removes console.log * Renames isHidden to system, adds missing system column on Game and fixes nitro plugin on fresh database * Implements a different way to handle the placeholder image * Removes system column on Game * Groups settings keys together * Removes unused i18n keys * fix: fix eslints and other small tweaks --------- Co-authored-by: Francois Ribemont <ribemont.francois@gmail.com>
23 lines
565 B
Vue
23 lines
565 B
Vue
<template>
|
|
<div
|
|
:class="[
|
|
'transition border border-3 rounded-xl relative cursor-pointer',
|
|
active ? 'border-blue-600' : 'border-zinc-700',
|
|
]"
|
|
>
|
|
<div v-if="active" class="absolute top-1 right-1 z-1">
|
|
<CheckIcon
|
|
class="rounded-full p-1.5 bg-blue-600 size-6 text-transparent stroke-3 stroke-zinc-900 font-bold"
|
|
/>
|
|
</div>
|
|
|
|
<slot />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { CheckIcon } from '@heroicons/vue/24/solid';
|
|
|
|
const { active = false } = defineProps<{ active?: boolean }>();
|
|
</script>
|