Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/web/app/components/StorePageSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { endedPurchaseStore, storeUrl } from '~/utils/constants'
import { useWithBase } from '#imports'

const { translate: t } = useTranslation()
const withBase = useWithBase()

const products: Product[] = [
{
Expand Down Expand Up @@ -99,7 +100,7 @@ const products: Product[] = [

const productsWithBase = products.map((product) => ({
...product,
src: useWithBase(product.src),
src: withBase(product.src),
}))
</script>

Expand Down
13 changes: 9 additions & 4 deletions apps/web/app/components/ticket/TicketSection.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<script setup lang="ts">
import { useI18n } from '#imports'
import { useI18n, useWithBase } from '#imports'
import { endedApplyEarly, endedApplyHandson, endedApplyNormal, ticketUrl } from '~/utils/constants'

const { t } = useI18n()
const withBase = useWithBase()

const ticketCards = {
ippan: {
Expand Down Expand Up @@ -57,7 +58,7 @@ const ticketCards = {
<div class="ticket-cards-container">
<VFTicketCard
:title="ticketCards.ippan.title"
:img-src="ticketCards.ippan.imgSrc"
:img-src="withBase(ticketCards.ippan.imgSrc)"
:img-alt="ticketCards.ippan.imgAlt"
:is-close="endedApplyNormal"
>
Expand Down Expand Up @@ -100,7 +101,9 @@ const ticketCards = {
</div>
<div v-else class="early-purchase">
<span class="cost">
<template v-if="!endedApplyNormal">{{ $t('ticket.card.ippanParty.regular') }}</template>
<template v-if="!endedApplyNormal">{{
$t('ticket.card.ippanParty.regular')
}}</template>
<s v-else>{{ $t('ticket.card.ippanParty.regular') }}</s>
</span>
<span class="cost-details">
Expand Down Expand Up @@ -143,7 +146,9 @@ const ticketCards = {
>
<div class="ticket-details individual-sponsor-details">
<div class="cost">
<template v-if="!endedApplyNormal">{{ $t('ticket.card.individualSponsor.cost') }}</template>
<template v-if="!endedApplyNormal">{{
$t('ticket.card.individualSponsor.cost')
}}</template>
<s v-else>{{ $t('ticket.card.individualSponsor.cost') }}</s>
</div>
<div class="cost-details">
Expand Down