fix: restore dark theme tokens for login/admin/legal pages + remove formation SEO
- globals.css: restore missing dark-*, primary, error, warning color tokens and gradient-text/gradient-bg utility classes so login, admin, mentions-legales, and confidentialite pages render correctly (white text was invisible on white bg) - layout.tsx: remove "Candidature Formation" from JSON-LD SiteNavigationElement - candidature/layout.tsx: remove "Formation" from title/description, add noindex - robots.ts: disallow /candidature/ from crawlers - sitemap.ts: remove /candidature from sitemap https://claude.ai/code/session_01V8YAjpqRQ3bfBYsABYsEgo
This commit is contained in:
@@ -1,9 +1,13 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Candidature Formation HookLab",
|
title: "Candidature HookLab",
|
||||||
description:
|
description:
|
||||||
"Postulez à la formation HookLab pour apprendre à créer des sites web professionnels pour artisans du bâtiment. Formation complète et accompagnement personnalisé.",
|
"Rejoignez HookLab et apprenez \u00e0 cr\u00e9er des sites web professionnels pour artisans du b\u00e2timent. Accompagnement personnalis\u00e9.",
|
||||||
|
robots: {
|
||||||
|
index: false,
|
||||||
|
follow: false,
|
||||||
|
},
|
||||||
alternates: {
|
alternates: {
|
||||||
canonical: "https://hooklab.eu/candidature",
|
canonical: "https://hooklab.eu/candidature",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -23,6 +23,17 @@
|
|||||||
--color-border-light: #F3F4F6;
|
--color-border-light: #F3F4F6;
|
||||||
|
|
||||||
--color-success: #10B981;
|
--color-success: #10B981;
|
||||||
|
--color-warning: #F59E0B;
|
||||||
|
--color-error: #EF4444;
|
||||||
|
|
||||||
|
--color-primary: #6D5EF6;
|
||||||
|
--color-primary-hover: #5B4FDB;
|
||||||
|
|
||||||
|
--color-dark: #0B0F19;
|
||||||
|
--color-dark-bg: #0B0F19;
|
||||||
|
--color-dark-light: #1A1F2E;
|
||||||
|
--color-dark-lighter: #252A3A;
|
||||||
|
--color-dark-border: #2A2F3F;
|
||||||
|
|
||||||
--font-sans: "Inter", sans-serif;
|
--font-sans: "Inter", sans-serif;
|
||||||
}
|
}
|
||||||
@@ -37,6 +48,18 @@ html {
|
|||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Gradient utilities (used by login, admin, candidature pages) */
|
||||||
|
.gradient-text {
|
||||||
|
background: linear-gradient(135deg, #6D5EF6, #9D8FF9);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
background-clip: text;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gradient-bg {
|
||||||
|
background: linear-gradient(135deg, #6D5EF6, #9D8FF9);
|
||||||
|
}
|
||||||
|
|
||||||
/* Card hover */
|
/* Card hover */
|
||||||
.card-hover {
|
.card-hover {
|
||||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||||
|
|||||||
@@ -193,11 +193,6 @@ export default function RootLayout({
|
|||||||
name: "D\u00e9mo Plombier",
|
name: "D\u00e9mo Plombier",
|
||||||
url: `${BASE_URL}/plombier`,
|
url: `${BASE_URL}/plombier`,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"@type": "WebPage",
|
|
||||||
name: "Candidature Formation",
|
|
||||||
url: `${BASE_URL}/candidature`,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"@type": "WebPage",
|
"@type": "WebPage",
|
||||||
name: "Mentions L\u00e9gales",
|
name: "Mentions L\u00e9gales",
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export default function robots(): MetadataRoute.Robots {
|
|||||||
{
|
{
|
||||||
userAgent: "*",
|
userAgent: "*",
|
||||||
allow: "/",
|
allow: "/",
|
||||||
disallow: ["/admin/", "/api/", "/setup-admin/", "/dashboard/", "/profil/", "/formations/", "/login/", "/register/"],
|
disallow: ["/admin/", "/api/", "/setup-admin/", "/dashboard/", "/profil/", "/formations/", "/login/", "/register/", "/candidature/"],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
sitemap: `${BASE_URL}/sitemap.xml`,
|
sitemap: `${BASE_URL}/sitemap.xml`,
|
||||||
|
|||||||
@@ -34,14 +34,6 @@ export default function sitemap(): MetadataRoute.Sitemap {
|
|||||||
priority: 0.9,
|
priority: 0.9,
|
||||||
},
|
},
|
||||||
|
|
||||||
// Candidature - page importante
|
|
||||||
{
|
|
||||||
url: `${BASE_URL}/candidature`,
|
|
||||||
lastModified: now,
|
|
||||||
changeFrequency: "monthly",
|
|
||||||
priority: 0.8,
|
|
||||||
},
|
|
||||||
|
|
||||||
// Pages SEO locales - site internet artisan + ville
|
// Pages SEO locales - site internet artisan + ville
|
||||||
{
|
{
|
||||||
url: `${BASE_URL}/site-internet-artisan-douai`,
|
url: `${BASE_URL}/site-internet-artisan-douai`,
|
||||||
|
|||||||
Reference in New Issue
Block a user