import type { Metadata } from "next";
import IndustriesPage from "../../industries/industries-page";
import { industries } from "@/lib/industries";

export const metadata: Metadata = {
  title: "NEXORA AI | Industry-Specific AI Agents for Business",
  description: "See how NEXORA AI works across travel, real estate, construction, e-commerce, automotive, education, and other industries with tailored agents and workflows.",
  alternates: { canonical: "/en/industries", languages: { "ar-SA": "/industries", en: "/en/industries" } },
  openGraph: { title: "NEXORA AI | AI that understands your industry", description: "Digital employees and tailored workflows for different industries.", type: "website", locale: "en_US" },
};

export default function Page() {
  const data = { "@context": "https://schema.org", "@type": "ItemList", name: "NEXORA AI Industries", itemListElement: industries.map((industry, index) => ({ "@type": "ListItem", position: index + 1, name: industry.name.en, url: `/en/industries/${industry.slug}` })) };
  return <><script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(data) }} /><IndustriesPage lang="en" /></>;
}
