From 7806bccdf9199354f1ac92b03b862c117b165222 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 21:42:34 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=95=B8=EF=B8=8F=20Spider:=20Replace=20fal?= =?UTF-8?q?lback=20'#'=20links=20with=20valid=20routing=20Links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced `href="#"` static fallback links in `src/Header/Nav/index.tsx` with `` components pointing to actual, valid routes (`/`, `/solutions`, `/projects`, `/actualites`). This fix prevents crawler indexing issues associated with dummy anchor links, eliminates 404s, and ensures better structural crawlability when the fallback menu is rendered. Co-authored-by: kourdroid <36898160+kourdroid@users.noreply.github.com> --- src/Header/Nav/index.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Header/Nav/index.tsx b/src/Header/Nav/index.tsx index 8b288f6..edaa4ed 100644 --- a/src/Header/Nav/index.tsx +++ b/src/Header/Nav/index.tsx @@ -1,6 +1,7 @@ 'use client' import React from 'react' +import Link from 'next/link' import type { Header as HeaderType } from '@/payload-types' import { CMSLink } from '@/components/Link' @@ -32,10 +33,11 @@ export const HeaderNav: React.FC<{ data: HeaderType }> = ({ data }) => { {/* Fallback Static Links if CMS is empty during dev */} {navItems.length === 0 && ( <> - A PROPOS - SOLUTIONS - PROJECTS - EXPERTISES + {/* SEO: Use valid relative paths for fallback links instead of dummy '#' to ensure proper crawlability and semantic HTML */} + A PROPOS + SOLUTIONS + PROJECTS + EXPERTISES )}