Skip to content

Commit 1c3fdfc

Browse files
naokihabaubugeeei
andauthored
feat: student support program closure update (#876)
* refactor: remove unused VFButton component and related styles from SectionStudentSupport * fix: update student support program status and appreciation message * fix: update student support program status and applicant communication * save --------- Co-authored-by: ubugeeei <ubuge1122@gmail.com>
1 parent 1312ee1 commit 1c3fdfc

File tree

6 files changed

+26
-7
lines changed

6 files changed

+26
-7
lines changed

app/pages/_components/SectionStudentSupport.vue

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
<script setup lang="ts">
22
import { useI18n } from "#imports";
3-
import { VFSection, JaStudentSupport, EnStudentSupport, VFButton } from "#components";
3+
import { VFSection, JaStudentSupport, EnStudentSupport, JaStudentSupportClosed, EnStudentSupportClosed, VFButton } from "#components";
44
import { HOME_HEADING_ID } from "~/constant";
55
66
const { locale, t } = useI18n();
7+
const isApplicationClosing = __FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__;
78
</script>
89

910
<template>
1011
<VFSection
1112
:id="HOME_HEADING_ID.studentSupport"
1213
:title="t('student.title')"
1314
>
14-
<component :is="locale === 'ja' ? JaStudentSupport : EnStudentSupport" />
15+
<component
16+
:is="
17+
isApplicationClosing
18+
? locale === 'ja' ? JaStudentSupportClosed : EnStudentSupportClosed
19+
: locale === 'ja' ? JaStudentSupport : EnStudentSupport"
20+
/>
1521

16-
<div class="button-container">
22+
<div v-if="!isApplicationClosing" class="button-container">
1723
<VFButton
1824
link="https://esa-pages.io/p/sharing/6906/posts/1210/765e5b76cdf415899e3f.html"
1925
external
@@ -33,13 +39,11 @@ const { locale, t } = useI18n();
3339

3440
<style scoped>
3541
@import "~/assets/styles/custom-media-query.css";
36-
3742
.button-container {
3843
display: flex;
3944
justify-content: center;
4045
gap: 16px;
4146
margin-top: 2rem;
42-
4347
@media (--mobile) {
4448
display: grid;
4549
place-items: center;

features.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ const __FEATURE_TIMETABLE__: boolean;
33

44
/** defined by ViteConfig.define on nuxt.config.ts */
55
const __FEATURE_EVENT__: boolean;
6+
7+
/** defined by ViteConfig.define on nuxt.config.ts */
8+
const __FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__: boolean;

i18n/en/student-support-closed.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Thank you very much for the numerous applications to the Vue Fes Japan 2025 Student Support Program. As we have reached the capacity for this program, applications are now closed. We sincerely appreciate everyone who applied.
2+
3+
All applicants will be contacted via email. If you have not received an email, please contact us through the inquiry form.
4+
5+
We hope that Vue Fes Japan 2025 will be a fruitful opportunity for learning and networking for everyone.

i18n/ja/student-support-closed.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Vue Fes Japan 2025 学生支援制度へ多数のご応募をいただき、誠にありがとうございました。本プログラムの定数に達したため、募集は終了いたしました。ご応募いただいたすべての皆様に、心より感謝申し上げます。
2+
3+
ご応募いただいた皆様には、メールにてご連絡いたします。メールが届いていない方は、お問い合わせフォームよりお問い合わせください。
4+
5+
Vue Fes Japan 2025 が、皆様にとって実りある学びと出会いの場となることを願っております。

nuxt.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export default defineNuxtConfig({
6060
// for server
6161
__FEATURE_TIMETABLE__: !["0", undefined].includes(process.env.FEATURE_TIMETABLE), // ?
6262
__FEATURE_EVENT__: !["0", undefined].includes(process.env.FEATURE_EVENT), // ?
63+
__FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__: !["0", undefined].includes(process.env.FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING), // 9/25
6364

6465
siteUrl: process.env.NODE_ENV === "production"
6566
? process.env.CONTEXT === "production"
@@ -108,6 +109,7 @@ export default defineNuxtConfig({
108109
define: {
109110
__FEATURE_TIMETABLE__: process.env.FEATURE_TIMETABLE || false, // ?
110111
__FEATURE_EVENT__: process.env.FEATURE_EVENT || false, // ?
112+
__FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__: process.env.FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING || false, // 9/25
111113
},
112114
css: {
113115
transformer: "lightningcss",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
]
2727
},
2828
"scripts": {
29-
"build": "cross-env NODE_OPTIONS='--max-old-space-size=4096' FEATURE_EVENT=1 nuxt build",
30-
"dev": "cross-env FEATURE_TIMETABLE=0 FEATURE_EVENT=1 nuxt dev",
29+
"build": "cross-env NODE_OPTIONS='--max-old-space-size=4096' FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING=0 FEATURE_EVENT=1 nuxt build",
30+
"dev": "cross-env FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING=0 FEATURE_TIMETABLE=0 FEATURE_EVENT=1 nuxt dev",
3131
"generate": "nuxt generate",
3232
"preview": "nuxt preview",
3333
"check": "nuxi typecheck",

0 commit comments

Comments
 (0)