2
2
import { useI18n } from ' #i18n'
3
3
import { useColor , useTypography } from ' @vuejs-jp/composable'
4
4
import { useLocaleCurrent } from ' ~/composables/useLocaleCurrent'
5
- import { useWithBase } from ' #imports'
5
+ import { usePathWithLocale } from ' #imports'
6
6
// #region types
7
7
type LinkList = {
8
8
href: string
@@ -15,7 +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
+ const pathWithLocale = usePathWithLocale ()
19
19
// #endregion
20
20
21
21
// #region private variables
@@ -39,19 +39,19 @@ const snsLinkList: LinkList[] = [
39
39
]
40
40
const internalLinkList: LinkList [] = [
41
41
{
42
- href: withBase (' /events' ),
42
+ href: pathWithLocale (' /events' ),
43
43
text: ' related_events.title' ,
44
44
},
45
45
{
46
- href: withBase (' /privacy' ),
46
+ href: pathWithLocale (' /privacy' ),
47
47
text: ' privacy.title' ,
48
48
},
49
49
{
50
- href: withBase (' /code-of-conduct' ),
50
+ href: pathWithLocale (' /code-of-conduct' ),
51
51
text: ' code_of_conduct.title' ,
52
52
},
53
53
{
54
- href: withBase (' /tokusho' ),
54
+ href: pathWithLocale (' /tokusho' ),
55
55
text: ' tokusho.title' ,
56
56
},
57
57
]
0 commit comments