Skip to content

Commit f4eb510

Browse files
authored
fix: fix links and mobile nav (#12)
1 parent 1e80eb1 commit f4eb510

3 files changed

Lines changed: 42 additions & 21 deletions

File tree

app/(home)/integrations/_pages/page.en.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Cards, IndexCard } from '@/components/card';
1+
import { Cards, IndexCard } from "@/components/card";
22
import {
33
API,
44
BrowserUseIcon,
@@ -7,7 +7,7 @@ import {
77
Container,
88
MagicIcon,
99
OpenAIIcon,
10-
} from '@/components/ui/icon';
10+
} from "@/components/ui/icon";
1111

1212
export default function IntegrationsPage() {
1313
return (
@@ -21,14 +21,14 @@ export default function IntegrationsPage() {
2121
<Cards>
2222
<IndexCard
2323
icon={<BrowserUseIcon />}
24-
href="/integrations/browser-use/overview"
24+
href="/integrations/browser-use/integrations-overview"
2525
title="Browser-Use Integration"
2626
tag="Browser Agent"
2727
description="Use Browser-Use to interact with a Steel browser."
2828
/>
2929
<IndexCard
3030
icon={<ClaudeIcon />}
31-
href="/integrations/claude-computer-use/overview"
31+
href="/integrations/claude-computer-use/integrations-overview"
3232
title="Claude Computer Use"
3333
tag="Browser Agent"
3434
description="Use Claude Computer Use with Steel Browser."
@@ -42,7 +42,7 @@ export default function IntegrationsPage() {
4242
/>
4343
<IndexCard
4444
icon={<Cloud />}
45-
href="/integrations/crewai/overview"
45+
href="/integrations/crewai/integrations-overview"
4646
title="CrewAI"
4747
tag="Multi-Agent"
4848
description="Learn how to use CrewAI with Steel Browser."

app/(home)/overview/_pages/page.en.tsx

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ export default function HomePage() {
4444
/>
4545
<div className="flex flex-col [&_p]:mb-6 space-y-3">
4646
<h3 className="text-3xl">Steel Documentation</h3>
47-
<p>Find all the guides and resources you need to build on the Steel API.</p>
47+
<p>
48+
Find all the guides and resources you need to build on the
49+
Steel API.
50+
</p>
4851
</div>
4952
</div>
5053
</div>
@@ -56,7 +59,7 @@ export default function HomePage() {
5659
variant="default"
5760
title="Sessions API"
5861
description="Explore API endpoints for managing Steel Sessions."
59-
tags={['API', 'Sessions']}
62+
tags={["API", "Sessions"]}
6063
/>
6164
</Cards>
6265
<Cards className="xl:!grid-cols-4">
@@ -66,49 +69,55 @@ export default function HomePage() {
6669
variant="default"
6770
title="Captchas API"
6871
description="Explore API endpoints for managing Steel Captchas."
69-
tags={['API', 'Captchas']}
72+
tags={["API", "Captchas"]}
7073
/>
7174
<Card
7275
className="group space-y-1"
7376
href="/overview/extensions-api/overview"
7477
variant="default"
7578
title="Extensions API"
7679
description="Explore API endpoints for building on Steel."
77-
tags={['API', 'Extensions']}
80+
tags={["API", "Extensions"]}
7881
/>
7982
<Card
8083
className="group space-y-1"
8184
href="/overview/credentials-api/overview"
8285
title="Credentials API"
8386
description="Explore API endpoints for managing Steel Credentials."
84-
tags={['API', 'Credentials']}
87+
tags={["API", "Credentials"]}
8588
/>
8689
<Card
8790
className="group space-y-1"
8891
href="/overview/files-api/overview"
8992
title="Files API"
9093
description="Explore API Endpoints for managing Files on Steel."
91-
tags={['API', 'Files']}
94+
tags={["API", "Files"]}
9295
/>
9396
</Cards>
9497
</div>
9598
<div className="flex flex-col">
96-
<h4 id="explore-by-category" className="text-muted-foreground scroll-m-20">
97-
<a href="#explore-by-category" className="not-prose group text-sm uppercase">
99+
<h4
100+
id="explore-by-category"
101+
className="text-muted-foreground scroll-m-20"
102+
>
103+
<a
104+
href="#explore-by-category"
105+
className="not-prose group text-sm uppercase"
106+
>
98107
Integrations
99108
</a>
100109
</h4>
101110
<hr className="border-t border-border my-2" />
102111
<Cards className="xl:!grid-cols-3">
103112
<SmallCard
104113
icon={<BrowserUseIcon />}
105-
href="/integrations/browser-use/overview"
114+
href="/integrations/browser-use/integrations-overview"
106115
title="Browser-Use Integration"
107116
description="Use Browser-Use to interact with a Steel browser."
108117
/>
109118
<SmallCard
110119
icon={<ClaudeIcon />}
111-
href="/integrations/claude-computer-use/overview"
120+
href="/integrations/claude-computer-use/integrations-overview"
112121
title="Claude Computer Use"
113122
description="Use Claude Computer Use with Steel Browser."
114123
/>
@@ -120,7 +129,7 @@ export default function HomePage() {
120129
/>
121130
<SmallCard
122131
icon={<Cloud />}
123-
href="/integrations/crewai/overview"
132+
href="/integrations/crewai/integrations-overview"
124133
title="CrewAI"
125134
description="Learn how to use CrewAI with Steel Browser."
126135
/>
@@ -139,8 +148,14 @@ export default function HomePage() {
139148
</Cards>
140149
</div>
141150
<div className="flex flex-col">
142-
<h4 id="explore-by-category" className="text-muted-foreground scroll-m-20">
143-
<a href="#explore-by-category" className="not-prose group text-sm uppercase">
151+
<h4
152+
id="explore-by-category"
153+
className="text-muted-foreground scroll-m-20"
154+
>
155+
<a
156+
href="#explore-by-category"
157+
className="not-prose group text-sm uppercase"
158+
>
144159
Libraries &amp; SDKs
145160
</a>
146161
</h4>
@@ -161,8 +176,14 @@ export default function HomePage() {
161176
</Cards>
162177
</div>
163178
<div className="flex flex-col">
164-
<h4 id="explore-by-category" className="text-muted-foreground scroll-m-20">
165-
<a href="#explore-by-category" className="not-prose group text-sm uppercase">
179+
<h4
180+
id="explore-by-category"
181+
className="text-muted-foreground scroll-m-20"
182+
>
183+
<a
184+
href="#explore-by-category"
185+
className="not-prose group text-sm uppercase"
186+
>
166187
Resources
167188
</a>
168189
</h4>

components/layout/mobile-navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export function MobileNavigation({
106106
<SearchToggle />
107107
</div>
108108

109-
<nav className="overflow-y-auto h-[calc(100vh-64px)] bg-background px-3">
109+
<nav className="overflow-y-auto h-[calc(100dvh-64px)] bg-background px-3">
110110
<div className="py-2">
111111
{activeSubmenu ? (
112112
(

0 commit comments

Comments
 (0)