File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { useHead } from ' #imports'
2+ import { useHead , useWithBase } from ' #imports'
33import { useColor , useTypography } from ' @vuejs-jp/composable'
44import { conferenceTitle } from ' ~/utils/constants'
55import { generalOg , twitterOg } from ' ~/utils/og.constants'
@@ -13,6 +13,7 @@ const props = defineProps<ErrorProps>()
1313
1414const { fontWeight, fontSize } = useTypography ()
1515const { color } = useColor ()
16+ const withBase = useWithBase ()
1617
1718useHead ({
1819 // eslint-disable-next-line no-unused-vars
@@ -49,7 +50,7 @@ useHead({
4950 background-color =" white"
5051 color =" vue-blue"
5152 target =" "
52- href =" / "
53+ : href =" withBase('/') "
5354 >
5455 {{ $t('back_to_top') }}
5556 </VFLinkButton >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { useHead } from ' #imports'
2+ import { useHead , useWithBase } from ' #imports'
33import { useColor , useTypography } from ' @vuejs-jp/composable'
44import { useLocaleCurrent } from ' ~/composables/useLocaleCurrent'
55import { conferenceTitle , linkUrl , ogCoCDescription } from ' ~/utils/constants'
@@ -27,6 +27,7 @@ useHead({
2727const { path : localePath } = useLocaleCurrent ()
2828const { fontWeight, fontSize } = useTypography ()
2929const { color } = useColor ()
30+ const withBase = useWithBase ()
3031 </script >
3132
3233<template >
@@ -58,7 +59,7 @@ const { color } = useColor()
5859 background-color =" white"
5960 color =" vue-blue"
6061 target =" "
61- :href =" `${localePath}/`"
62+ :href =" withBase( `${localePath}/`) "
6263 >
6364 {{ $t('back_to_top') }}
6465 </VFLinkButton >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import { useHead } from ' #imports'
2+ import { useHead , useWithBase } from ' #imports'
33import { useColor , useTypography } from ' @vuejs-jp/composable'
44import { useLocaleCurrent } from ' ~/composables/useLocaleCurrent'
55import { conferenceTitle , linkUrl , ogTokushoDescription } from ' ~/utils/constants'
@@ -27,6 +27,7 @@ useHead({
2727const { path : localePath } = useLocaleCurrent ()
2828const { fontWeight, fontSize } = useTypography ()
2929const { color } = useColor ()
30+ const withBase = useWithBase ()
3031 </script >
3132
3233<template >
@@ -58,7 +59,7 @@ const { color } = useColor()
5859 background-color =" white"
5960 color =" vue-blue"
6061 target =" "
61- :href =" `${localePath}/`"
62+ :href =" withBase( `${localePath}/`) "
6263 >
6364 {{ $t('back_to_top') }}
6465 </VFLinkButton >
You can’t perform that action at this time.
0 commit comments