ldc-boutique-cnc/config/theme.php
2023-02-02 16:57:12 +01:00

82 lines
2.7 KiB
PHP

<?php
return array_replace_recursive(
[
'theme_name' => 'basic',
'site_name' => 'Boutique Basic',
'company' => 'Basic',
'analytics' => '',
'models' => [
'product' => [
'picture_maxwidth' => 235,
'picture_maxheight' => 235,
'picture_large_maxwidth' => 550,
'picture_large_maxheight' => 550
],
'ranges' => [
'picture_maxwidth' => 476,
'picture_maxheight' => 355,
'picture_large_maxwidth' => 550,
'picture_large_maxheight' => 550
],
'static_pages' => [
'banner_maxwidth' => 1180,
'banner_maxheight' => 290
],
'slides' => [
'picture_maxwidth' => 1180,
'picture_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' => [],
'max_product_title_length' => '30',
'register_mode' => [
0 => 'public'
],
'multi_relay' => 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' => []
],
require(resource_path('theme/theme.config.php')),
);