nouveau-theatre-de-besancon/site/config/config.php
2024-09-19 14:47:46 +02:00

49 lines
No EOL
1.6 KiB
PHP

<?php
return [
'debug' => true,
'thumbs' => [
'quality' => 80,
'presets' => [
'grid' => 400,
'default' => [
'width' => 1024, 'format' => 'webp'
],
'full' => 2048,
'format' => 'webp'
],
'srcsets' => [
'default' => [200, 400, 600, 800, 1024, 1440, 2048],
'webp' => [
'200w' => ['width' => 200 * 1.5, 'format' => 'webp'],
'400w' => ['width' => 400 * 1.5, 'format' => 'webp'],
'600w' => ['width' => 600 * 1.5, 'format' => 'webp'],
'800w' => ['width' => 800 * 1.5, 'format' => 'webp'],
'1024w' => ['width' => 1024 * 1.5, 'format' => 'webp'],
'1440w' => ['width' => 1440 * 1.5, 'format' => 'webp'],
'2048w' => ['width' => 2048 * 1.5, 'format' => 'webp']
],
],
],
'panel' => [
'css' => 'assets/css/panel.css'
],
'routes' => [
require_once(__DIR__ . '/routes/mapado-api.php'),
require_once(__DIR__ . '/routes/get-current-season-calendar.php'),
require_once(__DIR__ . '/routes/update-mapado-event.php'),
require_once(__DIR__ . '/routes/mapado-fetch.php'),
require_once(__DIR__ . '/routes/brevo-create-contact.php'),
require_once(__DIR__ . '/routes/virtual-search.php')
],
'hooks' => [
'page.update:after' => require_once(__DIR__ . '/hooks/update-mapado-event.php')
],
'date' => [
'handler' => 'intl'
],
'locale' => 'fr_FR.UTF-8',
'ticketingUrl' => 'https://cdn-besancon.mapado.com/',
'tobimori.seo.canonicalBase' => 'https://ntbesancon.fr',
'tobimori.seo.lang' => 'fr_FR',
];