🧱 Pieds de pageGratuit · 0 NahnahPar NAHNAH AI
Pied de page minimal
Une seule bande sobre : nom de la boutique, liens du menu en ligne, logos de paiement et copyright. Parfait pour une boutique d’un seul produit.
Aperçu en direct
Données de démonstration (produits, menus, textes d’exemple) : dans ta boutique, ce sont les tiennes.
Photos : Unsplash / Pexels (exemples de l’aperçu, jamais inclus dans le code).
Code à copier
Fichier complet sections/nahnah-footer-minimal.liquid (Liquid, CSS et JS inclus).
{%- comment -%} NAHNAH AI · Pied de page minimal (bibliothèque Sections & effets) {%- endcomment -%}
<div class="nn-footer-minimal" style="--nn-mh: {{ section.settings.marge_haut }}px; --nn-mb: {{ section.settings.marge_bas }}px; --nn-fond: {{ section.settings.couleur_fond }}; --nn-texte: {{ section.settings.couleur_texte }}; --nn-accent: {{ section.settings.couleur_accent }}; --nn-bouton: {{ section.settings.couleur_bouton }}; --nn-texte-bouton: {{ section.settings.couleur_texte_bouton }};">
<div class="nn-footer-minimal__int nn-footer-minimal__ligne">
<a class="nn-footer-minimal__nom" href="{{ routes.root_url }}">{{ shop.name | escape }}</a>
<nav class="nn-footer-minimal__nav" aria-label="Liens du pied de page">
<ul class="nn-footer-minimal__liens" role="list">
{%- for link in section.settings.menu.links -%}
<li><a href="{{ link.url }}"{% if link.current %} aria-current="page"{% endif %}>{{ link.title | escape }}</a></li>
{%- endfor -%}
</ul>
</nav>
{%- if section.settings.paiement -%}
<ul class="nn-footer-minimal__paiement" role="list" aria-label="Moyens de paiement acceptés">
{%- for type in shop.enabled_payment_types -%}
<li>{{ type | payment_type_svg_tag: class: 'nn-footer-minimal__carte' }}</li>
{%- endfor -%}
</ul>
{%- endif -%}
</div>
<div class="nn-footer-minimal__int nn-footer-minimal__ligne nn-footer-minimal__ligne--bas">
<p class="nn-footer-minimal__copyright">© {{ 'now' | date: '%Y' }} {{ shop.name | escape }}{% if section.settings.mentions != blank %} · {{ section.settings.mentions | escape }}{% endif %}</p>
{%- if section.settings.politiques and shop.policies.size > 0 -%}
<ul class="nn-footer-minimal__politiques" role="list">
{%- for politique in shop.policies -%}
<li><a href="{{ politique.url }}">{{ politique.title | escape }}</a></li>
{%- endfor -%}
</ul>
{%- endif -%}
</div>
</div>
{% schema %}
{
"name": "Pied de page minimal",
"tag": "footer",
"class": "nn-section-footer-minimal",
"settings": [
{
"type": "link_list",
"id": "menu",
"label": "Menu",
"default": "footer"
},
{
"type": "header",
"content": "Bas de page"
},
{
"type": "checkbox",
"id": "paiement",
"label": "Afficher les logos de paiement",
"default": true
},
{
"type": "checkbox",
"id": "politiques",
"label": "Afficher les liens des politiques (CGV, retours…)",
"default": false
},
{
"type": "text",
"id": "mentions",
"label": "Mention après le copyright (vide : masquée)",
"default": "Tous droits réservés"
},
{
"type": "header",
"content": "Couleurs"
},
{
"type": "color",
"id": "couleur_fond",
"label": "Fond",
"default": "#FFFFFF"
},
{
"type": "color",
"id": "couleur_texte",
"label": "Texte",
"default": "#18181B"
},
{
"type": "color",
"id": "couleur_accent",
"label": "Accent",
"default": "#18181B"
},
{
"type": "color",
"id": "couleur_bouton",
"label": "Bouton",
"default": "#18181B"
},
{
"type": "color",
"id": "couleur_texte_bouton",
"label": "Texte du bouton",
"default": "#FFFFFF"
},
{
"type": "header",
"content": "Espacement"
},
{
"type": "range",
"id": "marge_haut",
"label": "Marge haute",
"min": 0,
"max": 120,
"step": 4,
"unit": "px",
"default": 28
},
{
"type": "range",
"id": "marge_bas",
"label": "Marge basse",
"min": 0,
"max": 120,
"step": 4,
"unit": "px",
"default": 28
}
],
"presets": [
{
"name": "Pied de page minimal"
}
]
}
{% endschema %}
{% stylesheet %}
.nn-footer-minimal {
position: relative;
display: block;
padding: var(--nn-mh) 0 var(--nn-mb);
background: var(--nn-fond);
color: var(--nn-texte);
font-size: 15px;
line-height: 1.6;
overflow-x: clip;
}
.nn-footer-minimal *, .nn-footer-minimal *::before, .nn-footer-minimal *::after { box-sizing: border-box; }
.nn-footer-minimal a { color: inherit; }
.nn-footer-minimal :where(a, button, summary, input):focus-visible { outline: 3px solid var(--nn-accent); outline-offset: 2px; }
.nn-footer-minimal summary { list-style: none; cursor: pointer; }
.nn-footer-minimal summary::-webkit-details-marker { display: none; }
.nn-footer-minimal__vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nn-footer-minimal__int { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 750px) { .nn-footer-minimal__int { padding-inline: 32px; } }
.nn-footer-minimal__titre { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.nn-footer-minimal__liens, .nn-footer-minimal__politiques { margin: 0; padding: 0; list-style: none; }
.nn-footer-minimal__liens a, .nn-footer-minimal__politiques a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; opacity: 0.82; transition: opacity 0.2s ease, color 0.2s ease; }
@media (hover: hover) { .nn-footer-minimal__liens a:hover, .nn-footer-minimal__politiques a:hover { opacity: 1; color: var(--nn-accent); } }
.nn-footer-minimal__liens a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nn-footer-minimal__politiques { display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 13px; }
.nn-footer-minimal__reseaux { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nn-footer-minimal__reseau { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--nn-texte) 22%, transparent); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
@media (hover: hover) { .nn-footer-minimal__reseau:hover { border-color: var(--nn-accent); color: var(--nn-accent); transform: translateY(-2px); } }
.nn-footer-minimal__externe { width: 14px; height: 14px; }
.nn-footer-minimal__paiement { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nn-footer-minimal__carte { display: block; width: 38px; height: 24px; }
.nn-footer-minimal--tuiles .nn-footer-minimal__paiement li { padding: 3px; border-radius: 6px; background: #fff; line-height: 0; }
.nn-footer-minimal__copyright { margin: 0; font-size: 13px; opacity: 0.75; }
.nn-footer-minimal__form { margin: 0; }
.nn-footer-minimal__groupe { display: flex; flex-wrap: wrap; gap: 8px; }
.nn-footer-minimal__champ { flex: 1 1 200px; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--nn-texte) 25%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--nn-texte) 4%, var(--nn-fond)); color: inherit; font: inherit; font-size: 16px; }
.nn-footer-minimal__champ::placeholder { color: inherit; opacity: 0.55; }
.nn-footer-minimal__champ:focus { outline: none; border-color: var(--nn-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nn-accent) 25%, transparent); }
.nn-footer-minimal__envoyer { flex: 0 0 auto; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--nn-bouton); color: var(--nn-texte-bouton); font: inherit; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
@media (hover: hover) { .nn-footer-minimal__envoyer:hover { transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--nn-bouton) 35%, transparent); } }
.nn-footer-minimal__retour { margin: 10px 0 0; font-weight: 600; color: var(--nn-accent); }
.nn-footer-minimal__retour--erreur { color: #E5484D; }
.nn-footer-minimal__rgpd { margin: 8px 0 0; font-size: 12px; opacity: 0.65; }
.nn-footer-minimal { border-top: 1px solid color-mix(in srgb, var(--nn-texte) 12%, transparent); }
.nn-footer-minimal__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.nn-footer-minimal__ligne--bas { margin-top: 12px; }
.nn-footer-minimal__nom { font-size: 17px; font-weight: 800; text-decoration: none; }
.nn-footer-minimal__nav { flex: 1 1 auto; }
.nn-footer-minimal__liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; }
.nn-footer-minimal__liens a { font-size: 14px; }
@media (max-width: 749px) { .nn-footer-minimal__ligne { flex-direction: column; text-align: center; } }
@media (prefers-reduced-motion: reduce) {
.nn-footer-minimal, .nn-footer-minimal *, .nn-footer-minimal *::before, .nn-footer-minimal *::after {
animation: none !important;
transition: none !important;
}
}
{% endstylesheet %}
Licence NAHNAH AI : utilisation libre dans tes boutiques (y compris commerciales), modification permise, revente de l’élément seul interdite.
Prompt à copier
À coller dans Claude ou ChatGPT avec le fichier téléchargé (ou le code copié) : l’assistant t’aide à l’installer et à l’adapter à ta marque.
Tu es un expert des thèmes Shopify Online Store 2.0. Aide-moi à installer puis à adapter à ma marque cet élément gratuit de la bibliothèque NAHNAH AI.
Élément : « Pied de page minimal » (Pieds de page)
Description : Une seule bande sobre : nom de la boutique, liens du menu en ligne, logos de paiement et copyright. Parfait pour une boutique d’un seul produit.
Page de l’élément (aperçu en direct) : https://ai.nahnah.shop/bibliotheque-shopify/footer-minimal
Fichier : nahnah-footer-minimal.liquid (bouton « Télécharger » de la page) ou le code copié avec le bouton « Copier » : je te le joins ou je le colle après ce message.
Emplacement dans le thème : sections/nahnah-footer-minimal.liquid (Liquid, puis {% stylesheet %} et {% javascript %}, dans ce seul fichier).
Étapes d’installation :
1. Dans Shopify : Boutique en ligne → Thèmes → bouton « … » du thème → Modifier le code.
2. Dossier « sections » → « Ajouter une section » (ou « Nouveau fichier ») → nomme-la « nahnah-footer-minimal ».
3. Efface le contenu proposé, colle le code de l’onglet Liquid (fichier complet), puis Enregistrer.
4. Ouvre Personnaliser → Ajouter une section → choisis-la, règle les textes et les couleurs, puis Enregistrer.
Ce que j’attends de toi :
- Guide-moi pas à pas dans Shopify : Boutique en ligne → Thèmes → « … » → Modifier le code → dossier sections → Ajouter une section, puis Personnaliser → Ajouter une section.
- Propose-moi d’adapter les couleurs, les textes et les liens à ma marque : demande d’abord mes couleurs (codes hexadécimaux), mon ton et mes liens.
- Garde le bloc {% schema %} et tous ses réglages (identifiants, types, presets) : je dois pouvoir tout régler ensuite dans l’éditeur de thème.
- Rends-moi le fichier complet modifié, prêt à coller, sans faux avis, fausse urgence ni chiffre inventé.
Si tu as le connecteur NAHNAH AI (MCP), récupère directement le code exact avec l’outil obtenir_code_element (id : footer-minimal).Installer dans ma boutique
En un clic, la section est ajoutée à un thème de ta boutique Shopify connectée (un thème non publié par défaut).
Chargement de tes boutiques…
Installer dans Shopify
- Dans Shopify : Boutique en ligne → Thèmes → bouton « … » du thème → Modifier le code.
- Dossier « sections » → « Ajouter une section » (ou « Nouveau fichier ») → nomme-la « nahnah-footer-minimal ».
- Efface le contenu proposé, colle le code de l’onglet Liquid (fichier complet), puis Enregistrer.
- Ouvre Personnaliser → Ajouter une section → choisis-la, règle les textes et les couleurs, puis Enregistrer.
Installer via le MCP
Depuis Claude, Claude Code ou ChatGPT connecté à NAHNAH AI, demande : « Donne-moi le code de l’élément footer-minimal de la bibliothèque NAHNAH AI et les étapes pour l’installer ». L’assistant récupère le code et les étapes (outil obtenir_code_element), gratuitement.
Boutique connectée à NAHNAH AI : l’assistant peut aussi l’installer directement (outil installer_element).
Connecter le MCP