Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit c4547d2

Browse files
roomote-v0[bot]roomote
andauthored
feat(web): redesign Roomote announcement banner with violet branding (#12161)
Co-authored-by: Roo Code <roomote@roocode.com>
1 parent b4f2a24 commit c4547d2

3 files changed

Lines changed: 39 additions & 10 deletions

File tree

230 KB
Loading

apps/web-roo-code/src/app/layout.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Inter } from "next/font/google"
44
import { SEO } from "@/lib/seo"
55
import { ogImageUrl } from "@/lib/og"
66
import { CookieConsentWrapper } from "@/components/CookieConsentWrapper"
7+
import { RoomoteAnnouncementBanner } from "@/components/RoomoteAnnouncementBanner"
78

89
import { Providers } from "@/components/providers"
910

@@ -97,16 +98,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
9798
/>
9899
</head>
99100
<body className={inter.className}>
100-
<div className="bg-black text-white text-center py-4 px-4 text-sm">
101-
The Roo Code team is about to launch something new.{" "}
102-
<a
103-
href="https://roomote.dev"
104-
target="_blank"
105-
rel="noopener noreferrer"
106-
className="inline-block ml-2 rounded-full bg-white text-black px-4 py-1 text-sm font-medium hover:bg-gray-200 transition-colors">
107-
Check out Roomote
108-
</a>
109-
</div>
101+
<RoomoteAnnouncementBanner />
110102
<div itemScope itemType="https://schema.org/WebSite">
111103
<link itemProp="url" href={SEO.url} />
112104
<meta itemProp="name" content={SEO.name} />
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
"use client"
2+
3+
import Image from "next/image"
4+
import { DM_Sans } from "next/font/google"
5+
import { ArrowRight } from "lucide-react"
6+
7+
const dmSans = DM_Sans({
8+
subsets: ["latin"],
9+
weight: ["500", "700", "800"],
10+
})
11+
12+
export function RoomoteAnnouncementBanner() {
13+
return (
14+
<div className={`relative overflow-hidden bg-[#d8f14b] text-black ${dmSans.className}`}>
15+
<div className="relative flex flex-col items-center justify-center gap-3 px-6 py-5 sm:py-6">
16+
<p className="text-base sm:text-lg md:text-xl font-extrabold tracking-tight">
17+
The Roo Code team just launched something new.
18+
</p>
19+
<a
20+
href="https://roomote.dev"
21+
target="_blank"
22+
rel="noopener noreferrer"
23+
className="group inline-flex shrink-0 items-center gap-2 rounded-full bg-black text-white px-6 py-2.5 text-sm sm:text-base font-bold hover:bg-gray-900 transition-colors duration-200">
24+
Check out
25+
<Image
26+
src="/logos/roomote-logo.png"
27+
alt="Roomote"
28+
width={100}
29+
height={37}
30+
className="h-5 sm:h-6 w-auto invert"
31+
/>
32+
<ArrowRight className="size-4 sm:size-5 transition-transform duration-200 group-hover:translate-x-0.5" />
33+
</a>
34+
</div>
35+
</div>
36+
)
37+
}

0 commit comments

Comments
 (0)