- Add public organizers list page (/organisateurs) with neo-brutalist card grid, social icons, and logo display
- Add organizer detail page (/organisateur/{id}-{slug}) with company info, SIRET, email, address, social links, and events placeholder
- Add slug-based URLs with 301 redirect on wrong slug, getSlug() method on User entity
- Add "Voir les evenements" button on organizer cards linking to detail page
- Add JSON-LD BreadcrumbList to all 17 pages that were missing breadcrumbs (login, forgot_password, register_success, email_verified, legal/*, attestation/*, account/*)
- Add Open Graph meta tags (og:title, og:description, og:image, og:type, og:locale, og:site_name) in base.html.twig with automatic inheritance from title/description blocks
- Add og:image with organizer logo on detail page
- Update sitemap: add /organisateurs to sitemap-main, generate organizer detail URLs in sitemap-orgas with logo images
- Update navbar to highlight "Organisateurs" on detail pages
- Redesign homepage with hero section, marquee, stats counters, how-it-works, and CTA sections
- Add Tailwind v4 @source "../templates" directive to app.scss and admin.scss
- Migrate Flysystem from S3 to local storage (uploads/events, uploads/logos)
- Update Liip Imagine config with FormatExtensionResolver for webp conversion
- Add User entity social fields (website, facebook, instagram, twitter, tiktok), logo upload (Vich), __serialize/__unserialize for session safety
- Add account page settings tab with profile, logo upload, and social media for organizers
- Add Stripe Connect status display and sub-account management in account page
- Delete WebpExtensionSubscriber (replaced by FormatExtensionResolver)
- Add migration for social fields and logo columns
- Add deploy.yml chmod tasks for uploads directories
- Add HomeController tests (detail success, wrong slug redirect, 404 cases)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
88 lines
2.5 KiB
PHP
88 lines
2.5 KiB
PHP
<?php
|
|
|
|
namespace App\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Symfony\Component\Routing\Attribute\Route;
|
|
|
|
class LegalController extends AbstractController
|
|
{
|
|
#[Route('/mentions-legales', name: 'app_mentions_legales')]
|
|
public function mentionsLegales(): Response
|
|
{
|
|
return $this->render('legal/mentions_legales.html.twig', [
|
|
'breadcrumbs' => [
|
|
['name' => 'Accueil', 'url' => '/'],
|
|
['name' => 'Mentions legales', 'url' => '/mentions-legales'],
|
|
],
|
|
]);
|
|
}
|
|
|
|
#[Route('/cgu', name: 'app_cgu')]
|
|
public function cgu(): Response
|
|
{
|
|
return $this->render('legal/cgu.html.twig', [
|
|
'breadcrumbs' => [
|
|
['name' => 'Accueil', 'url' => '/'],
|
|
['name' => 'CGU', 'url' => '/cgu'],
|
|
],
|
|
]);
|
|
}
|
|
|
|
#[Route('/cgv', name: 'app_cgv')]
|
|
public function cgv(): Response
|
|
{
|
|
return $this->render('legal/cgv.html.twig', [
|
|
'breadcrumbs' => [
|
|
['name' => 'Accueil', 'url' => '/'],
|
|
['name' => 'CGV', 'url' => '/cgv'],
|
|
],
|
|
]);
|
|
}
|
|
|
|
#[Route('/hebergement', name: 'app_hosting')]
|
|
public function hosting(): Response
|
|
{
|
|
return $this->render('legal/hosting.html.twig', [
|
|
'breadcrumbs' => [
|
|
['name' => 'Accueil', 'url' => '/'],
|
|
['name' => 'Hebergement', 'url' => '/hebergement'],
|
|
],
|
|
]);
|
|
}
|
|
|
|
#[Route('/cookies', name: 'app_cookies')]
|
|
public function cookies(): Response
|
|
{
|
|
return $this->render('legal/cookies.html.twig', [
|
|
'breadcrumbs' => [
|
|
['name' => 'Accueil', 'url' => '/'],
|
|
['name' => 'Politique de cookies', 'url' => '/cookies'],
|
|
],
|
|
]);
|
|
}
|
|
|
|
#[Route('/rgpd', name: 'app_rgpd')]
|
|
public function rgpd(): Response
|
|
{
|
|
return $this->render('legal/rgpd.html.twig', [
|
|
'breadcrumbs' => [
|
|
['name' => 'Accueil', 'url' => '/'],
|
|
['name' => 'Politique RGPD', 'url' => '/rgpd'],
|
|
],
|
|
]);
|
|
}
|
|
|
|
#[Route('/conformite', name: 'app_conformite')]
|
|
public function conformite(): Response
|
|
{
|
|
return $this->render('legal/conformite.html.twig', [
|
|
'breadcrumbs' => [
|
|
['name' => 'Accueil', 'url' => '/'],
|
|
['name' => 'Conformite', 'url' => '/conformite'],
|
|
],
|
|
]);
|
|
}
|
|
}
|