Skip to content

Commit be51e6c

Browse files
Merge pull request #537 from CodebilityDev/task-#CBP-57
Task #cbp 57
2 parents 956c1ae + 5404969 commit be51e6c

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

‎apps/codebility/app/(marketing)/_components/MarketingSidenavMenu.tsx‎

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ import { useEffect, useState } from "react";
44
import Link from "next/link";
55
import ScrollToHash from "@/app/(marketing)/_components/landing/LandingScrollToHash";
66

7-
// Navigation links for sidebar - displayed on left side of landing page
7+
import { Briefcase, Info, Phone, CodeXml, Search, Rocket } from "lucide-react";
8+
89
const links = [
9-
{ href: "/services", label: "Our Services" },
10-
{ href: "/#whychooseus", label: "About Us" },
11-
{ href: "/bookacall", label: "Book a Call" },
12-
{ href: "/codevs", label: "Be a Codev" }, // ✅ ADDED: New link after Book a Call
13-
{ href: "/hire-a-codev", label: "Hire Codevs" },
14-
{ href: "/careers", label: "Careers" },
15-
];
10+
{ href: "/services", label: "Our Services", icon: Briefcase },
11+
{ href: "/#whychooseus", label: "About Us", icon: Info },
12+
{ href: "/bookacall", label: "Book a Call", icon: Phone },
13+
{ href: "/codevs", label: "Be a Codev", icon: CodeXml },
14+
{ href: "/hire-a-codev", label: "Hire Codevs", icon: Search },
15+
{ href: "/careers", label: "Careers", icon: Rocket },
16+
]
1617

1718
const SideNavMenu = () => {
1819
const [isScrolling, setIsScrolling] = useState(false);
@@ -42,9 +43,10 @@ const SideNavMenu = () => {
4243
<div className="border-darkgray absolute -left-10 top-1/2 w-20 border" />
4344
<div
4445
className={`relative flex h-8 ${
45-
isScrolling ? "w-12 text-xs" : "w-36 text-base"
46+
isScrolling ? "w-[52px] text-xs" : "w-36 text-base"
4647
} border-light-900/5 bg-light-700/10 group items-center gap-2 rounded-md border-2 ps-4 text-white backdrop-blur-lg duration-300 hover:ml-4 hover:w-36 hover:bg-customViolet-100 hover:text-base hover:text-opacity-100 hover:opacity-100 xl:h-10`}
4748
>
49+
<link.icon className="size-4 shrink-0"/>
4850
<p
4951
className={`text-nowrap transition-opacity duration-300 ${
5052
isScrolling ? "opacity-0" : "opacity-100"

0 commit comments

Comments
 (0)