site.blade.php 22.7 KB
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{$title}}</title>
    <link rel="preload" href="{{ asset('fonts/Manrope-ExtraLight.woff2') }}" as="font" type="font/woff2" crossorigin>
    <link rel="preload" href="{{ asset('fonts/Manrope-Light.woff2" as="font') }}" type="font/woff2" crossorigin>
    <link rel="preload" href="{{ asset('fonts/Manrope-Regular.woff2') }}" as="font" type="font/woff2" crossorigin>
    <link rel="preload" href="{{ asset('fonts/Manrope-Medium.woff2') }}" as="font" type="font/woff2" crossorigin>
    <link rel="preload" href="{{ asset('fonts/Manrope-SemiBold.woff2') }}" as="font" type="font/woff2" crossorigin>
    <link rel="preload" href="{{ asset('fonts/Manrope-Bold.woff2') }}" as="font" type="font/woff2" crossorigin>
    <link rel="preload" href="{{ asset('fonts/Manrope-ExtraBold.woff2') }}" as="font" type="font/woff2" crossorigin>
    <link rel="stylesheet" href="{{ asset('css/swiper-bundle.min.css') }}">
    <link rel="stylesheet" href="{{ asset('css/style.css') }}">
</head>
<body>
<div class="spinner"></div>
<div class="wrapper">
    <header class="header js_header">
        <div class="container">
            <div class="header__wrap"><a class="header__logo" href="{{ route('index') }}"><img src="{{ asset('images/logo.svg') }}" alt="Лого"></a>
                <nav class="header__nav nav">
                    <ul class="nav__list">
                        <li class="nav__item"><a class="nav__link" href="{{ route('catalog') }}">Каталог</a></li>
                        <li class="nav__item"><a class="nav__link" href="{{ route('about') }}">О компании</a></li>
                        <li class="nav__item"><a class="nav__link" href="{{ route('contact') }}">Контакты</a></li>
                        <li class="nav__item"><a class="nav__link nav__link-favorites" href="{{ route('favorite') }}">Избранное<span>0</span></a></li>
                    </ul>
                </nav>
                <div class="header__buttons"><a class="header__btn-phone" href="#" data-btn="feedback">
                        <svg width="22" height="22">
                            <use xlink:href="{{ asset('images/sprite.svg#header-btn-phone') }}"></use>
                        </svg></a>
                    <div class="header__contacts">
                        <div class="header__col"><a class="header__contact" href="mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></div>
                        <div class="header__col"><a class="header__contact" href="tel:{{ $items_contact[0]->email }}">{{ $items_contact[0]->telephone }}</a>
                            <button class="header__btn-callback" type="button" data-btn="feedback">Обратный звонок</button>
                        </div>
                    </div>
                    <button class="header__burger js_header_burger" type="button">Меню
                        <svg width="28" height="18">
                            <use xlink:href="{{ asset('images/sprite.svg#burger') }}"></use>
                        </svg>
                    </button>
                </div>
                <div class="menu js_menu">
                    <div class="menu__wrap">
                        <button class="menu__close js_menu_close" type="button">Меню
                            <svg width="20" height="20">
                                <use xlink:href="{{ asset('images/sprite.svg#popup-close') }}"></use>
                            </svg>
                        </button>
                        <div class="menu__inner">
                            <nav class="menu__nav">
                                <ul class="menu__list">
                                    <li class="menu__item"><a class="menu__link" href="{{ route('about') }}">О компании</a></li>
                                    <li class="menu__item"><a class="menu__link menu__link-favorites" href="{{ route('favorite') }}">Избранное<span>5</span></a></li>
                                    <li class="menu__item"><a class="menu__link" href="{{ route('catalog') }}">Каталог</a></li>
                                    <li class="menu__item"><a class="menu__link" href="{{ route('news') }}">Новости</a></li>
                                    <li class="menu__item"><a class="menu__link" href="{{ route('contact') }}">Контакты</a></li>
                                </ul>
                            </nav>
                            <div class="menu__contacts"><a class="menu__contact" href="mailto:info@renttorg.ru">E-MAIL<span>info@renttorg.ru</span></a><a class="menu__contact" href="tel:+79290127262">ТЕЛЕФОН<span>+7 (929) 012-72-62</span></a></div>
                            <div class="menu__social social">
                                <ul class="social__list">
                                    <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="images/tg.svg" alt=""></a></li>
                                    <li class="social__item"><a class="social__link" href="#" target="_blank">
                                            <svg width="40" height="40">
                                                <use xlink:href="{{ asset('images/sprite.svg#wa')}}"></use>
                                            </svg></a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>
    <main>
       <!-- Фильтр -->
       @yield('filter')

       <!-- Основной контент -->
       @yield('content')

    </main>

    <footer class="footer" style="background-image:url({{ asset('images/footer-bg.jpg')}})">
        <div class="footer__buttons">
            <button class="footer__btn footer__btn-phone js_btn_contact_us" type="button">
                <svg width="30" height="32">
                    <use xlink:href="{{ asset('images/sprite.svg#footer-btn-phone')}}"></use>
                </svg>
            </button>
            <button class="footer__btn footer__btn-up js_btn_up" type="button">
                <svg width="19" height="11">
                    <use xlink:href="{{ asset('images/sprite.svg#footer-btn-up')}}"></use>
                </svg>
            </button>
        </div>
        <!-- Форма обратной связи -->
        @yield('form_feedback');

        <!-- Сам футер мееню -->
        <div class="footer-middle">
            <div class="container">
                <div class="footer-middle__wrap">
                    <div class="footer__col footer__col-intro"><a class="footer__logo" href="index.html"><img src="{{ asset('images/logo-footer.svg')}}" alt="Лого"></a>
                        <p class="footer__descr">В группу “Renttorg” входит ряд ведущих российских девелоперских компаний полного цикла, реализующих масштабные объекты недвижимости.</p>
                        <div class="footer-questions">
                            <h3 class="footer-questions__title">Есть вопросы или предложения?</h3><a class="footer-questions__btn btn btn--main" href="#" data-btn="feedback">Напишите нам</a>
                        </div>
                    </div>
                    <div class="footer__col footer__col-menu js_footer_col">
                        <h3 class="footer__caption js_footer_caption">Меню</h3>
                        <div class="footer__block js_footer_block">
                            <ul class="footer__list">
                                <li class="footer__item"><a class="footer__link" href="{{ route('catalog') }}">Каталог</a></li>
                                <li class="footer__item"><a class="footer__link" href="{{ route('about') }}">О компании</a></li>
                                <li class="footer__item"><a class="footer__link" href="{{ route('contact') }}">Контакты</a></li>
                                <li class="footer__item"><a class="footer__link" href="{{ route('favorite') }}">Избранное</a></li>
                                <li class="footer__item"><a class="footer__link" href="{{ route('news') }}">Новости</a></li>
                            </ul>

                        </div><a class="footer__author" href="#" target="_blank"><img src="{{ asset('images/author.png')}}" alt="Лого разработчика"></a>
                    </div>
                    <div class="footer__col js_footer_col">
                        <h3 class="footer__caption js_footer_caption">Услуги</h3>
                        <div class="footer__block js_footer_block">
                            <ul class="footer__list">
                                <li class="footer__item"><a class="footer__link" href="#">Продажа арендного бизнеса</a></li>
                                <li class="footer__item"><a class="footer__link" href="#">Арендованные помещения</a></li>
                                <li class="footer__item"><a class="footer__link" href="#">Свободные для аренды</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="footer__col js_footer_col">
                        <h3 class="footer__caption js_footer_caption">Объекты</h3>
                        <div class="footer__block js_footer_block">
                            <ul class="footer__list">
                                <li class="footer__item"><a class="footer__link" href="#">Новая Москва</a></li>
                                <li class="footer__item"><a class="footer__link" href="#">Подмосковье</a></li>
                                <li class="footer__item"><a class="footer__link" href="#">Москва</a></li>
                                <li class="footer__item"><a class="footer__link" href="#">Тип недвижимости</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="footer__col footer__col-contacts">
                        <h3 class="footer__caption js_footer_caption">Контакты</h3>
                        <ul class="footer__list">
                            <li class="footer__item"><a class="footer__link" href="#mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></li>
                            <li class="footer__item"><a class="footer__link" href="tel:{{ $items_contact[0]->telephone }}">{{ $items_contact[0]->telephone }}</a></li>
                        </ul>
                        <div class="footer__social social">
                            <ul class="social__list">
                                <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="{{ asset('images/tg.svg')}}" alt=""></a></li>
                                <li class="social__item"><a class="social__link" href="#" target="_blank">
                                        <svg width="40" height="40">
                                            <use xlink:href="{{ asset('images/sprite.svg#wa') }}"></use>
                                        </svg></a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>


        <div class="footer-bottom">
            <div class="container">
                <div class="footer-bottom__wrap">
                    <div class="footer__copy">© 2023 RentTorg</div><a class="footer__plicy" href="{{ route('conf') }}">Политика конфиденциальности</a>
                </div>
            </div>
        </div>
    </footer>
