File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { SiCrewai } from "@icons-pack/react-simple-icons";
77export function Banners ( ) {
88 return (
99 < >
10- < ModelContextProtocolBanner />
10+ < AGUIBanner />
1111 </ >
1212 )
1313}
@@ -40,4 +40,14 @@ export function ModelContextProtocolBanner() {
4040 </ p >
4141 </ Banner >
4242 )
43+ }
44+
45+ export function AGUIBanner ( ) {
46+ return (
47+ < Banner className = "w-full text-white bg-indigo-500 dark:bg-indigo-900 h-24 sm:h-14 !important" variant = "rainbow" id = "agui-banner" >
48+ < p className = "w-3/4" >
49+ We're officially launching AG-UI, the protocol for agent and user interactivity! < Link href = "https://ag-ui.com" target = "_blank" className = "underline" > Learn more</ Link > .
50+ </ p >
51+ </ Banner >
52+ )
4353}
Original file line number Diff line number Diff line change 11"use client" ;
22import { SearchIcon } from "lucide-react" ;
3- import { Socials } from "@/components/react/socials " ;
3+ import { LinkToCopilotCloud } from "@/components/react/link-to-copilot-cloud " ;
44
55export function TopBar ( ) {
66 return (
77 < >
88 < div className = "p-2 h-[70px] hidden lg:block absolute w-[calc(100vw-var(--fd-sidebar-width)-20px)] ml-[var(--fd-sidebar-width)]" >
99 < div className = "flex justify-end items-center gap-2" >
10+ < LinkToCopilotCloud />
1011 < SearchToggle />
1112 </ div >
1213 </ div >
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ export function LinkToCopilotCloud({
4343 let cn = `${ className } ` ;
4444
4545 if ( asButton ) {
46- cn = "text-indigo-800 dark:text-indigo-300 ring-1 ring-indigo-200 dark:ring-indigo-900 text-sm items-center bg-gradient-to-r from-indigo-200/50 to-purple-200/80 dark:from-indigo-900/40 dark:to-purple-900/50 flex p-2 px-4" ;
47- cn += "transition-all duration-100 hover:ring-2 hover:ring-indigo-400 hover:dark:text-indigo-200 shadow-2xl rounded-lg" ;
46+ cn = "text-indigo-800 dark:text-indigo-300 ring-1 ring-indigo-200 dark:ring-indigo-900 text-sm items-center bg-gradient-to-r from-indigo-200/50 to-purple-200/80 dark:from-indigo-900/40 dark:to-purple-900/50 flex p-3 px-4" ;
47+ cn += "transition-all duration-100 hover:ring-2 hover:ring-indigo-400 hover:dark:text-indigo-200 rounded-lg" ;
4848 } else {
4949 cn = "_text-primary-600 decoration-from-font underline [text-underline-position:from-font]" ;
5050 }
@@ -57,7 +57,7 @@ export function LinkToCopilotCloud({
5757 >
5858 { asButton ? < CloudIcon className = "w-5 h-5 mr-2" /> : null }
5959 {
60- children ? children : userId ? "Go to Copilot Cloud " : "Sign up for Copilot Cloud "
60+ children ? children : userId ? "Go to Copilot Platform " : "Sign up for Copilot Platform "
6161 }
6262 </ Link >
6363 ) ;
You can’t perform that action at this time.
0 commit comments