File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/ui/components/common Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ withDefaults(defineProps<HeaderProps>(), {
1111})
1212
1313const { headerRef } = useHeader ()
14+ const siteRoot = process .env .NODE_ENV === ' production' ? ' /2024/' : ' /'
1415 </script >
1516
1617<template >
1718 <header ref =" headerRef" :style =" { top }" >
1819 <div class =" header-root" >
19- <a class =" link" href =" / " aria-label =" Vue Fes Japan 2024" >
20+ <a class =" link" : href =" siteRoot " aria-label =" Vue Fes Japan 2024" >
2021 <Logo class =" logo" color =" vue-blue" />
2122 </a >
2223 <slot />
Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ withDefaults(defineProps<HeaderProps>(), {
1111})
1212
1313const { headerRef } = useHeader ()
14+ const siteRoot = process .env .NODE_ENV === ' production' ? ' /2024/' : ' /'
1415 </script >
1516
1617<template >
1718 <header ref =" headerRef" :style =" { top }" >
1819 <div class =" header-root" >
19- <a class =" link" href =" / " aria-label =" Vue Fes Japan 2024" >
20+ <a class =" link" : href =" siteRoot " aria-label =" Vue Fes Japan 2024" >
2021 <Logo class =" logo" color =" vue-blue" />
2122 </a >
2223 <slot />
You can’t perform that action at this time.
0 commit comments