<?php if (isset($component)) { $__componentOriginal783808d09c489a73db593e82465042f2d47695ce = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\PortalLayout::class, [] + (isset($attributes) ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('portal-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $constructor = (new ReflectionClass(App\View\Components\PortalLayout::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>

    <section id="hero">
        <div id="heroCarousel" data-bs-interval="5000" class="carousel slide carousel-fade" data-bs-ride="carousel">

            <ol class="carousel-indicators" id="hero-carousel-indicators"></ol>

            <div class="carousel-inner" role="listbox">
                
                <?php $__currentLoopData = $slides; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slide): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="carousel-item <?php if($loop->first): ?> active <?php endif; ?>" style="background-image: url(<?php echo e(asset('assets/portal/img/slide/' . $slide['image'])); ?>)">
                    <div class="carousel-container">
                        <div class="container">
                            <h2 class="animate__animated animate__fadeInDown"><?php echo e($slide['title']); ?></h2>
                            <p class="animate__animated animate__fadeInUp"><?php echo e($slide['subtitle']); ?></p>
                            <!--a href="#about" class="btn-get-started animate__animated animate__fadeInUp scrollto">Read More</a-->
                        </div>
                    </div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            </div>

            <a class="carousel-control-prev" href="#heroCarousel" role="button" data-bs-slide="prev">
                <span class="carousel-control-prev-icon bi bi-chevron-left" aria-hidden="true"></span>
            </a>

            <a class="carousel-control-next" href="#heroCarousel" role="button" data-bs-slide="next">
                <span class="carousel-control-next-icon bi bi-chevron-right" aria-hidden="true"></span>
            </a>

        </div>
    </section>

    <section id="ministre" class="ministre">
        <div class="container">
  
            <div class="row content">
                <div class="col-lg-6">
                    <div class="card" style="background-image: url(<?php echo e(asset('assets/portal/img/ministre.jpg')); ?>);">
                        <div class="card-body">
                            <small>Les mots de bienvenue du Ministre d'État, </small><br> <h2>Abdoulaye Bio Tchane</h2>
                            <div class="read-more"><a href="<?php echo e(route('portal.pages', 'ministre')); ?>"><i class="bi bi-arrow-right"></i> Lire la suite</a></div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6 pt-4 pt-lg-0 services">

                    <div class="section-title">
                        <h2>Prochain</h2>
                        <p>Evenements</p>
                    </div>

                    <?php $__currentLoopData = $events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $event): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-md-12">
                        <div class="icon-box">
                            <i class="bi bi-briefcase"></i>
                            <h4>
                                <?php echo e($event->formatted_started_at); ?> - 
                                <?php echo e($event->formatted_finished_at); ?>

                            </h4>
                            <p><a href="<?php echo e(route('portal.events.show', $event)); ?>"><?php echo $event->title; ?></a></p>
                        </div>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    
                </div>
            </div>
  
        </div>
    </section>
    
    <section id="testimonials" class="testimonials">
        <div class="container position-relative">
            <div class="testimonial-item">
                <?php if($forum): ?>
                    <h4>Forum <?php echo e($forum->annee); ?></h4>
                    <h3><a href="<?php echo e(route('portal.forums.show', $forum)); ?>"><?php echo e($forum->thematique); ?></a></h3>
                <?php else: ?>
                    <h3>Pas de forum en cours</h3>
                <?php endif; ?>
            </div>
        </div>
    </section>
    
    <section id="values" class="values">
        <div class="container">

            <div class="section-title">
                <h2>Notre</h2>
                <p>Actualités</p>
            </div>

            <div class="row">
                <?php $__currentLoopData = $articles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $article): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-md-6 d-flex align-items-stretch" data-aos="fade-up">
                    <div class="card" style="background-image: url(<?php echo e(asset('storage/articles/' . $article->filename)); ?>);">
                        <div class="card-body bg-white">
                            <h5 class="card-title"><a href="<?php echo e(route('portal.articles.show', $article)); ?>"><?php echo e($article->title); ?></a></h5>
                            <p class="card-text"><?php echo e($article->chapo); ?></p>
                            <div class="read-more"><a href="<?php echo e(route('portal.articles.show', $article)); ?>"><i class="bi bi-arrow-right"></i> Lire la suite</a></div>
                        </div>
                    </div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div> 
    </section>

    <section id="clients" class="clients section-bg">
        <div class="container" data-aos="fade-up">

            <div class="section-title">
                <p>Les 17 ODD</p>
            </div>

            <div class="swiper mySwiper" data-aos="fade-up" data-aos-delay="100">
                <div class="swiper-wrapper">
                <?php $__currentLoopData = $goals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $goal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="swiper-slide">
                        <a href="<?php echo e(route('portal.goals.show', $goal)); ?>">
                            <img src="<?php echo e(asset('images/goals/goal-'.$goal->code.'.png')); ?>" class="img-fluid" alt="">
                        </a>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
               
                <div class="swiper-button-prev"></div>
                <div class="swiper-button-next"></div>
            </div>
        </div>
    </section>
  
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal783808d09c489a73db593e82465042f2d47695ce)): ?>
<?php $component = $__componentOriginal783808d09c489a73db593e82465042f2d47695ce; ?>
<?php unset($__componentOriginal783808d09c489a73db593e82465042f2d47695ce); ?>
<?php endif; ?>
<?php /**PATH /var/www/html/beta/elv3/resources/views/portal/home.blade.php ENDPATH**/ ?>