Merge pull request #69 from Lapikud/development

Ticket pricing adjustment
pull/74/head
Renkar 3 months ago committed by GitHub
commit 01b06d6c10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 933
      package-lock.json
  2. 26
      src/app/[locale]/piletid/page.tsx
  3. 6
      translations/en.json
  4. 6
      translations/et.json

933
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -19,12 +19,13 @@ export default async function Tickets({
> >
{t("tickets.title")} {t("tickets.title")}
</h1> </h1>
<div className="flex justify-center lg:items-center flex-col lg:flex-row gap-8 md:gap-12 flex-grow mb-16 md:mt-8 lg:mt-0"> <div className="flex justify-center lg:items-center flex-col lg:flex-row gap-8 md:gap-12 flex-grow mb-16 md:mt-8 lg:mt-0">
<div className="bg-[#007CAB] -skew-x-2 md:-skew-x-5 text-white px-8 md:px-12 py-16 hover:scale-103 transition-all duration-150 w-full md:w-xl lg:w-[400px]"> <div className="bg-[#007CAB] -skew-x-2 md:-skew-x-5 text-white px-8 md:px-12 py-16 hover:scale-103 transition-all duration-150 w-full md:w-xl lg:w-[400px]">
<h2 <h2
className={`text-6xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-2`} className={`text-6xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-2`}
> >
{t("tickets.computerParticipant.price")} {t("tickets.computerParticipant.latePrice")}
</h2> </h2>
<h3 <h3
className={`text-3xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-4`} className={`text-3xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-4`}
@ -48,40 +49,41 @@ export default async function Tickets({
</button> </button>
</Link> </Link>
</div> </div>
<div className="bg-[#1F5673] -skew-x-2 md:-skew-x-5 text-white px-8 md:px-12 py-16 hover:scale-103 transition-all duration-150 w-full md:w-xl lg:w-[400px]">
<div className="bg-[#1F5673] -skew-x-2 md:-skew-x-5 text-gray-400 px-8 md:px-12 py-16 w-full md:w-xl lg:w-[400px]">
<h2 <h2
className={`text-6xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-2`} className={`text-4xl ${vipnagorgialla.className} font-bold italic pb-2`}
> >
{t("tickets.competitor.price")} <s>{t("tickets.competitor.price")}</s>
</h2> </h2>
<h3 <h3
className={`text-3xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-4`} className={`text-2xl ${vipnagorgialla.className} font-bold italic pb-4`}
> >
{t("tickets.competitor.title")} <s>{t("tickets.competitor.title")}</s>
</h3> </h3>
<ul className="pl-4 mb-8 list-[square] marker:text-[#007CAB]"> <ul className="pl-4 mb-8 list-[square] marker:text-[#007CAB]">
{t {t
.raw("tickets.competitor.features") .raw("tickets.competitor.features")
.map((feature: string, index: number) => ( .map((feature: string, index: number) => (
<li key={index} className="text-xl"> <li key={index} className="text-sm">
{feature} {feature}
</li> </li>
))} ))}
</ul> </ul>
<Link href="https://fienta.com/et/tipilan" target="_blank"> {/*<Link href="https://fienta.com/et/tipilan" target="_blank">*/}
<button <button
className={`px-4 py-2 bg-[#007CAB] cursor-pointer ${vipnagorgialla.className} font-bold italic`} className={`px-4 py-2 bg-[#007CAB] text-white ${vipnagorgialla.className} font-bold text-xl italic uppercase opacity-55`}
> >
{t("tickets.buyTicket")} {t("tickets.soldOut")}!
</button> </button>
</Link> {/*</Link>*/}
</div> </div>
<div className="bg-[#007CAB] -skew-x-2 md:-skew-x-5 text-white px-8 md:px-12 py-16 hover:scale-103 transition-all duration-150 w-full md:w-xl lg:w-[400px]"> <div className="bg-[#007CAB] -skew-x-2 md:-skew-x-5 text-white px-8 md:px-12 py-16 hover:scale-103 transition-all duration-150 w-full md:w-xl lg:w-[400px]">
<h2 <h2
className={`text-6xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-2`} className={`text-6xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-2`}
> >
{t("tickets.visitor.price")} {t("tickets.visitor.latePrice")}
</h2> </h2>
<h3 <h3
className={`text-3xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-4`} className={`text-3xl ${vipnagorgialla.className} font-bold italic text-[#EEE5E5] pb-4`}

@ -62,7 +62,8 @@
"includes": "Includes", "includes": "Includes",
"computerParticipant": { "computerParticipant": {
"title": "Computer Participant", "title": "Computer Participant",
"price": "8€", "earlyPrice": "8€",
"latePrice":"10€",
"features": [ "features": [
"Personal desk, power and internet connection", "Personal desk, power and internet connection",
"Access to demo area", "Access to demo area",
@ -83,7 +84,8 @@
}, },
"visitor": { "visitor": {
"title": "Visitor", "title": "Visitor",
"price": "6€", "earlyPrice": "6€",
"latePrice": "8€",
"features": [ "features": [
"Access to demo area", "Access to demo area",
"Tournament spectating", "Tournament spectating",

@ -62,7 +62,8 @@
"includes": "Sisaldab", "includes": "Sisaldab",
"computerParticipant": { "computerParticipant": {
"title": "Arvutiga osaleja", "title": "Arvutiga osaleja",
"price": "8€", "earlyPrice": "8€",
"latePrice":"10€",
"features": [ "features": [
"Isiklik laud, voolu- ja internetiühendus", "Isiklik laud, voolu- ja internetiühendus",
"Ligipääs demoalale", "Ligipääs demoalale",
@ -83,7 +84,8 @@
}, },
"visitor": { "visitor": {
"title": "Külastaja", "title": "Külastaja",
"price": "6€", "earlyPrice": "6€",
"latePrice": "8€",
"features": [ "features": [
"Ligipääs demoalale", "Ligipääs demoalale",
"Turniiride pealt vaatamine", "Turniiride pealt vaatamine",

Loading…
Cancel
Save