ldc-theme-default/theme.config.php
2023-11-21 12:27:54 +01:00

74 lines
2.1 KiB
PHP

<?php
return [
'theme_name' => 'base',
'site_name' => config('app.name'),
'models' => [
'slides' => [
'picture_maxwidth' => 1180,
'picture_maxheight' => 290
],
'products' => [
'picture_maxwidth' => 550,
'picture_maxheight' => 550,
],
'ranges' => [
'picture_maxwidth' => 476,
'picture_maxheight' => 355,
],
'static_pages' => [
'banner_maxwidth' => 1180,
'banner_maxheight' => 290
],
],
// * MINICRUD INPUTS
/**
* ! Attention toute modification après la mise en
* ! production doit faire l'objet d'une migration
* ! pour réaligner le contenu du champ data
* ! pour chaque type de produit
* ! sous peine de de tout casser
*
* eg inside 'types'
* [
* 'type' => [
* 'value' => 'tools',
* 'label' => 'Outils'
* ],
* 'data' => [
* 'poids' => [
* 'label' => 'Poid de l\'outil',
* 'inputType' => InputType::number(),
* 'value' => 0,
* 'validate' => 'numeric|min:0'
* ],
* ]
* ],
*/
'types' => [
// Pas de spécificité.
],
'max_product_title_length' => '30',
'register_mode' => ['public'],
'multi_relay' => 1,
'quick_order_page' => 1,
/**
* bo settings
* Specify Here if some settins are to be managed in the back office
* ! Pour synchroniser les paramètres de themes il faut
* ! utiliser la commande 'php artisan config:sync_theme'
*
* * CF Minicrud inputs
*
* eg :
*
* 'theme_display_facebook_button' => [
* 'label' => 'Afficher bouton facebook',
* 'inputType' => \App\Enums\InputType::boolean()->jsonSerialize(),
* 'value' => false,
* 'helper' => 'Afficher ou non le lien facebook dans le footer.',
* 'tooltip' => 'Vous devrez renseigner le champ de la page facebook'
* ],
*/
'bo_theme_settings' => []
];