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 22import { useI18n } from ' #i18n'
33import { useColor , useTypography } from ' @vuejs-jp/composable'
44import { useLocaleCurrent } from ' ~/composables/useLocaleCurrent'
5-
5+ import { useWithBase } from ' #imports '
66// #region types
77type LinkList = {
88 href: string
@@ -15,6 +15,7 @@ const { t } = useI18n()
1515const { path : localePath } = useLocaleCurrent ()
1616const { color } = useColor ()
1717const { fontSize } = useTypography ()
18+ const withBase = useWithBase ()
1819// #endregion
1920
2021// #region private variables
@@ -38,19 +39,19 @@ const snsLinkList: LinkList[] = [
3839]
3940const internalLinkList: LinkList [] = [
4041 {
41- href: ' /events' ,
42+ href: withBase ( ' /events' ) ,
4243 text: ' related_events.title' ,
4344 },
4445 {
45- href: ' /privacy' ,
46+ href: withBase ( ' /privacy' ) ,
4647 text: ' privacy.title' ,
4748 },
4849 {
49- href: ' /code-of-conduct' ,
50+ href: withBase ( ' /code-of-conduct' ) ,
5051 text: ' code_of_conduct.title' ,
5152 },
5253 {
53- href: ' /tokusho' ,
54+ href: withBase ( ' /tokusho' ) ,
5455 text: ' tokusho.title' ,
5556 },
5657]
You can’t perform that action at this time.
0 commit comments