diff --git a/components/Sponsors/sponsors.tsx b/components/Sponsors/sponsors.tsx index b1acf26a..578cb27d 100644 --- a/components/Sponsors/sponsors.tsx +++ b/components/Sponsors/sponsors.tsx @@ -31,6 +31,7 @@ export const Sponsors = ({ sponsors, show, hideUpsell }: SponsorsProps) => { ) } + const diamondSponsors: Sponsor[] = [] const platinumSponsors: Sponsor[] = [] const goldSponsors: Sponsor[] = [] const silverSponsors: Sponsor[] = [] @@ -41,6 +42,9 @@ export const Sponsors = ({ sponsors, show, hideUpsell }: SponsorsProps) => { for (const sponsor of sponsors) { switch (sponsor.type) { + case SponsorType.Diamond: + diamondSponsors.push(sponsor) + break case SponsorType.Platinum: platinumSponsors.push(sponsor) break @@ -71,10 +75,10 @@ export const Sponsors = ({ sponsors, show, hideUpsell }: SponsorsProps) => { return ( - {platinumSponsors.length > 0 && ( + {diamondSponsors.length > 0 && (

Diamond Sponsors

- {platinumSponsors.map((sponsor) => ( + {diamondSponsors.map((sponsor) => ( {
)} + {platinumSponsors.length > 0 && ( + +

Platinum Sponsors

+ {platinumSponsors.map((sponsor) => ( + + + + ))} +
+ )} + {goldSponsors.length > 0 && (

Gold Sponsors

diff --git a/config/sponsors.ts b/config/sponsors.ts index ce892894..c157d6d8 100644 --- a/config/sponsors.ts +++ b/config/sponsors.ts @@ -1,15 +1,25 @@ import { Sponsor, SponsorType } from './types' -const platinumSponsors: Sponsor[] = [ +const diamondSponsors: Sponsor[] = [ { id: '2024-liberty', imageUrl: '/static/images/sponsors/2024-liberty.png', name: 'Liberty', - type: SponsorType.Platinum, + type: SponsorType.Diamond, url: 'https://www.liberty.com.au/', }, ] +const platinumSponsors: Sponsor[] = [ + { + id: '2024-DevExpress', + imageUrl: '/static/images/sponsors/2024-devexpress.png', + name: 'DevExpress', + type: SponsorType.Platinum, + url: 'https://www.devexpress.com/', + }, +] + const goldSponsors: Sponsor[] = [ { id: 'webjet', @@ -27,7 +37,15 @@ const goldSponsors: Sponsor[] = [ }, ] -const silverSponsors: Sponsor[] = [] +const silverSponsors: Sponsor[] = [ + { + id: 'qoria', + imageUrl: '/static/images/sponsors/2024-qoria.png', + name: 'Qoria', + type: SponsorType.Silver, + url: 'https://qoria.com/', + }, +] const coffeeCartSponsors: Sponsor[] = [ { @@ -41,18 +59,27 @@ const coffeeCartSponsors: Sponsor[] = [ const serviceSponsors: Sponsor[] = [ { - id: '2022-luminary', + id: '2024-luminary', imageUrl: '/static/images/sponsors/2024-luminary.png', name: 'Luminary', type: SponsorType.Service, serviceProvided: 'Wi-Fi', url: 'https://luminary.com/', }, + { + id: '2024-ssw', + imageUrl: '/static/images/sponsors/2024-ssw.png', + name: 'SSW', + type: SponsorType.Service, + serviceProvided: 'Childcare', + url: 'https://www.ssw.com.au/', + }, ] const communityPartners: Sponsor[] = [] const Sponsors: Sponsor[] = [ + ...diamondSponsors, ...platinumSponsors, ...goldSponsors, ...silverSponsors, diff --git a/config/types.ts b/config/types.ts index 2a6b4325..170c5550 100644 --- a/config/types.ts +++ b/config/types.ts @@ -181,6 +181,7 @@ export enum SponsorType { CoffeeCart, Service, Community, + Diamond, } export interface Sponsor { diff --git a/public/static/images/sponsors/2024-devexpress.png b/public/static/images/sponsors/2024-devexpress.png new file mode 100644 index 00000000..aa7b08ea Binary files /dev/null and b/public/static/images/sponsors/2024-devexpress.png differ diff --git a/public/static/images/sponsors/2024-qoria.png b/public/static/images/sponsors/2024-qoria.png new file mode 100644 index 00000000..62678ad7 Binary files /dev/null and b/public/static/images/sponsors/2024-qoria.png differ diff --git a/public/static/images/sponsors/2024-ssw.png b/public/static/images/sponsors/2024-ssw.png new file mode 100644 index 00000000..e06d46e9 Binary files /dev/null and b/public/static/images/sponsors/2024-ssw.png differ