Skip to content

Commit b76db74

Browse files
authored
chore: unflag student support closing (#937)
1 parent 9cbc931 commit b76db74

File tree

4 files changed

+4
-31
lines changed

4 files changed

+4
-31
lines changed

app/pages/_components/SectionStudentSupport.vue

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

109
<template>
1110
<VFSection
1211
:id="HOME_HEADING_ID.studentSupport"
1312
:title="t('student.title')"
1413
>
15-
<component
16-
:is="
17-
isApplicationClosing
18-
? locale === 'ja' ? JaStudentSupportClosed : EnStudentSupportClosed
19-
: locale === 'ja' ? JaStudentSupport : EnStudentSupport"
20-
/>
21-
22-
<div v-if="!isApplicationClosing" class="button-container">
23-
<VFButton
24-
link="https://esa-pages.io/p/sharing/6906/posts/1210/765e5b76cdf415899e3f.html"
25-
external
26-
outlined
27-
>
28-
{{ t('student.guideline') }}
29-
</VFButton>
30-
<VFButton
31-
link="https://docs.google.com/forms/d/e/1FAIpQLSfwu4K1fSRY3tIr_E0L3WK7xrv8ANarv_JAhVkdR1mZjgQRsg/viewform?usp=dialog"
32-
external
33-
>
34-
{{ t('student.apply') }}
35-
</VFButton>
36-
</div>
14+
<component :is="locale === 'ja' ? JaStudentSupportClosed : EnStudentSupportClosed" />
3715
</VFSection>
3816
</template>
3917

features.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
/** defined by ViteConfig.define on nuxt.config.ts */
22
const __FEATURE_TIMETABLE__: boolean;
3-
4-
/** defined by ViteConfig.define on nuxt.config.ts */
5-
const __FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__: boolean;

nuxt.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export default defineNuxtConfig({
5959

6060
// for server
6161
__FEATURE_TIMETABLE__: !["0", undefined].includes(process.env.FEATURE_TIMETABLE), // ?
62-
__FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__: !["0", undefined].includes(process.env.FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING), // 9/25
6362

6463
siteUrl: process.env.NODE_ENV === "production"
6564
? process.env.CONTEXT === "production"
@@ -109,7 +108,6 @@ export default defineNuxtConfig({
109108
vite: {
110109
define: {
111110
__FEATURE_TIMETABLE__: process.env.FEATURE_TIMETABLE || false, // ?
112-
__FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__: process.env.FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING || false, // 9/25
113111
},
114112
css: {
115113
transformer: "lightningcss",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
]
3232
},
3333
"scripts": {
34-
"build": "cross-env NODE_OPTIONS='--max-old-space-size=4096' FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING=1 nuxt build",
35-
"dev": "cross-env FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING=1 FEATURE_TIMETABLE=0 nuxt dev",
34+
"build": "cross-env NODE_OPTIONS='--max-old-space-size=4096' nuxt build",
35+
"dev": "cross-env FEATURE_TIMETABLE=0 nuxt dev",
3636
"generate": "nuxt generate",
3737
"preview": "nuxt preview",
3838
"check": "nuxi typecheck",

0 commit comments

Comments
 (0)