Skip to content

Commit d24b29a

Browse files
committed
feat: make website navigation responsive
1 parent d48be23 commit d24b29a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/web-roo-code/src/components/chromes/nav-bar.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ export function NavBar({ stars, downloads }: NavBarProps) {
3434
</div>
3535

3636
{/* Desktop Navigation */}
37-
<nav className="hidden text-sm font-medium md:flex md:items-center md:space-x-3 xl:space-x-8">
37+
<nav className="hidden text-sm font-medium md:flex md:items-center md:space-x-3 xl:space-x-4">
3838
{/* note: features and testimonials links are hidden for screen sizes smaller than lg */}
3939
<ScrollButton
4040
targetId="features"
41-
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground max-lg:hidden">
41+
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground max-xl:hidden">
4242
Features
4343
</ScrollButton>
4444
<ScrollButton
4545
targetId="testimonials"
46-
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground max-lg:hidden">
46+
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground max-xl:hidden">
4747
Testimonials
4848
</ScrollButton>
4949
<ScrollButton
@@ -53,7 +53,7 @@ export function NavBar({ stars, downloads }: NavBarProps) {
5353
</ScrollButton>
5454
<Link
5555
href="/evals"
56-
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground">
56+
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground max-lg:hidden">
5757
Evals
5858
</Link>
5959
<Link
@@ -70,10 +70,10 @@ export function NavBar({ stars, downloads }: NavBarProps) {
7070
<a
7171
href={EXTERNAL_LINKS.CAREERS}
7272
target="_blank"
73-
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground">
73+
className="text-muted-foreground transition-transform duration-200 hover:scale-105 hover:text-foreground max-lg:hidden">
7474
Careers
7575
</a>
76-
<div className="flex items-center rounded-full bg-gradient-to-r from-blue-400 to-cyan-400 p-0.5 text-xs">
76+
<div className="flex items-center rounded-full bg-gradient-to-r from-blue-400 to-cyan-400 p-0.5 text-xs max-md:hidden">
7777
<div className="rounded-full bg-background px-2 py-1.5">
7878
<span className="text-muted-foreground border-r-2 border-foreground/50 pr-1.5">
7979
Roo Code Cloud is coming

0 commit comments

Comments
 (0)