add tailwind and associated parts to apps/rank

This commit is contained in:
Kim, Jimin 2025-03-17 22:41:56 +09:00
parent c481fcf0c1
commit f59602b18c
Signed by: pomp
GPG key ID: D3932F82A0667A3B
10 changed files with 571 additions and 7 deletions

View file

@ -1,3 +1,19 @@
<script setup>
const colorMode = useColorMode()
</script>
<template>
<NuxtPage />
<div class="min-h-screen bg-white dark:bg-gray-800 dark:text-gray-200">
<p class="p-4 pb-2">
<select
v-model="colorMode.preference"
class="h-8 w-24 border dark:border-gray-700 dark:bg-gray-900 dark:text-white"
>
<option value="system">System</option>
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</p>
<NuxtPage class="mx-auto p-4" />
</div>
</template>