11// import { AgentChat } from './components/AgentChat'
2+ import { useEffect , useState } from 'react'
23import { AppSidebar } from './components/app-sidebar'
34import { SiteHeader } from './components/site-header'
45import AgentConversation from './components/ui/AgentConversation'
@@ -14,6 +15,14 @@ export const iframeHeight = "800px"
1415export const description = "A sidebar with a header and a search form."
1516
1617function App ( ) {
18+ const [ showWalrusDialog , setShowWalrusDialog ] = useState ( true ) ;
19+
20+ useEffect ( ( ) => {
21+ setShowWalrusDialog ( true ) ;
22+ } , [ ] ) ;
23+
24+ const walrusAppUrl = "https://orbiton.wal.app" ;
25+
1726 return (
1827 < >
1928 < SuiClientProvider networks = { networks } defaultNetwork = "mainnet" >
@@ -29,6 +38,50 @@ function App() {
2938 </ div >
3039 </ SidebarProvider >
3140 </ div >
41+ { showWalrusDialog && (
42+ < div className = "fixed inset-0 z-50 flex items-center justify-center bg-gradient-to-br from-indigo-900/90 via-purple-900/85 to-pink-800/80 backdrop-blur" >
43+ < div className = "relative w-full max-w-4xl overflow-hidden rounded-[32px] border border-white/10 bg-white/90 p-10 shadow-[0_25px_80px_rgba(0,0,0,0.45)] backdrop-blur-2xl dark:bg-neutral-900/90" >
44+ < div className = "pointer-events-none absolute inset-0 opacity-40 blur-2xl" >
45+ < div className = "absolute -left-20 -top-20 h-64 w-64 rounded-full bg-indigo-500/40" />
46+ < div className = "absolute -right-10 top-10 h-52 w-52 rounded-full bg-pink-400/30" />
47+ < div className = "absolute bottom-0 right-1/3 h-48 w-48 rounded-full bg-purple-400/25" />
48+ </ div >
49+
50+ < div className = "relative flex flex-col gap-6 text-center text-neutral-900 dark:text-neutral-50" >
51+ < p className = "mx-auto inline-flex items-center gap-2 rounded-full bg-white/80 px-4 py-1 text-xs font-semibold uppercase tracking-[0.2em] text-indigo-700 shadow-sm ring-1 ring-white/40 backdrop-blur dark:bg-white/10 dark:text-white" >
52+ New on Walrus
53+ </ p >
54+ < h2 className = "text-4xl font-extrabold leading-tight sm:text-5xl" >
55+ Predict Orbiton AI Agent is now live on Walrus!!!
56+ </ h2 >
57+ < p className = "mx-auto max-w-2xl text-lg text-neutral-700/90 dark:text-neutral-200" >
58+ Explore the fully decentralized AI Agent Sites powered by Walrus. Your chats,
59+ tools, and automations now live on distributed storage with true user ownership.
60+ </ p >
61+ < p className = "mx-auto max-w-xl rounded-full bg-white/70 px-4 py-2 text-sm font-mono text-indigo-800 shadow-sm ring-1 ring-white/50 backdrop-blur dark:bg-white/10 dark:text-indigo-100 dark:ring-white/10" >
62+ { walrusAppUrl }
63+ </ p >
64+
65+ < div className = "mx-auto flex flex-wrap items-center justify-center gap-4" >
66+ < a
67+ href = { walrusAppUrl }
68+ target = "_blank"
69+ rel = "noreferrer"
70+ className = "inline-flex items-center justify-center rounded-full bg-gradient-to-r from-indigo-600 via-purple-600 to-pink-600 px-6 py-3 text-sm font-semibold text-white shadow-lg shadow-purple-500/40 transition hover:scale-[1.02] hover:shadow-xl hover:shadow-pink-500/40"
71+ >
72+ Open Walrus app
73+ </ a >
74+ < button
75+ onClick = { ( ) => setShowWalrusDialog ( false ) }
76+ className = "inline-flex items-center justify-center rounded-full border border-white/40 bg-white/70 px-6 py-3 text-sm font-semibold text-neutral-900 shadow-sm transition hover:bg-white/90 dark:border-white/20 dark:bg-white/10 dark:text-white dark:hover:bg-white/20"
77+ >
78+ Maybe later
79+ </ button >
80+ </ div >
81+ </ div >
82+ </ div >
83+ </ div >
84+ ) }
3285 </ SuiClientProvider >
3386
3487 </ >
0 commit comments