File tree Expand file tree Collapse file tree 6 files changed +3
-17
lines changed Expand file tree Collapse file tree 6 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ import Logo from "~icons/logo/logo";
1212
1313const localePath = useLocalePath ();
1414const { t } = useI18n ();
15-
16- // TODO: イベントページ正式公開後は削除
17- const isEventFeatureEnabled = __FEATURE_EVENT__ ;
1815 </script >
1916
2017<!-- eslint-disable @intlify/vue-i18n/no-raw-text -->
@@ -86,7 +83,7 @@ const isEventFeatureEnabled = __FEATURE_EVENT__;
8683 </ul >
8784
8885 <ul class =" other-links" >
89- <li :class = " { hidden: !isEventFeatureEnabled } " >
86+ <li >
9087 <NuxtLink :to =" localePath('/related-events')" >{{
9188 t("relatedEvents.sectionTitle")
9289 }}</NuxtLink >
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ const menuItems = computed<MenuItemProps[]>(() =>
5050 id: HOME_HEADING_ID .event ,
5151 label: " Event" ,
5252 routeName: localeRoute ({ name: " event" }).name ,
53- disabled: ! __FEATURE_EVENT__ ,
5453 },
5554 {
5655 id: HOME_HEADING_ID .store ,
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import {
2626
2727import {
2828 computed ,
29- createError ,
3029 defineOgImage ,
3130 defineRouteRules ,
3231 useI18n ,
@@ -37,10 +36,6 @@ import {
3736 useQueryHashSync ,
3837} from " #imports" ;
3938
40- if (! __FEATURE_EVENT__ ) {
41- throw createError ({ statusCode: 404 , statusMessage: " Page Not Found" });
42- }
43-
4439// To differentiate OGP based on query params
4540defineRouteRules ({ prerender: false });
4641
Original file line number Diff line number Diff line change 11/** defined by ViteConfig.define on nuxt.config.ts */
22const __FEATURE_TIMETABLE__ : boolean ;
33
4- /** defined by ViteConfig.define on nuxt.config.ts */
5- const __FEATURE_EVENT__ : boolean ;
6-
74/** defined by ViteConfig.define on nuxt.config.ts */
85const __FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__ : boolean ;
Original file line number Diff line number Diff 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_EVENT__ : ! [ "0" , undefined ] . includes ( process . env . FEATURE_EVENT ) , // ?
6362 __FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__ : ! [ "0" , undefined ] . includes ( process . env . FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING ) , // 9/25
6463
6564 siteUrl : process . env . NODE_ENV === "production"
@@ -110,7 +109,6 @@ export default defineNuxtConfig({
110109 vite : {
111110 define : {
112111 __FEATURE_TIMETABLE__ : process . env . FEATURE_TIMETABLE || false , // ?
113- __FEATURE_EVENT__ : process . env . FEATURE_EVENT || false , // ?
114112 __FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING__ : process . env . FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING || false , // 9/25
115113 } ,
116114 css : {
Original file line number Diff line number Diff line change 3131 ]
3232 },
3333 "scripts" : {
34- "build" : " cross-env NODE_OPTIONS='--max-old-space-size=4096' FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING=1 FEATURE_EVENT=1 nuxt build" ,
35- "dev" : " cross-env FEATURE_STUDENT_SUPPORT_APPLICATION_CLOSING=1 FEATURE_TIMETABLE=0 FEATURE_EVENT=1 nuxt dev" ,
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" ,
3636 "generate" : " nuxt generate" ,
3737 "preview" : " nuxt preview" ,
3838 "check" : " nuxi typecheck" ,
You can’t perform that action at this time.
0 commit comments