From 6165768157637921bf1df7011d18d93dc4dbff00 Mon Sep 17 00:00:00 2001 From: Corentin Huet Date: Fri, 22 Aug 2025 16:06:06 +0200 Subject: [PATCH] feat: the join us page added --- .../front/sections/profession.blade.php | 22 ++ .../front/sections/testimonial.blade.php | 19 ++ .../components/front/sections/title.blade.php | 4 +- .../front/sections/training-path.blade.php | 11 + .../components/front/sections/video.blade.php | 10 +- .../views/front/layouts/header.blade.php | 16 +- .../views/front/pages/nos-marques.blade.php | 2 +- .../front/pages/nous-rejoindre.blade.php | 73 +++++ resources/views/front/partials/hero.blade.php | 4 +- .../views/front/partials/join-us.blade.php | 77 +++++ .../front/partials/our-big-brands.blade.php | 62 ++-- .../views/front/partials/our-events.blade.php | 242 ++++++++++++++ .../front/partials/our-politics.blade.php | 96 ++++++ .../front/partials/our-professions.blade.php | 309 ++++++++++++++++++ .../views/front/partials/visit-us.blade.php | 65 ++++ .../front/partials/your-career.blade.php | 174 ++++++++++ .../front/partials/your-well-being.blade.php | 136 ++++++++ routes/web-front.php | 15 +- 18 files changed, 1291 insertions(+), 46 deletions(-) create mode 100644 resources/views/components/front/sections/profession.blade.php create mode 100644 resources/views/components/front/sections/testimonial.blade.php create mode 100644 resources/views/components/front/sections/training-path.blade.php create mode 100644 resources/views/front/pages/nous-rejoindre.blade.php create mode 100644 resources/views/front/partials/join-us.blade.php create mode 100644 resources/views/front/partials/our-events.blade.php create mode 100644 resources/views/front/partials/our-politics.blade.php create mode 100644 resources/views/front/partials/our-professions.blade.php create mode 100644 resources/views/front/partials/visit-us.blade.php create mode 100644 resources/views/front/partials/your-career.blade.php create mode 100644 resources/views/front/partials/your-well-being.blade.php diff --git a/resources/views/components/front/sections/profession.blade.php b/resources/views/components/front/sections/profession.blade.php new file mode 100644 index 00000000..e174890e --- /dev/null +++ b/resources/views/components/front/sections/profession.blade.php @@ -0,0 +1,22 @@ +@if(isset($profession)) +
+
+
+ {{ $profession['title'] }} + @include('front.partials.borders', [ + 'borders' => !empty($profession['image_borders']) ? $profession['image_borders'] : [] + ]) +
+
+
+

{{ $profession['title'] }}

+
+
    + @foreach ($profession['list'] as $l) +
  • {{ $l }}
  • + @endforeach +
+
+
+
+@endif diff --git a/resources/views/components/front/sections/testimonial.blade.php b/resources/views/components/front/sections/testimonial.blade.php new file mode 100644 index 00000000..0cc4eaff --- /dev/null +++ b/resources/views/components/front/sections/testimonial.blade.php @@ -0,0 +1,19 @@ +@if(!empty($testimonial)) +
+
+ {{ $testimonial['author'] }} +
+
+
{{ $testimonial['text'] }}
+
{{ $testimonial['author'] }}
+
+
+
+
+

+ {!! $testimonial['description'] !!} +

+
+
+
+@endif diff --git a/resources/views/components/front/sections/title.blade.php b/resources/views/components/front/sections/title.blade.php index 86ecaaa2..c66629b6 100644 --- a/resources/views/components/front/sections/title.blade.php +++ b/resources/views/components/front/sections/title.blade.php @@ -1,6 +1,6 @@ -

+

{{ $title }} @if (isset($subtitle)) - {{ $subtitle }} + {{ $subtitle }} @endif

diff --git a/resources/views/components/front/sections/training-path.blade.php b/resources/views/components/front/sections/training-path.blade.php new file mode 100644 index 00000000..24d03954 --- /dev/null +++ b/resources/views/components/front/sections/training-path.blade.php @@ -0,0 +1,11 @@ +@if(!empty($training)) +
+
+ {{ $training['title'] }} +
+
+
{{ $training['title'] }}
+
{{ $training['text'] }}
+
+
+@endif diff --git a/resources/views/components/front/sections/video.blade.php b/resources/views/components/front/sections/video.blade.php index 355ca669..8c9a2555 100644 --- a/resources/views/components/front/sections/video.blade.php +++ b/resources/views/components/front/sections/video.blade.php @@ -1,14 +1,14 @@ @if (isset($video)) -
-
+
+
@php - $videoUrl = strpos($video, 'https') === 0 ? $video : ($type === 'youtube' ? 'https://www.youtube.com/embed/' : 'https://player.vimeo.com/video/') . $video; + $videoUrl = strpos($video['video'], 'https') === 0 ? $video['video'] : ($video['type_video'] === 'youtube' ? 'https://www.youtube.com/embed/' : 'https://player.vimeo.com/video/') . $video['video']; @endphp -
+ diff --git a/resources/views/front/layouts/header.blade.php b/resources/views/front/layouts/header.blade.php index a62f462c..dccb0559 100644 --- a/resources/views/front/layouts/header.blade.php +++ b/resources/views/front/layouts/header.blade.php @@ -110,7 +110,7 @@