SPB Git forge

spb/groupe-ka

Public

Groupe KA — site du holding + KA ID (compte unique & SSO des 7 plateformes). Next.js 16, SQLite, Google & Apple login.

81commits 1branches 0releases
89.2 MBsize
maindefault branch
22 days agolast push
TypeScript 70.4% HTML 18.4% JavaScript 4% Python 3.8% CSS 3.4%
2.3 KB · 47 lines typescript
Raw Blame History
1// Auteur : Simon-Pierre Boucher — contact@spboucher.ai2// sitemap.xml généré par Next (Metadata API) — SEO 2026-08-22.3// Pages publiques statiques seulement (les fiches /m et /u sont des pages4// de membre, /compte et /connexion des pages de session : exclues).5import type { MetadataRoute } from "next";67const BASE = "https://www.groupe-ka.com";89export default function sitemap(): MetadataRoute.Sitemap {10  const lastModified = new Date();11  const pages: {12    path: string;13    changeFrequency: MetadataRoute.Sitemap[number]["changeFrequency"];14    priority: number;15  }[] = [16    { path: "/", changeFrequency: "daily", priority: 1 },17    { path: "/contact", changeFrequency: "monthly", priority: 0.8 },18    { path: "/contact/partenariats", changeFrequency: "monthly", priority: 0.6 },19    { path: "/contact/data", changeFrequency: "monthly", priority: 0.6 },20    { path: "/contact/investisseurs", changeFrequency: "monthly", priority: 0.6 },21    { path: "/contact/carrieres", changeFrequency: "monthly", priority: 0.6 },22    { path: "/contact/fournisseurs", changeFrequency: "monthly", priority: 0.5 },23    { path: "/contact/medias", changeFrequency: "monthly", priority: 0.5 },24    { path: "/contact/general", changeFrequency: "monthly", priority: 0.5 },25    { path: "/contact/legal", changeFrequency: "monthly", priority: 0.5 },26    { path: "/contact/securite", changeFrequency: "monthly", priority: 0.5 },27    { path: "/recherche", changeFrequency: "weekly", priority: 0.7 },28    { path: "/stats", changeFrequency: "daily", priority: 0.8 },29    { path: "/rapports", changeFrequency: "daily", priority: 0.7 },30    { path: "/status", changeFrequency: "daily", priority: 0.6 },31    { path: "/telecharger", changeFrequency: "weekly", priority: 0.7 },32    { path: "/marque", changeFrequency: "monthly", priority: 0.6 },33    { path: "/avis", changeFrequency: "monthly", priority: 0.5 },34    { path: "/bots", changeFrequency: "monthly", priority: 0.5 },35    { path: "/retrait", changeFrequency: "monthly", priority: 0.4 },36    { path: "/conditions", changeFrequency: "yearly", priority: 0.3 },37    { path: "/confidentialite", changeFrequency: "yearly", priority: 0.3 },38    { path: "/loi-25", changeFrequency: "yearly", priority: 0.3 },39  ];40  return pages.map(({ path, changeFrequency, priority }) => ({41    url: `${BASE}${path}`,42    lastModified,43    changeFrequency,44    priority,45  }));46}47