</div>

<!-- Вплывающие окна -->
<div class="popup popup-feedback" data-popup="feedback">
    <div class="popup__wrap">
        <button class="popup__close js_popup_close" type="button">
            <svg width="20" height="20">
                <use xlink:href="images/sprite.svg#popup-close"></use>
            </svg>
        </button>
        <form class="popup-feedback__form js_popup_feedback_form">
            <div class="popup-feedback__title">Как с вами связаться</div>
            <div class="popup-feedback__fields">
                <label class="popup-feedback__field field">
                    <input type="text" placeholder="Имя" name="Имя">
                </label>
                <label class="popup-feedback__field field">
                    <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон">
                </label>
            </div>
            <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button>
            <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p>
        </form>
    </div>
</div>
<div class="popup popup-feedback" data-popup="viewing">
    <div class="popup__wrap">
        <button class="popup__close js_popup_close" type="button">
            <svg width="20" height="20">
                <use xlink:href="images/sprite.svg#popup-close"></use>
            </svg>
        </button>
        <form class="popup-feedback__form js_popup_viewing_form">
            <div class="popup-feedback__title">Записаться на просмотр</div>
            <div class="popup-feedback__fields">
                <label class="popup-feedback__field field">
                    <input type="text" placeholder="Имя" name="Имя">
                </label>
                <label class="popup-feedback__field field">
                    <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон">
                </label>
            </div>
            <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button>
            <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p>
        </form>
    </div>
