Skip to content

Commit 9d1bfe1

Browse files
authored
Merge pull request #161 from felarof99/main
Update text and change styling a bit for onboarding flow
2 parents 3c4dbe4 + 8d6e004 commit 9d1bfe1

File tree

3 files changed

+99
-53
lines changed

3 files changed

+99
-53
lines changed

src/onboarding/components/CompletionScreen.tsx

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,25 @@ export function CompletionScreen() {
6767
You're All Set! 🎉
6868
</h1>
6969
<p className="text-xl text-muted-foreground max-w-2xl mx-auto">
70-
Thank you for downloading BrowserOS! Join our discord or slack community to provide feedback and suggest new features!
70+
Thank you for downloading BrowserOS! Join our{' '}
71+
<a
72+
href="https://discord.gg/browseros"
73+
target="_blank"
74+
rel="noopener noreferrer"
75+
className="font-semibold underline hover:text-brand"
76+
>
77+
Discord
78+
</a>{' '}
79+
or{' '}
80+
<a
81+
href="https://dub.sh/browserOS-slack"
82+
target="_blank"
83+
rel="noopener noreferrer"
84+
className="font-semibold underline hover:text-sky-500"
85+
>
86+
Slack
87+
</a>{' '}
88+
community to provide feedback and suggest new features!
7189
</p>
7290
</div>
7391

@@ -77,13 +95,13 @@ export function CompletionScreen() {
7795
onClick={handleOpenSidePanel}
7896
className="px-10 py-4 bg-gradient-to-r from-brand to-orange-500 hover:from-brand/90 hover:to-orange-500/90 text-white font-bold rounded-xl transition-all duration-300 shadow-lg shadow-brand/25 hover:shadow-xl hover:shadow-brand/40 hover:scale-105 active:scale-95"
7997
>
80-
Open AI Agent Panel
98+
Open BrowserOS agent
8199
</button>
82100
<button
83101
onClick={handleOpenSettings}
84102
className="px-10 py-4 bg-secondary hover:bg-secondary/80 text-secondary-foreground font-bold rounded-xl transition-all duration-300 border-2 border-border hover:scale-105 active:scale-95"
85103
>
86-
Go to Settings
104+
Go to BrowserOS settings
87105
</button>
88106
</div>
89107

src/onboarding/components/StepThree.tsx

Lines changed: 76 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function StepThree() {
1414
url: 'https://news.google.com',
1515
clickable: true,
1616
icon: (
17-
<svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
17+
<svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
1818
<path
1919
strokeLinecap="round"
2020
strokeLinejoin="round"
@@ -35,7 +35,7 @@ export function StepThree() {
3535
url: 'chrome://newtab/',
3636
clickable: true,
3737
icon: (
38-
<svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
38+
<svg className="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
3939
<path
4040
strokeLinecap="round"
4141
strokeLinejoin="round"
@@ -55,18 +55,15 @@ export function StepThree() {
5555
query: 'Unsubscribe from all promotional emails on my gmail tab',
5656
clickable: false,
5757
icon: (
58-
<svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
58+
<svg className="w-5 h-5 text-orange-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
5959
<path
6060
strokeLinecap="round"
6161
strokeLinejoin="round"
6262
strokeWidth={2}
6363
d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"
6464
/>
6565
</svg>
66-
),
67-
gradient: 'from-purple-500 to-purple-600',
68-
bgGradient: 'from-purple-500/10 to-purple-600/10',
69-
hoverBorder: 'hover:border-purple-500/60'
66+
)
7067
},
7168
{
7269
id: 'mcp-server',
@@ -75,7 +72,7 @@ export function StepThree() {
7572
query: '(in claude code) "Open LinkedIn.com and extract all my connections and give it as a table"',
7673
clickable: false,
7774
icon: (
78-
<svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
75+
<svg className="w-5 h-5 text-orange-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
7976
<path
8077
strokeLinecap="round"
8178
strokeLinejoin="round"
@@ -89,10 +86,53 @@ export function StepThree() {
8986
d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
9087
/>
9188
</svg>
92-
),
93-
gradient: 'from-green-500 to-green-600',
94-
bgGradient: 'from-green-500/10 to-green-600/10',
95-
hoverBorder: 'hover:border-green-500/60'
89+
)
90+
},
91+
{
92+
id: 'split-view',
93+
title: 'Split-View AI on Any Page',
94+
description: 'Open ChatGPT, Claude, or Gemini alongside any website. Get help while you work — summarize articles, draft responses, or analyze data without switching tabs.',
95+
query: '',
96+
clickable: false,
97+
icon: (
98+
<svg className="w-5 h-5 text-orange-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
99+
<path
100+
strokeLinecap="round"
101+
strokeLinejoin="round"
102+
strokeWidth={2}
103+
d="M4 5a2 2 0 012-2h12a2 2 0 012 2v6H4V5z"
104+
/>
105+
<path
106+
strokeLinecap="round"
107+
strokeLinejoin="round"
108+
strokeWidth={2}
109+
d="M4 13h7v6H6a2 2 0 01-2-2v-4zm9 0h7v4a2 2 0 01-2 2h-5v-6z"
110+
/>
111+
</svg>
112+
)
113+
},
114+
{
115+
id: 'private-default',
116+
title: 'Private by Default',
117+
description: 'Run AI locally with Ollama or bring your own API keys. Your data never leaves your machine unless you choose.',
118+
query: '',
119+
clickable: false,
120+
icon: (
121+
<svg className="w-5 h-5 text-orange-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
122+
<path
123+
strokeLinecap="round"
124+
strokeLinejoin="round"
125+
strokeWidth={2}
126+
d="M12 15a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"
127+
/>
128+
<path
129+
strokeLinecap="round"
130+
strokeLinejoin="round"
131+
strokeWidth={2}
132+
d="M6 10V8a6 6 0 1112 0v2m-1 0h-10a2 2 0 00-2 2v7a2 2 0 002 2h10a2 2 0 002-2v-7a2 2 0 00-2-2z"
133+
/>
134+
</svg>
135+
)
96136
}
97137
]
98138

@@ -147,18 +187,14 @@ export function StepThree() {
147187
Experience the AI Agent
148188
</h2>
149189
<p className="text-base sm:text-lg text-muted-foreground max-w-2xl mx-auto leading-relaxed">
150-
BrowserOS comes with a built-in AI agent that can execute complex web tasks! Try the below features
190+
BrowserOS comes with a built-in AI agent that can execute complex web tasks!
151191
</p>
152192
</div>
153193

154194
{/* Try These Examples Section */}
155195
<div className="space-y-5">
156-
<div className="text-center space-y-2">
157-
<h3 className="text-2xl font-bold flex items-center justify-center gap-2">
158-
<span className="text-2xl"></span>
159-
Try These Examples
160-
</h3>
161-
<p className="text-sm text-muted-foreground">Click on the first two cards to see the agent in action</p>
196+
<div className="text-center">
197+
<h3 className="text-2xl font-bold">Try These Examples</h3>
162198
</div>
163199

164200
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
@@ -225,46 +261,38 @@ export function StepThree() {
225261

226262
{/* Additional Features Section */}
227263
<div className="space-y-4">
228-
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
229-
{exampleQueries.filter(ex => !ex.clickable).map((example, index) => (
264+
<div className="flex items-center justify-center gap-2">
265+
<span className="text-xl"></span>
266+
<h3 className="text-2xl font-bold">More Features!</h3>
267+
</div>
268+
269+
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3">
270+
{exampleQueries.filter(ex => !ex.clickable).map(example => (
230271
<div
231272
key={example.id}
232-
className={`flex flex-col bg-gradient-to-br ${example.bgGradient} border border-border/50 rounded-xl p-4 text-left shadow-sm`}
273+
className="flex items-start gap-3 p-4 bg-card/95 border border-border/60 rounded-2xl shadow-sm transition-all duration-300 hover:border-brand/40 hover:shadow-lg hover:shadow-brand/10 hover:-translate-y-1"
233274
>
234-
{/* Icon & Title */}
235-
<div className="flex items-start gap-3 mb-3">
236-
<div className={`flex-shrink-0 w-9 h-9 rounded-lg bg-gradient-to-br ${example.gradient} flex items-center justify-center text-white shadow-md`}>
237-
{example.icon}
238-
</div>
239-
<div className="flex-1 min-w-0">
240-
<h4 className="font-bold text-sm mb-1 leading-tight">{example.title}</h4>
241-
<p className="text-xs text-muted-foreground leading-relaxed">
242-
{example.description}
243-
</p>
244-
</div>
275+
<div className="flex-shrink-0 w-10 h-10 rounded-lg bg-gradient-to-br from-brand/15 to-orange-500/15 border border-brand/20 text-brand flex items-center justify-center">
276+
{example.icon}
245277
</div>
246-
247-
{/* Example */}
248-
<div className="mt-auto">
249-
<p className="text-xs font-semibold text-muted-foreground mb-1.5">Example:</p>
250-
<div className="p-2 bg-card/90 backdrop-blur-sm border-2 border-border/80 rounded-lg shadow-sm">
251-
<p className="text-xs font-mono text-foreground/90 font-medium italic leading-relaxed">
252-
{example.query}
278+
<div className="space-y-1.5">
279+
<h4 className="font-semibold text-sm leading-snug text-foreground">
280+
{example.title}
281+
</h4>
282+
<p className="text-xs text-muted-foreground leading-relaxed">
283+
{example.description}
284+
</p>
285+
{example.query && (
286+
<p className="text-xs text-muted-foreground/80 italic">
287+
{example.id === 'teach-mode' || example.id === 'mcp-server' ? `Example: ${example.query}` : example.query}
253288
</p>
254-
</div>
289+
)}
255290
</div>
256291
</div>
257292
))}
258293
</div>
259294
</div>
260295

261-
{/* Help Text */}
262-
<div className="text-center p-4 bg-muted/30 border border-border/50 rounded-xl">
263-
<p className="text-sm text-muted-foreground">
264-
💡 <span className="font-semibold">Tip:</span> Click on the first two cards to try them live. The AI agent panel will open showing the execution in real-time
265-
</p>
266-
</div>
267-
268296
{/* Navigation - Glass morphism style */}
269297
<div className="flex justify-between items-center pt-4">
270298
<button

src/onboarding/components/VideoStep.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export function VideoStep() {
99
{/* Header */}
1010
<div className="text-center space-y-4 pt-16">
1111
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-bold bg-gradient-to-r from-foreground to-foreground/70 bg-clip-text">
12-
See BrowserOS in Action
12+
Why switch to BrowserOS?
1313
</h2>
1414
<p className="text-base sm:text-lg text-muted-foreground max-w-2xl mx-auto leading-relaxed">
15-
Watch our launch video to see how BrowserOS transforms your browsing experience with AI-powered automation
15+
Watch our launch video to understand the vision of BrowserOS and key features!
1616
</p>
1717
</div>
1818

0 commit comments

Comments
 (0)