Skip to content

Commit a2ca905

Browse files
committed
refactor: internalLinkList with pathWithLocale
1 parent 3946e47 commit a2ca905

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/web/app/components/FooterPageSection.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ const snsLinkList: LinkList[] = [
3939
]
4040
const internalLinkList: LinkList[] = [
4141
{
42-
href: pathWithLocale('/events'),
42+
href: '/events',
4343
text: 'related_events.title',
4444
},
4545
{
46-
href: pathWithLocale('/privacy'),
46+
href: '/privacy',
4747
text: 'privacy.title',
4848
},
4949
{
50-
href: pathWithLocale('/code-of-conduct'),
50+
href: '/code-of-conduct',
5151
text: 'code_of_conduct.title',
5252
},
5353
{
54-
href: pathWithLocale('/tokusho'),
54+
href: '/tokusho',
5555
text: 'tokusho.title',
5656
},
5757
]
@@ -94,7 +94,7 @@ const vueFesLinkList: LinkList[] = [
9494
<div class="footer-link">
9595
<ul class="footer-list">
9696
<li v-for="(link, index) in internalLinkList" :key="index">
97-
<VFTextLink :href="`${link.href}`" color="white">
97+
<VFTextLink :href="pathWithLocale(`${link.href}`)" color="white">
9898
{{ t(link.text) }}
9999
</VFTextLink>
100100
</li>

0 commit comments

Comments
 (0)