</div>
<div class="popup popup-success" data-popup="success">
    <div class="popup__wrap">
        <button class="popup__close js_popup_close" type="button">
            <svg width="20" height="20">
                <use xlink:href="images/sprite.svg#popup-close"></use>
            </svg>
        </button>
        <div class="popup-success__inner">
            <div class="popup-success__logo">
                <svg width="48" height="39">
                    <use xlink:href="images/sprite.svg#popup-success-logo"></use>
                </svg>
            </div>
            <div class="popup-success__title">Спасибо за заявку</div>
            <p class="popup-success__descr">В ближайшее время с вами свяжется наш специалист для уточнения деталей вашей задачи.</p>
        </div>
    </div>
</div>
<div class="popup popup-feedback" data-popup="sending">
    <div class="popup__wrap">
        <button class="popup__close js_popup_close" type="button">
            <svg width="20" height="20">
                <use xlink:href="images/sprite.svg#popup-close"></use>
            </svg>
        </button>
        <form class="popup-feedback__form js_popup_sending_form">
            <div class="popup-feedback__title">Отправить на почту</div>
            <div class="popup-feedback__fields">
                <label class="popup-feedback__field field">
                    <input class="js_input_email" type="text" placeholder="Электронная почта" name="Электронная почта">
                </label>
            </div>
            <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button>
            <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p>
        </form>
    </div>
</div>
<div class="contact-us js_contact_us">
    <div class="contact-us__top">
        <button class="contact-us__close js_contact_us_close" type="button">
            <svg width="20" height="20">
                <use xlink:href="images/sprite.svg#popup-close"></use>
            </svg>
        </button>
        <div class="contact-us__title">Свяжитесь с нами</div>
    </div>
    <div class="contact-us__body">
        <div class="contact-us__items"><a class="contact-us-item js_contact_us_close" href="#">
                <div class="contact-us-item__icon">
                    <svg width="34" height="34">
                        <use xlink:href="images/sprite.svg#contact-us-phone"></use>
                    </svg>
                </div>
                <div class="contact-us-item__name">Позвонить</div></a><a class="contact-us-item js_contact_us_close" href="#">
                <div class="contact-us-item__icon">
                    <svg width="44" height="44">
                        <use xlink:href="images/sprite.svg#contact-us-email"></use>
                    </svg>
                </div>
                <div class="contact-us-item__name">Написать</div></a><a class="contact-us-item js_contact_us_close" href="#">
                <div class="contact-us-item__icon">
                    <svg width="34" height="34">
                        <use xlink:href="images/sprite.svg#contact-us-chat"></use>
                    </svg>
                </div>
                <div class="contact-us-item__name">Онлайн-чат</div></a></div>
        <div class="contact-us__socials"><a class="contact-us-social js_contact_us_close" href="#" target="_blank">
                <div class="contact-us-social__icon contact-us-social__icon-tg"><img src="images/contact-us-tg.svg" alt=""></div>
                <div class="contact-us-social__name">Telegram</div></a><a class="contact-us-social js_contact_us_close" href="#" target="_blank">
                <div class="contact-us-social__icon contact-us-social__icon-wa">
                    <svg width="31" height="31">
                        <use xlink:href="images/sprite.svg#contact-us-wa"></use>
                    </svg>
                </div>
                <div class="contact-us-social__name">WhatsApp</div></a></div>
    </div>
