// ─── Site Configuration ──────────────────────────────────────────────
// Single source for branding, contact info, social links, and footer data.
// Shared by: Footer, ContactFormSection, Navbar (mobile), TopBar.
// ─────────────────────────────────────────────────────────────────────

import { services } from "@/data/site-content";

export interface SocialLink {
  platform: string;
  url: string;
  icon: "facebook" | "x-twitter" | "linkedin" | "youtube";
}

export interface FooterLink {
  label: string;
  href: string;
}

export const siteConfig = {
  name: "tenext",
  legalName: "Tenext Technologies",
  tagline: "Enterprise Digital Transformation",

  // Canonical site URL — used for metadataBase, sitemap, robots, and JSON-LD.
  // Update if the production domain differs.
  url: "https://www.tenext.in",

  // Contact
  phone: "+91 96294 15770",
  phoneRaw: "+919629415770",
  email: "info@tenext.in",
  address: {
    line1: "424 Redrose Towers, DB Road",
    line2: "RS Puram, Coimbatore, India",
  },

  // Social — set each `url` to Tenext's real profile before launch.
  // Left as "#" (not template links) until official handles are provided.
  socials: [
    {
      platform: "LinkedIn",
      url: "#",
      icon: "linkedin",
    },
    { platform: "X", url: "#", icon: "x-twitter" },
    {
      platform: "Facebook",
      url: "#",
      icon: "facebook",
    },
    { platform: "Youtube", url: "#", icon: "youtube" },
  ] as SocialLink[],

  // Footer link columns
  footerLinks: {
    company: [
      { label: "About Us", href: "/about" },
      { label: "Our Teams", href: "/about#teams" },
      { label: "Careers", href: "/careers" },
      { label: "Contact", href: "/contacts" },
    ] as FooterLink[],
    // Derived from the single services source so the footer never drifts.
    services: services.map((service) => ({
      label: service.title,
      href: `/services#${service.id}`,
    })) as FooterLink[],
  },

  // Legal
  copyright: "©Tenext Technologies 2026. All rights reserved.",
  legalLinks: [
    { label: "Terms of use", href: "/terms" },
    { label: "Privacy Policy", href: "/privacy" },
  ] as FooterLink[],
} as const;
