diff --git a/src/app/conf/2024/pricing.tsx b/src/app/conf/2024/pricing.tsx index ec2b780107..493174c82c 100644 --- a/src/app/conf/2024/pricing.tsx +++ b/src/app/conf/2024/pricing.tsx @@ -154,6 +154,7 @@ export function Pricing() { + minimalVersion?: boolean } export function SessionList({ @@ -104,6 +105,7 @@ export function SessionList({ year, filterCategories, eventsColors, + minimalVersion }: Props): ReactElement { const [filtersState, setFiltersState] = useState< Record @@ -166,15 +168,15 @@ export function SessionList({ key={session.id} className={`${clsx( "white shadow-2xl rounded-md overflow-hidden flex flex-col text-current hover:no-underline focus:no-underline", - )} ${year === "2024" ? "bg-[#251f30]" : ""}`} + )} ${minimalVersion ? "bg-[#251f30]" : ""}`} href={ - year === "2024" + minimalVersion ? `/conf/${year}/schedule/${session.id}` : `/conf/${year}/sessions/${session.id}` } >
{year !== "2024" && ( @@ -276,4 +278,4 @@ function ClockIcon(props: ComponentProps<"svg">) { /> ) -} +} \ No newline at end of file