From eb371c6d50fcebb1a4f7ba197d3a63f7c3473259 Mon Sep 17 00:00:00 2001 From: Zeeshan Adil Date: Wed, 25 Nov 2026 22:58:46 +0500 Subject: [PATCH] fix(banner): keep the banner on one line on phones --- components/headline-bar.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/headline-bar.tsx b/components/headline-bar.tsx index fdf61bb..34166a6 100644 --- a/components/headline-bar.tsx +++ b/components/headline-bar.tsx @@ -13,7 +13,7 @@ const messages: HeadlineMessage[] = [ { label: 'Coming soon', text: 'Qantara, the Palestinian AI Fellowship, is coming. We are excited to be a partner.', - shortText: 'Qantara is coming. We are excited!', + shortText: "Qantara is coming. We're excited!", href: '/qantara', }, ] @@ -52,7 +52,7 @@ export function HeadlineBar() { return (
-
+
{leavingMessage && ( - + {leavingMessage.label} {leavingMessage.text} - {leavingMessage.shortText ?? leavingMessage.text} + {leavingMessage.shortText ?? leavingMessage.text} )} @@ -74,11 +74,11 @@ export function HeadlineBar() { className="absolute inset-x-4 flex items-center justify-center gap-2" style={{ animation: `${enteringAnimation} 650ms ease-out both` }} > - + {activeMessage.label} {activeMessage.text} - {activeMessage.shortText ?? activeMessage.text} + {activeMessage.shortText ?? activeMessage.text}