fix: add new component for event type news + clean some hard coded data
This commit is contained in:
parent
c8fc36ec13
commit
3875f06ec9
11 changed files with 237 additions and 704 deletions
|
|
@ -9,6 +9,7 @@ use App\Enums\News\NewsCategoryEnum;
|
|||
use App\Enums\News\NewsYearsEnum;
|
||||
use App\Helpers\BladeComponentHelper;
|
||||
use App\Models\News;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class IndexNewsComponent extends Component
|
||||
|
|
@ -16,6 +17,8 @@ class IndexNewsComponent extends Component
|
|||
public $categories;
|
||||
public $years;
|
||||
public $newsModels;
|
||||
public $postContainer;
|
||||
|
||||
/**
|
||||
* Create a new component instance.
|
||||
*/
|
||||
|
|
@ -51,6 +54,47 @@ class IndexNewsComponent extends Component
|
|||
$bladeHelper->runSortQuery($query);
|
||||
/** Custom pagination */
|
||||
$this->newsModels = $bladeHelper->runPaginate($query);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Cette section est à revoir mais c'est pour coller et être iso au site actuellement en prod
|
||||
*/
|
||||
$currentRoute = Route::currentRouteName();
|
||||
// Common values
|
||||
$this->postContainer = [
|
||||
'secondaryClass' => 'fw-container no-bottom-padding',
|
||||
'tertiaryClass' => 'tagged-posts',
|
||||
'list_type' => 'news',
|
||||
'id' => 'news',
|
||||
'post_id' => '9', // FIXME: probablement plus utile
|
||||
'slug' => 'news',
|
||||
'url' => route('front.news.index'),
|
||||
'localized' => 'ajax_load_more_news_vars', // FIXME: probablement pas utile
|
||||
'object' => 'ajax_load_more_news', // FIXME: probablement pas utile
|
||||
];
|
||||
|
||||
|
||||
switch ($currentRoute) {
|
||||
case 'front.news.index':
|
||||
$this->postContainer['load_more'] = ucfirst(__('front.buttons.see_more_news'));
|
||||
break;
|
||||
|
||||
case 'front.espace-presse':
|
||||
$this->postContainer = array_merge($this->postContainer, [
|
||||
'class' => 'fw-container no-top-padding',
|
||||
'load_more' => ucfirst(__('front.buttons.see_more_docs')),
|
||||
'type_button' => true
|
||||
]);
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->postContainer['load_more'] = __('front.buttons.load_more');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -63,7 +107,8 @@ class IndexNewsComponent extends Component
|
|||
return view('components.front.news.index-news-component', [
|
||||
'categories' => $this->categories,
|
||||
'years' => $this->years,
|
||||
'newsModels' => $this->newsModels
|
||||
'newsModels' => $this->newsModels,
|
||||
'postContainer' => $this->postContainer
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
38
app/View/Components/Front/News/NewsNextEventComponent.php
Normal file
38
app/View/Components/Front/News/NewsNextEventComponent.php
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace App\View\Components\Front\News;
|
||||
|
||||
use App\Enums\News\NewsCategoryEnum;
|
||||
use App\Models\News;
|
||||
use Closure;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\View\Component;
|
||||
|
||||
class NewsNextEventComponent extends Component
|
||||
{
|
||||
public $nextEvents;
|
||||
|
||||
/**
|
||||
* Create a new component instance.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->nextEvents = News::with('categories')
|
||||
->whereHas('categories', function ($query) {
|
||||
$query->where('category', NewsCategoryEnum::event->value);
|
||||
})
|
||||
->latest()
|
||||
->take(3)
|
||||
->get();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*/
|
||||
public function render(): View|Closure|string
|
||||
{
|
||||
return view('components.front.news.news-next-event-component', [
|
||||
'nextEvents' => $this->nextEvents
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
@ -23,7 +23,8 @@ return [
|
|||
'buttons' => [
|
||||
'send' => 'send',
|
||||
'back_to_contact' => 'return to choice of contact',
|
||||
'see_more_news' => 'load more news'
|
||||
'see_more_news' => 'load more news',
|
||||
'see_more_docs' => 'load more documentary resources'
|
||||
],
|
||||
'contact' => [
|
||||
"index" => "Contact us",
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@ return [
|
|||
'buttons' => [
|
||||
'send' => 'envoyer',
|
||||
'back_to_contact' => 'retour au choix de contact',
|
||||
'see_more_news' => 'voir plus d\'actualités'
|
||||
'see_more_news' => 'voir plus d\'actualités',
|
||||
'see_more_docs' => 'voir plus de ressources documentaires'
|
||||
],
|
||||
'contact' => [
|
||||
"index" => "Nous contacter",
|
||||
|
|
|
|||
|
|
@ -1,33 +1,40 @@
|
|||
{{-- # FIXME : Il manque les scripts JS pour filtrer et voir plus --}}
|
||||
|
||||
@php
|
||||
$news = $newsModels->items();
|
||||
$maxPosts = $newsModels->perPage();
|
||||
@endphp
|
||||
|
||||
@if (isset($postContainer))
|
||||
<div class="{{ isset($postContainer['class']) ? $postContainer['class'] : '' }} filter-posts">
|
||||
<div class="filter fw {{ isset($postContainer['secondaryClass']) ? $postContainer['secondaryClass'] : '' }}" data-limit="{{ $postContainer['max_posts'] }}">
|
||||
<div class="filter fw {{ isset($postContainer['secondaryClass']) ? $postContainer['secondaryClass'] : '' }}"
|
||||
data-limit="{{ $maxPosts }}">
|
||||
<div class="filter__wrapper wrapper">
|
||||
<div class="filter-menu">
|
||||
<div class="filter__select-wrap filter-select-wrap">
|
||||
@foreach ($postContainer['filters'] as $filter)
|
||||
<ul class="filter-select">
|
||||
<li>
|
||||
<a title="{{ $filter['title'] }}">{{ $filter['title'] }}</a>
|
||||
<ul>
|
||||
@foreach ($filter['fields'] as $field)
|
||||
<li>
|
||||
<a class="tax-filter {{ isset($field['class']) ? $field['class'] : '' }}"
|
||||
@if (isset($field['tag'])) data-tag="{{ $field['tag'] }}" @endif
|
||||
@if (isset($field['year'])) data-year="{{ $field['year'] }}" @endif
|
||||
@if (isset($field['order'])) data-year="{{ $field['order'] }}" @endif
|
||||
data-category="{{ $field['category'] }}"
|
||||
title="{{ $field['title'] }}"
|
||||
>
|
||||
{{ $field['title'] }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@endforeach
|
||||
@if (isset($filters))
|
||||
@foreach ($filters as $filter)
|
||||
<ul class="filter-select">
|
||||
<li>
|
||||
<a title="{{ $filter['title'] }}">{{ $filter['title'] }}</a>
|
||||
<ul>
|
||||
@foreach ($filter['fields'] as $field)
|
||||
<li>
|
||||
<a class="tax-filter {{ isset($field['class']) ? $field['class'] : '' }}"
|
||||
@if (isset($field['tag'])) data-tag="{{ $field['tag'] }}" @endif
|
||||
@if (isset($field['year'])) data-year="{{ $field['year'] }}" @endif
|
||||
@if (isset($field['order'])) data-year="{{ $field['order'] }}" @endif
|
||||
data-category="{{ $field['category'] }}"
|
||||
title="{{ $field['title'] }}">
|
||||
{{ $field['title'] }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@endforeach
|
||||
@endif
|
||||
<div class="filter-results-num">
|
||||
Résultat :
|
||||
<span class="filter-results-num__wrap">
|
||||
|
|
@ -43,7 +50,8 @@
|
|||
</div>
|
||||
<div class="active-filters__clear-wrap">
|
||||
<div class="active-filters__item active-filters__item_clear">
|
||||
<a class="active-filters__item-remove clear-all" title="Effacer les filtres">✖</a> Effacer les filtres
|
||||
<a class="active-filters__item-remove clear-all" title="Effacer les filtres">✖</a> Effacer
|
||||
les filtres
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -53,51 +61,63 @@
|
|||
<div class="posts-list__wrapper wrapper">
|
||||
<div id="posts-container" class="list-items posts-container">
|
||||
@if ($postContainer['list_type'] === 'news')
|
||||
<div
|
||||
id="ajax-load-more"
|
||||
class="ajax-load-more-wrap infinite fading-circles alm-0 alm-is-loaded"
|
||||
data-canonical-url="{{ $postContainer['url'] }}"
|
||||
data-slug="{{ $postContainer['slug'] }}"
|
||||
>
|
||||
<div class="alm-listing alm-ajax wrapper" aria-live="polite" aria-atomic="true" data-container-type="div" data-loading-style="infinite fading-circles" data-theme-repeater="default" data-post-type="post" data-category="{{ $postContainer['slug'] }}" data-order="DESC" data-orderby="date" data-offset="0" data-posts-per-page="{{ $postContainer['max_posts'] }}" data-lang="fr" data-max-pages="1" data-button-label="{{ $postContainer['load_more'] }}" data-prev-button-label="Load Previous">
|
||||
@foreach ($postContainer['news'] as $news)
|
||||
<x-front.sections.news :borders="$postBorders" :news='$news' />
|
||||
@endforeach
|
||||
<div id="ajax-load-more" class="ajax-load-more-wrap infinite fading-circles alm-0 alm-is-loaded"
|
||||
data-canonical-url="{{ $postContainer['url'] }}" data-slug="{{ $postContainer['slug'] }}">
|
||||
<div class="alm-listing alm-ajax wrapper" aria-live="polite" aria-atomic="true"
|
||||
data-container-type="div" data-loading-style="infinite fading-circles"
|
||||
data-theme-repeater="default" data-post-type="post"
|
||||
data-category="{{ $postContainer['slug'] }}" data-order="DESC" data-orderby="date"
|
||||
data-offset="0" data-posts-per-page="{{ $maxPosts }}" data-lang="fr"
|
||||
data-max-pages="1" data-button-label="{{ $postContainer['load_more'] }}"
|
||||
data-prev-button-label="Load Previous">
|
||||
@if (isset($news))
|
||||
@foreach ($news as $new)
|
||||
<x-front.sections.news
|
||||
:borders="$postBorders ?? []"
|
||||
:news='$new'
|
||||
/>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
<div class="alm-btn-wrap" data-rel="ajax-load-more">
|
||||
<button class="alm-load-more-btn more btn" type="button">{{ $postContainer['load_more'] }}</button>
|
||||
<button class="alm-load-more-btn more btn"
|
||||
type="button">{{ $postContainer['load_more'] }}</button>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="list-items list-items_doc">
|
||||
{{-- # FIXME : Les IDs sont surement à remplacer. A voir en fonction de l'élement (ex: ajax-load-more-2 ou ajax-load-more-4) --}}
|
||||
<div id="ajax-load-more" class="ajax-load-more-wrap infinite fading-circles alm-0 alm-is-loaded" data-id="{{ $postContainer['id'] }}" data-alm-id="0" data-canonical-url="{{ $postContainer['url'] }}" data-slug="{{ $postContainer['slug'] }}" data-post-id="{{ $postContainer['post_id'] }}" data-localized="{{ $postContainer['localized'] }}" data-alm-object="{{ $postContainer['object'] }}" data-total-posts="15">
|
||||
<div class="alm-listing alm-ajax wrapper"
|
||||
aria-live="polite"
|
||||
aria-atomic="true"
|
||||
data-container-type="div"
|
||||
data-loading-style="infinite fading-circles"
|
||||
data-theme-repeater="list-item-presentation"
|
||||
data-post-type="post" data-category="{{ $postContainer['slug'] }}"
|
||||
data-order="DESC" data-orderby="date"
|
||||
data-offset="0"
|
||||
data-posts-per-page="{{ $postContainer['max_posts'] }}"
|
||||
data-lang="fr"
|
||||
data-max-pages="1"
|
||||
data-button-label="{{ $postContainer['load_more'] }}"
|
||||
data-prev-button-label="Load Previous">
|
||||
<div id="ajax-load-more"
|
||||
class="ajax-load-more-wrap infinite fading-circles alm-0 alm-is-loaded"
|
||||
data-id="{{ $postContainer['id'] }}" data-alm-id="0"
|
||||
data-canonical-url="{{ $postContainer['url'] }}"
|
||||
data-slug="{{ $postContainer['slug'] }}"
|
||||
data-post-id="{{ $postContainer['post_id'] }}"
|
||||
data-localized="{{ $postContainer['localized'] }}"
|
||||
data-alm-object="{{ $postContainer['object'] }}" data-total-posts="15">
|
||||
<div class="alm-listing alm-ajax wrapper" aria-live="polite" aria-atomic="true"
|
||||
data-container-type="div" data-loading-style="infinite fading-circles"
|
||||
data-theme-repeater="list-item-presentation" data-post-type="post"
|
||||
data-category="{{ $postContainer['slug'] }}" data-order="DESC" data-orderby="date"
|
||||
data-offset="0" data-posts-per-page="{{ $maxPosts }}"
|
||||
data-lang="fr" data-max-pages="1"
|
||||
data-button-label="{{ $postContainer['load_more'] }}"
|
||||
data-prev-button-label="Load Previous">
|
||||
@foreach ($postContainer['documents'] as $document)
|
||||
@if($postContainer['accordeon'])
|
||||
@if ($postContainer['accordeon'])
|
||||
<x-front.sections.accordeon.document-accordeon :document='$document' />
|
||||
@else
|
||||
<a class="posts-list__item list-item-doc" href="{{ $document['url'] }}" title="{{ $document['title'] }}" download="" style="opacity: 1; transition: 250ms;">
|
||||
<a class="posts-list__item list-item-doc" href="{{ $document['url'] }}"
|
||||
title="{{ $document['title'] }}" download=""
|
||||
style="opacity: 1; transition: 250ms;">
|
||||
{{ $document['title'] }}
|
||||
</a>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="alm-btn-wrap" data-rel="ajax-load-more" style="visibility: visible;">
|
||||
<button class="alm-load-more-btn more btn" type="button">{{ $postContainer['load_more'] }}</button>
|
||||
<button class="alm-load-more-btn more btn"
|
||||
type="button">{{ $postContainer['load_more'] }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,32 +1,20 @@
|
|||
@php
|
||||
$newsBorders = [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
];
|
||||
$postContainer = [
|
||||
'secondaryClass' => 'fw-container no-bottom-padding',
|
||||
'tertiaryClass' => 'tagged-posts',
|
||||
'list_type' => 'news',
|
||||
'id' => 'news',
|
||||
'post_id' => '9', #FIXME: probablement plus utile
|
||||
'slug' => 'news',
|
||||
'url' => route('front.news.index'),
|
||||
'localized' => 'ajax_load_more_news_vars', #FIXME: probablement pas utile, voir une fois les filtres en place
|
||||
'object' => 'ajax_load_more_news', #FIXME: probablement pas utile, voir une fois les filtres en place
|
||||
'max_posts' => $newsModels->perPage(),
|
||||
'load_more' => ucfirst(__('front.buttons.see_more_news')),
|
||||
'news' => $newsModels->items(),
|
||||
'filters' => [
|
||||
$newsBorders = [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
];
|
||||
|
||||
$filters = [
|
||||
[
|
||||
'title' => 'Thématique',
|
||||
'fields' => $categories,
|
||||
|
|
@ -35,135 +23,8 @@ $postContainer = [
|
|||
'title' => 'Année',
|
||||
'fields' => $years,
|
||||
],
|
||||
],
|
||||
// 'news' => [
|
||||
// [
|
||||
// 'picture' => '/assets/uploads/2024/04/VIGNETTE-412x232.jpg',
|
||||
// 'picture_alt' => 'Vignette communiqué de presse Groupe LDC',
|
||||
// 'srcset' =>
|
||||
// '/assets/uploads/2024/04/VIGNETTE-412x232.jpg 412w, /assets/uploads/2024/04/VIGNETTE-300x169.jpg 300w, /assets/uploads/2024/04/VIGNETTE-1024x576.jpg 1024w, /assets/app/uploads/2024/04/VIGNETTE-768x432.jpg 768w, /assets/uploads/2024/04/VIGNETTE-1536x864.jpg 1536w, /assets/uploads/2024/04/VIGNETTE.jpg 1920w',
|
||||
// 'subtitle' => 'Le Groupe LDC officialise sa stratégie Climat & Biodiversité 2030 ! 🌍',
|
||||
// 'created_at' => '04/06/2025',
|
||||
// 'slug' => 'le-groupe-ldc-officialise-sa-strategie-climat-biodiversite-2030-%f0%9f%8c%8d',
|
||||
// ],
|
||||
// [
|
||||
// 'picture' => '/assets/uploads/2025/03/VIGNETTE-412x232.jpg',
|
||||
// 'picture_alt' => 'Vignette lancement campagne alternants 2025',
|
||||
// 'srcset' =>
|
||||
// '/assets/uploads/2025/03/VIGNETTE-412x232.jpg 412w, /assets/uploads/2025/03/VIGNETTE-300x169.jpg 300w, /assets/uploads/2025/03/VIGNETTE-1024x576.jpg 1024w, /assets/uploads/2025/03/VIGNETTE-768x432.jpg 768w, /assets/uploads/2025/03/VIGNETTE-1536x864.jpg 1536w, /assets/uploads/2025/03/VIGNETTE-2048x1152.jpg 2048w',
|
||||
// 'subtitle' => 'Recrutement en alternance : plus de 100 opportunités dans tous les métiers !',
|
||||
// 'created_at' => '27/03/2025',
|
||||
// 'date_type' => 'date_actualites-rh',
|
||||
// 'category' => 'Actualités RH',
|
||||
// 'category_type' => 'tag_actualites-rh',
|
||||
// 'slug' => 'recrutement-en-alternance-plus-de-100-opportunites-dans-tous-les-metiers',
|
||||
// ],
|
||||
// [
|
||||
// 'picture' => '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg',
|
||||
// 'picture_alt' => 'Retrouvez le Groupe LDC aux forums écoles de février',
|
||||
// 'srcset' =>
|
||||
// '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg 412w, /assets/uploads/2025/01/VIGNETTE-ok-300x150.jpg 300w, /assets/uploads/2025/01/VIGNETTE-ok.jpg 600w',
|
||||
// 'subtitle' => 'Retrouvez-nous aux forums écoles en mars 2025 !',
|
||||
// 'created_at' => '28/02/2025',
|
||||
// 'date_type' => 'date_actualites-rh',
|
||||
// 'category' => 'Actualités RH',
|
||||
// 'category_type' => 'tag_actualites-rh',
|
||||
// 'slug' => 'retrouvez-nous-aux-forums-ecoles-en-mars-2025',
|
||||
// ],
|
||||
// [
|
||||
// 'picture' => '/assets/uploads/2025/02/VIGNETTE-412x206.jpg',
|
||||
// 'picture_alt' => 'Vignette acquisitions 2024 Groupe LDC',
|
||||
// 'srcset' =>
|
||||
// '/assets/uploads/2025/02/VIGNETTE-412x206.jpg 412w, /assets/uploads/2025/02/VIGNETTE-300x150.jpg 300w, /assets/uploads/2025/02/VIGNETTE.jpg 600w',
|
||||
// 'subtitle' => '[Rétrospective 2024] Retrouvez les entreprises qui ont rejoint le Groupe en 2024.',
|
||||
// 'created_at' => '11/02/2025',
|
||||
// 'date_type' => 'date_vie-du-groupe',
|
||||
// 'category' => 'Vie du Groupe',
|
||||
// 'category_type' => 'tag_vie-du-groupe',
|
||||
// 'slug' => 'retrospective-2024-retrouvez-les-entreprises-qui-ont-rejoint-le-groupe-en-2024',
|
||||
// ],
|
||||
// [
|
||||
// 'picture' => '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg',
|
||||
// 'picture_alt' => 'Retrouvez le Groupe LDC aux forums écoles de février',
|
||||
// 'srcset' =>
|
||||
// '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg 412w, /assets/uploads/2025/01/VIGNETTE-ok-300x150.jpg 300w, /assets/uploads/2025/01/VIGNETTE-ok.jpg 600w',
|
||||
// 'subtitle' => 'Retrouvez-nous aux forums écoles en février 2025 !',
|
||||
// 'created_at' => '31/01/2025',
|
||||
// 'date_type' => 'date_actualites-rh',
|
||||
// 'category' => 'Actualités RH',
|
||||
// 'category_type' => 'tag_actualites-rh',
|
||||
// 'slug' => 'retrouvez-nous-aux-forums-ecoles-en-fevrier-2025',
|
||||
// ],
|
||||
// [
|
||||
// 'picture' => '/assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-412x232.png',
|
||||
// 'picture_alt' => 'Le Groupe LDC et ses marques présent au SIRHA Lyon 2025',
|
||||
// 'srcset' =>
|
||||
// '/assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-412x232.png 412w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-300x169.png 300w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-1024x576.png 1024w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-768x432.png 768w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-1536x864.png 1536w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025.png 1920w',
|
||||
// 'subtitle' =>
|
||||
// 'SIRHA LYON 2025 : LE GROUPE LDC ET SES MARQUES RESTAURATION SERONT PRÉSENTS DU 23 AU 27 JANVIER 2025',
|
||||
// 'created_at' => '21/01/2025',
|
||||
// 'date_type' => 'date_evenement-2',
|
||||
// 'category' => 'Événement',
|
||||
// 'category_type' => 'tag_evenement-2',
|
||||
// 'slug' =>
|
||||
// 'sirha-lyon-2025-le-groupe-ldc-et-ses-marques-restauration-seront-presents-du-23-au-27-janvier-2025',
|
||||
// ],
|
||||
// [
|
||||
// 'picture' => '/assets/uploads/2024/11/image-actualite-forum-ecoles-trame-360x240.png',
|
||||
// 'picture_alt' => 'Vignette actualité Forums Ecoles',
|
||||
// 'srcset' =>
|
||||
// '/assets/uploads/2024/11/image-actualite-forum-ecoles-trame-360x240.png 360w, /assets/uploads/2024/11/image-actualite-forum-ecoles-trame-300x200.png 300w, /assets/uploads/2024/11/image-actualite-forum-ecoles-trame.png 600w',
|
||||
// 'subtitle' =>
|
||||
// 'Le Groupe LDC présent aux Forums écoles de l’Institut Agro Dijon, ESA Angers, Oniris Nantes & ESAIP Angers !',
|
||||
// 'created_at' => '06/11/2024',
|
||||
// 'date_type' => 'date_actualites-rh',
|
||||
// 'category' => 'Actualités RH',
|
||||
// 'category_type' => 'tag_actualites-rh',
|
||||
// 'slug' =>
|
||||
// 'le-groupe-ldc-present-aux-forums-ecoles-de-linstitut-agro-dijon-esa-angers-oniris-nantes-esaip-angers',
|
||||
// ],
|
||||
// [
|
||||
// 'picture' =>
|
||||
// '/assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-412x141.png',
|
||||
// 'picture_alt' => 'Logo Semaine Nationale de l\'Emploi Agroalimentaire 2024',
|
||||
// 'srcset' =>
|
||||
// '/assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-412x141.png 412w, /assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-300x103.png 300w, /assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-1024x350.png 1024w, /assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-768x263.png 768w, /assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire.png 1170w',
|
||||
// 'subtitle' =>
|
||||
// 'Le Groupe LDC présent aux Forums écoles de l’Institut Agro Dijon, ESA Angers, Oniris Nantes & ESAIP Angers !',
|
||||
// 'created_at' => '29/10/2024',
|
||||
// 'date_type' => 'date_actualites-rh',
|
||||
// 'category' => 'Actualités RH',
|
||||
// 'category_type' => 'tag_actualites-rh',
|
||||
// 'slug' => 'le-groupe-ldc-participe-a-la-semaine-nationale-de-lemploi-agroalimentaire',
|
||||
// 'image_borders' => [
|
||||
// 'desktop' => [
|
||||
// 'left' => false,
|
||||
// 'right' => false,
|
||||
// 'top' => false,
|
||||
// 'bottom' => true,
|
||||
// ],
|
||||
// 'mobile' => [
|
||||
// 'left' => false,
|
||||
// 'right' => false,
|
||||
// 'top' => false,
|
||||
// 'bottom' => true,
|
||||
// ],
|
||||
// ],
|
||||
// ],
|
||||
// [
|
||||
// 'picture' => '/assets/uploads/2024/10/visuel-uni-la-salle-2024-360x240.jpg',
|
||||
// 'picture_alt' => 'Photo des étudiants UniLa Salle sur le site de LDC Groupe',
|
||||
// 'srcset' =>
|
||||
// '/assets/uploads/2024/10/visuel-uni-la-salle-2024-360x240.jpg 360w, /assets/uploads/2024/10/visuel-uni-la-salle-2024-300x200.jpg 300w, /assets/uploads/2024/10/visuel-uni-la-salle-2024.jpg 600w',
|
||||
// 'subtitle' => 'Partenariat École : les étudiants UniLaSalle en visite chez LDC Groupe',
|
||||
// 'created_at' => '28/10/2024',
|
||||
// 'date_type' => 'date_actualites-rh',
|
||||
// 'category' => 'Actualités RH',
|
||||
// 'category_type' => 'tag_actualites-rh',
|
||||
// 'slug' => 'partenariat-ecole-les-etudiants-uni-la-salle-en-visite-chez-ldc-groupe',
|
||||
// ],
|
||||
// ],
|
||||
];
|
||||
];
|
||||
|
||||
@endphp
|
||||
|
||||
<x-front.filter-posts :postContainer="$postContainer" :postBorders="$newsBorders" />
|
||||
<x-front.filter-posts :postContainer="$postContainer" :newsModels="$newsModels" :postBorders="$newsBorders" :filters="$filters" />
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
<div class="events-prof fw fw-container no-top-padding">
|
||||
<div class="recent-posts__wrapper wrapper">
|
||||
<h3 class="events-prof__sutbitle subtitle">Prochains évènements</h3>
|
||||
<div class="events-list fw-container no-bottom-padding">
|
||||
<div class="posts-list fw tagged-posts">
|
||||
<div class="posts-list__wrapper">
|
||||
<div class="list-items list-items_events">
|
||||
@foreach ($nextEvents as $event)
|
||||
<x-front.sections.news :news='$event' />
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<x-front.cta title="Voir tous nos évènements, forums et job dating" url="{{ route('front.news.index') }}"
|
||||
buttonIcon="btn__icon_arrow-right" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
'IFRIA Ouest - Alternance : 18, 19 & 20 Juin 2024',
|
||||
'ESSCA - Stages : 8, 9 & 10 Octobre 2024',
|
||||
'Polytech Angers - Stages, Alternance : 17 Octobre 2024',
|
||||
'Unilasalle - Agorajob : 24 Octobre 2024'
|
||||
'Unilasalle - Agorajob : 24 Octobre 2024',
|
||||
],
|
||||
],
|
||||
[
|
||||
|
|
@ -28,15 +28,11 @@
|
|||
],
|
||||
[
|
||||
'title' => 'BEAUVAIS',
|
||||
'locations' => [
|
||||
'UniLaSalle - Agorajob : 10 Octobre 2024',
|
||||
],
|
||||
'locations' => ['UniLaSalle - Agorajob : 10 Octobre 2024'],
|
||||
],
|
||||
[
|
||||
'title' => 'RENNES',
|
||||
'locations' => [
|
||||
'Institut Agro-Rennes : 15 Octobre 2024',
|
||||
],
|
||||
'locations' => ['Institut Agro-Rennes : 15 Octobre 2024'],
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
@ -46,136 +42,50 @@
|
|||
'list' => [
|
||||
[
|
||||
'title' => 'FORUMS VIRTUELS',
|
||||
'locations' => [
|
||||
'UniLaSalle - nouveaux diplômés : 4 & 5 Juillet 2025',
|
||||
],
|
||||
'locations' => ['UniLaSalle - nouveaux diplômés : 4 & 5 Juillet 2025'],
|
||||
],
|
||||
[
|
||||
'title' => 'LA ROCHE SUR YON',
|
||||
'locations' => [
|
||||
'Big Bang de l\'emploi : 20 Septembre 2024 (matin)',
|
||||
],
|
||||
'locations' => ['Big Bang de l\'emploi : 20 Septembre 2024 (matin)'],
|
||||
],
|
||||
[
|
||||
'title' => 'ANGERS',
|
||||
'locations' => [
|
||||
'Big Bang de l\'emploi : 27 Septembre 2024 (matin)',
|
||||
],
|
||||
'locations' => ['Big Bang de l\'emploi : 27 Septembre 2024 (matin)'],
|
||||
],
|
||||
[
|
||||
'title' => 'LAVAL',
|
||||
'locations' => [
|
||||
'Big Bang de l\'emploi : 4 & 5 Octobre 2024 (matin)',
|
||||
],
|
||||
'locations' => ['Big Bang de l\'emploi : 4 & 5 Octobre 2024 (matin)'],
|
||||
],
|
||||
[
|
||||
'title' => 'NANTES',
|
||||
'locations' => [
|
||||
'Big Bang de l\'emploi : 11 Octobre 2024 (matin)',
|
||||
],
|
||||
'locations' => ['Big Bang de l\'emploi : 11 Octobre 2024 (matin)'],
|
||||
],
|
||||
[
|
||||
'title' => 'LE MANS',
|
||||
'locations' => [
|
||||
'Big Bang de l\'emploi : 18 & 19 Octobre 2024 (matin)',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
'next-events' => [
|
||||
'title' => 'Prochains évènements',
|
||||
'events' => [
|
||||
[
|
||||
'picture' => '/assets/uploads/2025/03/VIGNETTE-412x232.jpg',
|
||||
'picture_alt' => 'Vignette lancement campagne alternants 2025',
|
||||
'srcset' => '/assets/uploads/2025/03/VIGNETTE-412x232.jpg 412w, /assets/uploads/2025/03/VIGNETTE-300x169.jpg 300w, /assets/uploads/2025/03/VIGNETTE-1024x576.jpg 1024w, /assets/uploads/2025/03/VIGNETTE-768x432.jpg 768w, /assets/uploads/2025/03/VIGNETTE-1536x864.jpg 1536w, /assets/uploads/2025/03/VIGNETTE-2048x1152.jpg 2048ww',
|
||||
'subtitle' => 'Recrutement en alternance : plus de 100 opportunités dans tous les métiers !',
|
||||
'created_at' => '27/03/2025',
|
||||
'date_type' => 'date_actualites-rh',
|
||||
'category' => 'Actualités RH',
|
||||
'category_type' => 'tag_actualites-rh',
|
||||
'slug' => 'recrutement-en-alternance-plus-de-100-opportunites-dans-tous-les-metiers',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'picture' => '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg',
|
||||
'picture_alt' => 'Retrouvez le Groupe LDC aux forums écoles de février',
|
||||
'srcset' => '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg 412w, /assets/uploads/2025/01/VIGNETTE-ok-300x150.jpg 300w, /assets/uploads/2025/01/VIGNETTE-ok.jpg 600w',
|
||||
'subtitle' => 'Retrouvez-nous aux forums écoles en mars 2025 !',
|
||||
'created_at' => '28/02/2025',
|
||||
'date_type' => 'date_actualites-rh',
|
||||
'category' => 'Actualités RH',
|
||||
'category_type' => 'tag_actualites-rh',
|
||||
'slug' => 'retrouvez-nous-aux-forums-ecoles-en-mars-2025',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'picture' => '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg',
|
||||
'picture_alt' => 'Retrouvez le Groupe LDC aux forums écoles de février',
|
||||
'srcset' => '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg 412w, /assets/uploads/2025/01/VIGNETTE-ok-300x150.jpg 300w, /assets/uploads/2025/01/VIGNETTE-ok.jpg 600w',
|
||||
'subtitle' => 'Retrouvez-nous aux forums écoles en février 2025 !',
|
||||
'created_at' => '31/01/2025',
|
||||
'date_type' => 'date_actualites-rh',
|
||||
'category' => 'Actualités RH',
|
||||
'category_type' => 'tag_actualites-rh',
|
||||
'slug' => 'retrouvez-nous-aux-forums-ecoles-en-fevrier-2025',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'locations' => ['Big Bang de l\'emploi : 18 & 19 Octobre 2024 (matin)'],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
@endphp
|
||||
|
||||
@if(!empty($events))
|
||||
@if (!empty($events))
|
||||
<div data-anchor="{{ $events['data-anchor'] }}" id="{{ $events['id'] }}">
|
||||
<div class="events fw fw-container">
|
||||
<div class="events__wrapper wrapper">
|
||||
<x-front.sections.title title="{{ $events['title'] }}" subtitle="{{ $events['subtitle'] }}" class="events__title" secondaryClass="events__subtitle" />
|
||||
<x-front.sections.title title="{{ $events['title'] }}" subtitle="{{ $events['subtitle'] }}"
|
||||
class="events__title" secondaryClass="events__subtitle" />
|
||||
<div class="events__text description">
|
||||
<p>Il existe de multiples occasions de nous rencontrer :</p>
|
||||
<ul>
|
||||
<li>Nous sommes présents sur des forums écoles et emploi. Pour en savoir plus, consultez la carte ci-dessous.</li>
|
||||
<li>Vous recherchez une alternance ? Consultez nos offres sur <a href="https://recrutement.ldc.fr/fr/annonces" target="_blank" rel="noopener">https://recrutement.ldc.fr/fr/annonces</a> et venez nous rencontrer au job dating de votre école !</li>
|
||||
<li>Nous sommes présents sur des forums écoles et emploi. Pour en savoir plus, consultez la
|
||||
carte ci-dessous.</li>
|
||||
<li>Vous recherchez une alternance ? Consultez nos offres sur <a
|
||||
href="https://recrutement.ldc.fr/fr/annonces" target="_blank"
|
||||
rel="noopener">https://recrutement.ldc.fr/fr/annonces</a> et venez nous rencontrer au
|
||||
job dating de votre école !</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="events__maps">
|
||||
|
|
@ -203,22 +113,5 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="events-prof fw fw-container no-top-padding">
|
||||
<div class="recent-posts__wrapper wrapper">
|
||||
<h3 class="events-prof__sutbitle subtitle">{{ $events['next-events']['title'] }}</h3>
|
||||
<div class="events-list fw-container no-bottom-padding">
|
||||
<div class="posts-list fw tagged-posts">
|
||||
<div class="posts-list__wrapper">
|
||||
<div class="list-items list-items_events">
|
||||
@foreach ($events['next-events']['events'] as $event)
|
||||
<x-front.sections.news :news='$event' />
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{-- # FIXME : Sur la page affichée uniquement les actus qui ont le tag (événements, salon) --}}
|
||||
<x-front.cta title="Voir tous nos évènements, forums et job dating" url="{{ route('front.news.index') }}" buttonIcon="btn__icon_arrow-right" />
|
||||
</div>
|
||||
</div>
|
||||
<x-front.news.news-next-event-component />
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -1,14 +1,19 @@
|
|||
@php
|
||||
$isButtonStyle = Route::is('front.espace-presse');
|
||||
|
||||
$url = Route::is('front.nous-rejoindre') ? '' : route('front.news.show', $news);
|
||||
@endphp
|
||||
|
||||
@if (!empty($news))
|
||||
<div class="posts-list__item list-item" style="opacity: 1; transition: 250ms;">
|
||||
<div class="list-item__image image-border-wrap image-borders">
|
||||
<img src="{{ asset($news['picture']) }}"
|
||||
class="attachment-post-thumbnail size-post-thumbnail wp-post-image"
|
||||
<img src="{{ asset($news['picture']) }}" class="attachment-post-thumbnail size-post-thumbnail wp-post-image"
|
||||
alt="{{ isset($news['picture_alt']) ? $news['picture_alt'] : '' }}" decoding="async" loading="lazy"
|
||||
srcset="{{ $news['picture'] }}">
|
||||
<x-front.borders :borders="!empty($borders) ? $borders : []" />
|
||||
</div>
|
||||
<div class="list-item__description description">
|
||||
@if ($news->category_labels)
|
||||
@if (isset($news->category_labels))
|
||||
<div class="list-item__tags tags">
|
||||
<div class="single-news__tag tag {{ $news->first_category_data['category_classes'] ?? '' }}">
|
||||
{{ $news->category_labels }}
|
||||
|
|
@ -16,15 +21,17 @@
|
|||
</div>
|
||||
@endif
|
||||
<div class="list-item__title posts-list__item-title subtitle">{{ $news['title'] }}</div>
|
||||
<div class="list-item__date date {{ $news->first_category_data['date_classes'] ?? 'date_no-tags' }}">
|
||||
{{ $news->created_at }}
|
||||
</div>
|
||||
@if (isset($news->created_at))
|
||||
<div class="list-item__date date {{ $news->first_category_data['date_classes'] ?? 'date_no-tags' }}">
|
||||
{{ $news->created_at }}
|
||||
</div>
|
||||
@endif
|
||||
<div class="list-item__text ellipsis description"></div>
|
||||
@if (isset($news['type_button']))
|
||||
@if ($isButtonStyle)
|
||||
<x-front.cta title="Lire l'article" class="list-item__readmore"
|
||||
url="{{ route('front.news.show', $news) }}" buttonIcon="btn__icon_arrow-right" />
|
||||
url="{{ $url }}" buttonIcon="btn__icon_arrow-right" />
|
||||
@else
|
||||
<a class="list-item__readmore" href="{{ route('front.news.show', $news) }}" title="Lire l'article">
|
||||
<a class="list-item__readmore" href="{{ $url }}" title="Lire l'article">
|
||||
Lire l'article
|
||||
</a>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -56,359 +56,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
@php
|
||||
$postContainer = [
|
||||
'class' => 'fw-container no-top-padding',
|
||||
'secondaryClass' => 'fw-container no-bottom-padding',
|
||||
'tertiaryClass' => 'tagged-posts',
|
||||
'list_type' => 'news',
|
||||
'id' => 'news',
|
||||
'post_id' => '9',
|
||||
'slug' => 'news',
|
||||
'url' => route('front.news.index'),
|
||||
'localized' => 'ajax_load_more_news_vars',
|
||||
'object' => 'ajax_load_more_news',
|
||||
'max_posts' => '9',
|
||||
'load_more' => 'Voir plus de ressources documentaires',
|
||||
'filters' => [
|
||||
[
|
||||
'title' => 'Thématique',
|
||||
'fields' => [
|
||||
[
|
||||
'title' => 'Actualités RH',
|
||||
'tag' => 'actualites-rh',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => 'Vie du Groupe',
|
||||
'tag' => 'vie-du-groupe',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => 'Événement',
|
||||
'tag' => 'evenement-2',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => 'Communiqués et Avis financiers',
|
||||
'tag' => 'communiques-et-avis-financiers',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => 'Communiqué',
|
||||
'tag' => 'communique',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => 'Actualités RSE',
|
||||
'tag' => 'actualites-rse',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => 'Actualités Produits',
|
||||
'tag' => 'actualites-produits',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => 'Article de presse',
|
||||
'tag' => 'article-de-presse',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => 'Partenariats et sponsorings',
|
||||
'tag' => 'partenariats-et-sponsorings',
|
||||
'category' => 'news',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'title' => 'Année',
|
||||
'fields' => [
|
||||
[
|
||||
'title' => '2024/2025',
|
||||
'year' => '2025',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => '2023/2024',
|
||||
'year' => '2024',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => '2022/2023',
|
||||
'tag' => '2023',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => '2021/2022',
|
||||
'tag' => '2022',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => '2020/2021',
|
||||
'tag' => '2021',
|
||||
'category' => 'news',
|
||||
],
|
||||
[
|
||||
'title' => '2019/2020',
|
||||
'tag' => '2020',
|
||||
'category' => 'news',
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
'news' => [
|
||||
[
|
||||
'type_button' => true,
|
||||
'picture' => '/assets/uploads/2024/04/VIGNETTE-412x232.jpg',
|
||||
'picture_alt' => 'Vignette communiqué de presse Groupe LDC',
|
||||
'srcset' =>
|
||||
'/assets/uploads/2024/04/VIGNETTE-412x232.jpg 412w, /assets/uploads/2024/04/VIGNETTE-300x169.jpg 300w, /assets/uploads/2024/04/VIGNETTE-1024x576.jpg 1024w, /assets/app/uploads/2024/04/VIGNETTE-768x432.jpg 768w, /assets/uploads/2024/04/VIGNETTE-1536x864.jpg 1536w, /assets/uploads/2024/04/VIGNETTE.jpg 1920w',
|
||||
'subtitle' => 'Le Groupe LDC officialise sa stratégie Climat & Biodiversité 2030 ! 🌍',
|
||||
'created_at' => '04/06/2025',
|
||||
'slug' => 'le-groupe-ldc-officialise-sa-strategie-climat-biodiversite-2030-%f0%9f%8c%8d',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type_button' => true,
|
||||
'picture' => '/assets/uploads/2025/03/VIGNETTE-412x232.jpg',
|
||||
'picture_alt' => 'Vignette lancement campagne alternants 2025',
|
||||
'srcset' =>
|
||||
'/assets/uploads/2025/03/VIGNETTE-412x232.jpg 412w, /assets/uploads/2025/03/VIGNETTE-300x169.jpg 300w, /assets/uploads/2025/03/VIGNETTE-1024x576.jpg 1024w, /assets/uploads/2025/03/VIGNETTE-768x432.jpg 768w, /assets/uploads/2025/03/VIGNETTE-1536x864.jpg 1536w, /assets/uploads/2025/03/VIGNETTE-2048x1152.jpg 2048w',
|
||||
'subtitle' => 'Recrutement en alternance : plus de 100 opportunités dans tous les métiers !',
|
||||
'created_at' => '27/03/2025',
|
||||
'date_type' => 'date_actualites-rh',
|
||||
'category' => 'Actualités RH',
|
||||
'category_type' => 'tag_actualites-rh',
|
||||
'slug' => 'recrutement-en-alternance-plus-de-100-opportunites-dans-tous-les-metiers',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type_button' => true,
|
||||
'picture' => '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg',
|
||||
'picture_alt' => 'Retrouvez le Groupe LDC aux forums écoles de février',
|
||||
'srcset' =>
|
||||
'/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg 412w, /assets/uploads/2025/01/VIGNETTE-ok-300x150.jpg 300w, /assets/uploads/2025/01/VIGNETTE-ok.jpg 600w',
|
||||
'subtitle' => 'Retrouvez-nous aux forums écoles en mars 2025 !',
|
||||
'created_at' => '28/02/2025',
|
||||
'date_type' => 'date_actualites-rh',
|
||||
'category' => 'Actualités RH',
|
||||
'category_type' => 'tag_actualites-rh',
|
||||
'slug' => 'retrouvez-nous-aux-forums-ecoles-en-mars-2025',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type_button' => true,
|
||||
'picture' => '/assets/uploads/2025/02/VIGNETTE-412x206.jpg',
|
||||
'picture_alt' => 'Vignette acquisitions 2024 Groupe LDC',
|
||||
'srcset' =>
|
||||
'/assets/uploads/2025/02/VIGNETTE-412x206.jpg 412w, /assets/uploads/2025/02/VIGNETTE-300x150.jpg 300w, /assets/uploads/2025/02/VIGNETTE.jpg 600w',
|
||||
'subtitle' => '[Rétrospective 2024] Retrouvez les entreprises qui ont rejoint le Groupe en 2024.',
|
||||
'created_at' => '11/02/2025',
|
||||
'date_type' => 'date_vie-du-groupe',
|
||||
'category' => 'Vie du Groupe',
|
||||
'category_type' => 'tag_vie-du-groupe',
|
||||
'slug' => 'retrospective-2024-retrouvez-les-entreprises-qui-ont-rejoint-le-groupe-en-2024',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type_button' => true,
|
||||
'picture' => '/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg',
|
||||
'picture_alt' => 'Retrouvez le Groupe LDC aux forums écoles de février',
|
||||
'srcset' =>
|
||||
'/assets/uploads/2025/01/VIGNETTE-ok-412x206.jpg 412w, /assets/uploads/2025/01/VIGNETTE-ok-300x150.jpg 300w, /assets/uploads/2025/01/VIGNETTE-ok.jpg 600w',
|
||||
'subtitle' => 'Retrouvez-nous aux forums écoles en février 2025 !',
|
||||
'created_at' => '31/01/2025',
|
||||
'date_type' => 'date_actualites-rh',
|
||||
'category' => 'Actualités RH',
|
||||
'category_type' => 'tag_actualites-rh',
|
||||
'slug' => 'retrouvez-nous-aux-forums-ecoles-en-fevrier-2025',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type_button' => true,
|
||||
'picture' => '/assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-412x232.png',
|
||||
'picture_alt' => 'Le Groupe LDC et ses marques présent au SIRHA Lyon 2025',
|
||||
'srcset' =>
|
||||
'/assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-412x232.png 412w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-300x169.png 300w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-1024x576.png 1024w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-768x432.png 768w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025-1536x864.png 1536w, /assets/uploads/2025/01/Le-Groupe-LDC-au-SIRHA-Lyon-2025.png 1920w',
|
||||
'subtitle' =>
|
||||
'SIRHA LYON 2025 : LE GROUPE LDC ET SES MARQUES RESTAURATION SERONT PRÉSENTS DU 23 AU 27 JANVIER 2025',
|
||||
'created_at' => '21/01/2025',
|
||||
'date_type' => 'date_evenement-2',
|
||||
'category' => 'Événement',
|
||||
'category_type' => 'tag_evenement-2',
|
||||
'slug' =>
|
||||
'sirha-lyon-2025-le-groupe-ldc-et-ses-marques-restauration-seront-presents-du-23-au-27-janvier-2025',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type_button' => true,
|
||||
'picture' => '/assets/uploads/2024/11/image-actualite-forum-ecoles-trame-360x240.png',
|
||||
'picture_alt' => 'Vignette actualité Forums Ecoles',
|
||||
'srcset' =>
|
||||
'/assets/uploads/2024/11/image-actualite-forum-ecoles-trame-360x240.png 360w, /assets/uploads/2024/11/image-actualite-forum-ecoles-trame-300x200.png 300w, /assets/uploads/2024/11/image-actualite-forum-ecoles-trame.png 600w',
|
||||
'subtitle' =>
|
||||
'Le Groupe LDC présent aux Forums écoles de l’Institut Agro Dijon, ESA Angers, Oniris Nantes & ESAIP Angers !',
|
||||
'created_at' => '06/11/2024',
|
||||
'date_type' => 'date_actualites-rh',
|
||||
'category' => 'Actualités RH',
|
||||
'category_type' => 'tag_actualites-rh',
|
||||
'slug' =>
|
||||
'le-groupe-ldc-present-aux-forums-ecoles-de-linstitut-agro-dijon-esa-angers-oniris-nantes-esaip-angers',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type_button' => true,
|
||||
'picture' =>
|
||||
'/assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-412x141.png',
|
||||
'picture_alt' => 'Logo Semaine Nationale de l\'Emploi Agroalimentaire 2024',
|
||||
'srcset' =>
|
||||
'/assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-412x141.png 412w, /assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-300x103.png 300w, /assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-1024x350.png 1024w, /assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire-768x263.png 768w, /assets/uploads/2024/10/logo-Semaine-Nationale-de-lEmploi-Agroalimentaire.png 1170w',
|
||||
'subtitle' =>
|
||||
'Le Groupe LDC présent aux Forums écoles de l’Institut Agro Dijon, ESA Angers, Oniris Nantes & ESAIP Angers !',
|
||||
'created_at' => '29/10/2024',
|
||||
'date_type' => 'date_actualites-rh',
|
||||
'category' => 'Actualités RH',
|
||||
'category_type' => 'tag_actualites-rh',
|
||||
'slug' => 'le-groupe-ldc-participe-a-la-semaine-nationale-de-lemploi-agroalimentaire',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type_button' => true,
|
||||
'picture' => '/assets/uploads/2024/10/visuel-uni-la-salle-2024-360x240.jpg',
|
||||
'picture_alt' => 'Photo des étudiants UniLa Salle sur le site de LDC Groupe',
|
||||
'srcset' =>
|
||||
'/assets/uploads/2024/10/visuel-uni-la-salle-2024-360x240.jpg 360w, /assets/uploads/2024/10/visuel-uni-la-salle-2024-300x200.jpg 300w, /assets/uploads/2024/10/visuel-uni-la-salle-2024.jpg 600w',
|
||||
'subtitle' => 'Partenariat École : les étudiants UniLaSalle en visite chez LDC Groupe',
|
||||
'created_at' => '28/10/2024',
|
||||
'date_type' => 'date_actualites-rh',
|
||||
'category' => 'Actualités RH',
|
||||
'category_type' => 'tag_actualites-rh',
|
||||
'slug' => 'partenariat-ecole-les-etudiants-uni-la-salle-en-visite-chez-ldc-groupe',
|
||||
'image_borders' => [
|
||||
'desktop' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
'mobile' => [
|
||||
'left' => false,
|
||||
'right' => false,
|
||||
'top' => false,
|
||||
'bottom' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
];
|
||||
@endphp
|
||||
|
||||
<x-front.filter-posts :postContainer="$postContainer" />
|
||||
<x-front.news.index-news-component />
|
||||
|
||||
<div id="page-press-form">
|
||||
<div class="page-press-form fw fw-container gray-bg">
|
||||
|
|
@ -418,7 +67,7 @@
|
|||
<div class="fw-container no-bottom-padding">
|
||||
|
||||
<div class="wpcf7-form">
|
||||
@include('front.pages.contact.partials.press')
|
||||
@include('front.pages.contact.partials.press')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<h1 class="single-news__title subtitle">
|
||||
{{ $model['title'] }}
|
||||
</h1>
|
||||
<div class="single-news__date date {{ $model->first_category_data['date_classes'] }}">
|
||||
<div class="single-news__date date {{ $model->first_category_data['date_classes'] ?? '' }}">
|
||||
{{ $model['created_at'] }}</div>
|
||||
<div class="textblock__container">
|
||||
<div class="textblock__image textblock__block image-border-wrap">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue