Transformation complète du site HookLab de formation TikTok Shop vers une landing page haute conversion pour agence web locale ciblant les artisans du bâtiment dans le Nord (Douai, Orchies, Valenciennes). - Nouveau design system : bleu nuit/orange sur fond clair (mobile-first) - Hero avec promesse artisan + CTA orange "Réserver mon Audit" - Section "Le Système" (3 étapes : Trouvé, Choisi, Contacté) - Portfolio connecté à Sanity.io (fallback data intégré) - Section "Qui suis-je" avec carte OpenStreetMap interactive - FAQ orientée artisans avec JSON-LD pour Google - Formulaire contact audit gratuit - SEO local : 12 keywords artisans, JSON-LD LocalBusiness - Sanity.io schemas (portfolio, siteSettings) + client conditionnel - Accessibilité : skip-to-content, focus-visible, aria-labels https://claude.ai/code/session_01H2aRGDaKgarPvhay2HxN6Y
44 lines
915 B
TypeScript
44 lines
915 B
TypeScript
// Sanity schema: Portfolio
|
|
// Créez ce schéma dans votre projet Sanity Studio
|
|
// Type: document
|
|
|
|
const portfolio = {
|
|
name: "portfolio",
|
|
title: "Portfolio",
|
|
type: "document",
|
|
fields: [
|
|
{
|
|
name: "title",
|
|
title: "Titre du projet",
|
|
type: "string",
|
|
description: 'Ex: "Couvreur à Arleux"',
|
|
validation: (Rule: { required: () => unknown }) => Rule.required(),
|
|
},
|
|
{
|
|
name: "slug",
|
|
title: "Slug",
|
|
type: "slug",
|
|
options: { source: "title" },
|
|
},
|
|
{
|
|
name: "image",
|
|
title: "Image du site (mockup)",
|
|
type: "image",
|
|
options: { hotspot: true },
|
|
},
|
|
{
|
|
name: "result",
|
|
title: "Résultat chiffré",
|
|
type: "string",
|
|
description: 'Ex: "+30% de devis en 3 mois"',
|
|
},
|
|
{
|
|
name: "orderRank",
|
|
title: "Ordre d'affichage",
|
|
type: "number",
|
|
},
|
|
],
|
|
};
|
|
|
|
export default portfolio;
|