actually fix light/dark mode discord icon

This commit is contained in:
stopflock
2026-07-04 12:35:57 -05:00
parent c4c2af80e9
commit 95a62ec507
+2 -7
View File
@@ -2,12 +2,11 @@
<DefaultLayout>
<v-container class="narrow-text text-center mt-12">
<v-btn color="primary" size="large" rounded @click="showDialog = true">
<v-img class="mr-2" contain width="24" height="24" :src="/icon-discord-white.svg" />
<v-img class="mr-2" contain width="24" height="24" src="/icon-discord-white.svg" />
Join DeFlock Discord
</v-btn>
</v-container>
<DiscordWarningDialog
v-model="showDialog"
:discordUrl="discordUrl"
@@ -17,8 +16,7 @@
</template>
<script setup lang="ts">
import { computed, ref } from 'vue';
import { useTheme } from 'vuetify';
import { ref } from 'vue';
import { useHead } from '@unhead/vue';
import DefaultLayout from '@/layouts/DefaultLayout.vue';
import DiscordWarningDialog from '@/components/DiscordWarningDialog.vue';
@@ -27,9 +25,6 @@ useHead({
meta: [{ name: 'robots', content: 'noindex, nofollow' }]
});
const theme = useTheme();
const isDark = computed(() => theme.name.value === 'dark');
const discordUrl = 'https://discord.gg/aV7v4R3sKT';
const showDialog = ref(true);