Skip to content

Commit

Permalink
Merge pull request #309 from LaurierHawkHacks/fix/308/update-sponsors…
Browse files Browse the repository at this point in the history
…-partners-section-with-new-data

fix: update the data of sponsors with new data
  • Loading branch information
aidantrabs authored May 9, 2024
2 parents 648a527 + 8218f2b commit 952c05c
Show file tree
Hide file tree
Showing 13 changed files with 130 additions and 68 deletions.
20 changes: 20 additions & 0 deletions src/assets/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ import Taskade from './logos/taskade.png';
import Vectara from './logos/vectara.png';
import Verbwire from './logos/verbwire.png';
import Wolfram from './logos/wolfram.png';
import Avalanche from './logos/Avalanche.png';
import EthToronto from './logos/ETHToronto.png';
import EthWomen from './logos/ETHWomen.png';
import Futurist from './logos/Futurist.png';
import Incogni from './logos/incogni.png';
import Neurelo from './logos/Neurelo.png';
import NordPass from './logos/nordpass.png';
import NordVPN from './logos/NordVPN.png';
import UWBlockchain from './logos/uwBlockchain.png';
import Metis from './logos/metis.png';

export {
Balsamiq,
Expand Down Expand Up @@ -100,6 +110,16 @@ export {
Vectara,
Verbwire,
Wolfram,
Avalanche,
EthToronto,
EthWomen,
Futurist,
Incogni,
Neurelo,
NordPass,
NordVPN,
UWBlockchain,
Metis,
};

/*
Expand Down
Binary file added src/assets/logos/Avalanche.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logos/ETHToronto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logos/ETHWomen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logos/Futurist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logos/Neurelo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logos/NordVPN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logos/incogni.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logos/metis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logos/nordpass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logos/uwBlockchain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 11 additions & 7 deletions src/components/sections/Sponsor.section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const SponsorSection = () => {
className="absolute left-0 top-0 z-50 w-full max-w-5xl -translate-x-2 -translate-y-[42.5%] scale-x-[-1] md:-translate-x-3 xl:left-10 2xl:left-52"
/>
<div className="relative">
<div className="main-container flex flex-col items-center space-y-6 bg-[#f2f2f0] py-8 sm:space-y-12 md:py-16 xl:py-32">
<div className="main-container flex flex-col items-center space-y-6 bg-[#f2f2f0] pb-28 pt-8 sm:space-y-12 md:pb-52 md:pt-16 xl:pb-72 xl:pt-32 2xl:pb-96">
<div className="sponsor-content mx-auto max-w-6xl space-y-4 px-4 pb-10 text-center md:space-y-8 lg:space-y-16">
<h2
id="sponsors-anchor"
Expand Down Expand Up @@ -64,9 +64,9 @@ const SponsorSection = () => {
</Button>
</div>

<div className="tiers xl:space-y max-w-[100rem] space-y-12 py-6 md:space-y-16 lg:space-y-24 lg:py-12 xl:space-y-36">
<div className="tiers xl:space-y max-w-[102rem] space-y-12 px-4 py-6 md:space-y-16 lg:space-y-24 lg:px-8 lg:py-12 xl:space-y-36 xl:px-12">
<div className="first-tier">
<div className="flex items-center justify-center gap-6 px-4 md:gap-16">
<div className="flex items-center justify-center gap-6 md:gap-16">
{sponsors.platinumSponsors.map(
(sponsor, i) => (
<a
Expand Down Expand Up @@ -106,7 +106,7 @@ const SponsorSection = () => {
href={sponsor.link}
target="_blank"
rel="noopener noreferrer"
className="h-16 w-auto flex-shrink-0 sm:h-24 md:h-32 lg:h-36 xl:h-44"
className="h-16 w-auto flex-shrink-0 sm:h-24 md:h-32 lg:h-36 xl:h-56"
onClick={() => {
logEvent(
analytics,
Expand Down Expand Up @@ -168,7 +168,8 @@ const SponsorSection = () => {
href={sponsor.link}
target="_blank"
rel="noopener noreferrer"
className="h-12 w-auto flex-shrink-0 sm:h-20 md:h-24 lg:h-28 xl:h-32"
// -4
className="sm:h-18 lg:h-22 h-12 w-auto flex-shrink-0 md:h-20 xl:h-24"
onClick={() => {
logEvent(
analytics,
Expand All @@ -193,7 +194,10 @@ const SponsorSection = () => {
</div>
</div>

<div id="partners-section">
<div
id="partners-section"
className=" px-4 lg:px-8 xl:px-12 2xl:px-20"
>
<h2
id="partners-anchor"
className="font-raleway vs:text-[60px] mb-4 mt-6 text-center text-[50px] font-black leading-[117px] tracking-widest text-[#404040] drop-shadow-lg md:mb-8 md:text-[80px] lg:mb-16"
Expand All @@ -207,7 +211,7 @@ const SponsorSection = () => {
href={partner.link}
target="_blank"
rel="noopener noreferrer"
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-32"
className="h-16 sm:h-20 md:h-24 lg:h-28 xl:h-40"
onClick={() => {
logEvent(
analytics,
Expand Down
160 changes: 99 additions & 61 deletions src/components/sections/data/sponsorData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,31 @@ import {
Fintech,
Fossa,
IndoFood,
InterviewBuddy,
InterviewCake,
JDoodle,
Lcs,
MavenSourcing,
Mlh,
Near,
Nibiru,
OnePassword,
Roku,
Rosenfeld,
SmokesPoutinerie,
Solana,
StreamYard,
StudentsUnion,
SweetLous,
Taskade,
Vectara,
Verbwire,
Wolfram,
Avalanche,
EthToronto,
EthWomen,
Futurist,
Incogni,
Neurelo,
NordPass,
NordVPN,
UWBlockchain,
Metis,
} from '@assets';

interface Sponsor {
Expand All @@ -46,17 +51,22 @@ const sponsorLinks = {
fintech: 'https://wlufintech.com/',
fossa: 'https://fossa.ca',
su: 'https://yourstudentsunion.ca/',
ethToronto: 'https://www.ethtoronto.ca/',
wluBlockchain: 'https://www.waterlooblockchain.com/',
futurist: 'https://www.futuristconference.com/',
ethWomen: 'https://www.ethwomen.com/',

// platinum
solana: 'https://solana.com/',
avalanche: 'https://www.avax.network/',
near: 'https://near.org/',

// gold
fantuan: 'https://fantuan.ca/delivery/en/',
sp: 'https://smokespoutinerie.com/',
domino: 'https://www.dominos.ca/en/',
nibiru: 'https://nibiru.fi/',
neurelo: 'https://www.neurelo.com/',
distributive: 'https://distributive.network/',
metis: 'https://www.metis.io/',

// silver
indofood: 'https://www.indofood.com/',
Expand All @@ -80,13 +90,16 @@ const sponsorLinks = {
verbwire: 'https://www.verbwire.com/',
jDoodle: 'https://www.jdoodle.com/',
vectara: 'https://vectara.com/',
nordPass: 'https://nordpass.com/',
nordVpn: 'https://nordvpn.com/',
incogni: 'https://incogni.com/',
};

const platinumSponsors: Sponsor[] = [
{
name: 'Solana',
link: sponsorLinks.solana,
image: Solana,
name: 'Avalanche',
link: sponsorLinks.avalanche,
image: Avalanche,
},
{
name: 'Near',
Expand All @@ -97,29 +110,34 @@ const platinumSponsors: Sponsor[] = [

const goldSponsors: Sponsor[] = [
{
name: 'Fantuan Delivery',
link: sponsorLinks.fantuan,
image: Fantuan,
name: 'Distributive',
link: sponsorLinks.distributive,
image: Distributive,
},
{
name: 'Smoke Poutinerie',
link: sponsorLinks.sp,
image: SmokesPoutinerie,
},
{
name: 'Dominos',
link: sponsorLinks.domino,
image: Dominos,
name: 'Neurelo',
link: sponsorLinks.neurelo,
image: Neurelo,
},
{
name: 'Nibiru',
link: sponsorLinks.nibiru,
image: Nibiru,
name: 'Metis',
link: sponsorLinks.metis,
image: Metis,
},
{
name: 'Distributive',
link: sponsorLinks.distributive,
image: Distributive,
name: 'Fantuan Delivery',
link: sponsorLinks.fantuan,
image: Fantuan,
},
{
name: 'Dominos',
link: sponsorLinks.domino,
image: Dominos,
},
];

Expand All @@ -135,7 +153,7 @@ const silverSponsors: Sponsor[] = [
image: Roku,
},
{
name: 'Sweet Lou\'s Cookies',
name: "Sweet Lou's Cookies",
link: sponsorLinks.slCookies,
image: SweetLous,
},
Expand All @@ -147,11 +165,6 @@ const silverSponsors: Sponsor[] = [
];

const bronzeSponsors: Sponsor[] = [
{
name: 'Echo3D',
link: sponsorLinks.echo3D,
image: Echo3D,
},
{
name: '1Password',
link: sponsorLinks.onePassword,
Expand All @@ -173,60 +186,65 @@ const bronzeSponsors: Sponsor[] = [
image: Rosenfeld,
},
{
name: 'Taskade',
link: sponsorLinks.taskade,
image: Taskade,
},
{
name: 'StreamYard',
link: sponsorLinks.streamyard,
image: StreamYard,
},
{
name: 'Defiblocks.io',
link: sponsorLinks.defiblocks,
image: DeFiBlocks,
name: 'Certopus',
link: sponsorLinks.certopus,
image: Certopus,
},
{
name: 'Interview Cake',
link: sponsorLinks.interviewCake,
image: InterviewCake,
name: 'Vectara',
link: sponsorLinks.vectara,
image: Vectara,
},
{
name: 'Ennios',
link: sponsorLinks.ennios,
image: Ennios,
},
{
name: 'Certopus',
link: sponsorLinks.certopus,
image: Certopus,
},
{
name: 'Interview Buddy',
link: sponsorLinks.interviewBuddy,
image: InterviewBuddy,
name: 'Echo3D',
link: sponsorLinks.echo3D,
image: Echo3D,
},
{
name: 'Verbwire',
link: sponsorLinks.verbwire,
image: Verbwire,
name: 'Taskade',
link: sponsorLinks.taskade,
image: Taskade,
},
{
name: 'JDoodle',
link: sponsorLinks.jDoodle,
image: JDoodle,
},
{
name: 'Vectara',
link: sponsorLinks.vectara,
image: Vectara,
name: 'Interview Cake',
link: sponsorLinks.interviewCake,
image: InterviewCake,
},
{
name: "Maven Sourcing",
link: "https://mavensourcing.ca/",
name: 'Maven Sourcing',
link: 'https://mavensourcing.ca/',
image: MavenSourcing,
}
},
{
name: 'Defiblocks.io',
link: sponsorLinks.defiblocks,
image: DeFiBlocks,
},
{
name: 'NordPass',
link: sponsorLinks.nordPass,
image: NordPass,
},
{
name: 'NordVPN',
link: sponsorLinks.nordPass,
image: NordVPN,
},
{
name: 'Incogni',
link: sponsorLinks.incogni,
image: Incogni,
},
];

const partners: Sponsor[] = [
Expand Down Expand Up @@ -255,6 +273,26 @@ const partners: Sponsor[] = [
link: sponsorLinks.lcs,
image: Lcs,
},
{
name: 'EthToronto',
link: sponsorLinks.ethToronto,
image: EthToronto,
},
{
name: 'Waterloo Blockchain',
link: sponsorLinks.wluBlockchain,
image: UWBlockchain,
},
{
name: 'Blockchain Futurist Conference',
link: sponsorLinks.futurist,
image: Futurist,
},
{
name: 'EthWomen',
link: sponsorLinks.ethWomen,
image: EthWomen,
},
];

const sponsors = {
Expand Down

0 comments on commit 952c05c

Please sign in to comment.