From 5d4c3072898a81333266dcfd5d91de7ce82a5b97 Mon Sep 17 00:00:00 2001 From: genj11 Date: Tue, 1 Apr 2025 19:38:58 +0900 Subject: [PATCH 1/4] fix: add basePath on favicon --- apps/web/nuxt.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/nuxt.config.ts b/apps/web/nuxt.config.ts index 3c9f7256..36e59e9e 100644 --- a/apps/web/nuxt.config.ts +++ b/apps/web/nuxt.config.ts @@ -19,7 +19,7 @@ export default defineNuxtConfig({ ...twitterOg(), ], link: [ - { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, + { rel: 'icon', type: 'image/x-icon', href: '/2024/favicon.ico' }, { rel: 'stylesheet', href: 'https://use.typekit.net/lff1jgr.css' }, ], htmlAttrs: { From 477bddf7e4de5c797ef9c8e938577ba8cc073346 Mon Sep 17 00:00:00 2001 From: genj11 Date: Tue, 1 Apr 2025 19:41:46 +0900 Subject: [PATCH 2/4] fix: add basePath on footer-list --- apps/web/app/components/FooterPageSection.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/web/app/components/FooterPageSection.vue b/apps/web/app/components/FooterPageSection.vue index c8c35e6c..4cea9341 100644 --- a/apps/web/app/components/FooterPageSection.vue +++ b/apps/web/app/components/FooterPageSection.vue @@ -2,7 +2,7 @@ import { useI18n } from '#i18n' import { useColor, useTypography } from '@vuejs-jp/composable' import { useLocaleCurrent } from '~/composables/useLocaleCurrent' - +import { useWithBase } from '#imports' //#region types type LinkList = { href: string @@ -15,6 +15,7 @@ const { t } = useI18n() const { path: localePath } = useLocaleCurrent() const { color } = useColor() const { fontSize } = useTypography() +const withBase = useWithBase() //#endregion //#region private variables @@ -38,19 +39,19 @@ const snsLinkList: LinkList[] = [ ] const internalLinkList: LinkList[] = [ { - href: '/events', + href: withBase('/events'), text: 'related_events.title', }, { - href: '/privacy', + href: withBase('/privacy'), text: 'privacy.title', }, { - href: '/code-of-conduct', + href: withBase('/code-of-conduct'), text: 'code_of_conduct.title', }, { - href: '/tokusho', + href: withBase('/tokusho'), text: 'tokusho.title', }, ] From cb92c913728fae40367e63b7a17183efbb7facf6 Mon Sep 17 00:00:00 2001 From: genj11 Date: Tue, 1 Apr 2025 19:44:15 +0900 Subject: [PATCH 3/4] fix: add basePath on sponsor-button --- apps/web/app/components/SponsorPageSection.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/web/app/components/SponsorPageSection.vue b/apps/web/app/components/SponsorPageSection.vue index 6d6f24a6..e359ad73 100644 --- a/apps/web/app/components/SponsorPageSection.vue +++ b/apps/web/app/components/SponsorPageSection.vue @@ -1,6 +1,6 @@