File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { NPMX_DOCS_SITE } from ' #shared/utils/constants'
33
4+ const route = useRoute ()
5+ const isHome = computed (() => route .name === ' index' )
6+
47const discord = useDiscordLink ()
58const modalRef = useTemplateRef (' modalRef' )
69const showModal = () => modalRef .value ?.showModal ?.()
@@ -20,7 +23,7 @@ const closeModal = () => modalRef.value?.close?.()
2023 <span class =" sm:hidden" >{{ $t('non_affiliation_disclaimer') }}</span >
2124 <span class =" hidden sm:inline" >{{ $t('trademark_disclaimer') }}</span >
2225 </p >
23- <BuildEnvironment footer />
26+ <BuildEnvironment v-if = " !isHome " footer />
2427 </div >
2528 <!-- Desktop: Show all links. Mobile: Links are in MobileMenu -->
2629 <div class =" hidden sm:flex flex-col lg:items-end gap-3 min-h-11 text-xs" >
Original file line number Diff line number Diff line change @@ -13,12 +13,8 @@ const buildTime = computed(() => new Date(buildInfo.value.time))
1313
1414<template >
1515 <div
16- class =" font-mono text-xs text-fg-muted flex items-center gap-2"
17- :class ="
18- footer
19- ? 'hidden sm:flex sm:justify-start'
20- : 'mb-8 justify-center motion-safe:animate-fade-in motion-safe:animate-fill-both'
21- "
16+ class =" font-mono text-xs text-fg-muted flex items-center gap-2 motion-safe:animate-fade-in motion-safe:animate-fill-both"
17+ :class =" footer ? 'hidden sm:flex sm:justify-start' : 'mb-8 justify-center'"
2218 style =" animation-delay : 0.05s "
2319 >
2420 <i18n-t keypath =" built_at" scope =" global" >
You can’t perform that action at this time.
0 commit comments