diff --git a/public/images/landing/main_supporter.jpg b/public/images/landing/main_supporter.jpg new file mode 100644 index 0000000..990beac Binary files /dev/null and b/public/images/landing/main_supporter.jpg differ diff --git a/src/app/[locale]/piletid/page.tsx b/src/app/[locale]/piletid/page.tsx index 422d505..7147178 100644 --- a/src/app/[locale]/piletid/page.tsx +++ b/src/app/[locale]/piletid/page.tsx @@ -2,6 +2,7 @@ import { vipnagorgialla } from "@/components/Vipnagorgialla"; import Link from "next/link"; import Image from "next/image"; import { getTranslations, setRequestLocale } from "next-intl/server"; +import SwitchableTicketCard from "@/components/SwitchableTicketCard"; interface TicketCardProps { title: string; @@ -12,6 +13,7 @@ interface TicketCardProps { buttonHref: string; backgroundImage?: string; backgroundOpacity?: number; + blueTinge?: boolean; className?: string; } @@ -24,6 +26,7 @@ function TicketCard({ buttonHref, backgroundImage, backgroundOpacity = 40, + blueTinge = false, className = "", }: TicketCardProps) { return ( @@ -39,6 +42,9 @@ function TicketCard({ style={{ opacity: backgroundOpacity / 100 }} /> )} + {blueTinge && ( +
+ )}

- + {feature} ))} - + + +

+
+ + {/* Desktop: Original transition behavior */} +
+ {/* Title + subtitle + price with position shift */} +
+
+
+
+

+ {optionA.title} +

+

+ {optionA.subtitle} +

+

+ {renderPrice(optionA.price)} +

+
+
+

+ {optionB.title} +

+

+ {optionB.subtitle} +

+

+ {renderPrice(optionB.price)} +

+
+
+
+
+ +
+
+
+
+
+ {renderFeatures(optionA.features)} +
+
+
+
+ +
+
+
+
+ {renderFeatures(optionB.features)} +
+
+
+
+
+ + + + +
+
+ + {/* Chevron buttons on left/right sides */} + + + +
+
+
+ ); +} diff --git a/translations/en.json b/translations/en.json index 650e721..3d81e7d 100644 --- a/translations/en.json +++ b/translations/en.json @@ -94,6 +94,16 @@ "Access to all TipiLAN activities, side events, good vibes and engaging atmosphere." ] }, + "lan": { + "name": "LAN", + "subtitle": "TICKET", + "price": "10€", + "features": [ + "A spot in the TipiLAN free-play area", + "Personal desk, power and internet connection", + "Participation in LAN-area activities and mini-tournaments" + ] + }, "supporter": { "name": "SUPPORTER", "price": "25+€", diff --git a/translations/et.json b/translations/et.json index ec65fb1..5ce544e 100644 --- a/translations/et.json +++ b/translations/et.json @@ -94,6 +94,16 @@ "Juurdepääs kogu TipiLAN melule, tegevustele, kõrvalsündmustele, headele vibe'dele ja kaasahaaravale atmosfäärile." ] }, + "lan": { + "name": "LAN", + "subtitle": "PILET", + "price": "10€", + "features": [ + "Koht TipiLANi vabamängualal", + "Isiklik laud, voolu- ja internetiühendus", + "Osalemine LAN-ala tegevustes ja miniturniiridel" + ] + }, "supporter": { "name": "TOETAJA", "price": "25+€",