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:
Claude
2026-02-18 06:34:42 +00:00
parent e1bade3656
commit 314d713699
5 changed files with 30 additions and 16 deletions

View File

@@ -23,6 +23,17 @@
--color-border-light: #F3F4F6;
--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;
}
@@ -37,6 +48,18 @@ html {
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 {
transition: transform 0.3s ease, box-shadow 0.3s ease;