summaryrefslogtreecommitdiff
path: root/pages/user
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-27 19:17:51 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-27 19:17:51 +0200
commit6395d1ec4362fedd7854fc9a103bad8bf7ae5d3d (patch)
tree93a2d01ec76ef5b78e36d3f5f2ad284d1286d928 /pages/user
parent74f689fefb77328f22772bbdf9ebc6aefb01cdab (diff)
Dark mode
Diffstat (limited to 'pages/user')
-rw-r--r--pages/user/_id.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/user/_id.vue b/pages/user/_id.vue
index 7f57338..a43a7c8 100644
--- a/pages/user/_id.vue
+++ b/pages/user/_id.vue
@@ -1,6 +1,6 @@
<template lang="pug">
.mx-auto.w-90p.py-6#modelpage(class="sm:px-6 lg:px-8 md:max-w-7xl")
- .grid.mb-10.justify-items-center.text-center(class="sm:flex sm:text-left" v-if="user.username")
+ .grid.mb-10.justify-items-center.text-center(class="sm:flex sm:text-left dark:text-white" v-if="user.username")
user-avatar(:data="user" big="1")
.grid.p-0(class="sm:pl-7")
h1.text-2xl.font-bold.self-end.flex(:title="user.username+' is an admin'") {{ user.name }}
@@ -12,14 +12,14 @@
model-loading(v-if="isLoading")
section(v-else)
div(v-if="models.length > 0")
- h4.mb-1.text-lg My models
+ h4.mb-1.text-lg(class="dark:text-white") My models
.grid.grid-cols-1.gap-4(class="md:grid-cols-4")
model-box-card(
v-for="model in models"
:key="model.id"
:model="model"
)
- h4.text-lg(v-else) No models found
+ h4.text-lg(v-else class="dark:text-white") No models found
</template>