File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script setup lang="ts">
22const { footerLinks } = useFooterLinks ()
33const 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" >
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments