mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-28 09:56:23 +02:00
Fix copilot welcome screen component overlay
This commit is contained in:
parent
aef3771cd5
commit
291943cdd5
3 changed files with 57 additions and 53 deletions
|
|
@ -81,56 +81,6 @@ export function Panel({
|
|||
onClick={onClick}
|
||||
data-tour-target={tourTarget}
|
||||
>
|
||||
{variant === 'copilot' && showWelcome && (
|
||||
<div className="absolute inset-0 flex flex-col items-center justify-center pointer-events-none -mt-8">
|
||||
{/* Replace Sparkles icon with mascot image */}
|
||||
<Image src={mascot} alt="Rowboat Mascot" width={192} height={192} className="object-contain mb-4 animate-float" />
|
||||
|
||||
{/* Welcome/Intro Section */}
|
||||
<div className="text-center max-w-md px-6 mb-4">
|
||||
<h3 className="text-xl font-semibold text-zinc-700 dark:text-zinc-300 mb-3 text-center">
|
||||
👋 Welcome to Rowboat!
|
||||
</h3>
|
||||
<p className="text-base text-zinc-600 dark:text-zinc-400 mb-6 text-center">
|
||||
I'm your copilot for building agents and adding tools to them.
|
||||
</p>
|
||||
<p className="text-base text-zinc-600 dark:text-zinc-400 mb-4 text-center">
|
||||
Here's what you can do in Rowboat:
|
||||
</p>
|
||||
<div className="space-y-3 max-w-2xl mx-auto text-left">
|
||||
<div className="flex items-start gap-3">
|
||||
<span className="text-lg">⚡</span>
|
||||
<span className="text-sm text-zinc-600 dark:text-zinc-400">Build AI agents instantly with natural language.</span>
|
||||
</div>
|
||||
<div className="flex items-start gap-3">
|
||||
<span className="text-lg">🔌</span>
|
||||
<span className="text-sm text-zinc-600 dark:text-zinc-400">Connect tools with one-click integrations.</span>
|
||||
</div>
|
||||
<div className="flex items-start gap-3">
|
||||
<span className="text-lg">📂</span>
|
||||
<span className="text-sm text-zinc-600 dark:text-zinc-400">Power with knowledge by adding documents for RAG.</span>
|
||||
</div>
|
||||
<div className="flex items-start gap-3">
|
||||
<span className="text-lg">🔄</span>
|
||||
<span className="text-sm text-zinc-600 dark:text-zinc-400">Automate workflows by setting up triggers and actions.</span>
|
||||
</div>
|
||||
<div className="flex items-start gap-3">
|
||||
<span className="text-lg">🚀</span>
|
||||
<span className="text-sm text-zinc-600 dark:text-zinc-400">Deploy anywhere via API or SDK.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{SHOW_COPILOT_MARQUEE && (
|
||||
<div className="relative mt-4 max-w-full px-8">
|
||||
<div className="font-mono text-sm whitespace-nowrap text-blue-400/60 dark:text-blue-500/40 font-small inline-flex">
|
||||
<div className="overflow-hidden w-0 animate-typing">What can I help you build?</div>
|
||||
<div className="border-r-2 border-blue-400 dark:border-blue-500 animate-cursor"> </div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
<div
|
||||
className={clsx(
|
||||
"shrink-0 border-b relative",
|
||||
|
|
@ -207,7 +157,9 @@ export function Panel({
|
|||
<div className="px-4 py-3">
|
||||
{children}
|
||||
</div>
|
||||
) : children}
|
||||
) : (
|
||||
children
|
||||
)}
|
||||
</div>
|
||||
</div>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue