diff --git a/app/Enums/EngagementBlocType.php b/app/Enums/EngagementBlocType.php
new file mode 100644
index 00000000..d692b51e
--- /dev/null
+++ b/app/Enums/EngagementBlocType.php
@@ -0,0 +1,37 @@
+ 0,
+ 'bloc2' => 1,
+ 'bloc3' => 2,
+ 'bloc4' => 3,
+ 'bloc5' => 4
+ ];
+ }
+
+ protected static function labels(): array
+ {
+ return [
+ 'bloc1' => __('Bloc 1'),
+ 'bloc2' => __('Bloc 2 (mise en avant)'),
+ 'bloc3' => __('Bloc 3'),
+ 'bloc4' => __('Bloc 4 (bloc 3 inversé)'),
+ 'bloc5' => __('Bloc 5 (info horizontale)')
+ ];
+ }
+}
diff --git a/app/Enums/EngagementType.php b/app/Enums/EngagementType.php
new file mode 100644
index 00000000..3e2efb1e
--- /dev/null
+++ b/app/Enums/EngagementType.php
@@ -0,0 +1,28 @@
+ 0,
+ 'article' => 1
+ ];
+ }
+
+ protected static function labels(): array
+ {
+ return [
+ 'header' => __('Entête'),
+ 'article' => __('Article')
+ ];
+ }
+}
diff --git a/app/Enums/InputType.php b/app/Enums/InputType.php
new file mode 100644
index 00000000..f843866f
--- /dev/null
+++ b/app/Enums/InputType.php
@@ -0,0 +1,31 @@
+ 0,
+ 'image' => 1,
+ 'string' => 2,
+ 'text' => 3,
+ 'url' => 4,
+ 'imageArray' => 5,
+ 'labelArray' => 6
+ ];
+ }
+}
diff --git a/app/Http/Controllers/Bo/EngagementsController.php b/app/Http/Controllers/Bo/EngagementsController.php
new file mode 100644
index 00000000..a4e021bd
--- /dev/null
+++ b/app/Http/Controllers/Bo/EngagementsController.php
@@ -0,0 +1,48 @@
+ $engagement]);
+ }
+
+ public function update(UpdateEngagement $request, Engagement $engagement)
+ {
+ $engagement->fill(array_replace_recursive(
+ $this->clearImagesArrays($engagement->toArray()),
+ $request->validated()
+ ));
+ $engagement->saveOrFail();
+ return redirect()->route('bo.engagements.edit', $engagement->id)
+ ->with('success', 'Enregistré !');
+ }
+
+ private function clearImagesArrays(array $engagement): array
+ {
+ foreach ($engagement['content'] as &$block) {
+ foreach ($block['content'] as &$input) {
+ if ($input['inputType']['value'] === InputType::imageArray()->value) {
+ $input['value'] = [];
+ }
+ }
+ }
+ return $engagement;
+ }
+}
diff --git a/app/Http/Controllers/EngagementsController.php b/app/Http/Controllers/EngagementsController.php
new file mode 100644
index 00000000..38f8cce4
--- /dev/null
+++ b/app/Http/Controllers/EngagementsController.php
@@ -0,0 +1,50 @@
+pushIntroToView();
+ $engagement = Engagement::findOrFail(2);
+ return view('front.onsengage.engageetresponsable.engagement', compact('engagement'));
+ }
+
+ public function biennourrir()
+ {
+ $this->pushIntroToView();
+ $engagement = Engagement::findOrFail(4);
+ return view('front.onsengage.engageetresponsable.engagement', compact('engagement'));
+ }
+
+ public function eleverdurablement()
+ {
+ $this->pushIntroToView();
+ $engagement = Engagement::findOrFail(3);
+ return view('front.onsengage.engageetresponsable.engagement', compact('engagement'));
+ }
+
+ public function respecterlaterre()
+ {
+ $this->pushIntroToView();
+ $engagement = Engagement::findOrFail(6);
+ return view('front.onsengage.engageetresponsable.engagement', compact('engagement'));
+ }
+
+ public function vivreensemble()
+ {
+ $this->pushIntroToView();
+ $engagement = Engagement::findOrFail(5);
+ return view('front.onsengage.engageetresponsable.engagement', compact('engagement'));
+ }
+
+ private function pushIntroToView()
+ {
+ View::share('intro', Engagement::where('type', EngagementType::header())->firstOrFail());
+ }
+}
diff --git a/app/Http/Requests/UpdateEngagement.php b/app/Http/Requests/UpdateEngagement.php
new file mode 100644
index 00000000..f6751dd6
--- /dev/null
+++ b/app/Http/Requests/UpdateEngagement.php
@@ -0,0 +1,168 @@
+check()) {
+ $this->merge([
+ 'status' => $this->status === null ? 0 : 1
+ ]);
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * Get the validation rules that apply to the request.
+ *
+ * @return array
+ */
+ public function rules()
+ {
+ $rules = [
+ 'title' => 'required|string|min:7',
+ 'metaTitle' => 'required|string|min:20|max:60',
+ 'metaDescription' => 'required|string|min:130|max:160'
+ ];
+ if ($this->engagement->type == EngagementType::header()) {
+ $rules = array_merge($rules, [
+ 'content' => 'required|string|min:40'
+ ]);
+ } else {
+ foreach ($this->engagement->content as $i => $block) {
+ foreach ($block['content'] as $iptName => $input) {
+ switch ($input['inputType']['value']) {
+ case InputType::string()->value:
+ $rules = array_merge($rules, [
+ "content.$i.content.$iptName.value" => 'required|string|min:4'
+ ]);
+ break;
+ case InputType::text()->value:
+ $rules = array_merge($rules, [
+ "content.$i.content.$iptName.value" => 'required|string|min:15'
+ ]);
+ break;
+ case InputType::image()->value:
+ $ipt = $this->engagement->content[$i]['content'][$iptName];
+ $max = isset($ipt['dimensionsMax']);
+ $dim = collect(explode(
+ ',',
+ $ipt['dimensions'] ?? $ipt['dimensionsMax']
+ ))->mapWithKeys(function ($v) {
+ $v = explode(' ', $v);
+ return [$v[0] => $v[1]];
+ });
+ $rules = array_merge($rules, [
+ "content.$i.content.$iptName.value" => [
+ 'sometimes',
+ 'image',
+ 'mimes:png,jpg,svg',
+ sprintf(
+ 'dimensions:%s=%d,%s=%d',
+ $max ? 'max_height' : 'height',
+ $dim['hauteur'],
+ $max ? 'max_width' : 'width',
+ $dim['largeur']
+ )
+ ]
+ ]);
+ break;
+ case InputType::imageArray()->value:
+ $ipt = $this->engagement->content[$i]['content'][$iptName];
+ $max = isset($ipt['dimensionsMax']);
+ $dim = collect(explode(
+ ',',
+ $ipt['dimensions'] ?? $ipt['dimensionsMax']
+ ))->mapWithKeys(function ($v) {
+ $v = explode(' ', $v);
+ return [$v[0] => $v[1]];
+ });
+ $rules = array_merge($rules, [
+ "content.$i.content.$iptName.value.*" => 'sometimes|array'
+ ]);
+ if (is_array($this->input("content.$i.content.$iptName.value.*"))) {
+ foreach ($this->input("content.$i.content.$iptName.value.*") as $imageK => $image) {
+ if (!is_string($image)) {
+ $rules = array_merge($rules, [
+ "content.$i.content.$iptName.value.$imageK" => [
+ 'image',
+ 'mimes:png,jpg,svg',
+ sprintf(
+ 'dimensions:%s=%d,%s=%d',
+ $max ? 'max_height' : 'height',
+ $dim['hauteur'],
+ $max ? 'max_width' : 'width',
+ $dim['largeur']
+ )
+ ]
+ ]);
+ } else {
+ $rules = array_merge($rules, [
+ "content.$i.content.$iptName.value.$imageK" => 'string'
+ ]);
+ }
+ }
+ }
+ break;
+ case InputType::url()->value:
+ $rules = array_merge($rules, [
+ "content.$i.content.$iptName.value" => [
+ 'required', 'url',
+ // @phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed
+ function ($attribute, $value, $fail) {
+ try {
+ Utils::assertNoInternalUrls($attribute, $value);
+ } catch (ValidationException $e) {
+ $fail(collect($e->errors())->first()[0]);
+ }
+ }
+ ]
+ ]);
+ break;
+ case InputType::labelArray()->value:
+ $all = $this->all();
+ foreach ($this->input("content.$i.content.$iptName.value") as $labelIndex => $label) {
+ if ($labelIndex === 'X') {
+ unset($all['content'][$i]['content'][$iptName]['value'][$labelIndex]);
+ continue;
+ }
+ $rules = array_merge($rules, [
+ "content.$i.content.$iptName.value.$labelIndex.*" => 'string'
+ ]);
+ }
+ $this->merge($all);
+ break;
+ case InputType::boolean()->value:
+ $all = $this->all();
+ $nested = Utils::dotStringToNestedArray(
+ "content.$i.content.$iptName.value",
+ $this->input("content.$i.content.$iptName.value") ? true : false
+ );
+ $all = array_merge_recursive_distinct($all, $nested);
+ $this->merge($all);
+ $rules = array_merge($rules, [
+ "content.$i.content.$iptName.value" => 'boolean'
+ ]);
+ break;
+ }
+ }
+ }
+ }
+ return $rules;
+ }
+}
diff --git a/app/Lib/Utils.php b/app/Lib/Utils.php
index 4b114bc9..1cdf4c5a 100644
--- a/app/Lib/Utils.php
+++ b/app/Lib/Utils.php
@@ -142,4 +142,15 @@ class Utils
);
return $text;
}
+
+ public static function dotStringToNestedArray($path, $value, $separator = '.')
+ {
+ $arr = $value;
+ $keys = array_reverse(explode($separator, $path));
+
+ foreach ($keys as $key) {
+ $arr = [$key => $arr];
+ }
+ return $arr;
+ }
}
diff --git a/app/Models/Engagement.php b/app/Models/Engagement.php
new file mode 100644
index 00000000..8b302877
--- /dev/null
+++ b/app/Models/Engagement.php
@@ -0,0 +1,353 @@
+ EngagementType::class
+ ];
+
+ protected $casts = [
+ 'content' => 'array',
+ ];
+
+ protected $fillable = [
+ 'icon', 'pretitle', 'title',
+ 'metaTitle', 'metaDescription',
+ 'content', 'status'
+ ];
+
+ protected $attributes = [
+ 'icon' => '',
+ 'pretitle' => '',
+ 'metaTitle' => '',
+ 'metaDescription' => '',
+ 'type' => 1, // EngagementType article
+ ];
+
+ protected static function booted()
+ {
+ static::creating(function (Engagement $engagement) {
+ });
+ static::updating(function (Engagement $engagement) {
+ });
+ }
+
+ public function setContentAttribute($value)
+ {
+ $this->setContent($value);
+ }
+
+ public function getContentAttribute()
+ {
+ $content = json_decode($this->getRawOriginal('content'), true);
+ return isset($content->header) ? $content->header : $content;
+ }
+
+ /**
+ * Fill the model with an array of attributes.
+ *
+ * @param array $attributes
+ * @return $this
+ *
+ * @throws \Illuminate\Database\Eloquent\MassAssignmentException
+ */
+ public function fill(array $attributes)
+ {
+ parent::fill($attributes);
+ if (isset($attributes['content'])) {
+ $this->setContent($attributes['content']);
+ }
+ }
+
+ /**
+ * Get Blocks Template Data
+ *
+ * @return array
+ */
+ public static function getBlocks(): array
+ {
+ return [
+ EngagementBlocType::bloc1()->value => [
+ 'type' => EngagementBlocType::bloc1(),
+ 'content' => [
+ 'img' => [
+ 'dimensions' => 'largeur 792,hauteur 555',
+ 'label' => 'Illustration',
+ 'inputType' => InputType::image(),
+ 'alt' => '',
+ 'value' => ''
+ ],
+ 'title' => [
+ 'label' => 'Titre (h2)',
+ 'inputType' => InputType::string(),
+ 'value' => ''
+ ],
+ 'content' => [
+ 'label' => 'Contenu',
+ 'inputType' => InputType::text(),
+ 'value' => ''
+ ],
+ 'side' => [
+ 'label' => 'Orientation de l\'image (gauche ou droite)',
+ 'inputType' => InputType::boolean(),
+ 'value' => ''
+ ],
+ 'link' => [
+ 'text' => 'En savoir +',
+ 'label' => 'Lien du bouton en savoir +',
+ 'inputType' => InputType::url(),
+ 'status' => true,
+ 'newtab' => false,
+ 'value' => ''
+ ],
+ 'labels' => [
+ 'label' => 'Labels avec titre',
+ 'inputType' => InputType::labelArray(),
+ 'value' => []
+ ]
+ ]
+ ],
+ EngagementBlocType::bloc2()->value => [
+ 'type' => EngagementBlocType::bloc2(),
+ 'content' => [
+ 'img' => [
+ 'dimensions' => 'largeur 384,hauteur 260',
+ 'label' => 'Illustration',
+ 'inputType' => InputType::image(),
+ 'alt' => '',
+ 'value' => ''
+ ],
+ 'content' => [
+ 'label' => 'Contenu',
+ 'inputType' => InputType::text(),
+ 'value' => ''
+ ],
+ 'link' => [
+ 'label' => 'Lien du bouton en savoir +',
+ 'inputType' => InputType::url(),
+ 'status' => true,
+ 'newtab' => false,
+ 'value' => ''
+ ]
+ ]
+ ],
+ EngagementBlocType::bloc3()->value => [
+ 'type' => EngagementBlocType::bloc3(),
+ 'content' => [
+ 'img' => [
+ 'dimensions' => 'largeur 486,hauteur 682',
+ 'label' => 'Illustration',
+ 'inputType' => InputType::image(),
+ 'alt' => '',
+ 'value' => ''
+ ],
+ 'title' => [
+ 'label' => 'Titre (h2)',
+ 'inputType' => InputType::string(),
+ 'value' => ''
+ ],
+ 'content' => [
+ 'label' => 'Contenu',
+ 'inputType' => InputType::text(),
+ 'value' => ''
+ ],
+ 'side' => [
+ 'label' => 'Orientation de l\'image (gauche ou droite)',
+ 'inputType' => InputType::boolean(),
+ 'value' => ''
+ ],
+ 'link' => [
+ 'label' => 'Lien du bouton en savoir +',
+ 'inputType' => InputType::url(),
+ 'status' => true,
+ 'newtab' => false,
+ 'value' => ''
+ ],
+ 'labels' => [
+ 'label' => 'Labels avec titre',
+ 'inputType' => InputType::labelArray(),
+ 'value' => []
+ ]
+ ]
+ ],
+ EngagementBlocType::bloc4()->value => [
+ 'type' => EngagementBlocType::bloc4(),
+ 'content' => [
+ 'img' => [
+ 'dimensions' => 'largeur 792,hauteur 792',
+ 'label' => 'Illustration',
+ 'inputType' => InputType::image(),
+ 'alt' => '',
+ 'value' => ''
+ ],
+ 'title' => [
+ 'label' => 'Titre (h2)',
+ 'inputType' => InputType::string(),
+ 'value' => ''
+ ],
+ 'content' => [
+ 'label' => 'Contenu',
+ 'inputType' => InputType::text(),
+ 'value' => ''
+ ],
+ 'side' => [
+ 'label' => 'Orientation de l\'image (gauche ou droite)',
+ 'inputType' => InputType::boolean(),
+ 'value' => ''
+ ],
+ 'link' => [
+ 'label' => 'Lien du bouton en savoir +',
+ 'inputType' => InputType::url(),
+ 'status' => true,
+ 'newtab' => false,
+ 'value' => ''
+ ],
+ 'labels' => [
+ 'label' => 'Labels avec titre',
+ 'inputType' => InputType::labelArray(),
+ 'value' => []
+ ]
+ ]
+ ],
+ EngagementBlocType::bloc5()->value => [
+ 'type' => EngagementBlocType::bloc5(),
+ 'content' => [
+ 'titlePicto' => [
+ 'dimensionsMax' => 'largeur 130,hauteur 110',
+ 'label' => 'Pictogramme Titre',
+ 'inputType' => InputType::image(),
+ 'value' => ''
+ ],
+ 'mobileVisible' => [
+ 'label' => 'Visible sur mobile ?',
+ 'inputType' => InputType::boolean(),
+ 'value' => ''
+ ],
+ 'images' => [
+ 'dimensionsMax' => 'largeur 130,hauteur 110',
+ 'label' => 'Illustrations',
+ 'inputType' => InputType::imageArray(),
+ 'value' => []
+ ]
+ ]
+ ],
+ ];
+ }
+
+ /**
+ * Get Label Template Data
+ *
+ * @return array
+ */
+ public static function getLabel(): array
+ {
+ return [
+ 'bigText' => '',
+ 'text' => '',
+ 'fullLine' => false
+ ];
+ }
+
+ private function setContent($content): void
+ {
+ $attrs = $this->attributes;
+ if (isset($attrs['content'])) {
+ unset($attrs['content']);
+ }
+ if (is_string($content)) {
+ $content = sprintf('{"header" : "%s"}', $content);
+ } else {
+ $content = $this->serializeContent($content);
+ }
+ $this->setRawAttributes(\array_merge_recursive(
+ $attrs,
+ ['content' => $content]
+ ));
+ }
+
+ private function serializeContent(array $content): string
+ {
+ foreach ($content as $i => $bloc) {
+ foreach ($bloc['content'] as $o => $input) {
+ switch ($input['inputType']->value ?? $input['inputType']['value']) {
+ case InputType::image()->value:
+ $content[$i]['content'][$o]['value'] = $this->storeImage($input['value']);
+ break;
+ case InputType::imageArray()->value:
+ foreach ($input['value'] as $k => $image) {
+ $content[$i]['content'][$o]['value'][$k] = $this->storeImage($image);
+ }
+ break;
+ case InputType::labelArray()->value:
+ case InputType::boolean()->value:
+ case InputType::text()->value:
+ case InputType::string()->value:
+ break;
+ case InputType::url()->value:
+ Utils::assertNoInternalUrls('content', $input['value']);
+ break;
+ default:
+ throw new \Exception(sprintf('Unknown input Type %s', $input['inputType']->label ?? $input['inputType']['label']));
+ }
+ }
+ }
+ return json_encode($content);
+ }
+
+ private function storeImage($image): string
+ {
+ if (\is_object($image) and get_class($image) === UploadedFile::class) {
+ /** @var UploadedFile */
+ $image = $image;
+ $newPath = $this->prepareMoveFile($image->getClientOriginalName());
+ $newPath = str_replace(storage_path('app'), '', $newPath);
+ $image->storePubliclyAs(pathinfo($newPath, \PATHINFO_DIRNAME), pathinfo($newPath, \PATHINFO_BASENAME));
+ return '/storage' . str_replace('/public', '', $newPath);
+ }
+ if (\is_object($image) and get_class($image) === SplFileInfo::class) {
+ /** @var SplFileInfo */
+ $image = $image;
+ $newPath = $this->prepareMoveFile($image->getBaseName());
+ if (!File::copy($image->getRealPath(), $newPath)) {
+ throw new \Exception(sprintf(
+ 'Failed to copy file %s to %s',
+ $image->getRealPath(),
+ $newPath
+ ));
+ }
+ return str_replace(\storage_path('app/public'), '/storage', $newPath);
+ }
+ if (\is_string($image)) {
+ return $image;
+ }
+ }
+
+ private function prepareMoveFile(string $filename): string
+ {
+ $pathFolder = \storage_path('app/public/images/engagements');
+ if (!File::exists($pathFolder)) {
+ File::makeDirectory($pathFolder, 0755, true);
+ }
+ $filename = sprintf('%s-%s', Str::uuid(), $filename);
+ $fullPath = sprintf('%s/%s', $pathFolder, $filename);
+ if (File::exists($fullPath)) {
+ File::delete($fullPath);
+ }
+ return $fullPath;
+ }
+}
diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php
index e60e935f..89dd7152 100644
--- a/app/Providers/RouteServiceProvider.php
+++ b/app/Providers/RouteServiceProvider.php
@@ -7,6 +7,7 @@ use App\Models\Articles;
use App\Models\BalancedMenus;
use App\Models\BreederPortrait;
use App\Models\ConsumptionTimes;
+use App\Models\Engagement;
use App\Models\FaqQuestions;
use App\Models\HomeSliderPictures;
use App\Models\MeatTypes;
@@ -50,6 +51,9 @@ class RouteServiceProvider extends ServiceProvider
Route::bind('publishedArticle', function ($value) {
return Articles::where('id', $value)->orWhere('slug', $value)->where('status', true)->firstOrFail();
});
+ Route::bind('engagement', function ($value) {
+ return Engagement::where('id', $value)->firstOrFail();
+ });
Route::bind('product', function ($value) {
return Products::where('id', $value)->orWhere('slug', $value)->firstOrFail();
});
diff --git a/config/app.php b/config/app.php
index 8507d760..332a222b 100644
--- a/config/app.php
+++ b/config/app.php
@@ -254,7 +254,10 @@ return [
'ArticleCategory' => \App\Enums\ArticleCategory::class,
'RecipeFilter' => \App\Enums\RecipeFilter::class,
'RecipeFilterTimes' => \App\Enums\RecipeFilterTimes::class,
- 'NotificationType' => \App\Enums\NotificationType::class
+ 'NotificationType' => \App\Enums\NotificationType::class,
+ 'EngagementType' => \App\Enums\EngagementType::class,
+ 'EngagementBlocType' => \App\Enums\EngagementBlocType::class,
+ 'InputType' => \App\Enums\InputType::class
],
];
diff --git a/database/migrations/2021_06_29_124751_create_engagements_table.php b/database/migrations/2021_06_29_124751_create_engagements_table.php
new file mode 100644
index 00000000..b133ff44
--- /dev/null
+++ b/database/migrations/2021_06_29_124751_create_engagements_table.php
@@ -0,0 +1,779 @@
+id();
+
+ // EngagementType
+ $table->smallInteger('type');
+
+ $table->string('icon');
+ $table->string('pretitle');
+ $table->string('title');
+
+ $table->string('metaTitle');
+ $table->string('metaDescription');
+
+ // contient un tableau de blocks (json)
+ $table->mediumText('content');
+
+ $table->boolean('status');
+
+ $table->timestamps();
+ });
+ $engagement0 = new Engagement([
+ 'title' => 'Le Gaulois,
marque engagée et responsable',
+ 'content' => '
Face aux enjeux de notre époque, Le Gaulois répond présent.
Chaque jour, nous avançons pas à pas avec les équipes, les partenaires et les consommateurs pour élaborer des produits gourmands, de qualité et ainsi créer de bons moments de convivialité à table et en cuisine. Découvrez nos 5 engagements et nos actions pour minimiser l’impact de notre activité sur l’environnement, veiller au bien-être animal et améliorer notre alimentation et notre qualité de vie
Née au cœur de la Sarthe en 1984, notre marque Le Gaulois, a toujours eu la fibre, à la fois locale et nationale depuis son origine. Aujourd’hui, c’est 100% des produits de volaille Le Gaulois qui sont élaborés à partir des volailles nées, élevées et élaborées en France. Choisir un produit de volaille Le Gaulois, qu’il soit brut ou élaboré*, c’est se garantir d’acheter 100 % français de A à Z et de consommer responsable.
Nous sommes attachés à créer de la valeur en région car le modèle est vertueux et juste :
*A l’exception des gésiers de canard
' + ], + 'side' => [ + 'value' => false + ], + 'link' => [ + 'status' => true, + 'value' => route('brand.french-poultry') + ], + 'labels' => [ + 'value' => [ + array_merge(Engagement::getLabel(), [ + 'bigText' => '2000', + 'text' => 'éleveurs partenaires sur l’ensemble de la France' + ]), + array_merge(Engagement::getLabel(), [ + 'bigText' => 'Près de 4000', + 'text' => 'collaborateurs travaillent pour la marque à travers nos 10 sites régionaux' + ]) + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc5()->value], + [ + 'type' => EngagementBlocType::bloc5(), + 'content' => [ + 'titlePicto' => [ + 'value' => new SplFileInfo(resource_path('assets/images/onsengage/svgs/engagement1/engagement_1_origine-france.svg')) + ], + 'mobileVisible' => [ + 'value' => true + ], + 'images' => [ + 'value' => [ + new SplFileInfo(resource_path('assets/images/onsengage/svgs/engagement1/engagement_1_volailles-france.svg')), + new SplFileInfo(resource_path('assets/images/onsengage/svgs/engagement1/engagement_1_1ere-marque.svg')), + new SplFileInfo(resource_path('assets/images/onsengage/svgs/engagement1/engagement_1_100-francais.svg')), + new SplFileInfo(resource_path('assets/images/onsengage/svgs/engagement1/engagement_1_100-present.svg')) + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc2()->value], + [ + 'type' => EngagementBlocType::bloc2(), + 'content' => [ + 'img' => [ + 'alt' => 'Partenaire solidaire', + 'value' => '/assets/images/onsengage/images/engagement1/le-gaulois-engagement_384x260_Partenaire-Solidaire.jpg' + ], + 'content' => [ + 'value' => 'Le Gaulois a mis en place un contrat d’engagement avec ses éleveurs partenaires qui les engagent à préserver la santé et assurer le bien-être des volailles tout au long de leur vie.
Ce contrat d’engagement stipule en particulier que les volailles nées en France sont élevées dans des conditions qui favorisent l’expression des comportements naturels. Ainsi, les volailles sont élevées à la lumière naturelle (présence de fenêtres dans les poulaillers) et disposent de pierre à picorer, de perchoirs et de ballots de paille.
Le Gaulois déploie vigoureusement sa démarche « Oui c’est bon », et garantit des produits de qualité à prix accessible afin de prendre, encore davantage en compte, le bien-être animal, la santé des volailles et la préservation de l’environnement. La démarche « Oui c’est bon » est basée sur la démarche Nature d’Eleveurs à laquelle s’ajoutent encore plus de dispositifs qualitatifs.
' + ], + 'side' => [ + 'value' => true + ], + 'link' => [ + 'text' => 'Oui c’est bon : En savoir +', + 'status' => true, + 'value' => '' + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc5()->value], + [ + 'type' => EngagementBlocType::bloc5(), + 'content' => [ + 'mobileVisible' => [ + 'value' => true + ], + 'images' => [ + 'value' => [ + '/assets/images/onsengage/svgs/engagement3/engagement_3_alimentation-sans-OGM.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_espace.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_musical.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_basse-consommation.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_plantation.svg' + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc2()->value], + [ + 'type' => EngagementBlocType::bloc2(), + 'content' => [ + 'img' => [ + 'alt' => 'Base conso', + 'value' => '/assets/images/onsengage/images/engagement3/le-gaulois-engagement_384x260_Basse-conso.jpg' + ], + 'content' => [ + 'value' => 'En plus des aménagements dans les poulaillers pour le bien-être animal, Le Gaulois, à travers sa démarche « Oui C’est Bon », encourage le développement de poulaillers basse consommation avec par exemple l’installation de panneaux photovoltaïques et de récupérateurs de chaleur.
Le Gaulois encourage vivement la plantation de haies dans ses élevages. En effet, elles permettent d’abriter et de faire vivre une faune diversifiée , en particulier des insectes et petits oiseaux. Elles renforcent ainsi la biodiversité tout en embellissant les paysages.
' + ], + 'link' => [ + 'status' => true, + 'newtab' => true, + 'value' => '' + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc4()->value], + [ + 'type' => EngagementBlocType::bloc4(), + 'content' => [ + 'img' => [ + 'alt' => 'Sante volaille', + 'value' => '/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x792_Sante-volailles.jpg' + ], + 'title' => [ + 'value' => 'La santé de nos volailles :Le Gaulois est engagé dans une démarche volontariste et continue afin de mieux protéger la santé des volailles. Les antibiotiques ne sont utilisés qu’en dernier recours et uniquement sur prescription vétérinaire, en respectant des délais garantissant la sécurité sanitaire des consommateurs.
' + ], + 'side' => [ + 'value' => true + ], + 'link' => [ + 'status' => true, + 'newtab' => true, + 'value' => '', + 'text' => 'Antibiotiques critiques : En savoir +' + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc5()->value], + [ + 'type' => EngagementBlocType::bloc5(), + 'content' => [ + 'titlePicto' => [ + 'value' => '/assets/images/onsengage/svgs/engagement3/engagement_3_stop.svg' + ], + 'mobileVisible' => [ + 'value' => true + ], + 'images' => [ + 'value' => [ + '/assets/images/onsengage/svgs/engagement3/engagement_3_antibiotique.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_alimentation-sans-antibiotique-hormone.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_zero-antibiotique.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_poules.svg' + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc5()->value], + [ + 'type' => EngagementBlocType::bloc5(), + 'content' => [ + 'titlePicto' => [ + 'value' => '/assets/images/onsengage/svgs/engagement3/engagement_3_nature-fait-bien.svg' + ], + 'mobileVisible' => [ + 'value' => true + ], + 'images' => [ + 'value' => [ + '/assets/images/onsengage/svgs/engagement3/engagement_3_extaits-vegetaux.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_chataignier.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_algues.svg', + '/assets/images/onsengage/svgs/engagement3/engagement_3_probiotiques.svg' + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc3()->value], + [ + 'type' => EngagementBlocType::bloc3(), + 'content' => [ + 'img' => [ + 'alt' => 'Oeuf', + 'value' => '/assets/images/onsengage/images/engagement3/le-gaulois-engagement_486x682_Oeuf.jpg' + ], + 'title' => [ + 'value' => 'Poules pondeuses :Dans son activité de production d’œufs, Le Gaulois favorise le bien-être de ses poules pondeuses avec un environnement qualitatif et des élevages au sol, en plein-air ou biologique :
Tout autant que la sécurité alimentaire, la qualité nutritionnelle est une priorité chez Le Gaulois.
Nous nous engageons à optimiser la qualité nutritionnelle de nos recettes à travers une charte nutritionnelle afin de réduire la teneur en sel et en matières grasses saturées de nos produits.
Allier plaisir gustatif et équilibre nutritionnel est, nous le savons, notre challenge quotidien, afin de satisfaire durablement nos consommateurs. Les nombreux atouts diététiques de la viande de volaille et des oeufs, recommandés par le PNNS Manger Bouger (programme national de nutrition santé) y contribuent pour partie. Notre nouvelle charte nutritionnelle nous permet de progresser d’avantage, en particulier sur les produits élaborés.
Pour informer en toute transparence le consommateur sur les qualités nutritionnelles de nos produits, nous nous sommes engagés auprès de Santé Publique à afficher dès avril 2019 la démarche d’étiquetage nutritionnelle Nutriscore.
' + ], + 'side' => [ + 'value' => true + ], + 'link' => [ + 'status' => true, + 'value' => route('kitchen-side.health-nutrition.nutrition') + ], + 'labels' => [ + 'value' => [ + array_merge(Engagement::getLabel(), [ + 'bigText' => '71%', + 'text' => 'de nos produits classés A ou B au Nutriscore en 2021' + ]), + array_merge(Engagement::getLabel(), [ + 'bigText' => '80%', + 'text' => 'de nos produits seront classés A et B au Nutriscore en 2025 (objectif fixé)' + ]) + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc5()->value], + [ + 'type' => EngagementBlocType::bloc5(), + 'content' => [ + 'titlePicto' => [ + 'value' => '/assets/images/onsengage/svgs/engagement2/engagement_2_recettes-saines.svg' + ], + 'mobileVisible' => [ + 'value' => true + ], + 'images' => [ + 'value' => [ + '/assets/images/onsengage/svgs/engagement2/engagement_2_reduire.svg', + '/assets/images/onsengage/svgs/engagement2/engagement_2_limiter-sel.svg', + '/assets/images/onsengage/svgs/engagement2/engagement_2_privilegier.svg', + '/assets/images/onsengage/svgs/engagement2/engagement_2_optimiser-ingredients.svg' + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc2()->value], + [ + 'type' => EngagementBlocType::bloc2(), + 'content' => [ + 'img' => [ + 'alt' => 'Additifs', + 'value' => '/assets/images/onsengage/images/engagement2/le-gaulois-engagement_384x260_Additifs.jpg' + ], + 'content' => [ + 'value' => 'Accompagnés par un médecin nutritionniste expert en toxicologie, nous avons dressé une liste de 169 additifs (parmi les 300 autorisés au niveau européen) que nous avons choisis de ne plus ou pas utiliser. Ainsi, tous les nouveaux produits Le Gaulois sont développés en tenant compte de ces nouvelles exigences. Les produits existants sont, quant à eux, retravaillés pour supprimer ces additifs.
' + ], + 'link' => [ + 'status' => true, + 'newtab' => true, + 'value' => '' + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc3()->value], + [ + 'type' => EngagementBlocType::bloc3(), + 'content' => [ + 'img' => [ + 'alt' => 'Programme malin', + 'value' => '/assets/images/onsengage/images/engagement2/le-gaulois-engagement_486x682_Programme-MALIN.jpg' + ], + 'title' => [ + 'value' => 'Accompagner les familles à mieux manger' + ], + 'content' => [ + 'value' => 'Partenaire du programme MALIN, Le Gaulois s’engage à promouvoir le bien manger auprès des familles via les caisses d’allocation familiales (Caf). Bien manger dès le plus jeune âge est essentiel. Les familles en situation de grossesse ou avec des enfants de 5 mois sont concernées et bénéficient d’un programme de pédagogie, de conseils et de recettes pour les sensibiliser à l’équilibre alimentaire.
Par le biais de bons de réduction à valoir sur les découpes crues Le Gaulois, les familles sous tension financière avec des enfants entre 16 et 24 mois sont soutenues.
' + ], + 'side' => [ + 'value' => true + ], + 'link' => [ + 'status' => true, + 'newtab' => true, + 'value' => '' + ], + 'labels' => [ + 'value' => [ + array_merge(Engagement::getLabel(), [ + 'fullLine' => true, + 'bigText' => 'Grâce à Le Gaulois', + 'text' => '' + ]), + array_merge(Engagement::getLabel(), [ + 'bigText' => '750 000 familles', + 'text' => 'aidées à mieux manger en 2021' + ]), + array_merge(Engagement::getLabel(), [ + 'bigText' => '2 Fois +', + 'text' => 'de familles seront aidées à mieux manger en 2022 (objectif fixé)' + ]) + ] + ] + ] + ] + ), + ], + 'status' => true + ] + ); + $engagement3->type = EngagementType::article(); + $engagement3->saveOrFail(); + + $engagement4 = new Engagement( + [ + 'icon' => '/assets/images/onsengage/svgs/engagement5/GAULOIS_engagement-5.svg', + 'pretitle' => 'Engagement n°4', + 'title' => 'Favoriser le mieux vivre ensemble', + 'metaTitle' => 'Le Gaulois - Favoriser le mieux vivre ensemble ', + 'metaDescription' => 'Le Gaulois promeut le bien-être autour du sport en soutenant des associations sportives ou de santé publique pour encourager le mieux-vivre ensemble', + 'content' => [ + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc1()->value], + [ + 'type' => EngagementBlocType::bloc1(), + 'content' => [ + 'img' => [ + 'alt' => 'Sport', + 'value' => '/assets/images/onsengage/images/engagement5/le-gaulois-engagement_792x555_Sport.jpg' + ], + 'title' => [ + 'value' => 'C’est bon d’être sportif' + ], + 'content' => [ + 'value' => 'Populaire, convivial, bénéfique et utile, le sport incarne parfaitement les valeurs de la marque. C’est pourquoi Le Gaulois promeut le « bien-être » autour du sport pour tous en soutenant les associations sportives locales.
' + ], + 'side' => [ + 'value' => true + ], + 'link' => [ + 'status' => true, + 'value' => route('kitchen-side.health-nutrition.nutrition') + ], + 'labels' => [ + 'value' => [ + array_merge(Engagement::getLabel(), [ + 'bigText' => '+ de 30 associations Sportives', + 'text' => 'locales soutenues' + ]) + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc5()->value], + [ + 'type' => EngagementBlocType::bloc5(), + 'content' => [ + 'mobileVisible' => [ + 'value' => true + ], + 'images' => [ + 'value' => [ + '/assets/images/onsengage/svgs/engagement5/engagement_5_handball.svg', + '/assets/images/onsengage/svgs/engagement5/engagement_5_football.svg', + '/assets/images/onsengage/svgs/engagement5/engagement_5_rugby.svg', + '/assets/images/onsengage/svgs/engagement5/engagement_5_course-a-pieds.svg', + '/assets/images/onsengage/svgs/engagement5/engagement_5_tennis-de-table.svg' + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc2()->value], + [ + 'type' => EngagementBlocType::bloc2(), + 'content' => [ + 'img' => [ + 'alt' => 'Tour de france', + 'value' => '/assets/images/onsengage/images/engagement5/le-gaulois-engagement_384x260_Tour-de-France.jpg' + ], + 'content' => [ + 'value' => 'Volaille officielle du Tour de France depuis 2012, Le Gaulois est fier de s’associer à ce grand rendez-vous populaire et gratuit au service du sport qui participe à la promotion des territoires.
' + ], + 'link' => [ + 'status' => false + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc3()->value], + [ + 'type' => EngagementBlocType::bloc3(), + 'content' => [ + 'img' => [ + 'alt' => 'Mecenat', + 'value' => '/assets/images/onsengage/images/engagement5/le-gaulois-engagement_486x682_Mecenat.jpg' + ], + 'title' => [ + 'value' => '2021, nos collaborateurs ont du cœur' + ], + 'content' => [ + 'value' => 'Chaque année, Le Gaulois s’investit dans une cause forte d’intérêt général avec ses collaborateurs, en organisant un grand challenge sportif et solidaire. En 2021, l’entreprise soutient l’association Mécénat de chirurgie cardiaque pour financer 1 opération d’enfant atteint de malformation cardiaque. Course à pied, vélo, marche, randonnée, les kilomètres parcourus par les collaborateurs sont compilés par une application sportive tout au long de l’année et se transforment en dons dans la cagnotte de l’association. Une belle façon de bouger, de prendre soin de soi et de penser aux autres.
' + ], + 'side' => [ + 'value' => false + ], + 'link' => [ + 'status' => false, + ], + 'labels' => [ + 'value' => [ + array_merge(Engagement::getLabel(), [ + 'bigText' => '12 centimes /Km', + 'text' => 'versés par l’entreprise pour chaque km parcouru à pied par ses collaborateurs' + ]), + ] + ] + ] + ] + ), + ], + 'status' => true + ] + ); + $engagement4->type = EngagementType::article(); + $engagement4->saveOrFail(); + + $engagement5 = new Engagement( + [ + 'icon' => '/assets/images/onsengage/svgs/engagement4/GAULOIS_engagement-4.svg', + 'pretitle' => 'Engagement n°5', + 'title' => 'Respecter la terre', + 'metaTitle' => 'Le Gaulois - S\'engager envers la préservation de la terre', + 'metaDescription' => 'Le Gaulois travaille à la réduction de son empreinte carbone en optimisant le transport de ses produits et des volailles, son mode de production et ses emballages', + 'content' => [ + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc4()->value], + [ + 'type' => EngagementBlocType::bloc4(), + 'content' => [ + 'img' => [ + 'alt' => 'Empreinte carbone', + 'value' => '/assets/images/onsengage/images/engagement4/le-gaulois-engagement_792x792_Empreinte-carbone.jpg' + ], + 'title' => [ + 'value' => 'Priorité à la réduction de notre empreinte carbone' + ], + 'content' => [ + 'value' => 'Chaque action compte dans la lutte contre l’effet de serre qui déstabilise les équilibres sur terre et la biodiversité. Ainsi, Le Gaulois met en en place des actions concrètes face au réchauffement climatique.
' + ], + 'side' => [ + 'value' => true + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc5()->value], + [ + 'type' => EngagementBlocType::bloc5(), + 'content' => [ + 'titlePicto' => [ + 'value' => '/assets/images/onsengage/svgs/engagement4/engagement_4_reduction-empreinte-carbone.svg' + ], + 'mobileVisible' => [ + 'value' => true + ], + 'images' => [ + 'value' => [ + '/assets/images/onsengage/svgs/engagement4/engagement_4_reduction-distances.svg', + '/assets/images/onsengage/svgs/engagement4/engagement_4_amelioration-flotte.svg', + '/assets/images/onsengage/svgs/engagement4/engagement_4_boucles-transports.svg', + '/assets/images/onsengage/svgs/engagement4/engagement_4_colisage.svg', + '/assets/images/onsengage/svgs/engagement4/engagement_4_fournisseurs-locaux.svg', + '/assets/images/onsengage/svgs/engagement4/engagement_4_basse-consommation.svg' + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc2()->value], + [ + 'type' => EngagementBlocType::bloc2(), + 'content' => [ + 'img' => [ + 'alt' => 'Soja responsable', + 'value' => '/assets/images/onsengage/images/engagement4/le-gaulois-engagement_384x260_Soja-responsable.jpg' + ], + 'content' => [ + 'value' => 'Chez Le Gaulois, pour assurer l’apport protéique de nos volailles, nous leur donnons des matières riches en protéines telles que le soja. Le soja est un composant essentiel à l’équilibre nutritionnel de la volaille. C’est la légumineuse la plus riche en protéines et en acides aminés essentiels ! Chez Le Gaulois, nous sommes conscients que la culture du Soja importée est assujettie à de nombreux questionnements notamment son impact sur la déforestation. Notre engagement : 100% de soja garanti zéro déforestation / conversion au plus tard d’ici 2025.
' + ], + 'link' => [ + 'status' => true, + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc4()->value], + [ + 'type' => EngagementBlocType::bloc4(), + 'content' => [ + 'img' => [ + 'alt' => 'Emballage', + 'value' => '/assets/images/onsengage/images/engagement4/le-gaulois-engagement_792x792_Emballages.jpg' + ], + 'title' => [ + 'value' => 'Réduire l’impact de nos emballages sur l’environnement' + ], + 'content' => [ + 'value' => 'Conscient de son rôle, Le Gaulois s ‘est engagé dans une démarche continue de réduction de ses emballages et d’amélioration de leur recyclabilité, tout en garantissant la sécurité alimentaire.
' + ], + 'side' => [ + 'value' => false + ], + 'link' => [ + 'status' => false + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc5()->value], + [ + 'type' => EngagementBlocType::bloc5(), + 'content' => [ + 'titlePicto' => [ + 'value' => '/assets/images/onsengage/svgs/engagement4/engagement_4_packaging-responsables.svg' + ], + 'mobileVisible' => [ + 'value' => true + ], + 'images' => [ + 'value' => [ + '/assets/images/onsengage/svgs/engagement4/engagement_4_reduction.svg', + '/assets/images/onsengage/svgs/engagement4/engagement_4_emballages-recycles-certifies.svg', + '/assets/images/onsengage/svgs/engagement4/engagement_4_moins-plastique.svg', + '/assets/images/onsengage/svgs/engagement4/engagement_4_recyclabilite.svg', + ] + ] + ] + ] + ), + array_replace_recursive( + Engagement::getBlocks()[EngagementBlocType::bloc2()->value], + [ + 'type' => EngagementBlocType::bloc2(), + 'content' => [ + 'img' => [ + 'alt' => 'Polystyrene', + 'value' => '/assets/images/onsengage/images/engagement4/le-gaulois-engagement_384x260_Polystyrene.jpg' + ], + 'content' => [ + 'value' => 'Le plastique employé par Le Gaulois pour ses barquettes est du polystyrène expansé : un matériau très léger qui utilise 2,5 fois moins de plastique qu’une barquette classique.
Près de 70 % de nos barquettes bénéficient de ce matériau.
' + ], + 'link' => [ + 'status' => false + ] + ] + ] + ), + ], + 'status' => true + ] + ); + $engagement5->type = EngagementType::article(); + $engagement5->saveOrFail(); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('engagements'); + } +} diff --git a/resources/assets/images/onsengage/images/engagement1/le-gaulois-engagement_384x260_Partenaire-Solidaire.jpg b/resources/assets/images/onsengage/images/engagement1/le-gaulois-engagement_384x260_Partenaire-Solidaire.jpg new file mode 100644 index 00000000..65d5781c Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement1/le-gaulois-engagement_384x260_Partenaire-Solidaire.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement1/le-gaulois-engagement_792x555_Francais-depuis-toujours.jpg b/resources/assets/images/onsengage/images/engagement1/le-gaulois-engagement_792x555_Francais-depuis-toujours.jpg new file mode 100644 index 00000000..43338e75 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement1/le-gaulois-engagement_792x555_Francais-depuis-toujours.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement2/le-gaulois-engagement_384x260_Additifs.jpg b/resources/assets/images/onsengage/images/engagement2/le-gaulois-engagement_384x260_Additifs.jpg new file mode 100644 index 00000000..d0e062a0 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement2/le-gaulois-engagement_384x260_Additifs.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement2/le-gaulois-engagement_486x682_Programme-MALIN.jpg b/resources/assets/images/onsengage/images/engagement2/le-gaulois-engagement_486x682_Programme-MALIN.jpg new file mode 100644 index 00000000..17b46f82 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement2/le-gaulois-engagement_486x682_Programme-MALIN.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement2/le-gaulois-engagement_792x555_Recette.jpg b/resources/assets/images/onsengage/images/engagement2/le-gaulois-engagement_792x555_Recette.jpg new file mode 100644 index 00000000..d688b279 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement2/le-gaulois-engagement_792x555_Recette.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_384x260_Basse-conso.jpg b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_384x260_Basse-conso.jpg new file mode 100644 index 00000000..82d33bb7 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_384x260_Basse-conso.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_486x682_Oeuf.jpg b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_486x682_Oeuf.jpg new file mode 100644 index 00000000..81c45c2b Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_486x682_Oeuf.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x555_Nature-eleveurs.jpg b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x555_Nature-eleveurs.jpg new file mode 100644 index 00000000..fac6325f Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x555_Nature-eleveurs.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x555_Oui-cest-bon.jpg b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x555_Oui-cest-bon.jpg new file mode 100644 index 00000000..24d8c5ac Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x555_Oui-cest-bon.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x792_Nature-eleveurs.jpg b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x792_Nature-eleveurs.jpg new file mode 100644 index 00000000..537db895 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x792_Nature-eleveurs.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x792_Sante-volailles.jpg b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x792_Sante-volailles.jpg new file mode 100644 index 00000000..f2554121 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement3/le-gaulois-engagement_792x792_Sante-volailles.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_384x260_Polystyrene.jpg b/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_384x260_Polystyrene.jpg new file mode 100644 index 00000000..d5dba862 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_384x260_Polystyrene.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_384x260_Soja-responsable.jpg b/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_384x260_Soja-responsable.jpg new file mode 100644 index 00000000..3a58f181 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_384x260_Soja-responsable.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_792x792_Emballages.jpg b/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_792x792_Emballages.jpg new file mode 100644 index 00000000..73c461ec Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_792x792_Emballages.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_792x792_Empreinte-carbone.jpg b/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_792x792_Empreinte-carbone.jpg new file mode 100644 index 00000000..488e44ba Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement4/le-gaulois-engagement_792x792_Empreinte-carbone.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement5/le-gaulois-engagement_384x260_Tour-de-France.jpg b/resources/assets/images/onsengage/images/engagement5/le-gaulois-engagement_384x260_Tour-de-France.jpg new file mode 100644 index 00000000..1f4868df Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement5/le-gaulois-engagement_384x260_Tour-de-France.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement5/le-gaulois-engagement_486x682_Mecenat.jpg b/resources/assets/images/onsengage/images/engagement5/le-gaulois-engagement_486x682_Mecenat.jpg new file mode 100644 index 00000000..16fae8eb Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement5/le-gaulois-engagement_486x682_Mecenat.jpg differ diff --git a/resources/assets/images/onsengage/images/engagement5/le-gaulois-engagement_792x555_Sport.jpg b/resources/assets/images/onsengage/images/engagement5/le-gaulois-engagement_792x555_Sport.jpg new file mode 100644 index 00000000..c3223534 Binary files /dev/null and b/resources/assets/images/onsengage/images/engagement5/le-gaulois-engagement_792x555_Sport.jpg differ diff --git a/resources/assets/images/onsengage/logo-onsengage-mobile.png b/resources/assets/images/onsengage/logo-onsengage-mobile.png new file mode 100644 index 00000000..b64968e1 Binary files /dev/null and b/resources/assets/images/onsengage/logo-onsengage-mobile.png differ diff --git a/resources/assets/images/onsengage/logo-onsengage.png b/resources/assets/images/onsengage/logo-onsengage.png new file mode 100644 index 00000000..f1f93958 Binary files /dev/null and b/resources/assets/images/onsengage/logo-onsengage.png differ diff --git a/resources/assets/images/onsengage/onsengage-ssmenu.jpg b/resources/assets/images/onsengage/onsengage-ssmenu.jpg new file mode 100644 index 00000000..164503a6 Binary files /dev/null and b/resources/assets/images/onsengage/onsengage-ssmenu.jpg differ diff --git a/resources/assets/images/onsengage/onsengage_banner.jpg b/resources/assets/images/onsengage/onsengage_banner.jpg new file mode 100644 index 00000000..a6345d04 Binary files /dev/null and b/resources/assets/images/onsengage/onsengage_banner.jpg differ diff --git a/resources/assets/images/onsengage/svgs/engagement1/GAULOIS_engagement-1.svg b/resources/assets/images/onsengage/svgs/engagement1/GAULOIS_engagement-1.svg new file mode 100644 index 00000000..46c2d36d --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement1/GAULOIS_engagement-1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement1/engagement_1_100-francais.svg b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_100-francais.svg new file mode 100644 index 00000000..47e81d03 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_100-francais.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement1/engagement_1_100-present.svg b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_100-present.svg new file mode 100644 index 00000000..dd8f8669 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_100-present.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement1/engagement_1_1ere-marque.svg b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_1ere-marque.svg new file mode 100644 index 00000000..8118922b --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_1ere-marque.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement1/engagement_1_origine-france.svg b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_origine-france.svg new file mode 100644 index 00000000..ced6a650 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_origine-france.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement1/engagement_1_produits-bruts-elabores-fabriques-france.svg b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_produits-bruts-elabores-fabriques-france.svg new file mode 100644 index 00000000..ba6faef6 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_produits-bruts-elabores-fabriques-france.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement1/engagement_1_volailles-france.svg b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_volailles-france.svg new file mode 100644 index 00000000..802a26ed --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement1/engagement_1_volailles-france.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement2/GAULOIS_engagement-2.svg b/resources/assets/images/onsengage/svgs/engagement2/GAULOIS_engagement-2.svg new file mode 100644 index 00000000..8f7a5c0f --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement2/GAULOIS_engagement-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement2/engagement_2_limiter-sel.svg b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_limiter-sel.svg new file mode 100644 index 00000000..5dcfd173 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_limiter-sel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement2/engagement_2_optimiser-ingredients.svg b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_optimiser-ingredients.svg new file mode 100644 index 00000000..12b3867c --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_optimiser-ingredients.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement2/engagement_2_privilegier.svg b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_privilegier.svg new file mode 100644 index 00000000..daeabe3c --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_privilegier.svg @@ -0,0 +1,37 @@ + diff --git a/resources/assets/images/onsengage/svgs/engagement2/engagement_2_recettes-saines.svg b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_recettes-saines.svg new file mode 100644 index 00000000..745628e9 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_recettes-saines.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement2/engagement_2_reduire.svg b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_reduire.svg new file mode 100644 index 00000000..065081ba --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement2/engagement_2_reduire.svg @@ -0,0 +1,45 @@ + diff --git a/resources/assets/images/onsengage/svgs/engagement3/GAULOIS_engagement-3.svg b/resources/assets/images/onsengage/svgs/engagement3/GAULOIS_engagement-3.svg new file mode 100644 index 00000000..0ce7bb6d --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/GAULOIS_engagement-3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_algues.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_algues.svg new file mode 100644 index 00000000..20145141 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_algues.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_alimentation-sans-OGM.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_alimentation-sans-OGM.svg new file mode 100644 index 00000000..f41f7205 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_alimentation-sans-OGM.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_alimentation-sans-antibiotique-hormone.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_alimentation-sans-antibiotique-hormone.svg new file mode 100644 index 00000000..91eea2e8 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_alimentation-sans-antibiotique-hormone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_antibiotique.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_antibiotique.svg new file mode 100644 index 00000000..0f84c1c1 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_antibiotique.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_basse-consommation.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_basse-consommation.svg new file mode 100644 index 00000000..7598b032 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_basse-consommation.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_cereales-francaises.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_cereales-francaises.svg new file mode 100644 index 00000000..c5b79642 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_cereales-francaises.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_chataignier.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_chataignier.svg new file mode 100644 index 00000000..0d2c6dae --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_chataignier.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_espace.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_espace.svg new file mode 100644 index 00000000..071a95bb --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_espace.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_extaits-vegetaux.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_extaits-vegetaux.svg new file mode 100644 index 00000000..8451fa43 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_extaits-vegetaux.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_litiere.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_litiere.svg new file mode 100644 index 00000000..6211efb3 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_litiere.svg @@ -0,0 +1,37 @@ + diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_lumiere-naturelle.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_lumiere-naturelle.svg new file mode 100644 index 00000000..5a014788 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_lumiere-naturelle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_musical.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_musical.svg new file mode 100644 index 00000000..d4b361d0 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_musical.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_nature-fait-bien.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_nature-fait-bien.svg new file mode 100644 index 00000000..fdc9d4cd --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_nature-fait-bien.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_paille.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_paille.svg new file mode 100644 index 00000000..e809dbf1 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_paille.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_perchoirs.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_perchoirs.svg new file mode 100644 index 00000000..0c62c309 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_perchoirs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_plantation.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_plantation.svg new file mode 100644 index 00000000..d9093729 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_plantation.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_poules.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_poules.svg new file mode 100644 index 00000000..bbfb759a --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_poules.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_probiotiques.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_probiotiques.svg new file mode 100644 index 00000000..b5c9b7ea --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_probiotiques.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_stop.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_stop.svg new file mode 100644 index 00000000..3510bfa2 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_stop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement3/engagement_3_zero-antibiotique.svg b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_zero-antibiotique.svg new file mode 100644 index 00000000..59a0f567 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement3/engagement_3_zero-antibiotique.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/GAULOIS_engagement-4.svg b/resources/assets/images/onsengage/svgs/engagement4/GAULOIS_engagement-4.svg new file mode 100644 index 00000000..e09e5f00 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/GAULOIS_engagement-4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_amelioration-flotte.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_amelioration-flotte.svg new file mode 100644 index 00000000..5128abf4 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_amelioration-flotte.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_basse-consommation.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_basse-consommation.svg new file mode 100644 index 00000000..1a555c37 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_basse-consommation.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_boucles-transports.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_boucles-transports.svg new file mode 100644 index 00000000..4e3aef7d --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_boucles-transports.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_colisage.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_colisage.svg new file mode 100644 index 00000000..4372f77d --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_colisage.svg @@ -0,0 +1,54 @@ + diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_emballages-recycles-certifies.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_emballages-recycles-certifies.svg new file mode 100644 index 00000000..3df3611c --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_emballages-recycles-certifies.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_fournisseurs-locaux.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_fournisseurs-locaux.svg new file mode 100644 index 00000000..2cc6fec6 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_fournisseurs-locaux.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_moins-plastique.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_moins-plastique.svg new file mode 100644 index 00000000..e19aba23 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_moins-plastique.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_packaging-responsables.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_packaging-responsables.svg new file mode 100644 index 00000000..f9674df6 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_packaging-responsables.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_recyclabilite.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_recyclabilite.svg new file mode 100644 index 00000000..921f02c7 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_recyclabilite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_reduction-distances.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_reduction-distances.svg new file mode 100644 index 00000000..cbbf6adb --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_reduction-distances.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_reduction-empreinte-carbone.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_reduction-empreinte-carbone.svg new file mode 100644 index 00000000..05df1db0 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_reduction-empreinte-carbone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement4/engagement_4_reduction.svg b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_reduction.svg new file mode 100644 index 00000000..94520624 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement4/engagement_4_reduction.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement5/GAULOIS_engagement-5.svg b/resources/assets/images/onsengage/svgs/engagement5/GAULOIS_engagement-5.svg new file mode 100644 index 00000000..1fbd05fb --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement5/GAULOIS_engagement-5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement5/engagement_5_course-a-pieds.svg b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_course-a-pieds.svg new file mode 100644 index 00000000..07c01d45 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_course-a-pieds.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement5/engagement_5_football.svg b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_football.svg new file mode 100644 index 00000000..1276a7f0 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_football.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement5/engagement_5_handball.svg b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_handball.svg new file mode 100644 index 00000000..28032922 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_handball.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement5/engagement_5_rugby.svg b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_rugby.svg new file mode 100644 index 00000000..127e0fe0 --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_rugby.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/assets/images/onsengage/svgs/engagement5/engagement_5_tennis-de-table.svg b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_tennis-de-table.svg new file mode 100644 index 00000000..1846593d --- /dev/null +++ b/resources/assets/images/onsengage/svgs/engagement5/engagement_5_tennis-de-table.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/sass/_variables.scss b/resources/sass/_variables.scss index ae09cf48..1b82d197 100644 --- a/resources/sass/_variables.scss +++ b/resources/sass/_variables.scss @@ -63,6 +63,12 @@ $vegetalBodyBG: #8dd175; $vegetalTitle: #64ab4b; $pmuColor: #003b22; +// on s'engage +$engagementDarkerGreen: #082014; +$engagementDarkGreen: #006633; +$engagementLightGreen: #8AC51D; +$engagementMajorBreakPoint: $big_screen + 30px; + // Body $body-bg: $color1; diff --git a/resources/sass/front/_sub_header.scss b/resources/sass/front/_sub_header.scss index f84f432b..b4c81422 100644 --- a/resources/sass/front/_sub_header.scss +++ b/resources/sass/front/_sub_header.scss @@ -921,6 +921,43 @@ } } +.sub_header_onsengage { + background-image: url("~@/images/onsengage/onsengage_banner.jpg"); + width: 100%; + height: 44em; + background-size: cover; + background-position: center center; + overflow: visible; + + &:after { + content: ""; + background-image: inherit; + background-repeat: no-repeat; + height: inherit; + width: inherit; + position: inherit; + } + + & .logo { + position: absolute; + left: 50%; + top: 0; + transform: translateX(-50%); + margin: 8rem 0 0; + font-size: 1.2em; + } + + // @include max-width($tablet + 60px) { + // height: 34em; + // & .title { + // font-size: 1em; + // } + // } + // @include max-width($tablet - 80px) { + // height: 28em; + // } +} + .sub_header_joinus { background-image: url("~@/images/joinus/nr_banner.jpg"); width: 100%; diff --git a/resources/sass/front/pages/onsengage/bloc1.scss b/resources/sass/front/pages/onsengage/bloc1.scss new file mode 100644 index 00000000..56cf9fb6 --- /dev/null +++ b/resources/sass/front/pages/onsengage/bloc1.scss @@ -0,0 +1,127 @@ +.content.onsengage { + .bloc1 { + display: flex; + flex-direction: row-reverse; + align-items: flex-start; + & > img { + position: absolute; + left: 0; + object-fit: contain; + width: 50%; + } + &.right { + flex-direction: row; + & > img { + position: absolute; + right: 0; + left:inherit; + } + & > .content { + position: relative; + right: inherit; + } + } + & > .content { + position: relative; + right: 0; + min-width: 46.132rem; + margin-top: 16rem; + background-color: #FFF; + padding: 3.466rem; + width: 55%; + & > .title { + font-family: 'Veneer'; + font-size: 3.334rem; + color: $engagementDarkGreen; + } + & > .text { + padding-top: 1.6rem; + padding-bottom: 4.266rem; + font-family: 'Catamaran'; + font-size: 1.6rem; + } + & > .link { + padding-top: 1.6rem; + padding-bottom: 4.266rem; + position: relative; + & > a { + background-color: $engagementDarkGreen; + color: #FFF; + display: inline-block; + min-height: 2.867rem; + font-family: 'Catamaran'; + font-size: 1.066rem; + font-weight: bold; + padding: 0.6rem 1rem; + border-radius: 2rem; + text-transform: uppercase; + } + &::after { + position: absolute; + bottom: 0; + content: " "; + display: block; + height: 0.2rem; + width: 4.266rem; + background-color: $engagementLightGreen; + } + &.noborder::after { + display: none;; + } + } + & > .labels { + padding-top: 4.266rem; + display: flex; + flex-direction: row; + justify-content: space-between; + & > p { + color: $engagementDarkGreen; + width: 49%; + &.w-100 { + width: 100%; + } + & > span { + display: block; + } + & > span.bigText { + font-family: 'Veneer'; + font-size: 2.8rem; + line-height: 2.8rem; + } + & > span.text { + font-family: 'Catamaran'; + font-size: 1.2rem; + line-height: 1.2rem; + } + } + } + } + } + @include max-width($engagementMajorBreakPoint) { + .bloc1, & .bloc1.right { + flex-direction: column; + & > img { + position: relative; + right: inherit; + left: 50%; + transform: translateX(-50%); + width: 100%; + max-width: 792px; + } + & > .content { + position: relative; + right: inherit; + left: 50%; + margin-top: -2.6rem; + transform: translateX(-50%); + min-width: inherit; + max-width: 46.132rem; + width: calc(100vw - 1.334rem); + border-radius: 0.6rem; + @include max-width($mobile) { + padding: 2.466rem; + } + } + } + } +} diff --git a/resources/sass/front/pages/onsengage/bloc2.scss b/resources/sass/front/pages/onsengage/bloc2.scss new file mode 100644 index 00000000..a28eca19 --- /dev/null +++ b/resources/sass/front/pages/onsengage/bloc2.scss @@ -0,0 +1,60 @@ +.content.onsengage { + .bloc2 { + background-color: $engagementLightGreen; + & > div { + display: flex; + flex-direction: row; + padding: 3.2rem 6.8rem 2.67rem 6.8rem; + @include max-width($desktop) { + padding: 3.2rem 1.1rem 2.67rem 1.1rem; + } + @include max-width($tablet) { + flex-direction: column; + } + & > img { + object-fit: contain; + max-width: 384px; + @include max-width($tablet) { + position: relative; + transform: translateX(-50%); + margin-bottom: 1.6rem; + left: 50%; + } + } + & > .content { + margin-left: 1.6rem; + font-family: 'Catamaran'; + @include max-width($mobile) { + margin-left: 0; + } + & > .text { + & > * { + font-size: 1.2rem; + } + & h3 { + font-family: 'Catamaran'; + font-size: 1.6rem; + line-height: 1.6rem; + font-weight: 500; + margin-bottom: 0.533rem; + } + } + & > .link { + margin-top: 1.6rem; + & > a { + background-color: $engagementDarkGreen; + color: #FFF; + display: inline-block; + min-height: 2.867rem; + font-family: 'Catamaran'; + font-size: 1.066rem; + font-weight: bold; + padding: 0.6rem 1rem; + border-radius: 2rem; + text-transform: uppercase; + } + } + } + } + } +} diff --git a/resources/sass/front/pages/onsengage/bloc3.scss b/resources/sass/front/pages/onsengage/bloc3.scss new file mode 100644 index 00000000..65ec5696 --- /dev/null +++ b/resources/sass/front/pages/onsengage/bloc3.scss @@ -0,0 +1,153 @@ +.content.onsengage { + .bloc3 { + position: relative; + display: flex; + flex-direction: row-reverse; + align-items: flex-end; + & > img { + position: absolute; + left: 0; + object-fit: contain; + width: 40%; + z-index: 1; + } + & > .content { + position: relative; + right: 0; + min-width: 46.132rem; + background-color: #FFF; + padding: 3.466rem; + width: 67%; + margin-bottom: 6.934rem; + padding-left: 10%; + & > .title { + font-family: 'Veneer'; + font-size: 3.334rem; + color: $engagementDarkGreen; + } + & > .text { + padding-top: 1.6rem; + padding-bottom: 4.266rem; + font-family: 'Catamaran'; + font-size: 1.6rem; + } + & > .link { + padding-top: 1.6rem; + padding-bottom: 4.266rem; + position: relative; + & > a { + background-color: $engagementDarkGreen; + color: #FFF; + display: inline-block; + min-height: 2.867rem; + font-family: 'Catamaran'; + font-size: 1.066rem; + font-weight: bold; + padding: 0.6rem 1rem; + border-radius: 2rem; + text-transform: uppercase; + } + &::after { + position: absolute; + bottom: 0; + content: " "; + display: block; + height: 0.2rem; + width: 4.266rem; + background-color: $engagementLightGreen; + } + &.noborder::after { + display: none;; + } + } + & > .labels { + padding-top: 4.266rem; + display: flex; + flex-direction: row; + justify-content: space-between; + flex-wrap: wrap; + & > p { + color: $engagementDarkGreen; + width: 49%; + & > span { + display: block; + } + & > span.bigText { + font-family: 'Veneer'; + font-size: 2.8rem; + line-height: 2.8rem; + } + & > span.text { + font-family: 'Catamaran'; + font-size: 1.2rem; + line-height: 1.2rem; + } + &.w-100 { + width: 100%; + margin-bottom: 1.6rem; + & > span.bigText { + font-size: 3rem; + line-height: 3rem; + } + & > span.text { + font-size: 1.4rem; + line-height: 1.4rem; + } + } + } + } + } + &.right { + flex-direction: row; + & > img { + position: absolute; + right: 0; + left:inherit; + } + & > .content { + position: relative; + right: inherit; + padding-left: 3.466rem; + padding-right: 10%; + } + } + + @include max-width($engagementMajorBreakPoint) { + flex-direction: column-reverse !important; + align-items: flex-start !important; + & > img { + position: relative !important; + right: inherit !important; + width: 100% !important; + max-width: 486px !important; + left: 50% !important; + transform: translateX(-50%) !important; + z-index: 0 !important; + border-radius: 0.6rem !important; + } + & > .content { + max-width: 46.132rem; + min-width: inherit !important; + width: 100%; + left: 50%; + transform: translateX(-50%); + margin: 0; + } + &::after { + content: ' '; + background-color: red; + display: block; + position: absolute; + max-width: 46.132rem; + width: 100%; + height: 100%; + z-index: -28; + left: 0; + left: 50%; + transform: translateX(-50%); + margin-bottom: -1.6rem; + background-color: #FFF; + } + } + } +} diff --git a/resources/sass/front/pages/onsengage/bloc4.scss b/resources/sass/front/pages/onsengage/bloc4.scss new file mode 100644 index 00000000..166055c0 --- /dev/null +++ b/resources/sass/front/pages/onsengage/bloc4.scss @@ -0,0 +1,110 @@ +.content.onsengage { + .bloc4 { + position: relative; + display: flex; + flex-direction: row; + align-items: flex-end; + & > img { + object-fit: contain; + width: 67%; + } + & > .content { + position: absolute; + right: 0; + min-width: 40.132rem; + background-color: #FFF; + padding: 3.466rem; + width: 40%; + margin-bottom: 6.934rem; + h1,h2,h3,h4,h5,h6,p { + font-family: 'Catamaran'; + } + h6 { + font-size: 1.734rem; + } + p { + // reset font-size + font-size: 1.2rem; + } + & > .title { + font-family: 'Veneer'; + font-size: 3.334rem; + color: $engagementDarkGreen; + } + & > .text { + padding-top: 1.6rem; + padding-bottom: 4.266rem; + font-family: 'Catamaran'; + font-size: 1.6rem; + } + & > .link { + padding-top: 1.6rem; + position: relative; + & > a { + background-color: $engagementDarkGreen; + color: #FFF; + display: inline-block; + min-height: 2.867rem; + font-family: 'Catamaran'; + font-size: 1.066rem; + font-weight: bold; + padding: 0.6rem 1rem; + border-radius: 2rem; + text-transform: uppercase; + } + &::after { + position: absolute; + bottom: 0; + content: " "; + display: block; + height: 0.2rem; + width: 4.266rem; + background-color: $engagementLightGreen; + } + &.noborder::after { + display: none;; + } + } + } + @include max-width($engagementMajorBreakPoint) { + flex-direction: column !important; + align-items: flex-start; + &:before { + position: absolute; + content: " "; + background-image: radial-gradient(rgba(255,255,255,0.15) 20%, transparent 20%), radial-gradient(rgba(255,255,255,0.25) 20%, transparent 20%); + background-color: rgba(0,0,0,0.04); + background-position: 0 0, 50px 50px; + background-size: 100px 100px; + height: 25rem; + width: 100%; + box-shadow: 0 0 0.5rem rgba(0,0,0,0.1) inset; + @include max-width(25rem) { + display: none; + } + } + & > img { + position: relative; + right: inherit; + left: 50%; + transform: translateX(-50%); + width: 100%; + max-width: 25rem; + } + & > .content { + position: relative; + right: inherit !important; + left: 50% !important; + margin-top: -2.6rem; + transform: translateX(-50%); + min-width: inherit; + max-width: 46.132rem; + width: calc(100vw - 1.334rem); + border-radius: 0.6rem; + @include max-width($mobile) { + padding: 2.466rem; + } + } + } + } +} diff --git a/resources/sass/front/pages/onsengage/bloc5.scss b/resources/sass/front/pages/onsengage/bloc5.scss new file mode 100644 index 00000000..fc2e73cc --- /dev/null +++ b/resources/sass/front/pages/onsengage/bloc5.scss @@ -0,0 +1,176 @@ +.content.onsengage { + .bloc5 { + width: 29.8rem; + text-align: center; + & > .titlePicto { + margin-bottom: 1.6rem; + @include max-width($mobile) { + & > img { + object-fit: contain; + width: calc(100% - 0.4rem); + margin: 0 0.2rem; + } + } + } + & > .pictos { + display: grid; + grid-template-columns: repeat(2, 1fr); + & > div { + border-right: 4px dotted $engagementLightGreen; + border-bottom: 4px dotted $engagementLightGreen; + & > img { + margin-top: inherit; + margin-bottom: 2.133rem; + } + &:nth-child(n+3) { + & > img { + margin-top: 2.133rem; + } + } + &:nth-child(2n) { + border-right: inherit; + } + &:nth-child(2n+1):nth-last-child(-n+2),&:nth-child(2n+1):nth-last-child(-n+2) ~ div { + border-bottom: inherit; + & > img { + margin-bottom: inherit; + margin-top: 2.133rem; + } + } + @include max-width($tablet) { + + } + } + } + } + + // bloc5 down the pages and specific selector for engagement 4 + .bloc4:first-child + .bloc5 { + margin-top: 6.4rem; + } + .bloc5:nth-of-type(n+5), .bloc4:first-child + .bloc5 { + width: 100%; + & > .pictos { + grid-template-columns: repeat(4, 1fr); + & > div { + border-right: 4px dotted $engagementLightGreen; + border-bottom: 4px dotted $engagementLightGreen; + & > img { + margin-top: 2.133rem; + margin-bottom: 2.133rem; + } + &:nth-child(1),&:nth-child(2),&:nth-child(3),&:nth-child(4) { + & > img { + margin-top: inherit; + } + } + &:nth-child(2n) { + border-right: 4px dotted $engagementLightGreen; + } + &:nth-child(4n) { + border-right: inherit !important; + } + &:nth-child(4n+1):nth-last-child(-n+4), &:nth-child(4n+1):nth-last-child(-n+4) ~ div { + border-bottom: inherit; + & > img { + margin-bottom: inherit; + margin-top: 2.133rem; + } + } + } + } + @include max-width($tablet) { + & > .pictos { + grid-template-columns: repeat(2, 1fr); + & > div { + border-right: 4px dotted $engagementLightGreen; + border-bottom: 4px dotted $engagementLightGreen; + & > img { + margin-top: 2.133rem; + margin-bottom: 2.133rem; + } + &:nth-child(1),&:nth-child(2) { + & > img { + margin-top: inherit; + } + } + &:nth-child(3),&:nth-child(4) { + & > img { + margin-top: 2.133rem !important; + } + } + &:nth-child(2n) { + border-right: inherit !important; + } + &:nth-child(2n+1):nth-last-child(-n+2), &:nth-child(2n+1):nth-last-child(-n+2) ~ div { + border-bottom: inherit; + & > img { + margin-bottom: inherit; + margin-top: 2.133rem; + } + } + } + } + } + @include max-width($tablet) { + & > .pictos { + grid-template-columns: repeat(1, 1fr); + & > div { + border-right: inherit; + border-bottom: 4px dotted $engagementLightGreen; + & > img { + margin-bottom: 2.133rem; + } + &:nth-child(n+1) { + border-bottom: 4px dotted $engagementLightGreen !important; + & > img { + margin-top: 2.133rem !important; + margin-bottom: 2.133rem !important; + } + } + &:nth-last-child(1) { + border-bottom: inherit !important; + & > img { + margin-bottom: inherit !important; + margin-top: 2.133rem !important; + } + } + } + } + } + } + & .blocs > .bloc5, & .blocs > .bloc5 + .bloc1 + .bloc5 { + @include max-width($engagementMajorBreakPoint) { + position: relative !important; + margin-top: 1.6rem !important; + margin-left: inherit !important; + margin-right: inherit !important; + right: inherit !important; + left: 50% !important; + width: calc(100vw - 1.334rem) !important; + max-width: 65.132rem !important; + transform: translateX(-50%) !important; + } + @include max-width($tablet) { + & > .pictos { + grid-template-columns: repeat(1, 1fr); + & > div { + border-bottom: 4px dotted $engagementLightGreen !important; + border-right: inherit; + & > img { + margin-bottom: 2.133rem !important; + } + &:nth-child(2) > img { + margin-top: 2.133rem; + } + &:nth-last-child(1) { + border-bottom: inherit !important; + & > img { + margin-bottom: inherit !important; + } + } + } + } + } + } +} diff --git a/resources/sass/front/pages/onsengage/common.scss b/resources/sass/front/pages/onsengage/common.scss new file mode 100644 index 00000000..0aa15912 --- /dev/null +++ b/resources/sass/front/pages/onsengage/common.scss @@ -0,0 +1,188 @@ +.content.onsengage { + padding-top: 6rem; + padding-bottom: 6.467rem; + + .bloc1,.bloc2,.bloc3,.bloc4,.bloc5 { + .content { + ul { + list-style-type: inherit; + } + p, ul, br, span, a { + // reset font-size + font-size: 1.2rem; + line-height: normal; + } + h1,h2,h3,h4,h5,h6,p { + font-family: 'Catamaran'; + } + h6 { + font-size: 1.734rem; + } + @include max-width($engagementMajorBreakPoint) { + & > .title { + font-size: 2.9rem !important; + } + & > .text { + font-size: 1.5rem !important; + } + & > .labels { + & > p { + & > span.bigText { + font-size: 2.2rem !important; + line-height: 2.2rem !important; + } + } + } + } + } + } + + .engagement { + padding-top: 4rem; + } + + #onsengageIntro { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + & > span:first-child { + font-size: 4rem; + font-family: 'Veneer'; + color: $engagementDarkGreen; + display: block; + @include max-width($tablet) { + font-size: 3rem; + } + } + & > p { + font-family: 'Catamaran'; + max-width: 52.9rem; + font-size: 1.4rem; + margin: 2.67rem 1rem 3.734rem 1rem; + } + } + + .titleBadge { + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + + & > img { + max-width: 6rem; + } + & > span { + margin-top: 1.6rem; + font-family: 'Veneer'; + color: $engagementLightGreen; + font-size: 2.8rem; + @include max-width($tablet) { + font-size: 4.76em; + } + } + & > h1 { + margin-top: 1.6rem; + font-family: 'Veneer'; + color: $engagementDarkGreen; + font-size: 5.76em; + padding: 0 1.6rem; + @include max-width($tablet) { + font-size: 4.76em; + } + } + } + + .link > a:hover { + background-color: $engagementDarkerGreen; + text-decoration: underline; + cursor: pointer; + } + + .blocs { + position: relative; + margin-top: 1.6 * 2rem; + & > div:nth-child(n+3) { + margin-top: 6.4rem; + } + + // engagement 3 specific rules + & > .bloc1 + .bloc5 { + margin-left: -2.133rem; + margin-top: 34rem; + position: absolute; + top: 0; + left: 0; + &:nth-child(4) { + top: 50rem; + right: 0; + left: inherit; + } + &:nth-child(n+5) { + position: inherit; + top: inherit; + right: inherit; + left: inherit; + } + } + & > .bloc1.right + .bloc5 { + margin-left: inherit; + margin-right: -2.133rem; + right: 0; + left: inherit; + &:nth-child(4) { + top: 50rem; + right: inherit; + left: 0; + } + } + // engagement 3 second part + & > .bloc5 + .bloc1 { + height: 32rem; + margin-bottom: 50rem; + @include max-width($engagementMajorBreakPoint) { + height: inherit; + margin-bottom: inherit; + } + } + & > .bloc5 + .bloc1 + .bloc5 { + position: relative; + margin-top: -50rem; + top: 0 !important; + margin-right: inherit; + margin-left: 2.133rem; + left: 100% !important; + transform: translateX(-100%); + } + // engagement 4 specific rule + & > .bloc4:first-child { + flex-direction: row-reverse; + & > .content { + right: inherit; + left: 0; + } + } + + h1,h2,h3,h4,h5,h6 { + color: $engagementDarkGreen !important; + } + a { + color: $engagementDarkGreen; + font-weight: bold; + &:hover { + text-decoration: underline; + } + } + } + + @include max-width($mobile) { + .labels { + flex-direction: column !important; + & > p { + width: 100% !important; + margin-bottom: 1.6rem !important; + } + } + } +} + diff --git a/resources/sass/front/pages/onsengage/nav.scss b/resources/sass/front/pages/onsengage/nav.scss new file mode 100644 index 00000000..be691da8 --- /dev/null +++ b/resources/sass/front/pages/onsengage/nav.scss @@ -0,0 +1,20 @@ +.content.onsengage { + .nav-onsengage { + position: relative; + top: inherit; + + ul > li { + background-color: #FFFFFF; + margin-right: 1px ; + &:last-of-type { + margin-right: inherit; + } + &.active { + border-bottom: 5px solid $engagementDarkGreen !important; + } + &:hover { + border-bottom: 5px solid $engagementDarkGreen !important; + } + } + } +} diff --git a/resources/sass/main.scss b/resources/sass/main.scss index e8113491..d1d0fdf0 100644 --- a/resources/sass/main.scss +++ b/resources/sass/main.scss @@ -70,3 +70,11 @@ @import "front/pages/club/boutique/index"; @import "front/pages/club/boutique/validated"; @import "front/pages/club/bourse"; + +@import "front/pages/onsengage/nav"; +@import "front/pages/onsengage/common"; +@import "front/pages/onsengage/bloc1"; +@import "front/pages/onsengage/bloc2"; +@import "front/pages/onsengage/bloc3"; +@import "front/pages/onsengage/bloc4"; +@import "front/pages/onsengage/bloc5"; diff --git a/resources/views/bo/engagements/edit.blade.php b/resources/views/bo/engagements/edit.blade.php new file mode 100644 index 00000000..98545bf6 --- /dev/null +++ b/resources/views/bo/engagements/edit.blade.php @@ -0,0 +1,51 @@ +@extends('layouts.bo') + +@section('content') +| {{$engagement->pretitle}} | +{{$engagement->title}} | ++ + @if ($engagement->status) + + @else + + @endif + + | +Éditer | +
|---|
+ {!! $label['bigText'] !!} + {!! $label['text'] !!} +
diff --git a/resources/views/front/onsengage/engageetresponsable/engagement.blade.php b/resources/views/front/onsengage/engageetresponsable/engagement.blade.php new file mode 100644 index 00000000..11f6ae69 --- /dev/null +++ b/resources/views/front/onsengage/engageetresponsable/engagement.blade.php @@ -0,0 +1,56 @@ +@extends('layouts.app') +@section('title', $engagement->metaTitle) +@section('description', $engagement->metaDescription) + +@section('sub_header') +@include('front.onsengage.engageetresponsable.subheader') +@endsection + +@section('content') +
+ @else
+
+ @endmobile
+