SYNC 11 Settings company + name usage

This commit is contained in:
Jérémy Munsch 2023-12-01 16:13:52 +01:00
parent 6dafed516a
commit 29375ced44
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
10 changed files with 36 additions and 28 deletions

View file

@ -2,10 +2,6 @@
return [
'theme_name' => 'base',
// * Nom du site
'site_name' => config('app.name'),
// * Nom de la marque
'company' => config('app.name'),
'models' => [
'products' => [
'picture_max_width' => 550,

View file

@ -28,7 +28,11 @@
<hr class="border-tertiary d-md-none border-3 border opacity-25">
<span class="h1 fw-bold text-uppercase text-tertiary d-block mb-5">{{ __('Je me connecte') }}</span>
<p class="mb-5">{{ __('Si vous possédez déjà un compte Club Le Gaulois, vous pouvez utiliser les mêmes identifiants.') }}</p>
<p class="mb-5">
{{ __('Si vous possédez déjà un compte Club :company, vous pouvez utiliser les mêmes identifiants.', [
'company' => $settingsGlobal->company,
]) }}
</p>
<form class="needs-validation" method="POST" action="{{ route('fo.login') }}">
@csrf

View file

@ -7,12 +7,13 @@
<div class="container pb-5 pt-5">
<div class="row justify-content-center">
<div class="col-md-8">
<h1 class="fw-bold text-tertiary text-uppercase text-center">{{ __('S\'inscrire au club Le Gaulois') }}</h1>
<h1 class="fw-bold text-tertiary text-uppercase text-center">
{{ __('S\'inscrire au club :company', ['company' => $settingsGlobal->company]) }}</h1>
<form class="container-fluid" method="POST" action="{{ route('fo.register') }}">
@csrf
<div class="row mb-3">
<div class="row justify-content-center mb-3">
<div class="col-md-8">
<span class="h2 d-block text-center">{{ __("Merci de renseigner les champs ci-dessous\u{00A0}:") }}</span>
</div>
@ -210,7 +211,7 @@
<input class="form-check-input @if ($errors->has('opt_in')) is-invalid @endif me-1" id="register-optin"
name="opt_in" type="checkbox">
<label class="form-check-label fw-bold w-fit" for="register-optin" role="button">
{{ __('Je souhaite m\'inscrire à la newsletter') }} {{ Config::get('theme.site_name') }}
{{ __('Je souhaite m\'inscrire à la newsletter') }} {{ $settingsGlobal->company }}
</label>
</div>
@foreach ($errors->get('opt_in') as $message)

View file

@ -3,18 +3,19 @@
<span>{{ __('Rejoignez-nous sur') }}</span>
<div class="d-inline-block">
<div class="share d-inline-block ms-2">
<a class="btn-link" href="https://www.facebook.com/LeGauloisFrance" title="{{ __('Aller voir la page Facebook Le Gaulois') }}"
target="_blank">
<a class="btn-link" href="https://www.facebook.com/LeGauloisFrance"
title="{{ __('Aller voir la page Facebook :company', ['company' => $settingsGlobal->name]) }}" target="_blank">
@include('theme::partials.icons.facebook')
</a>
</div>
<a class="share d-inline-block btn-link text-light mx-1" href="https://www.instagram.com/legaulois_officiel/"
title="{{ __('Aller voir la page Instagram Le Gaulois') }}" target="_blank">
title="{{ __('Aller voir la page Instagram :company', ['company' => $settingsGlobal->name]) }}" target="_blank">
@include('theme::partials.icons.instagram')
</a>
</div>
<span>
{{ __('Découvrez tous nos produits sur :link', ['link' => '']) }}
<a class="link-light" href="https://www.legaulois.fr/">Legaulois.fr</a>
<a class="link-light" href="{{ $settingsGlobal->redirect_close }}"
target="_blank">{{ Str::ucfirst(parse_url($settingsGlobal->redirect_close, \PHP_URL_HOST)) }}</a>
</span>
</div>

View file

@ -33,9 +33,11 @@
</ul>
</div>
<div class="col-12 col-md-3 col-xl-2 downlink text-md-end text-center">
<a class="link-light" href="https://www.legaulois.fr/" target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-footer.png') }}" alt="Le Gaulois">
<span class="text-uppercase fw-bold mb-md-0 d-block d-md-inline mb-4">www.legaulois.fr</span>
<a class="link-light" href="{{ $settingsGlobal->redirect_close }}" target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-footer.png') }}"
alt="{{ Str::ucfirst($settingsGlobal->company) }}">
<span
class="text-uppercase fw-bold mb-md-0 d-block d-md-inline mb-4">{{ parse_url($settingsGlobal->redirect_close, \PHP_URL_HOST) }}</span>
</a>
</div>
</div>

View file

@ -11,9 +11,11 @@
</ul>
</div>
<div class="col-12 col-md-3 col-xl-2 downlink text-md-end text-center">
<a class="link-light" href="https://www.legaulois.fr/" target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-footer.png') }}" alt="Le Gaulois">
<span class="text-uppercase fw-bold mb-md-0 d-block d-md-inline mb-4">www.legaulois.fr</span>
<a class="link-light" href="{{ $settingsGlobal->redirect_close }}" target="_blank">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-footer.png') }}"
alt="{{ Str::ucfirst($settingsGlobal->company) }}">
<span
class="text-uppercase fw-bold mb-md-0 d-block d-md-inline mb-4">{{ parse_url($settingsGlobal->redirect_close, \PHP_URL_HOST) }}</span>
</a>
</div>
</div>

View file

@ -1,7 +1,7 @@
@extends('theme::layout')
@section('title', __('Jeu :site_name', ['site_name' => Config::get('theme.site_name')]))
@section('description', __('Jeu :site_name', ['site_name' => Config::get('theme.site_name')]))
@section('title', __('Jeu :site_name', ['site_name' => $settingsGlobal->name]))
@section('description', __('Jeu :site_name', ['site_name' => $settingsGlobal->name]))
@section('main-class', 'home-page')
@section('content')
@ -83,15 +83,16 @@
class="fs-3 fw-bold">{{ __("Rien de plus simple\u{00A0}! Suivez les 3 étapes décrites à droite et laissez-vous guider.") }}</span>
<div class="d-flex justify-content-center">
<img class="img-fluid picture-products" src="{{ Vite::asset('resources/theme/mounted/assets/images/how-to-play.png') }}"
title="{{ __('Plusieurs produits de la marque Le Gaulois') }}"
alt="{{ __('Plusieurs produits de la marque Le Gaulois') }}">
title="{{ __('Plusieurs produits de la marque :company', ['company' => $settingsGlobal->company]) }}"
alt="{{ __('Plusieurs produits de la marque :company', ['company' => $settingsGlobal->company]) }}">
</div>
</div>
<div class="col d-flex mb-3 flex-row">
<div class="d-flex flex-column justify-content-evenly px-md-3 pe-3">
<div class="rounded-pill badge-vertical bg-white">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-kart.png') }}"
title="{{ __('Achetez un produit Le Gaulois porteur de l\'offre.') }}" alt="{{ __('Un panier de course') }}">
title="{{ __('Achetez un produit :company porteur de l\'offre.', ['company' => Str::title($settingsGlobal->company)]) }}"
alt="{{ __('Un panier de course') }}">
</div>
<div class="rounded-pill badge-vertical bg-white">
<img class="img-fluid" src="{{ Vite::asset('resources/theme/mounted/assets/images/logo-br.png') }}"
@ -104,7 +105,8 @@
</div>
<div class="d-flex justify-content-center flex-column ps-lg-3">
<div class="mb-1">
<span class="h2">{{ __('Achetez un produit Le Gaulois porteur de l\'offre.') }}</span>
<span
class="h2">{{ __('Achetez un produit :company porteur de l\'offre.', ['company' => Str::title($settingsGlobal->company)]) }}</span>
</div>
<div class="mb-5 text-center">
<a class="btn btn-quint fw-bold text-uppercase"

View file

@ -1,7 +1,7 @@
@extends('theme::layout-teaser')
@section('title', __('Jeu :site_name', ['site_name' => config('theme.site_name')]))
@section('description', __('Le jeu :site_name vas bientôt ouvrir', ['site_name' => config('theme.site_name')]))
@section('title', __('Jeu :site_name', ['site_name' => $settingsGlobal->name]))
@section('description', __('Le jeu :site_name vas bientôt ouvrir', ['site_name' => $settingsGlobal->name]))
@section('main-class', 'teaser-page')
@section('content')

View file

@ -1,6 +1,6 @@
<svg id="Capa_1" style="enable-background:new 0 0 512 512;" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve">
<title>{{ __('Page Facebook Le Gaulois') }}</title>
<title>{{ __('Page Facebook :company', ['company' => $settingsGlobal->company]) }}</title>
<g>
<path d="M452,0H60C26.916,0,0,26.916,0,60v392c0,33.084,26.916,60,60,60h392c33.084,0,60-26.916,60-60V60
C512,26.916,485.084,0,452,0z M472,452c0,11.028-8.972,20-20,20H338V309h61.79L410,247h-72v-43c0-16.975,13.025-30,30-30h41v-62

Before

Width:  |  Height:  |  Size: 724 B

After

Width:  |  Height:  |  Size: 763 B

View file

@ -1,6 +1,6 @@
<svg id="Capa_1" style="enable-background:new 0 0 512 512;" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve">
<title>{{ __('Page Instagram Le Gaulois') }}</title>
<title>{{ __('Page Instagram :company', ['company' => $settingsGlobal->company]) }}</title>
<g>
<path d="M363.273,0H148.728C66.719,0,0,66.719,0,148.728v214.544C0,445.281,66.719,512,148.728,512h214.544
C445.281,512,512,445.281,512,363.273V148.728C512,66.719,445.281,0,363.273,0z M472,363.272C472,423.225,423.225,472,363.273,472

Before

Width:  |  Height:  |  Size: 1,010 B

After

Width:  |  Height:  |  Size: 1 KiB