Skip to content

Commit 6f8b8d3

Browse files
authored
Merge pull request #11 from litestar-org/chore
chore
2 parents ad3dfb2 + 652f8a9 commit 6f8b8d3

2 files changed

Lines changed: 7 additions & 10 deletions

File tree

app/components/AppFooter.vue

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<script setup lang="ts">
22
const { footerLinks } = useFooterLinks()
33
const config = useRuntimeConfig()
4-
const colorMode = useColorMode()
5-
6-
const isDark = computed(() => colorMode.value === 'dark')
74
</script>
85

96
<template>
@@ -21,12 +18,12 @@ const isDark = computed(() => colorMode.value === 'dark')
2118
<template #left>
2219
<div class="flex items-center space-x-2 mb-4">
2320
<UIcon
24-
:name="
25-
isDark
26-
? 'i-custom-litestar-full-dark'
27-
: 'i-custom-litestar-full'
28-
"
29-
class="h-8 w-30"
21+
name="i-custom-litestar-full"
22+
class="h-8 w-30 dark:hidden"
23+
/>
24+
<UIcon
25+
name="i-custom-litestar-full-dark"
26+
class="h-8 w-30 hidden dark:block"
3027
/>
3128
</div>
3229
<p class="text-muted text-sm max-w-md">

app/pages/about.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const stats = [
7575
v-for="stat in stats"
7676
:key="stat.label"
7777
:to="stat.to"
78-
target="_blank"
78+
:target="stat.to?.startsWith('#') ? undefined : '_blank'"
7979
class="text-center p-6 bg-gray-50 dark:bg-gray-900 rounded-lg border border-gray-200 dark:border-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors cursor-pointer group"
8080
>
8181
<UIcon

0 commit comments

Comments
 (0)