nouveau-theatre-de-besancon/site/config/config.php
2024-09-12 14:57:54 +02:00

51 lines
No EOL
1.6 KiB
PHP

<?php
return [
'debug' => true,
'thumbs' => [
'quality' => 80,
'presets' => [
'default' => [
'width' => 1024, 'format' => 'webp'
],
'full' => 2048, 'format' => 'webp'
],
'srcsets' => [
'default' => [
'200w' => ['width' => 400],
'400w' => ['width' => 800],
'800w' => ['width' => 1600],
'1024w' => ['width' => 2048],
'1440w' => ['width' => 2880],
'2048w' => ['width' => 4096]
],
'webp' => [
'200w' => ['width' => 400, 'format' => 'webp'],
'400w' => ['width' => 800, 'format' => 'webp'],
'800w' => ['width' => 1600, 'format' => 'webp'],
'1024w' => ['width' => 2048, 'format' => 'webp'],
'1440w' => ['width' => 2880, 'format' => 'webp'],
'2048w' => ['width' => 4096, '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/',
];