complex2.blade.php 6.38 KB
<section class="slider">
        <div class="container">
            <div class="slider__wrap">
                <div class="slider__top">
                    <h2 class="slider__title title">Аренда торговых помещений</h2><a class="slider__more" href="#">Показать все объекты</a>
                    <div class="slider__control">
                        <div class="swiper-button-prev">
                            <svg width="10" height="17">
                                <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
                            </svg>
                        </div>
                        <div class="swiper-button-next">
                            <svg width="10" height="17">
                                <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
                            </svg>
                        </div>
                    </div>
                </div>
                <div class="slider__swiper swiper">
                    <div class="swiper-wrapper" id="arenda_block">
                        @if ($house_arenda->count())
                            @foreach ($house_arenda as $house1)
                                @include('catalogs.elemhouse', ['house' => $house1])
                            @endforeach
                        @else
                            <h3>Здесь пока что нет предложений</h3>
                    @endif
                    </div>
                </div>
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>
    <section class="slider">
        <div class="container">
            <div class="slider__wrap">
                <div class="slider__top">
                    <h2 class="slider__title title">Продажа торговых помещений</h2><a class="slider__more" href="#">Показать все объекты</a>
                    <div class="slider__control">
                        <div class="swiper-button-prev">
                            <svg width="10" height="17">
                                <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
                            </svg>
                        </div>
                        <div class="swiper-button-next">
                            <svg width="10" height="17">
                                <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
                            </svg>
                        </div>
                    </div>
                </div>
                <div class="slider__swiper swiper">
                    <div class="swiper-wrapper">
                        @if ($house_prodaja->count())
                            @foreach ($house_prodaja as $house2)
                                @include('catalogs.elemhouse', ['house' => $house2])
                            @endforeach
                        @else
                            <h3>Здесь пока что нет предложений</h3>
                    @endif
                    </div>
                </div>
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>
    <section class="slider">
        <div class="container">
            <div class="slider__wrap">
                <div class="slider__top">
                    <h2 class="slider__title title">Арендный бизнес</h2><a class="slider__more" href="#">Показать все объекты</a>
                    <div class="slider__control">
                        <div class="swiper-button-prev">
                            <svg width="10" height="17">
                                <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
                            </svg>
                        </div>
                        <div class="swiper-button-next">
                            <svg width="10" height="17">
                                <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
                            </svg>
                        </div>
                    </div>
                </div>
                <div class="slider__swiper swiper">
                    <div class="swiper-wrapper">
                        @if ($house_bissnes->count())
                            @foreach ($house_bissnes as $house3)
                                @include('catalogs.elemhouse', ['house' => $house3])
                            @endforeach
                        @else
                            <h3>Здесь пока что нет предложений</h3>
                    @endif
                    </div>
                </div>
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>
    <section class="slider">
        <div class="container">
            <div class="slider__wrap">
                <div class="slider__top">
                    <h2 class="slider__title title">Арендованные</h2><a class="slider__more" href="#">Показать все объекты</a>
                    <div class="slider__control">
                        <div class="swiper-button-prev">
                            <svg width="10" height="17">
                                <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
                            </svg>
                        </div>
                        <div class="swiper-button-next">
                            <svg width="10" height="17">
                                <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
                            </svg>
                        </div>
                    </div>
                </div>
                <div class="slider__swiper swiper">
                    <div class="swiper-wrapper">
                        @if ($house_arendovannie->count())
                            @foreach ($house_arendovannie as $house1)
                                @include('catalogs.elemhouse', ['house' => $house1])
                            @endforeach
                        @else
                            <h3>Здесь пока что нет предложений</h3>
                    @endif
                    </div>
                </div>
                <div class="swiper-pagination"></div>
            </div>
        </div>
</section>