Skip to content

Commit 2946c9a

Browse files
Add Ona banner notification (#20908)
* Add Ona banner notification with gradient background - Replace Gitpod Classic sunset message with Ona introduction - Add Ona wordmark SVG import and display - Apply gradient background for Ona banner - Set white text color and underlined link to https://ona.com/ - Link styling with hover effect (underline disappears on hover) * nit fix
1 parent a0a2dc6 commit 2946c9a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

components/dashboard/src/AppNotifications.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { useOrgBillingMode } from "./data/billing-mode/org-billing-mode-query";
2020
import { Organization } from "@gitpod/public-api/lib/gitpod/v1/organization_pb";
2121
import { MaintenanceModeBanner } from "./org-admin/MaintenanceModeBanner";
2222
import { MaintenanceNotificationBanner } from "./org-admin/MaintenanceNotificationBanner";
23+
import onaWordmark from "./images/ona-wordmark.svg";
2324

2425
const KEY_APP_DISMISSED_NOTIFICATIONS = "gitpod-app-notifications-dismissed";
2526
const PRIVACY_POLICY_LAST_UPDATED = "2025-05-16";
@@ -97,12 +98,7 @@ const GITPOD_FLEX_INTRODUCTION = (updateUser: (user: Partial<UserProtocol>) => P
9798
message: (
9899
<span className="text-md">
99100
<b>Introducing Gitpod Flex:</b> self-host for free in 3 min or run locally using Gitpod Desktop |{" "}
100-
<a
101-
className="text-kumquat-ripe font-bold"
102-
href="https://app.gitpod.io"
103-
target="_blank"
104-
rel="noreferrer"
105-
>
101+
<a className="text-kumquat-ripe" href="https://app.gitpod.io" target="_blank" rel="noreferrer">
106102
Try now
107103
</a>
108104
</span>
@@ -138,12 +134,12 @@ const GITPOD_CLASSIC_SUNSET = {
138134
type: "info" as AlertType,
139135
preventDismiss: true, // This makes it so users can't dismiss the notification
140136
message: (
141-
<span className="text-md">
142-
<b>Gitpod Classic is sunsetting fall 2025.</b>{" "}
143-
<a className="text-kumquat-base font-bold" href="https://app.gitpod.io" target="_blank" rel="noreferrer">
144-
Try the new Gitpod
145-
</a>{" "}
146-
now (hosted compute coming soon)
137+
<span className="text-md text-white font-semibold items-center justify-center">
138+
Meet <img src={onaWordmark} alt="Ona" className="inline align-middle w-12 mb-0.5" draggable="false" /> | the
139+
privacy-first software engineering agent |{" "}
140+
<a href="https://ona.com/" target="_blank" rel="noreferrer" className="underline hover:no-underline">
141+
Get early access
142+
</a>
147143
</span>
148144
),
149145
} as Notification;
@@ -228,7 +224,11 @@ export function AppNotifications() {
228224
}
229225
}}
230226
showIcon={true}
231-
className="flex rounded mb-2 w-full"
227+
className={`flex rounded mb-2 w-full ${
228+
topNotification.id === "gitpod-classic-sunset"
229+
? "bg-[linear-gradient(to_left,#1F1329_0%,#333A75_20%,#556CA8_40%,#90A898_60%,#E2B15C_80%,#E2B15C_97%,#BEA462_100%)]"
230+
: ""
231+
}`}
232232
>
233233
<span>{topNotification.message}</span>
234234
</Alert>

0 commit comments

Comments
 (0)