Templates modified: - templates/base.html.twig: header frosted glass (glass-heavy, backdrop-blur-24px), footer dark glass (glass-dark-heavy), cookie banner floating glass panel with rounded corners, all buttons converted to btn-glass/btn-gold/btn-dark classes, body background with radial gradient mesh (gold + indigo orbs), removed all border-4/border-8 thick borders, added rounded-lg corners on nav items - templates/admin/_layout.html.twig: sidebar dark glass (glass-dark-heavy), nav items with sidebar-nav-item class (rounded-lg, hover glow), active items with gold glow shadow, avatar rounded-lg, dropdown borders changed to border-white/10, mobile overlay with backdrop-blur-4px - templates/home/index.html.twig: login card with glass-heavy + glass-gold header, inputs with input-glass class (frosted blur, gold focus ring), buttons btn-gold with hover lift effect - templates/security/login.html.twig: same glass treatment as home - templates/security/2fa_*.html.twig: glass cards and inputs - templates/security/forgot_password.html.twig: glass treatment - templates/security/set_password*.html.twig: glass treatment - templates/legal/_layout.html.twig: glass header - templates/legal/tarif.html.twig: tabs converted to glass/glass-dark, all pricing cards glass/glass-gold, tables glass with rounded overflow - templates/external_redirect.html.twig: glass card SCSS (assets/app.scss): - Added CSS custom properties: --glass-bg, --glass-border, --glass-blur, --gold, --gold-glow, --radius, --shadow-glass, etc. - Added glass classes: .glass, .glass-heavy, .glass-dark, .glass-dark-heavy, .glass-gold (each with backdrop-filter, semi-transparent bg, subtle borders) - Added button classes: .btn-glass, .btn-gold, .btn-dark (with hover lift, glow shadows, smooth cubic-bezier transitions) - Added .input-glass (frosted input with gold focus ring) - Added .sidebar-nav-item with .active/.active-danger states - Added .glass-bg body class with radial gradient background - Added custom scrollbar for sidebar - Moved admin layout styles from inline <style> to SCSS JavaScript (assets/app.js): - Updated tarif tab classes from brutalist to glass Config: - .env.local: OAUTH_KEYCLOAK_REALM changed from siteconseil to master Design direction: frosted glass panels over gradient mesh background, semi-transparent surfaces, subtle 1px borders with white/20 opacity, soft box-shadows, rounded-16px corners, smooth hover transitions with translateY(-1px) lift effect, gold (#fabf04) accent glow shadows Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
190 lines
12 KiB
Twig
190 lines
12 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 %} glass-bg text-[#111827]">
|
|
{% block header %}
|
|
<header class="sticky top-0 z-50 glass-heavy" style="border-radius: 0;">
|
|
<nav class="max-w-7xl 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-16">
|
|
<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-12 w-auto" src="{{ 'logo_facture.png' | imagine_filter('navbar_logo') }}" alt="CRM SITECONSEIL" loading="eager">
|
|
</a>
|
|
</div>
|
|
|
|
<div class="hidden lg:flex items-center gap-1">
|
|
{% set current_route = app.request.attributes.get('_route') %}
|
|
<a href="{{ path('app_home') }}" itemprop="url" class="px-4 py-2 text-xs font-bold uppercase tracking-wider rounded-lg transition-all {{ current_route == 'app_home' ? 'bg-[#fabf04] text-gray-900 shadow-[0_2px_12px_rgba(250,191,4,0.3)]' : 'text-gray-600 hover:text-gray-900 hover:bg-white/50' }}"><span itemprop="name">Accueil</span></a>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-3">
|
|
{% if app.user %}
|
|
<a href="{{ path('app_espace_client_index') }}" class="btn-gold px-4 py-2 text-xs font-bold uppercase tracking-wider hidden lg:inline-flex">Espace Client</a>
|
|
<a href="{{ path('app_espace_prestataire_index') }}" class="btn-glass px-4 py-2 text-xs font-bold uppercase tracking-wider hidden lg:inline-flex">Espace Prestataire</a>
|
|
<a href="#" class="btn-glass p-2 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="btn-glass p-2 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 btn-gold p-2" 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="2" 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="2" d="M6 18L18 6M6 6l12 12"/></svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div id="mobile-menu" class="hidden lg:hidden border-t border-white/20 px-4 pb-4" role="menu">
|
|
<div class="pt-3 space-y-2">
|
|
<a href="{{ path('app_home') }}" class="block px-4 py-3 rounded-lg text-sm font-bold {{ current_route == 'app_home' ? 'bg-[#fabf04] text-gray-900' : 'text-gray-700 hover:bg-white/50' }}" role="menuitem">Accueil</a>
|
|
{% if app.user %}
|
|
<a href="{{ path('app_espace_client_index') }}" class="block px-4 py-3 rounded-lg text-sm font-bold text-gray-700 hover:bg-white/50" role="menuitem">Espace Client</a>
|
|
<a href="{{ path('app_espace_prestataire_index') }}" class="block px-4 py-3 rounded-lg text-sm font-bold text-gray-700 hover:bg-white/50" role="menuitem">Espace Prestataire</a>
|
|
{% else %}
|
|
<a href="{{ path('app_home') }}" class="block px-4 py-3 rounded-lg text-sm font-bold bg-[#fabf04] text-gray-900 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="glass-dark-heavy mt-auto text-white" style="border-radius: 0;">
|
|
<div class="max-w-7xl mx-auto py-12 px-4">
|
|
<div class="flex flex-wrap gap-12 pb-12 mb-12 border-b border-white/10">
|
|
<div class="flex-1 min-w-[280px]">
|
|
<h3 class="text-2xl font-bold mb-4 text-[#fabf04]">Nous Contacter</h3>
|
|
<p class="text-sm text-white/70 leading-relaxed">27 rue Le Serurier<br>02100 Saint-Quentin, France</p>
|
|
<a href="mailto:contact@siteconseil.fr" class="inline-block mt-4 btn-gold px-4 py-2 text-xs font-bold uppercase tracking-wider text-gray-900">
|
|
contact@siteconseil.fr
|
|
</a>
|
|
</div>
|
|
|
|
<div class="flex-1 min-w-[280px]">
|
|
<h3 class="text-2xl font-bold mb-4 text-[#fabf04]">CRM SITECONSEIL</h3>
|
|
<p class="text-sm text-white/60 leading-relaxed">
|
|
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-bold text-sm text-white/80">© {{ "now"|date("Y") }} CRM SITECONSEIL</p>
|
|
<p class="text-[11px] text-white/50 mt-1">Solution proposee par la <a href="https://www.siteconseil.fr" class="text-[#fabf04] hover:underline">SARL SITECONSEIL</a></p>
|
|
<p class="text-[10px] text-white/40 mt-0.5">Siret : 418 664 058</p>
|
|
</div>
|
|
<div class="flex flex-wrap gap-2">
|
|
<a href="{{ path('app_legal_mention_legal') }}" class="text-[10px] px-3 py-1.5 font-bold uppercase rounded-md bg-white/10 text-white/70 hover:bg-[#fabf04] hover:text-gray-900 transition-all">Mentions Legales</a>
|
|
<a href="{{ path('app_legal_cookie') }}" class="text-[10px] px-3 py-1.5 font-bold uppercase rounded-md bg-white/10 text-white/70 hover:bg-[#fabf04] hover:text-gray-900 transition-all">Cookies</a>
|
|
<a href="{{ path('app_legal_cgu') }}" class="text-[10px] px-3 py-1.5 font-bold uppercase rounded-md bg-white/10 text-white/70 hover:bg-[#fabf04] hover:text-gray-900 transition-all">CGU</a>
|
|
<a href="{{ path('app_legal_cgv') }}" class="text-[10px] px-3 py-1.5 font-bold uppercase rounded-md bg-white/10 text-white/70 hover:bg-[#fabf04] hover:text-gray-900 transition-all">CGV</a>
|
|
<a href="{{ path('app_legal_rgpd') }}" class="text-[10px] px-3 py-1.5 font-bold uppercase rounded-md bg-white/10 text-white/70 hover:bg-[#fabf04] hover:text-gray-900 transition-all">RGPD</a>
|
|
<a href="{{ path('app_legal_hebergement') }}" class="text-[10px] px-3 py-1.5 font-bold uppercase rounded-md bg-white/10 text-white/70 hover:bg-[#fabf04] hover:text-gray-900 transition-all">Hebergement</a>
|
|
<a href="{{ path('app_legal_tarif') }}" class="text-[10px] px-3 py-1.5 font-bold uppercase rounded-md bg-white/10 text-white/70 hover:bg-[#fabf04] hover:text-gray-900 transition-all">Tarifs</a>
|
|
<a href="{{ path('app_legal_conformite') }}" class="text-[10px] px-3 py-1.5 font-bold uppercase rounded-md bg-white/10 text-white/70 hover:bg-[#fabf04] hover:text-gray-900 transition-all">Conformite</a>
|
|
<a href="{{ path('app_status') }}" class="text-[10px] px-3 py-1.5 font-bold uppercase rounded-md bg-white/10 text-white/70 hover:bg-[#fabf04] hover:text-gray-900 transition-all">Status</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<div id="cookie-banner" class="hidden fixed bottom-4 left-4 right-4 z-50 glass-heavy p-4 max-w-4xl mx-auto">
|
|
<div class="flex flex-col sm:flex-row items-center justify-between gap-4">
|
|
<p class="text-sm text-gray-700">
|
|
Ce site utilise des cookies pour mesurer l'audience. <a href="{{ path('app_legal_cookie') }}" class="text-indigo-600 underline hover:text-indigo-800">En savoir plus</a>
|
|
</p>
|
|
<div class="flex gap-2">
|
|
<button id="cookie-refuse" class="btn-glass px-4 py-2 text-xs font-bold uppercase tracking-wider">Refuser</button>
|
|
<button id="cookie-accept" class="btn-gold px-4 py-2 text-xs font-bold uppercase tracking-wider text-gray-900">Accepter</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|