File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ const { t, locale } = useI18n();
3131const localeRoute = useLocaleRoute ();
3232
3333const isSoldOutAfterParty = import .meta .vfFeatures .soldOutAfterParty ;
34- const isSoldOutEarlyBirdAfterParty = import .meta .vfFeatures .soldOutEarlyBirdAfterParty ;
34+ const isSoldOutEarlyBirdAfterParty = import .meta .vfFeatures .soldOutEarlyBirdAfterParty || import .meta .vfFeatures .soldOutEarlyBird ;
35+ const isSoldOutEarlyBird = import .meta .vfFeatures .soldOutEarlyBird ;
3536
3637const isLoading = ref (false );
3738
@@ -84,9 +85,10 @@ useSeoMeta({
8485 <span class =" ticket-badge-price" >
8586 <!-- eslint-disable-next-line @intlify/vue-i18n/no-raw-text -->
8687 <span class =" ticket-badge-price-type" >{{ t('ticket.early') }}</span >
87- <span class =" ticket-badge-price-value" >
88+ <span class =" ticket-badge-price-value" :class = " { 'sold-out': isSoldOutEarlyBird } " >
8889 <span class =" ticket-badge-price-unit" :class =" locale" >{{ t("ticket.priceUnit") }}</span >{{ (Number(t('ticket.generalTicket.earlyPrice'))).toLocaleString() }}
8990 </span >
91+ <span v-if =" isSoldOutEarlyBird" class =" sold-out-label" >{{ t('ticket.soldOut') }}</span >
9092 </span >
9193
9294 <span class =" ticket-badge-price" >
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ export default defineNuxtConfig({
131131 staff : process . env . CONTEXT !== "production" ,
132132 soldOutAfterParty : true ,
133133 soldOutEarlyBirdAfterParty : true ,
134+ soldOutEarlyBird : process . env . CONTEXT !== "production" , // turn on it at 9/1
134135 guestDetailsEvan : false ,
135136 guestDetailsDaniel : process . env . CONTEXT !== "production" ,
136137 guestDetailsJohnson : process . env . CONTEXT !== "production" ,
You can’t perform that action at this time.
0 commit comments