import { jsxs as r, jsx as e } from "react/jsx-runtime";
import { Link as i } from "react-router-dom";
import { useTranslation as c } from "react-i18next";
import { Code as l, Server as d, Download as n, Database as p, Layers as m, Link2 as v, Building2 as h, Monitor as g, Shield as x, ArrowRight as u, Folder as f, GitBranch as y } from "lucide-react";
function w() {
  const { t } = c("docs"), a = [
    {
      titleKey: "developer.topics.infrastructure.title",
      descriptionKey: "developer.topics.infrastructure.description",
      icon: d,
      href: "/system/docs/developer/infrastructure",
      tags: [".NET 10", "React 19", "EF Core", "SQL Server"]
    },
    {
      titleKey: "developer.topics.installation.title",
      descriptionKey: "developer.topics.installation.description",
      icon: n,
      href: "/system/docs/developer/installation",
      tags: ["Prerequisites", "Setup", "Configuration"]
    },
    {
      titleKey: "developer.topics.database.title",
      descriptionKey: "developer.topics.database.description",
      icon: p,
      href: "/system/docs/developer/database",
      tags: ["MCD", "Schemas", "Relations"]
    },
    {
      titleKey: "developer.topics.dualDbContext.title",
      descriptionKey: "developer.topics.dualDbContext.description",
      icon: m,
      href: "/system/docs/developer/dual-dbcontext",
      tags: ["CoreDbContext", "ExtensionsDbContext", "NuGet", "Migrations"]
    },
    {
      titleKey: "developer.topics.crossSchemaFk.title",
      descriptionKey: "developer.topics.crossSchemaFk.description",
      icon: v,
      href: "/system/docs/developer/cross-schema-fk",
      tags: ["ICoreDataService", "GUID FK", "No Navigation"]
    },
    {
      titleKey: "developer.topics.tenants.title",
      descriptionKey: "developer.topics.tenants.description",
      icon: h,
      href: "/system/docs/developer/tenants",
      tags: ["B2C", "B2B", "Multi-Tenant", "Configuration"]
    },
    {
      titleKey: "developer.topics.teamsIntegration.title",
      descriptionKey: "developer.topics.teamsIntegration.description",
      icon: g,
      href: "/system/docs/developer/teams-integration",
      tags: ["Microsoft Teams", "Website Tab", "Iframe", "SSO"]
    },
    {
      titleKey: "developer.topics.securityTesting.title",
      descriptionKey: "developer.topics.securityTesting.description",
      icon: x,
      href: "/system/docs/developer/testing/security",
      tags: ["SonarCloud", "OWASP ZAP", "SAST", "DAST"]
    }
  ];
  return /* @__PURE__ */ r("div", { className: "space-y-8", children: [
    /* @__PURE__ */ r("div", { children: [
      /* @__PURE__ */ r("div", { className: "flex items-center gap-2 text-sm text-[var(--text-secondary)] mb-2", children: [
        /* @__PURE__ */ e(i, { to: "/system/docs", className: "hover:text-[var(--color-primary-600)]", children: t("breadcrumb.documentation") }),
        /* @__PURE__ */ e("span", { children: "/" }),
        /* @__PURE__ */ e("span", { children: t("breadcrumb.developer") })
      ] }),
      /* @__PURE__ */ r("h1", { className: "text-3xl font-bold mb-4 flex items-center gap-3", children: [
        /* @__PURE__ */ e(l, { className: "w-8 h-8 text-[var(--color-primary-600)]" }),
        t("developer.title")
      ] }),
      /* @__PURE__ */ e("p", { className: "text-lg text-[var(--text-secondary)]", children: t("developer.subtitle") })
    ] }),
    /* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: a.map((o) => /* @__PURE__ */ e(
      i,
      {
        to: o.href,
        className: "card p-6 hover:shadow-lg transition-all group",
        children: /* @__PURE__ */ r("div", { className: "flex items-start gap-4", children: [
          /* @__PURE__ */ e("div", { className: "p-3 rounded-xl bg-[var(--color-primary-600)]/10", children: /* @__PURE__ */ e(o.icon, { className: "w-6 h-6 text-[var(--color-primary-600)]" }) }),
          /* @__PURE__ */ r("div", { className: "flex-1", children: [
            /* @__PURE__ */ r("h3", { className: "text-lg font-semibold group-hover:text-[var(--color-primary-600)] transition-colors flex items-center gap-2", children: [
              t(o.titleKey),
              /* @__PURE__ */ e(u, { className: "w-4 h-4 opacity-0 group-hover:opacity-100 transition-opacity" })
            ] }),
            /* @__PURE__ */ e("p", { className: "text-[var(--text-secondary)] text-sm mt-1", children: t(o.descriptionKey) }),
            /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2 mt-3", children: o.tags.map((s) => /* @__PURE__ */ e(
              "span",
              {
                className: "px-2 py-0.5 text-xs rounded bg-[var(--bg-secondary)] text-[var(--text-tertiary)]",
                children: s
              },
              s
            )) })
          ] })
        ] })
      },
      o.href
    )) }),
    /* @__PURE__ */ r("div", { className: "card p-6", children: [
      /* @__PURE__ */ r("h2", { className: "text-xl font-semibold mb-4 flex items-center gap-2", children: [
        /* @__PURE__ */ e(f, { className: "w-5 h-5" }),
        t("developer.projectStructure.title")
      ] }),
      /* @__PURE__ */ e("pre", { className: "bg-[var(--bg-secondary)] p-4 rounded-lg text-sm overflow-x-auto", children: `SmartStack.sln
├── src/
│   ├── SmartStack.Domain         → ${t("developer.projectStructure.domain")}
│   ├── SmartStack.Application    → ${t("developer.projectStructure.application")}
│   ├── SmartStack.Infrastructure → ${t("developer.projectStructure.infrastructure")}
│   └── SmartStack.Api            → ${t("developer.projectStructure.api")}
└── web/
    └── smartstack-web            → ${t("developer.projectStructure.web")}` })
    ] }),
    /* @__PURE__ */ e("div", { className: "card p-6 bg-gradient-to-r from-[var(--info-bg)] to-transparent border-[var(--info-border)]", children: /* @__PURE__ */ r("div", { className: "flex items-start gap-4", children: [
      /* @__PURE__ */ e(y, { className: "w-6 h-6 text-[var(--info-text)]" }),
      /* @__PURE__ */ r("div", { children: [
        /* @__PURE__ */ e("h3", { className: "font-semibold text-[var(--info-text)]", children: t("developer.gitflow.title") }),
        /* @__PURE__ */ r("p", { className: "text-sm text-[var(--text-secondary)] mt-1", children: [
          t("developer.gitflow.description"),
          /* @__PURE__ */ e("code", { className: "mx-1 px-1 bg-[var(--bg-secondary)] rounded", children: t("developer.gitflow.commandStart") }),
          t("common.and", { defaultValue: "et" }),
          /* @__PURE__ */ e("code", { className: "mx-1 px-1 bg-[var(--bg-secondary)] rounded", children: t("developer.gitflow.commandFinish") }),
          t("developer.gitflow.descriptionEnd")
        ] })
      ] })
    ] }) })
  ] });
}
export {
  w as DeveloperIndexPage
};
//# sourceMappingURL=DeveloperIndexPage-D4zD_pop.js.map
