FEATURE_QUOTE=false
FEATURE_NEWS=false
FEATURE_SEARCH=false
+FEATURE_I18N=false
FEATURE_QUOTE=false
FEATURE_NEWS=false
FEATURE_SEARCH=false
+FEATURE_I18N=false
'search' => env('FEATURE_SEARCH', true),
'quote' => env('FEATURE_QUOTE', true),
'news' => env('FEATURE_NEWS', true),
+ 'i18n' => env('FEATURE_I18N', true),
];
</a>
</p>
- <link-button href="#" class="align-middle">{{__('Ajouter à ma sélection')}}</link-button>
- <span
- class="font-display text-lg inline-block align-middle rounded-full border-grey-dark border-2 h-8 w-8 text-center ml-6">?</span>
+ @if(config('features.quote'))
+ <link-button href="#" class="align-middle">{{__('Ajouter à ma sélection')}}</link-button>
+
+ <span
+ class="font-display text-lg inline-block align-middle rounded-full border-grey-dark border-2 h-8 w-8 text-center ml-6">?</span>
+ @endif
</text-block>
-<span class="cart-header-title">My Selection</span>
-<span class="cart-header-icon" v-html="cartItemCount"></span>
+@if(config('features.quote'))
+ <span class="cart-header-title">My Selection</span>
+ <span class="cart-header-icon" v-html="cartItemCount"></span>
+@endif
+
</header>
-<search placeholder="{{ __('Rechercher ...') }}">
- <template v-slot:link>
- @svg('search')
- </template>
- <template v-slot:button>
- @svg('search', 'fill-current text-navy w-6 h-6 hover:text-blue')
- </template>
-</search>
+@if(config('features.search'))
+ <search placeholder="{{ __('Rechercher ...') }}">
+ <template v-slot:link>
+ @svg('search')
+ </template>
+ <template v-slot:button>
+ @svg('search', 'fill-current text-navy w-6 h-6 hover:text-blue')
+ </template>
+ </search>
+@endif