diff --git a/website/app/config/years/2024.ts b/website/app/config/years/2024.ts index 9c8888a..1ec0518 100644 --- a/website/app/config/years/2024.ts +++ b/website/app/config/years/2024.ts @@ -17,7 +17,7 @@ export const conference2024: ConferenceYear = { sessions: { kind: 'sessionize', - sessionizeEndpoint: 'https://sessionize.com/api/v2/54hwhbiw', + sessionizeEndpoint: 'https://sessionize.com/api/v2/vedvlykn', }, conferenceDate: DateTime.fromISO('2024-11-16'), @@ -53,6 +53,46 @@ export const conference2024: ConferenceYear = { }), sponsors: { - - } + platinum: [ + { + name: 'MakerX', + website: 'https://makerx.com.au/', + logoUrl: '/images/sponsors/2024-makerx.png', + }, + ], + gold: [ + { + name: 'Mantel Group', + website: 'https://mantelgroup.com.au/', + logoUrl: '/images/sponsors/2024-mantel-group.png', + }, + { + name: 'Virtual Gaming Worlds', + website: 'https://www.vgw.co/', + logoUrl: '/images/sponsors/2024-vgw.png', + }, + { + name: 'Qoria', + website: 'https://qoria.com/', + logoUrl: '/images/sponsors/2024-qoria.png', + }, + { + name: 'Tricentis', + website: 'https://www.tricentis.com/', + logoUrl: '/images/sponsors/2024-tricentis.png', + }, + { + name: 'Woodside Energy', + website: 'https://www.woodside.com/', + logoUrl: '/images/sponsors/2024-woodside.png', + }, + ], + digital: [ + { + name: 'Akkodis', + website: 'https://akkodis.com/', + logoUrl: '/images/sponsors/2024-akkodis.png', + }, + ], + }, } diff --git a/website/app/lib/config-types.ts b/website/app/lib/config-types.ts index d5cfc2e..7c0de3b 100644 --- a/website/app/lib/config-types.ts +++ b/website/app/lib/config-types.ts @@ -102,6 +102,7 @@ export interface YearSponsors { platinum?: Sponsor[] gold?: Sponsor[] silver?: Sponsor[] + digital?: Sponsor[] bronze?: Sponsor[] community?: Sponsor[] coffeeCart?: Sponsor[] diff --git a/website/app/routes/_layout.agenda.($year).tsx b/website/app/routes/_layout.agenda.($year).tsx index b06d80d..d93e095 100644 --- a/website/app/routes/_layout.agenda.($year).tsx +++ b/website/app/routes/_layout.agenda.($year).tsx @@ -89,11 +89,23 @@ export async function loader({ params, context }: LoaderFunctionArgs) { } export default function Agenda() { - const { schedule, sponsors, conferences } = useLoaderData() + const { schedule, sponsors, conferences, year } = useLoaderData() + const availableTimeSlots = schedule?.timeSlots.map((timeSlot) => timeSlot.slotStart.replace(/:/g, '')) if (!schedule) { - return Agenda has not been announced + return ( + +

+ {conferenceConfig.name} {year} agenda has not been announced +

+ + + + +
+ ) } + return ( nextTimeSlotEnd ? nextTimeSlotEnd : timeSlotEnd + const earliestEnd = !availableTimeSlots?.includes(timeSlotEnd) + ? nextTimeSlotEnd + : timeSlotEnd > nextTimeSlotEnd + ? nextTimeSlotEnd + : timeSlotEnd return ( - + @@ -281,7 +297,7 @@ function ConferenceBrowser({ conferences }: { conferences: { year: Year }[] }) { ) } -function SponsorSection({ sponsors }: { sponsors: YearSponsors | undefined }) { +function SponsorSection({ sponsors, year }: { sponsors: YearSponsors | undefined; year: Year }) { const renderSponsorCategory = ( title: string, sponsors: Sponsor[] | undefined, @@ -289,28 +305,24 @@ function SponsorSection({ sponsors }: { sponsors: YearSponsors | undefined }) { ) => { if (!sponsors || sponsors.length === 0) return null + const maxLogoSize = + logoSize === 'lg' ? '250px' : logoSize === 'md' ? '150px' : logoSize === 'sm' ? '100px' : '75px' return ( - - + + {title} - - + + {sponsors.map((sponsor) => ( ))} @@ -323,11 +335,15 @@ function SponsorSection({ sponsors }: { sponsors: YearSponsors | undefined }) { return ( + + {year} Sponsors + {renderSponsorCategory('Platinum Sponsors', sponsors.platinum, 'lg')} {renderSponsorCategory('Gold Sponsors', sponsors.gold, 'md')} {renderSponsorCategory('Silver Sponsors', sponsors.silver, 'sm')} {renderSponsorCategory('Bronze Sponsors', sponsors.bronze, 'xs')} {renderSponsorCategory('Community Sponsors', sponsors.community, 'xs')} + {renderSponsorCategory('Digital Sponsors', sponsors.digital, 'xs')} {renderSponsorCategory('Coffee Cart Sponsors', sponsors.coffeeCart, 'xs')} {renderSponsorCategory('Quiet Room Sponsors', sponsors.quietRoom, 'xs')} {renderSponsorCategory('Keynote Sponsors', sponsors.keynotes, 'sm')} diff --git a/website/public/images/sponsors/2024-akkodis.png b/website/public/images/sponsors/2024-akkodis.png new file mode 100644 index 0000000..b175a90 Binary files /dev/null and b/website/public/images/sponsors/2024-akkodis.png differ diff --git a/website/public/images/sponsors/2023-makerx.png b/website/public/images/sponsors/2024-makerx.png similarity index 100% rename from website/public/images/sponsors/2023-makerx.png rename to website/public/images/sponsors/2024-makerx.png diff --git a/website/public/images/sponsors/2024-mantel-group.png b/website/public/images/sponsors/2024-mantel-group.png new file mode 100644 index 0000000..7f4b952 Binary files /dev/null and b/website/public/images/sponsors/2024-mantel-group.png differ diff --git a/website/public/images/sponsors/2024-microsoft.png b/website/public/images/sponsors/2024-microsoft.png new file mode 100644 index 0000000..e3fa941 Binary files /dev/null and b/website/public/images/sponsors/2024-microsoft.png differ diff --git a/website/public/images/sponsors/2024-qoria.png b/website/public/images/sponsors/2024-qoria.png new file mode 100644 index 0000000..36cc6e7 Binary files /dev/null and b/website/public/images/sponsors/2024-qoria.png differ diff --git a/website/public/images/sponsors/2024-tricentis.png b/website/public/images/sponsors/2024-tricentis.png new file mode 100644 index 0000000..950204f Binary files /dev/null and b/website/public/images/sponsors/2024-tricentis.png differ diff --git a/website/public/images/sponsors/2024-vgw.png b/website/public/images/sponsors/2024-vgw.png new file mode 100644 index 0000000..a4f5b9b Binary files /dev/null and b/website/public/images/sponsors/2024-vgw.png differ diff --git a/website/public/images/sponsors/2024-woodside.png b/website/public/images/sponsors/2024-woodside.png new file mode 100644 index 0000000..6d8dbe8 Binary files /dev/null and b/website/public/images/sponsors/2024-woodside.png differ