Assets Groupe KA (og.png, favicon.svg, apple-touch-icon) + correction du débordement à 768 px
- ka-assets/ → public/ : image de partage og.png (1200×630), favicon.svg, apple-touch-icon.png ; retrait du favicon.ico par défaut de Next. - layout.tsx : icons + og:image/twitter:image (summary_large_image). - page.tsx : titre d'accueil suffixé « · Un service Groupe KA ». - HeaderNav : la nav pilule n'entre pas à 768 px (~852 px requis) — bascule desktop/mobile déplacée de md: à lg: (cause racine du débordement horizontal de +84 px en tablette). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
7 changed files +16 −4
added
public/apple-touch-icon.png
+0 −0
Binary file not shown.
added
public/favicon.svg
+5 −0
@@ -0,0 +1,5 @@ | ||
| 1 | +<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"> | |
| 2 | +<rect width="64" height="64" rx="14" fill="#141814"/> | |
| 3 | +<rect x="4.5" y="4.5" width="55" height="55" rx="11" fill="none" stroke="#ff5148" stroke-opacity="0.35" stroke-width="2"/> | |
| 4 | +<text x="32" y="43" text-anchor="middle" font-family="'Space Grotesk','Arial Black',sans-serif" font-size="30" font-weight="700" letter-spacing="-1" fill="#ff5148" transform="rotate(-4 32 32)">Ka</text> | |
| 5 | +</svg> | |
| \ No newline at end of file | ||
added
public/og.png
+0 −0
Binary file not shown.
deleted
src/app/favicon.ico
+0 −0
Binary file not shown.
modified
src/app/layout.tsx
+8 −1
@@ -31,6 +31,7 @@ export const metadata: Metadata = { | ||
| 31 | 31 | description: |
| 32 | 32 | "Estimation immobilière transparente pour le Québec : modèle hédonique + comparables réels, fourchette honnête et indice de confiance. 3,7 millions de propriétés, 1 100 municipalités.", |
| 33 | 33 | applicationName: "Vrai-Prix", |
| 34 | + icons: { icon: "/favicon.svg", apple: "/apple-touch-icon.png" }, | |
| 34 | 35 | openGraph: { |
| 35 | 36 | type: "website", |
| 36 | 37 | siteName: "Vrai-Prix", |
@@ -39,9 +40,15 @@ export const metadata: Metadata = { | ||
| 39 | 40 | title: "Vrai-Prix — Un service Groupe KA", |
| 40 | 41 | description: |
| 41 | 42 | "Estimation immobilière transparente pour le Québec : modèle hédonique + comparables réels, fourchette honnête et indice de confiance.", |
| 43 | + images: [ | |
| 44 | + { url: "https://www.vrai-prix.com/og.png", width: 1200, height: 630 }, | |
| 45 | + ], | |
| 42 | 46 | }, |
| 43 | 47 | twitter: { |
| 44 | − card: "summary", | |
| 48 | + card: "summary_large_image", | |
| 49 | + images: [ | |
| 50 | + { url: "https://www.vrai-prix.com/og.png", width: 1200, height: 630 }, | |
| 51 | + ], | |
| 45 | 52 | title: "Vrai-Prix — Un service Groupe KA", |
| 46 | 53 | description: |
| 47 | 54 | "Estimation immobilière transparente pour le Québec : 3,7 millions de propriétés estimées, calcul montré en entier.", |
modified
src/app/page.tsx
+1 −1
@@ -7,7 +7,7 @@ import { moneyFr, slugify } from "@/lib/seo"; | ||
| 7 | 7 | |
| 8 | 8 | export const metadata: Metadata = { |
| 9 | 9 | title: { |
| 10 | − absolute: "Vrai-Prix — estimation immobilière gratuite au Québec, sans boîte noire", | |
| 10 | + absolute: "Vrai-Prix — estimation immobilière gratuite au Québec · Un service Groupe KA", | |
| 11 | 11 | }, |
| 12 | 12 | description: |
| 13 | 13 | "Estimez gratuitement la valeur de n'importe quelle propriété du Québec : 3,7 millions d'unités d'évaluation, 745 119 ventes réelles, fourchette honnête P10-P90 et calcul montré en entier.", |
modified
src/components/HeaderNav.tsx
+2 −2
@@ -41,7 +41,7 @@ export default function HeaderNav() { | ||
| 41 | 41 | return ( |
| 42 | 42 | <> |
| 43 | 43 | {/* nav pilule — desktop */} |
| 44 | − <nav className="hidden items-center gap-1 md:flex"> | |
| 44 | + <nav className="hidden items-center gap-1 lg:flex"> | |
| 45 | 45 | {items.map((it) => ( |
| 46 | 46 | <Link |
| 47 | 47 | key={it.href} |
@@ -58,7 +58,7 @@ export default function HeaderNav() { | ||
| 58 | 58 | </nav> |
| 59 | 59 | |
| 60 | 60 | {/* ---- menu mobile : checkbox cachée + peer-checked, zéro JS requis ---- */} |
| 61 | − <div className="md:hidden"> | |
| 61 | + <div className="lg:hidden"> | |
| 62 | 62 | <input |
| 63 | 63 | ref={box} |
| 64 | 64 | type="checkbox" |
| 65 | 65 | |