Skip to content

Commit 5435618

Browse files
authored
Merge pull request #367 from vuejs-jp/enhance/prepare-for-close-apply-normal-etc
[10/15 チケット販売終了] endedApplyNormal, endedApplyHandson
2 parents 31a9c6a + 0bbb8d9 commit 5435618

File tree

7 files changed

+40
-22
lines changed

7 files changed

+40
-22
lines changed

apps/web/app/components/ticket/HandsonSection.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { ticketUrl } from '~/utils/constants'
2+
import { endedApplyHandson, ticketUrl } from '~/utils/constants'
33
</script>
44

55
<template>
@@ -14,6 +14,7 @@ import { ticketUrl } from '~/utils/constants'
1414
:href="ticketUrl"
1515
background-color="vue-green/200"
1616
color="white"
17+
:disabled="endedApplyHandson"
1718
>
1819
{{ $t('ticket.purchaseButton') }}
1920
</VFLinkButton>

apps/web/app/components/ticket/NamecardSection.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { useLocaleCurrent } from '~/composables/useLocaleCurrent'
3-
import { endedCreateNamecard, ticketUrl } from '~/utils/constants'
3+
import { endedApplyNormal, endedCreateNamecard, ticketUrl } from '~/utils/constants'
44
55
const { locale: currentLocale } = useLocaleCurrent()
66
</script>
@@ -44,6 +44,7 @@ const { locale: currentLocale } = useLocaleCurrent()
4444
:href="ticketUrl"
4545
background-color="vue-green/200"
4646
color="white"
47+
:disabled="endedApplyNormal"
4748
>
4849
{{ $t('ticket.purchaseButton') }}
4950
</VFLinkButton>

apps/web/app/components/ticket/PersonalSponsorSection.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { ticketUrl } from '~/utils/constants'
2+
import { endedApplyNormal, ticketUrl } from '~/utils/constants'
33
</script>
44

55
<template>
@@ -28,6 +28,7 @@ import { ticketUrl } from '~/utils/constants'
2828
:href="ticketUrl"
2929
background-color="vue-green/200"
3030
color="white"
31+
:disabled="endedApplyNormal"
3132
>
3233
{{ $t('ticket.purchaseButton') }}
3334
</VFLinkButton>

