File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 2
2
import { useI18n } from ' #i18n'
3
3
import { useColor , useTypography } from ' @vuejs-jp/composable'
4
4
import { useLocaleCurrent } from ' ~/composables/useLocaleCurrent'
5
-
5
+ import { useWithBase } from ' #imports '
6
6
// #region types
7
7
type LinkList = {
8
8
href: string
@@ -15,6 +15,7 @@ const { t } = useI18n()
15
15
const { path : localePath } = useLocaleCurrent ()
16
16
const { color } = useColor ()
17
17
const { fontSize } = useTypography ()
18
+ const withBase = useWithBase ()
18
19
// #endregion
19
20
20
21
// #region private variables
@@ -38,19 +39,19 @@ const snsLinkList: LinkList[] = [
38
39
]
39
40
const internalLinkList: LinkList [] = [
40
41
{
41
- href: ' /events' ,
42
+ href: withBase ( ' /events' ) ,
42
43
text: ' related_events.title' ,
43
44
},
44
45
{
45
- href: ' /privacy' ,
46
+ href: withBase ( ' /privacy' ) ,
46
47
text: ' privacy.title' ,
47
48
},
48
49
{
49
- href: ' /code-of-conduct' ,
50
+ href: withBase ( ' /code-of-conduct' ) ,
50
51
text: ' code_of_conduct.title' ,
51
52
},
52
53
{
53
- href: ' /tokusho' ,
54
+ href: withBase ( ' /tokusho' ) ,
54
55
text: ' tokusho.title' ,
55
56
},
56
57
]
You can’t perform that action at this time.
0 commit comments