From 297900ecfcb864e068fb7ca8ee66914d86c13d2a Mon Sep 17 00:00:00 2001 From: jiyuujin Date: Mon, 11 Nov 2024 16:10:41 +0900 Subject: [PATCH 1/2] PhotoPageSection --- apps/web/app/components/PhotoPageSection.vue | 81 ++++++++++++++++++++ apps/web/app/components/TopPageSection.vue | 4 +- apps/web/app/lang/en.json | 5 ++ apps/web/app/lang/ja.json | 5 ++ apps/web/app/pages/index.vue | 1 + apps/web/app/utils/constants.ts | 67 ++++++++++++++++ 6 files changed, 161 insertions(+), 2 deletions(-) create mode 100644 apps/web/app/components/PhotoPageSection.vue diff --git a/apps/web/app/components/PhotoPageSection.vue b/apps/web/app/components/PhotoPageSection.vue new file mode 100644 index 00000000..0088d89f --- /dev/null +++ b/apps/web/app/components/PhotoPageSection.vue @@ -0,0 +1,81 @@ + + + + + \ No newline at end of file diff --git a/apps/web/app/components/TopPageSection.vue b/apps/web/app/components/TopPageSection.vue index 4f00120e..da83e22d 100644 --- a/apps/web/app/components/TopPageSection.vue +++ b/apps/web/app/components/TopPageSection.vue @@ -51,10 +51,10 @@ const getAnchorPath = computed( class="link-button" background-color="vue-green/200" color="white" - :href="getAnchorPath('events')" + :href="getAnchorPath('#photo')" target="_top" > - {{ $t('related_events.title') }} + {{ $t('photo.title') }} diff --git a/apps/web/app/lang/en.json b/apps/web/app/lang/en.json index e7969e5f..0e1ff77a 100644 --- a/apps/web/app/lang/en.json +++ b/apps/web/app/lang/en.json @@ -287,5 +287,10 @@ "title": "Related Events", "register": "Register for the event", "close": "The event has ended" + }, + "photo": { + "title": "Photo", + "subtitle1": "Thank you to everyone who participated in Vue Fes Japan 2024.", + "subtitle2": "The photos taken on the day will be published under a CC0 license, so feel free to use them on blogs, social media, and other platforms." } } diff --git a/apps/web/app/lang/ja.json b/apps/web/app/lang/ja.json index 48499b6e..defa9293 100644 --- a/apps/web/app/lang/ja.json +++ b/apps/web/app/lang/ja.json @@ -305,5 +305,10 @@ "title": "関連イベント", "register": "イベントに参加する", "close": "イベントは終了しました" + }, + "photo": { + "title": "写真", + "subtitle1": "Vue Fes Japan 2024 にご参加いただいたみなさん、ありがとうございました。", + "subtitle2": "当日撮影された写真を CC0 ライセンスにて公開しますので、ブログや SNS などにご自由にお使いください。" } } diff --git a/apps/web/app/pages/index.vue b/apps/web/app/pages/index.vue index 44579589..759d5056 100644 --- a/apps/web/app/pages/index.vue +++ b/apps/web/app/pages/index.vue @@ -44,6 +44,7 @@ useHead({