From 702e6577344636b92924b5c659266622335da3bb Mon Sep 17 00:00:00 2001 From: Zeeshan Adil Date: Wed, 25 Nov 2026 23:00:42 +0500 Subject: [PATCH 1/2] feat(partners): add Major League Hacking to our partners --- components/home/data.ts | 1 + components/home/logo-mark.tsx | 1 + public/logos/manifest.json | 11 ++++++++++ public/logos/mlh.svg | 38 +++++++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 public/logos/mlh.svg diff --git a/components/home/data.ts b/components/home/data.ts index 717ade8..9d2759c 100644 --- a/components/home/data.ts +++ b/components/home/data.ts @@ -140,6 +140,7 @@ export const partners: Org[] = [ { name: "Hoopo", href: "https://www.gohoopo.com", logo: "/logos/hoopo.svg" }, { name: "Cyberiad Labs", href: "https://cyberiadlabs.com", logo: "/logos/cyberiad-labs.svg", iconOnly: true }, { name: "Edorax", href: "https://www.edorax.com", logo: "/logos/edorax.svg" }, + { name: "Major League Hacking", href: "https://mlh.io", logo: "/logos/mlh.svg", tall: true }, ] export const communityPartners: Org[] = [ { name: "MLSA COMSATS", href: "https://mvp.microsoft.com/studentambassadors", logo: null }, diff --git a/components/home/logo-mark.tsx b/components/home/logo-mark.tsx index 98fc61f..c3e5971 100644 --- a/components/home/logo-mark.tsx +++ b/components/home/logo-mark.tsx @@ -35,6 +35,7 @@ const LOGO_SIZES: Record = { "/logos/linux-foundation.svg": [500, 500], "/logos/max.png": [217, 168], "/logos/microsoft.svg": [338, 72], + "/logos/mlh.svg": [343, 145], "/logos/microtechx.png": [730, 108], "/logos/nectar-social.svg": [66, 16], "/logos/olostep.svg": [341, 102], diff --git a/public/logos/manifest.json b/public/logos/manifest.json index a983aeb..06a5f5e 100644 --- a/public/logos/manifest.json +++ b/public/logos/manifest.json @@ -287,5 +287,16 @@ "width": 4260, "height": 860, "notes": "Navy wordmark with blue, navy and yellow X mark, transparent background." + }, + { + "name": "Major League Hacking", + "slug": "mlh", + "website": "https://mlh.io/", + "file": "mlh.svg", + "format": "svg", + "source": "Official brand guidelines download (https://static.mlh.io/brand-assets/logo/official/mlh-logo-black.svg), approved black variant", + "width": 343, + "height": 145, + "notes": "Black logo on transparent. Shown as a single-tone black mark like the other partner logos." } ] diff --git a/public/logos/mlh.svg b/public/logos/mlh.svg new file mode 100644 index 0000000..d8de1b9 --- /dev/null +++ b/public/logos/mlh.svg @@ -0,0 +1,38 @@ + + + + mlh-logo-black + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 9928566c98179848182cc93d39b120c39844b911 Mon Sep 17 00:00:00 2001 From: Zeeshan Adil Date: Wed, 25 Nov 2026 23:01:43 +0500 Subject: [PATCH 2/2] feat(banner): link the Qantara banner to the EmpactUs page as well --- components/headline-bar.tsx | 67 +++++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 25 deletions(-) diff --git a/components/headline-bar.tsx b/components/headline-bar.tsx index 34166a6..19b76b8 100644 --- a/components/headline-bar.tsx +++ b/components/headline-bar.tsx @@ -3,7 +3,15 @@ import { useEffect, useState } from 'react' import Link from 'next/link' -type HeadlineMessage = { label: string; text: string; href: string; /** Shown instead of `text` on phones, where the bar has one line */ shortText?: string } +type HeadlineMessage = { + label: string + text: string + href: string + /** Shown instead of `text` on phones, where the bar has one line */ + shortText?: string + /** A second link beside the message, for example the partner's own page */ + secondary?: { label: string; href: string } +} // Add an entry here to show a banner. Leave the array empty to hide the bar. // Past entries, for reference: @@ -15,9 +23,40 @@ const messages: HeadlineMessage[] = [ text: 'Qantara, the Palestinian AI Fellowship, is coming. We are excited to be a partner.', shortText: "Qantara is coming. We're excited!", href: '/qantara', + secondary: { label: 'EmpactUs', href: 'https://empactus.org.uk/qantara-the-palestinian-ai-fellowship/' }, }, ] +/** One banner message: the main link, and an optional second link beside it */ +function Row({ message, animation }: { message: HeadlineMessage; animation: string }) { + return ( +
+ + + {message.label} + + {message.text} + {message.shortText ?? message.text} + + {message.secondary && ( + + {message.secondary.label} + + )} +
+ ) +} + export function HeadlineBar() { const [activeIndex, setActiveIndex] = useState(0) const [leavingIndex, setLeavingIndex] = useState(null) @@ -54,32 +93,10 @@ export function HeadlineBar() {
{leavingMessage && ( - - - {leavingMessage.label} - - {leavingMessage.text} - {leavingMessage.shortText ?? leavingMessage.text} - + )} - - - {activeMessage.label} - - {activeMessage.text} - {activeMessage.shortText ?? activeMessage.text} - +