</div>
<div class="offer-side-popup" data-popup="offer-side-popup">
    <div class="offer-side-popup__wrap">
        <button class="offer-side-popup__close js_popup_close" type="button">
            <svg width="20" height="20">
                <use xlink:href="images/sprite.svg#popup-close"></use>
            </svg>
        </button>
        <div class="offer-side-popup__cnt">
            <div class="offer-side-popup__item js_offer_side_popup_item active" data-item="1"><img src="images/offer-side-item-img-1.jpg" alt="План объекта"></div>
            <div class="offer-side-popup__item js_offer_side_popup_item" data-item="2"><img src="images/offer-side-item-img-2.jpg" alt="План этажа"></div>
        </div>
        <div class="offer-side-popup__tabs">
            <button class="offer-side-popup__tab js_offer_side_popup_tab active" type="button" data-tab="1">План объекта</button>
            <button class="offer-side-popup__tab js_offer_side_popup_tab" type="button" data-tab="2">План этажа</button>
        </div>
        <button class="offer-side-popup__sizeoff js_popup_close" type="button">
            <svg width="18" height="18">
                <use xlink:href="images/sprite.svg#popup-sizeoff"></use>
            </svg>
        </button>
    </div>
</div>
<div class="img-viewer js_img_viewer">
    <div class="img-viewer__wrap">
        <button class="img-viewer__close js_img_viewer_close" type="button">
            <svg width="20" height="20">
                <use xlink:href="images/sprite.svg#popup-close"></use>
            </svg>
        </button>
        <div class="img-viewer__thumbs js_img_viewer_thumbs">
            <div class="img-viewer__thumbs-swiper js_img_viewer_thumbs_swiper swiper">
                <div class="swiper-wrapper"></div>
            </div>
        </div>
        <div class="img-viewer__slider">
            <div class="img-viewer__slider-swiper js_img_viewer_slider_swiper swiper">
                <div class="swiper-wrapper"></div>
            </div>
            <div class="swiper-button-prev">
                <svg width="10" height="17">
                    <use xlink:href="images/sprite.svg#slider-arrow"></use>
                </svg>
            </div>
            <div class="swiper-button-next">
                <svg width="10" height="17">
                    <use xlink:href="images/sprite.svg#slider-arrow"></use>
                </svg>
            </div>
        </div>
        <div class="img-viewer__caption js_img_viewer_caption"></div>
        <button class="img-viewer__sizeoff js_img_viewer_close" type="button">
            <svg width="18" height="18">
                <use xlink:href="images/sprite.svg#popup-sizeoff"></use>
            </svg>
        </button>
    </div>
</div>
<div class="cookies js_cookies">
    <div class="container">
        <div class="cookies__wrap">
            <div class="cookies__top">
                <div class="cookies__img"><img src="images/cookies.svg" alt="cookies"></div>
                <div class="cookies__title">Cookies</div>
            </div>
            <p class="cookies__descr">Мы используем cookie-файлы для наилучшего представления нашего сайта.<br>Продолжая использовать сайт, вы даете согласие с использованием cookie-файлов.</p>
            <div class="cookies__buttons">
                <button class="cookies__btn btn btn--main js_cookies_confirm" type="button">Принять</button><a class="cookies__link" href="page-cookies.html">Подробнее</a>
            </div>
        </div>
    </div>
</div>
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script>
<script src="{{ asset('js/swiper-bundle.min.js') }}"></script>
<script src="{{ asset('js/main.js') }}"></script>
</body>
</html>