mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-07-14 07:47:21 +02:00
actually fix light/dark mode discord icon
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user