Files
crm_ecosplay/templates/base.html.twig
Serreau Jovann 6fa970e60d refactor: rebrand project to CRM SITECONSEIL (SARL SITECONSEIL)
- Rename all references from E-Cosplay/Ecosplay to SITECONSEIL
- Update entity from Association to SARL SITECONSEIL (Siret: 418664058)
- Update address to 27 rue Le Serurier, 02100 Saint-Quentin
- Update emails: contact@siteconseil.fr, rgpd@siteconseil.fr
- Update hosting from GCP to OVHcloud (Roubaix, Gravelines, Strasbourg, Paris)
- Update legal pages: mentions legales, CGV, RGPD, conformite, hebergement, cookies, CGU
- Add tarifs page with tabs: Site Internet, E-Commerce, Nom de domaine, Esy-Mail, Esy-Mailer, Esy-Tchat, Esy-Meet, Esy-Defender
- Add Discord webhook notification workflow
- Disable deploy and sonarqube workflows
- Update OAuth Keycloak realm to master
- Update logo references to logo_facture.png
- Remove forced image sizing in Liip Imagine filters
- Update SonarQube project key and badge token
- Update tribunal competent to Saint-Quentin
- Move tarif tabs JS to app.js (CSP compliance)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 18:48:25 +02:00

192 lines
13 KiB
Twig

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}CRM SITECONSEIL{% endblock %}</title>
{{ pwa() }}
{% block meta %}
<meta name="description" content="{% block description %}CRM SITECONSEIL - Plateforme de gestion de la SARL SITECONSEIL{% endblock %}">
{% endblock %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "CRM SITECONSEIL",
"url": "https://crm.siteconseil.fr",
"logo": "https://crm.siteconseil.fr/logo_facture.png",
"email": "contact@siteconseil.fr",
"telephone": "+33679348802",
"address": {
"@type": "PostalAddress",
"streetAddress": "27 rue Le Sérurier",
"addressLocality": "Saint-Quentin",
"postalCode": "02100",
"addressCountry": "FR"
},
"sameAs": [
"https://www.siteconseil.fr"
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "CRM SITECONSEIL",
"url": "https://crm.siteconseil.fr"
}
</script>
{% if breadcrumbs is defined and breadcrumbs is not empty %}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{% for breadcrumb in breadcrumbs %}
{
"@type": "ListItem",
"position": {{ loop.index }},
"name": {{ breadcrumb.name|json_encode|raw }}{% if not loop.last and breadcrumb.url is defined and breadcrumb.url is not empty %},
"item": {{ absolute_url(breadcrumb.url)|json_encode|raw }}{% endif %}
}{% if not loop.last %},{% endif %}
{% endfor %}
]
}
</script>
{% endif %}
{% block og %}
<meta property="og:title" content="{% block og_title %}{{ block('title') }}{% endblock %}">
<meta property="og:description" content="{% block og_description %}{{ block('description') }}{% endblock %}">
<meta property="og:type" content="{% block og_type %}website{% endblock %}">
<meta property="og:url" content="{{ app.request.uri }}">
<meta property="og:locale" content="fr_FR">
<meta property="og:site_name" content="CRM SITECONSEIL">
{% block og_image %}
<meta property="og:image" content="https://crm.siteconseil.fr/logo_facture.png">
{% endblock %}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{{ block('og_title') }}">
<meta name="twitter:description" content="{{ block('og_description') }}">
{% endblock %}
{% block stylesheets %}{% endblock %}
{% block javascripts %}
{{ vite_asset('app.js') }}
{% endblock %}
{% block head %}{% endblock %}
</head>
<body class="{% block body_class %}min-h-screen flex flex-col{% endblock %} bg-[#fbfbfb] text-[#111827]">
{% block header %}
<header class="sticky top-0 z-50 bg-white border-b-4 border-gray-900">
<nav class="mx-auto px-4 lg:px-8" role="navigation" aria-label="Navigation principale" itemscope itemtype="https://schema.org/SiteNavigationElement">
<div class="flex justify-between items-center h-20">
<div class="flex-shrink-0">
<a href="{{ path('app_home') }}" class="flex items-center group" aria-label="CRM SITECONSEIL - Retour a l'accueil">
<img class="h-10 md:h-14 w-auto" src="{{ 'logo_facture.png' | imagine_filter('navbar_logo') }}" alt="CRM SITECONSEIL" loading="eager">
</a>
</div>
<div class="hidden lg:flex items-center space-x-1">
{% set current_route = app.request.attributes.get('_route') %}
<a href="{{ path('app_home') }}" itemprop="url" class="px-3 py-2 text-xs font-black uppercase tracking-widest transition-all {{ current_route == 'app_home' ? 'bg-yellow-400 border-2 border-gray-900 shadow-[2px_2px_0px_rgba(0,0,0,1)]' : 'hover:text-indigo-600' }}"><span itemprop="name">Accueil</span></a>
</div>
<div class="flex items-center space-x-4 border-l-4 border-gray-900 pl-6 h-full">
<div class="flex items-center gap-2">
{% if app.user %}
<a href="{{ path('app_espace_client_index') }}" class="px-3 py-1.5 border-2 border-gray-900 bg-[#fabf04] text-gray-900 text-xs font-black uppercase tracking-widest hover:bg-yellow-500 transition-all hidden lg:inline-flex">Espace Client</a>
<a href="{{ path('app_espace_prestataire_index') }}" class="px-3 py-1.5 border-2 border-gray-900 bg-white text-gray-900 text-xs font-black uppercase tracking-widest hover:bg-gray-900 hover:text-white transition-all hidden lg:inline-flex">Espace Prestataire</a>
<a href="#" class="p-2 border-2 border-gray-900 bg-white text-gray-900 hover:bg-gray-900 hover:text-white transition-all flex items-center justify-center" aria-label="Mon compte">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/></svg>
</a>
{% else %}
<a href="{{ path('app_home') }}" class="p-2 border-2 border-gray-900 bg-white text-gray-900 hover:bg-gray-900 hover:text-white transition-all flex items-center justify-center" aria-label="Connexion">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/></svg>
</a>
{% endif %}
<button id="mobile-menu-btn" class="lg:hidden p-2 border-2 border-gray-900 bg-yellow-400" aria-label="Ouvrir le menu de navigation" aria-expanded="false" aria-controls="mobile-menu">
<svg id="menu-icon-open" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M4 6h16M4 12h16M4 18h16"/></svg>
<svg id="menu-icon-close" class="w-5 h-5 hidden" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M6 18L18 6M6 6l12 12"/></svg>
</button>
</div>
</div>
</div>
</nav>
<div id="mobile-menu" class="hidden lg:hidden border-t-4 border-gray-900 bg-white" role="menu">
<div class="p-4 space-y-2 uppercase font-black italic">
<a href="{{ path('app_home') }}" class="block p-3 border-2 {{ current_route == 'app_home' ? 'border-gray-900 bg-yellow-400' : 'border-transparent hover:border-gray-900 hover:bg-gray-50' }}" role="menuitem">Accueil</a>
{% if app.user %}
<a href="#" class="block p-3 border-2 border-transparent hover:border-gray-900 hover:bg-gray-50" role="menuitem">Espace Client</a>
<a href="#" class="block p-3 border-2 border-transparent hover:border-gray-900 hover:bg-gray-50" role="menuitem">Espace Prestataire</a>
{% else %}
<a href="{{ path('app_home') }}" class="block p-3 border-2 border-gray-900 bg-[#fabf04] text-center" role="menuitem">Connexion</a>
{% endif %}
</div>
</div>
</header>
{% endblock %}
{% block main %}
<main class="flex-1 {% block main_class %}{% endblock %}">
{% block body %}{% endblock %}
</main>
{% endblock %}
<footer class="bg-yellow-400 border-t-8 border-gray-900 text-gray-900 mt-auto">
<div class="max-w-7xl mx-auto py-12 px-4">
<div class="flex flex-wrap gap-12 pb-12 mb-12 border-b-4 border-gray-900">
<div class="flex-1 min-w-[280px]">
<h3 class="text-3xl font-black uppercase tracking-tighter italic border-b-4 border-gray-900 inline-block mb-4">Nous Contacter</h3>
<p class="font-bold text-lg leading-snug">27 RUE LE SÉRURIER<br>02100 SAINT-QUENTIN, FRANCE</p>
<a href="mailto:contact@siteconseil.fr" class="inline-block mt-4 px-4 py-2 bg-gray-900 text-white font-black uppercase text-sm hover:bg-indigo-600 transition-colors">
contact@siteconseil.fr
</a>
</div>
<div class="flex-1 min-w-[280px]">
<h3 class="text-3xl font-black uppercase tracking-tighter italic border-b-4 border-gray-900 inline-block mb-4">CRM SITECONSEIL</h3>
<p class="font-bold text-gray-800 italic leading-normal">
CRM SITECONSEIL est la plateforme de relation entre
SITECONSEIL, ses clients et ses revendeurs.
Retrouvez vos factures, commandes et devis directement en un seul endroit.
</p>
</div>
</div>
<div class="flex flex-col sm:flex-row flex-wrap justify-between items-start sm:items-center gap-6">
<div>
<p class="font-black uppercase text-sm">&copy; {{ "now"|date("Y") }} CRM SITECONSEIL.</p>
<p class="text-[11px] font-bold opacity-80">Solution proposee par la <a href="https://www.siteconseil.fr" class="underline hover:no-underline">SARL SITECONSEIL</a></p>
<p class="text-[10px] font-bold opacity-70">Siret : 418 664 058</p>
</div>
<div class="flex flex-wrap gap-2">
<a href="{{ path('app_legal_mention_legal') }}" class="text-[10px] px-2 py-1 font-black uppercase bg-gray-900 text-white hover:bg-indigo-600 transition-colors">Mentions Legales</a>
<a href="{{ path('app_legal_cookie') }}" class="text-[10px] px-2 py-1 font-black uppercase bg-gray-900 text-white hover:bg-indigo-600 transition-colors">Politique de Cookies</a>
<a href="{{ path('app_legal_cgu') }}" class="text-[10px] px-2 py-1 font-black uppercase bg-gray-900 text-white hover:bg-indigo-600 transition-colors">CGU</a>
<a href="{{ path('app_legal_cgv') }}" class="text-[10px] px-2 py-1 font-black uppercase bg-gray-900 text-white hover:bg-indigo-600 transition-colors">CGV</a>
<a href="{{ path('app_legal_rgpd') }}" class="text-[10px] px-2 py-1 font-black uppercase bg-gray-900 text-white hover:bg-indigo-600 transition-colors">Politique RGPD</a>
<a href="{{ path('app_legal_hebergement') }}" class="text-[10px] px-2 py-1 font-black uppercase bg-gray-900 text-white hover:bg-indigo-600 transition-colors">Hebergement</a>
<a href="{{ path('app_legal_tarif') }}" class="text-[10px] px-2 py-1 font-black uppercase bg-gray-900 text-white hover:bg-indigo-600 transition-colors">Tarifs</a>
<a href="{{ path('app_legal_conformite') }}" class="text-[10px] px-2 py-1 font-black uppercase bg-gray-900 text-white hover:bg-indigo-600 transition-colors">Conformite</a>
<a href="{{ path('app_status') }}" class="text-[10px] px-2 py-1 font-black uppercase bg-gray-900 text-white hover:bg-indigo-600 transition-colors">Status</a>
</div>
</div>
</div>
</footer>
<div id="cookie-banner" class="hidden fixed bottom-0 left-0 right-0 z-50 border-t-4 border-gray-900 bg-white p-4">
<div class="max-w-4xl mx-auto flex flex-col sm:flex-row items-center justify-between gap-4">
<p class="text-sm font-bold text-gray-700">
Ce site utilise des cookies pour mesurer l'audience. <a href="{{ path('app_legal_cookie') }}" class="text-indigo-800 underline hover:text-indigo-950">En savoir plus</a>
</p>
<div class="flex gap-2">
<button id="cookie-refuse" class="px-4 py-2 border-2 border-gray-900 bg-white font-black uppercase text-xs tracking-widest hover:bg-gray-100 transition-all cursor-pointer">Refuser</button>
<button id="cookie-accept" class="px-4 py-2 border-2 border-gray-900 bg-[#fabf04] font-black uppercase text-xs tracking-widest hover:bg-indigo-600 hover:text-white transition-all cursor-pointer">Accepter</button>
</div>
</div>
</div>
</body>
</html>