259 lines
16 KiB
PHP
259 lines
16 KiB
PHP
@extends('fo.layout')
|
|
|
|
@section('title', $staticPageModel->seo_title)
|
|
@section('description', $staticPageModel->seo_description)
|
|
@section('breadcrumb', request()->route()->getName())
|
|
|
|
@section('banner')
|
|
@include('fo.layouts.banner-slider', [
|
|
'displayArrow' => true,
|
|
'buttonLink' => '#introduction',
|
|
])
|
|
@endsection
|
|
|
|
@section('content')
|
|
<section class="homepage">
|
|
{{-- TITLE --}}
|
|
<section class="title-part anchor-padding my-5" id="introduction">
|
|
<div class="container text-center">
|
|
<div class="row">
|
|
<div class="col">
|
|
<h1 class="h1 fw-bold text-primary">{{ $staticPageModel->title }}</h1>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{-- MISSIONS --}}
|
|
<section class="missions anchor-padding" id="missions">
|
|
<div class="container">
|
|
<div class="row align-items-center">
|
|
<div class="col-12">
|
|
<h2 class="h2 fw-bold text-primary text-center">
|
|
{{ $missionSection->h2_title }}
|
|
</h2>
|
|
</div>
|
|
</div>
|
|
<div class="row align-items-center mb-5">
|
|
@if ($missionSection->text)
|
|
<div class="ck-content text-primary">
|
|
{!! clean($missionSection->text) !!}
|
|
</div>
|
|
@endif
|
|
</div>
|
|
<div class="d-flex flex-column flex-sm-row justify-content-center align-items-center">
|
|
<div class="missions-key-number d-flex justify-content-end">
|
|
@include('fo.partials.key-number', [
|
|
'color' => 'sixt',
|
|
'value' => $missionSection->data['bloc_key_sites']['value'],
|
|
'text' => __('sites'),
|
|
'position' => 'top',
|
|
])
|
|
</div>
|
|
<div class="missions-key-number d-flex justify-content-start">
|
|
@include('fo.partials.key-number', [
|
|
'color' => 'quad',
|
|
'value' => $missionSection->data['bloc_key_metiers']['value'],
|
|
'text' => __('métiers'),
|
|
'position' => 'top',
|
|
])
|
|
</div>
|
|
</div>
|
|
<div class="row align-items-center mt-5">
|
|
@if ($missionSection->data['bloc_button_on_se_devoile']['value'])
|
|
<div class="col-12">
|
|
<div class="d-flex justify-content-center my-4">
|
|
<a class="btn btn-primary rounded-5 fw-bold border-primary border border-2" href="{{ route('fo.unveil.show') }}"
|
|
title="{{ __('Accéder à la page \'On se dévoile\'') }}">{{ __('On se dévoile') }}</a>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
<div class="col-12">
|
|
<div class="d-flex justify-content-center w-100 w-lg-75 w-xl-50 mx-auto">
|
|
<div class="cn-youtube cn-lightbox w-100"
|
|
data-id="{{ $missionSection->data['bloc_string_i_d_de_la_video_youtube']['value'] }}"
|
|
data-img="{{ asset($missionSection->data['bloc_illustration_de_la_video']['value']) }}"
|
|
data-play-btn-img="{{ Vite::asset('resources/assets/images/misc/play-button.svg') }}">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{-- AMBITION --}}
|
|
<section class="ambition my-5">
|
|
<div class="container text-center">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-10 col-12 p-lg-5 ambition-content rounded-4">
|
|
<h2 class="h2 fw-bold text-primary">{{ $ambitionSection->h2_title }}</h2>
|
|
@if ($ambitionSection->text)
|
|
<div class="ck-content text-primary">
|
|
{!! clean($ambitionSection->text) !!}
|
|
</div>
|
|
@endif
|
|
@if ($ambitionSection->data['bloc_button_on_se_devoile']['value'])
|
|
<div class="d-flex justify-content-center mt-4">
|
|
<a class="btn btn-outline-primary rounded-5 fw-bold border-primary border border-2"
|
|
href="{{ route('fo.commit.show') }}"
|
|
title="{{ __('Accéder à la page \'On s\'engage\'') }}">{{ __('On s\'engage') }}</a>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{-- TEAM --}}
|
|
<section class="team border-top-curved-primary">
|
|
<div class="text-bg-primary pb-5">
|
|
<div class="container">
|
|
<div class="row align-items-center">
|
|
<div class="col-12 col-lg-6 text-lg-start">
|
|
<h2 class="h2 fw-bold">{{ $teamSection->h2_title }}</h2>
|
|
@if ($teamSection->text)
|
|
<div class="ck-content">
|
|
{!! clean($teamSection->text) !!}
|
|
</div>
|
|
@endif
|
|
@if ($teamSection->data['bloc_button_on_embauche']['value'])
|
|
<div class="d-none d-lg-block mt-4">
|
|
<a class="btn btn-primary rounded-5 fw-bold border border-2 border-white"
|
|
href="{{ route('fo.hire.show') }}"
|
|
title="{{ __('Accéder à la page \'On embauche\'') }}">{{ __('On embauche') }}</a>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
<div class="col-12 col-lg-6 mt-lg-0 mt-5">
|
|
<div class="card row w-100 mx-auto border-0 bg-transparent">
|
|
<div class="col-12 align-items-center">
|
|
<div class="row w-100 mx-auto">
|
|
<div class="col-3 d-flex justify-content-center align-items-center">
|
|
<div class="rounded-circle ratio ratio-1x1 w-100 d-flex align-items-center bg-white">
|
|
<img class="p-2" src="{{ Vite::asset('resources/assets/images/header/volena-logo.svg') }}"
|
|
title="{{ __('Logo :app', ['app' => config('app.name')]) }}"
|
|
alt="{{ __('Logo :app', ['app' => config('app.name')]) }}">
|
|
</div>
|
|
</div>
|
|
<div class="col-9 d-flex justify-content-center align-items-center">
|
|
<p class="small fw-bold fs-5 text-uppercase m-0 text-white">
|
|
{{ __('3 bonnes raisons de nous rejoindre') }} :
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 rounded-3 mt-2 bg-white p-4">
|
|
<div class="swiper swiper-teams p-0" id="swiper-teams">
|
|
<div class="swiper-wrapper">
|
|
@foreach ($slideTeams as $slide)
|
|
<div class="swiper-slide">
|
|
<p class="text-primary fw-bolder fs-3">{{ $slide->title }}</p>
|
|
<div class="text-primary fs-4 ck-content">{!! clean($slide->content) !!}</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
<div class="d-flex justify-content-center align-items-center">
|
|
<div
|
|
class="swiper-pagination swiper-teams-pagination d-flex justify-content-evenly align-items-center w-100">
|
|
</div>
|
|
<button class="swiper-pagination-playpause btn btn-primary btn-sm m-1 ms-3">
|
|
<i class="fa-solid fa-pause"></i>
|
|
<i class="fa-solid fa-play d-none"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 d-lg-none">
|
|
@if ($teamSection->data['bloc_button_on_embauche']['value'])
|
|
<div class="d-flex justify-content-center mt-4">
|
|
<a class="btn btn-primary rounded-5 fw-bold border border-2 border-white"
|
|
href="{{ route('fo.hire.show') }}"
|
|
title="{{ __('Accéder à la page \'On embauche\'') }}">{{ __('On embauche') }}</a>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{-- LIFE --}}
|
|
<section class="life border-top-curved-upper-primary position-relative anchor-padding pb-5" id="life">
|
|
<div class="life-content text-lg-start mask-white-right overflow-hidden text-center">
|
|
<div class="container">
|
|
<div class="row align-items-center">
|
|
<div class="col-12 col-lg-4">
|
|
<h2 class="h2 fw-bold text-primary">{{ $lifeSection->h2_title }}</h2>
|
|
@if ($lifeSection->text)
|
|
<div class="ck-content text-primary">
|
|
{!! clean($lifeSection->text) !!}
|
|
</div>
|
|
@endif
|
|
<a class="btn btn-outline-primary rounded-5 fw-bold border-primary d-none d-lg-inline-block my-4 border border-2"
|
|
href="{{ route('fo.hire.show') }}"
|
|
title="{{ __('Accéder à la page \'On embauche\'') }}">{{ __('On embauche') }}</a>
|
|
</div>
|
|
<div class="col-12 col-lg-8 position-relative">
|
|
{{-- NEWS SWIPER --}}
|
|
<div class="swiper swiper-news mt-lg-0 mt-5 h-fit overflow-visible" id="swiper-news">
|
|
<div class="swiper-wrapper py-1">
|
|
@foreach ($newsModels as $news)
|
|
<div class="swiper-slide h-auto">
|
|
<div class="card rounded-4 h-100 p-3">
|
|
<img class="card-img-top rounded-top-4" src="{{ asset($news->thumbnail) }}"
|
|
title="{{ $news->thumbnail_title }}" alt="{{ $news->thumbnail_alt }}">
|
|
<div class="card-body d-flex flex-column align-items-center">
|
|
<p class="card-date small fw-bold text-quad">
|
|
{{ str($news->displayed_date->locale('fr_FR')->isoFormat('D MMMM Y'))->upper() }}
|
|
</p>
|
|
<p class="card-title fw-bold text-center">
|
|
{{ $news->title }}
|
|
</p>
|
|
<p class="card-text text-center">
|
|
{{ Str::limit(strip_tags($news->introduction), 150, '...') }}
|
|
</p>
|
|
</div>
|
|
<div class="card-footer d-flex justify-content-center border-0 bg-transparent">
|
|
<a class="btn btn-primary rounded-5 fw-bold border border-2 border-white"
|
|
href="{{ route('fo.news.show', $news) }}"
|
|
title="{{ __('En lire plus sur l\'actualité') }} {{ $news->title }}">{{ __('Lire plus') }}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
<button class="swiper-button swiper-news-button-prev swiper-button-prev-custom d-none d-lg-block z-1 mx-3">
|
|
<img src="{{ Vite::asset('resources/assets/images/misc/blue-arrow.svg') }}"
|
|
title="{{ __('Navigation du slider (gauche)') }}" alt="{{ __('flèche vers la gauche') }}">
|
|
</button>
|
|
<button class="swiper-button swiper-news-button-next swiper-button-next-custom d-none d-lg-block z-1 mx-3">
|
|
<img src="{{ Vite::asset('resources/assets/images/misc/blue-arrow.svg') }}"
|
|
title="{{ __('Navigation du slider (droite)') }}" alt="{{ __('flèche vers la droite') }}">
|
|
</button>
|
|
</div>
|
|
<div class="col-12 d-lg-none">
|
|
@if ($lifeSection->data['bloc_button_on_embauche']['value'])
|
|
<div class="d-flex justify-content-center mt-4">
|
|
<a class="btn btn-outline-primary rounded-5 fw-bold border-primary border border-2"
|
|
href="{{ route('fo.hire.show') }}"
|
|
title="{{ __('Accéder à la page \'On embauche\'') }}">{{ __('On embauche') }}</a>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{-- STRIP --}}
|
|
@if ($stripModels->isNotEmpty())
|
|
<section class="strip bg-quad d-flex sticky-bottom z-2 mt-5 overflow-hidden text-black">
|
|
<div class="moving-strip d-flex" id="moving-strip">
|
|
@foreach ($stripModels as $stripModel)
|
|
@include('fo.partials.strips.strip-item')
|
|
@endforeach
|
|
{{-- We need to duplicate 2 models to make an infinite loop --}}
|
|
@include('fo.partials.strips.strip-item', ['stripModel' => $stripModels->first()])
|
|
@include('fo.partials.strips.strip-item', ['stripModel' => $stripModels->get(1, $stripModels->first())])
|
|
</div>
|
|
</section>
|
|
@endif
|
|
</section>
|
|
@endsection
|