apps/web/app/components/ticket/TicketSection.vue

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { useI18n } from '#imports'
3-
import { endedApplyEarly, endedApplyHandson, ticketUrl } from '~/utils/constants'
3+
import { endedApplyEarly, endedApplyHandson, endedApplyNormal, ticketUrl } from '~/utils/constants'
44
55
const { t } = useI18n()
66
@@ -44,6 +44,7 @@ const ticketCards = {
4444
:href="ticketUrl"
4545
background-color="vue-green/200"
4646
color="white"
47+
:disabled="endedApplyNormal"
4748
>
4849
{{ $t('ticket.purchaseButton') }}
4950
</VFLinkButton>
@@ -58,6 +59,7 @@ const ticketCards = {
5859
:title="ticketCards.ippan.title"
5960
:img-src="ticketCards.ippan.imgSrc"
6061
:img-alt="ticketCards.ippan.imgAlt"
62+
:is-close="endedApplyNormal"
6163
>
6264
<div class="ticket-details ippan-details">
6365
<div v-if="!endedApplyEarly" class="early-purchase">
@@ -68,9 +70,15 @@ const ticketCards = {
6870
{{ $t('ticket.card.ippan.earlySub') }}
6971
</span>
7072
</div>
71-
<div class="standard-purchase">
73+
<div v-else class="early-purchase">
7274
<span class="cost">
73-
{{ $t('ticket.card.ippan.regular') }}
75+
<template v-if="!endedApplyNormal">{{ $t('ticket.card.ippan.regular') }}</template>
76+
<s v-else>{{ $t('ticket.card.ippan.regular') }}</s>
77+
</span>
78+
<span class="cost-details">
79+
<span v-if="endedApplyNormal">
80+
{{ $t('ticket.ended_explain') }}
81+
</span>
7482
</span>
7583
</div>
7684
</div>
@@ -79,6 +87,7 @@ const ticketCards = {
7987
:title="ticketCards.ippanParty.title"
8088
:img-src="ticketCards.ippanParty.imgSrc"
8189
:img-alt="ticketCards.ippanParty.imgAlt"
90+
:is-close="endedApplyNormal"
8291
>
8392
<div class="ticket-details ippan-party-details">
8493
<div v-if="!endedApplyEarly" class="early-purchase">
@@ -89,9 +98,15 @@ const ticketCards = {
8998
{{ $t('ticket.card.ippanParty.earlySub') }}
9099
</span>
91100
</div>
92-
<div class="standard-purchase">
101+
<div v-else class="early-purchase">
93102
<span class="cost">
94-
{{ $t('ticket.card.ippanParty.regular') }}
103+
<template v-if="!endedApplyNormal">{{ $t('ticket.card.ippanParty.regular') }}</template>
104+
<s v-else>{{ $t('ticket.card.ippanParty.regular') }}</s>
105+
</span>
106+
<span class="cost-details">
107+
<span v-if="endedApplyNormal">
108+
{{ $t('ticket.sold_out_explain') }}
109+
</span>
95110
</span>
96111
</div>
97112
</div>
@@ -124,15 +139,20 @@ const ticketCards = {
124139
:title="ticketCards.individualSponsor.title"
125140
:img-src="ticketCards.individualSponsor.imgSrc"
126141
:img-alt="ticketCards.individualSponsor.imgAlt"
142+
:is-close="endedApplyNormal"
127143
>
128144
<div class="ticket-details individual-sponsor-details">
129145
<div class="cost">
130-
{{ $t('ticket.card.individualSponsor.cost') }}
146+
<template v-if="!endedApplyNormal">{{ $t('ticket.card.individualSponsor.cost') }}</template>
147+
<s v-else>{{ $t('ticket.card.individualSponsor.cost') }}</s>
131148
</div>
132149
<div class="cost-details">
133-
<span>
150+
<span v-if="!endedApplyNormal">
134151
{{ $t('ticket.card.individualSponsor.details1') }}
135152
</span>
153+
<span v-else>
154+
{{ $t('ticket.ended_explain') }}
155+
</span>
136156
<span>
137157
{{ $t('ticket.card.individualSponsor.details2') }}
138158
</span>
@@ -146,6 +166,7 @@ const ticketCards = {
146166
:href="ticketUrl"
147167
background-color="vue-green/200"
148168
color="white"
169+
:disabled="endedApplyNormal"
149170
>
150171
{{ $t('ticket.purchaseButton') }}
151172
</VFLinkButton>

apps/web/app/content/en/ticket.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Tickets for Vue Fes Japan 2024 will go on sale starting from 12:00 PM on Monday, July 29, 2024. There are two types of general tickets available: with or without the after-party, and all seats include lunch.
1+
Ticket sales have ended as of October 14, 2024. Please note that there will be no tickets available for purchase on the day of the event.
22

3-
As options, we also offer hands-on and individual sponsor tickets.
4-
5-
We will use Peatix as the ticket sales platform. At the time of the release, a link to purchase tickets will be posted on this website. After purchasing tickets, an email with application details will be automatically sent from Peatix. By installing the Peatix app through the link provided in the email, your ticket will be displayed, so please present it at the reception on the day of the event.
6-
7-
If you purchase by September 8 24:00, you can take advantage of an early bird discount, so be sure to get your tickets early! (We have extended the early bird discount period.)
3+
To enter on the day, you will need the QR code printed on your ticket. For instructions on how to verify your ticket, please refer to the Peatix help page on [how to check your ticket](https://help-attendee.peatix.com/ja-JP/support/solutions/articles/44001821775).

apps/web/app/content/ja/ticket.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
2024/7/29(月)12:00 から Vue Fes Japan 2024 のチケットを発売開始します。一般チケットはアフターパーティーあり/なしの 2 種類で、全席ランチ付きです
1+
2024/10/14(月祝)をもってチケットの販売は終了しました。当日券はありませんのでご注意ください
22

3-
オプションとしてハンズオン、個人スポンサーのチケットもご用意しております。
4-
5-
チケットの販売プラットフォームとして Peatix を利用します。発売開始のタイミングで本 Web サイトにてチケット購入へのリンクが公開されます。チケット購入後、Peatix から申し込み詳細メールが自動配信されます。メールに書かれているリンクから Peatix アプリをインストールするとチケットが表示されますので、当日受付でご提示ください。
6-
7-
9/8(日)24:00 までにご購入いただくと、オトクなお値段になる早割もありますので、お買い求めはお早めに!(早割期間を延長しました)
3+
当日の入場には、チケットに記載されている QR コードが必要です。チケットの確認方法は、Peatix ヘルプの[チケットを確認する](https://help-attendee.peatix.com/ja-JP/support/solutions/articles/44001821775)をご確認ください。

apps/web/app/utils/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ export const peatixReferenceUrl = 'https://help-attendee.peatix.com/ja-JP/suppor
5151

5252
export const endedApplyEarly = true
5353

54+
export const endedApplyNormal = true
55+
5456
export const endedApplyHandson = true
5557

5658
export const endedPurchaseStore = true

0 commit comments

Comments
 (0)