fix 🐛 rename component blade
This commit is contained in:
parent
c62a8c0cf4
commit
d80db57e74
4 changed files with 6 additions and 68 deletions
|
|
@ -1,66 +0,0 @@
|
|||
@php
|
||||
$items = $sections;
|
||||
@endphp
|
||||
@props(['onglets' => [], 'sections' => [], 'staticPageModel'])
|
||||
<section class="position-relative line-border-large z-1 overflow-hidden">
|
||||
<div class="position-absolute h-100 w-100 top-0 z-0">
|
||||
<div class="bg-green-wood h-100 w-100" id="demarche-bg"></div>
|
||||
</div>
|
||||
<div class="container-fluid position-relative z-1 py-5">
|
||||
<div class="row w-100 justify-content-center px-md-4 mx-auto px-1">
|
||||
<div class="col-12 mb-2">
|
||||
<div class="d-md-flex justify-content-md-center gap-md-3">
|
||||
<h2 class="h1 f-intro-head-h-base align-self-md-center text-center">
|
||||
{{ __($staticPageModel->data['title']['value']) }}
|
||||
</h2>
|
||||
{{-- Oui c'est bon Logo --}}
|
||||
<div class="d-flex justify-content-center mb-3">
|
||||
<div>
|
||||
<img class="img-fluid center-block"
|
||||
src="{{ asset($staticPageModel->data['picto']['value']) }}"
|
||||
alt="{{ __($staticPageModel->data['picto']['alt']) }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-lg-50 mx-auto text-center">
|
||||
{!! clean($staticPageModel->data['description']['value']) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{-- Buttons --}}
|
||||
<div class="d-flex justify-content-center gap-md-4 gap-5 mb-5 mb-md-0">
|
||||
@foreach ($items as $categoryKey => $categoryItems)
|
||||
<button class="btn btn-secondary fs-6 d-block category-btn" type="button"
|
||||
data-category="{{ $categoryKey }}">
|
||||
{{ $categoryKey }}
|
||||
</button>
|
||||
@endforeach
|
||||
</div>
|
||||
{{-- Cards --}}
|
||||
<div class="row mb-5 mt-5" id="cards-container-outside">
|
||||
<div class="card-grid">
|
||||
@foreach ($items as $categoryKey => $categoryItems)
|
||||
<div style="display: contents" data-category="{{ $categoryKey }}">
|
||||
@foreach ($categoryItems as $item)
|
||||
<div class="{{ $loop->first ? 'mt-5 mt-md-0' : '' }}">
|
||||
<x-fo.breeding.light-card :category="$item->title" :icon="[
|
||||
'path' => $item->picture,
|
||||
'alt' => $item->picture_alt,
|
||||
'description' => $item->picture_title,
|
||||
]" :content="$item->content"
|
||||
class="card-template-sm" data-category="{{ $categoryKey }}" />
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<x-fo.breeding.sortant-a-l-exterieur-card href="{{ route('fo.breeding.oui-c-est-bon') }}"
|
||||
title="La démarche Oui c'est bon" containerTitle="Découvrez aussi" btnText="En savoir plus"
|
||||
:icon="[
|
||||
'path' => 'resources/assets/images/breeding/oui-c-est-bon/logo-oui-c-est-bon.png',
|
||||
'alt' => 'pictogramme oui c\'est bon',
|
||||
'description' => 'pictogramme oui c\'est bon',
|
||||
]" />
|
||||
</div>
|
||||
</section>
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
<div class="position-absolute h-100 w-100 top-0 z-0">
|
||||
<div class="bg-green-wood h-100 w-100" id="demarche-bg"></div>
|
||||
</div>
|
||||
<x-fo.breeding.section.oui-c-est-bon.cahier-des-charges-section :staticPageModel="$staticPageModel" :onglets="$categoryApproachModels"
|
||||
<x-fo.breeding.section.cahier-des-charges-section :staticPageModel="$staticPageModel" :onglets="$categoryApproachModels"
|
||||
:sections="$sections" />
|
||||
<x-fo.breeding.section.oui-c-est-bon.search-breeders-section :ocbBreederModels="$ocbBreederModels"
|
||||
:titleSearch="$staticPageModel->data['search_title']['value']" :descriptionSearch="$staticPageModel->data['search_description']['value']"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,11 @@
|
|||
<x-fo.breeding.section.header-section title="{{ __($staticPageModel->title) }}" :image="$staticPageModel->picture"
|
||||
alt_img="{{ $staticPageModel->picture_alt }}" title_img="{{ $staticPageModel->picture_title }}" />
|
||||
<section id="sortant-a-l-exterieur">
|
||||
<x-fo.breeding.section.sortant-a-l-exterieur.cahier-des-charges-section :staticPageModel="$staticPageModel" :onglets="$categoryApproachModels"
|
||||
<section class="position-relative line-border-large" id="oui-c-est-bon">
|
||||
<div class="position-absolute h-100 w-100 top-0 z-0">
|
||||
<div class="bg-green-wood h-100 w-100" id="demarche-bg"></div>
|
||||
</div>
|
||||
<x-fo.breeding.section.cahier-des-charges-section :staticPageModel="$staticPageModel" :onglets="$categoryApproachModels"
|
||||
:sections="$sections" />
|
||||
<x-fo.breeding.section.sortant-a-l-exterieur.galery-section :sliderImages="$sliderImages" title="{{ $staticPageModel->data['galery_title']['value'] }}" />
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue