File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
- import { useHead } from ' #imports'
2
+ import { useHead , useWithBase } from ' #imports'
3
3
import { useColor , useTypography } from ' @vuejs-jp/composable'
4
4
import { conferenceTitle } from ' ~/utils/constants'
5
5
import { generalOg , twitterOg } from ' ~/utils/og.constants'
@@ -13,6 +13,7 @@ const props = defineProps<ErrorProps>()
13
13
14
14
const { fontWeight, fontSize } = useTypography ()
15
15
const { color } = useColor ()
16
+ const withBase = useWithBase ()
16
17
17
18
useHead ({
18
19
// eslint-disable-next-line no-unused-vars
@@ -49,7 +50,7 @@ useHead({
49
50
background-color =" white"
50
51
color =" vue-blue"
51
52
target =" "
52
- href =" / "
53
+ : href =" withBase('/') "
53
54
>
54
55
{{ $t('back_to_top') }}
55
56
</VFLinkButton >
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
- import { useHead } from ' #imports'
2
+ import { useHead , useWithBase } from ' #imports'
3
3
import { useColor , useTypography } from ' @vuejs-jp/composable'
4
4
import { useLocaleCurrent } from ' ~/composables/useLocaleCurrent'
5
5
import { conferenceTitle , linkUrl , ogCoCDescription } from ' ~/utils/constants'
@@ -27,6 +27,7 @@ useHead({
27
27
const { path : localePath } = useLocaleCurrent ()
28
28
const { fontWeight, fontSize } = useTypography ()
29
29
const { color } = useColor ()
30
+ const withBase = useWithBase ()
30
31
</script >
31
32
32
33
<template >
@@ -58,7 +59,7 @@ const { color } = useColor()
58
59
background-color =" white"
59
60
color =" vue-blue"
60
61
target =" "
61
- :href =" `${localePath}/`"
62
+ :href =" withBase( `${localePath}/`) "
62
63
>
63
64
{{ $t('back_to_top') }}
64
65
</VFLinkButton >
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
- import { useHead } from ' #imports'
2
+ import { useHead , useWithBase } from ' #imports'
3
3
import { useColor , useTypography } from ' @vuejs-jp/composable'
4
4
import { useLocaleCurrent } from ' ~/composables/useLocaleCurrent'
5
5
import { conferenceTitle , linkUrl , ogTokushoDescription } from ' ~/utils/constants'
@@ -27,6 +27,7 @@ useHead({
27
27
const { path : localePath } = useLocaleCurrent ()
28
28
const { fontWeight, fontSize } = useTypography ()
29
29
const { color } = useColor ()
30
+ const withBase = useWithBase ()
30
31
</script >
31
32
32
33
<template >
@@ -58,7 +59,7 @@ const { color } = useColor()
58
59
background-color =" white"
59
60
color =" vue-blue"
60
61
target =" "
61
- :href =" `${localePath}/`"
62
+ :href =" withBase( `${localePath}/`) "
62
63
>
63
64
{{ $t('back_to_top') }}
64
65
</VFLinkButton >
You can’t perform that action at this time.
0 commit comments