tenext redesign

This commit is contained in:
2026-08-03 14:42:01 +05:30
parent 1e3f225bed
commit 6625bb9018
78 changed files with 2798 additions and 859 deletions

View File

@@ -1,9 +1,23 @@
import { services } from "@/data/site-content";
import { solutions, industries } from "@/data/site-pages";
export interface NavItem {
label: string;
href: string;
children?: NavItem[];
}
/** Builds dropdown entries from a content list so the menu tracks the page. */
function toNavItems(
items: { id: string; title: string }[],
basePath: string,
): NavItem[] {
return items.map((item) => ({
label: item.title,
href: `${basePath}#${item.id}`,
}));
}
export const navigationData: NavItem[] = [
{
label: "Home",
@@ -14,59 +28,33 @@ export const navigationData: NavItem[] = [
href: "/about",
children: [
{ label: "Company", href: "/about" },
{ label: "Mission & Vision", href: "/about#mission" },
{ label: "Leadership", href: "/about#team" },
{ label: "Our Mission", href: "/about#mission" },
{ label: "Our Teams", href: "/about#teams" },
{ label: "Careers", href: "/careers" },
],
},
{
label: "Services",
href: "/services",
children: [
{ label: "Technology Engineering", href: "/services#technology-engineering" },
{ label: "Cloud & Enterprise Platforms", href: "/services#cloud-enterprise-platforms" },
{ label: "AI & Data Science", href: "/services#ai-data-science" },
{ label: "Enterprise Mobility", href: "/services#enterprise-mobility" },
{ label: "Digital Commerce", href: "/services#digital-commerce" },
],
children: toNavItems(services, "/services"),
},
{
label: "Solutions",
href: "/solutions",
children: [
{ label: "Digital Transformation", href: "/solutions#digital-transformation" },
{ label: "Product Development", href: "/solutions#product-development" },
{ label: "Internet of Things", href: "/solutions#iot" },
{ label: "SMAC", href: "/solutions#smac" },
{ label: "DevOps", href: "/solutions#devops" },
{ label: "Blockchain", href: "/solutions#blockchain" },
],
children: toNavItems(solutions, "/solutions"),
},
{
label: "Industries",
href: "/industries",
children: toNavItems(industries, "/industries"),
},
{
label: "Insights",
href: "/case-studies",
children: [
{ label: "Retail", href: "/industries#retail" },
{ label: "Financial Services", href: "/industries#financial-services" },
{ label: "Healthcare", href: "/industries#healthcare" },
{ label: "Manufacturing", href: "/industries#manufacturing" },
{ label: "Education", href: "/industries#education" },
{ label: "Case Studies", href: "/case-studies" },
{ label: "Resources", href: "/resources" },
{ label: "Contact", href: "/contacts" },
],
},
{
label: "Case Studies",
href: "/case-studies",
},
{
label: "Resources",
href: "/resources",
},
{
label: "Careers",
href: "/careers",
},
{
label: "Contact",
href: "/contacts",
},
];