File tree 2 files changed +4
-2
lines changed
packages/ui/components/common
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ withDefaults(defineProps<HeaderProps>(), {
11
11
})
12
12
13
13
const { headerRef } = useHeader ()
14
+ const siteRoot = process .env .NODE_ENV === ' production' ? ' /2024/' : ' /'
14
15
</script >
15
16
16
17
<template >
17
18
<header ref =" headerRef" :style =" { top }" >
18
19
<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" >
20
21
<Logo class =" logo" color =" vue-blue" />
21
22
</a >
22
23
<slot />
Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ withDefaults(defineProps<HeaderProps>(), {
11
11
})
12
12
13
13
const { headerRef } = useHeader ()
14
+ const siteRoot = process .env .NODE_ENV === ' production' ? ' /2024/' : ' /'
14
15
</script >
15
16
16
17
<template >
17
18
<header ref =" headerRef" :style =" { top }" >
18
19
<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" >
20
21
<Logo class =" logo" color =" vue-blue" />
21
22
</a >
22
23
<slot />
You can’t perform that action at this time.
0 commit comments