frontend-page.blade.php 12.6 KB
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">

<head>
    <meta charset="utf-8">
    <title>{{ $title }}</title>
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta name="theme-color" content="#377D87">
    <link rel="stylesheet" href="{{ asset('css/style.css') }}">
</head>

<body id="body">
<a href="#body" class="to-top js-scroll-to">
    <svg>
        <use xlink:href="{{ asset('images/sprite.svg#arrow-top') }}"></use>
    </svg>
</a>

<div> <!-- BEGIN TOP WRAPPER -->
    <header class="header">
        <div class="container">
            <div class="header__body">
                <div class="header__left">
                    <a href="{{ route('index') }}" class="header__logo">
                        <svg>
                            <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use>
                        </svg>
                    </a>
                    <nav class="header__menu">
                        <a href="{{ route('vacancies') }}" class="header__menu-item">Вакансии</a>
                        <a href="{{ route('shipping_companies') }}" class="header__menu-item">Судоходные компании</a>
                        <a href="{{ route('education') }}" class="header__menu-item">Образование</a>
                    </nav>
                </div>
                <div class="header__right">
                    <button class="header__notifs header__notifs_actived">
                        <svg>
                            <use xlink:href="{{ asset('images/sprite.svg#ring') }}"></use>
                        </svg>
                        <span>Уведомления</span>
                    </button>
                    <div class="header__right-line"></div>
                    <button class="header__burger">
                        <svg>
                            <use xlink:href="{{ asset('images/sprite.svg#burger') }}"></use>
                        </svg>
                    </button>
                    @guest
                        <a class="button header__sign" href="{{ route('login') }}">Войти</a>
                    @else
                        <a class="button header__sign" href="{{ route('logout') }}">Выйти</a>
                    @endguest
                </div>
            </div>
        </div>
    </header>

    <section class="thing">
        <div class="container">
            <div class="thing__body">
                <ul class="breadcrumbs thing__breadcrumbs">
                    <li><a href="{{ route('index') }}">Главная</a></li>
                    <li><b>{{ $title }}</b></li>
                </ul>
                <img src="{{ asset('images/14.jpg') }}" alt="" class="thing__pic thing__pic_two">
                <h1 class="thing__title">{{ $title }}</h1>
                <p class="thing__text">{{ $description }}</p>
            </div>
        </div>
    </section>

    @yield('content')

</div> <!-- END TOP WRAPPER -->

<div> <!-- BEGIN BOTTOM WRAPPER -->
    <footer class="footer">
        <div class="container">
            <div class="footer__mobile">
                <button class="footer__mobile-toper js-toggle active">
                    <a href="{{ route('index') }}">
                        <svg>
                            <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use>
                        </svg>
                    </a>
                    <span>
                            <svg>
                                <use xlink:href="{{ asset('images/sprite.svg#arrow-top') }}"></use>
                            </svg>
                        </span>
                </button>
                <div class="footer__mobile-menu">
                    <div class="footer__mobile-menu-item">
                        <button class="js-toggle">
                            <b>Соискателям</b>
                            <span><svg>
                                        <use xlink:href="{{ asset('images/sprite.svg#arrow-top') }}"></use>
                                    </svg></span>
                        </button>
                        <div>
                            <a href="{{ route('vacancies') }}">Вакансии</a>
                            <a href="{{ route('if_public') }}">Условия размещения</a>
                            <a href="{{ route('education') }}">Образование</a>
                            <a href="{{ route('news') }}">Новости</a>
                            <a href="{{ route('contacts') }}">Контакты</a>
                            <a href="{{ route('public_offer') }}">Публичная оферта</a>
                        </div>
                    </div>
                    <div class="footer__mobile-menu-item">
                        <button class="js-toggle">
                            <b>Работодателям</b>
                            <span><svg>
                                        <use xlink:href="{{asset('images/sprite.svg#arrow-top') }}"></use>
                                    </svg></span>
                        </button>
                        <div>
                            <a href="{{ route('register') }}">Регистрация</a>
                            <a href="{{ route('bd_resume') }}">База резюме</a>
                            <a href="{{ route('cost_public_employer') }}">Стоимость размещения</a>
                            <a href="{{ route('instruction') }}">Инструкции</a>
                            <a href="{{ route('effective_note') }}">Эффективность объявления</a>
                            <a href="{{ route('public_offer_emp') }}">Публичная оферта</a>
                        </div>
                    </div>
                </div>
                <div class="footer__mobile-contacts">
                    <b>Контакты</b>
                    <a href="tel:{{ $companies[0]->telephone }}">{{ $companies[0]->telephone }}</a>
                    <a href="mailto:{{ $companies[0]->email }}">{{ $companies[0]->email }}</a>
                </div>
                <div class="footer__mobile-bottom">
                    <div class="socials">
                        <a href="{{ $companies[0]->vkontact }}" target="_blank">
                            <svg>
                                <use xlink:href="{{ asset('images/sprite.svg#vk') }}"></use>
                            </svg>
                        </a>
                        <a href="{{ $companies[0]->telegram }}" target="_blank">
                            <svg>
                                <use xlink:href="{{ asset('images/sprite.svg#tg') }}"></use>
                            </svg>
                        </a>
                    </div>
                    <nav class="footer__mobile-links">
                        <a href="{{ route('private_policy') }}">Политика конфиденциальности</a>
                        <span></span>
                        <a href="{{ route('terms_of_use') }}">Пользовательское соглашение</a>
                    </nav>
                    &copy; 2023 &mdash; RekaMore.su
                    <a href="{{ route('index') }}" class="nls" target="_blank">
                        <svg>
                            <use xlink:href="{{ asset('images/sprite.svg#nls') }}"></use>
                        </svg>
                        <span>
                                Дизайн и разработка:
                                <b>NoLogoStudio.ru</b>
                            </span>
                    </a>
                </div>
            </div>
            <div class="footer__main">
                <div class="footer__main-body">
                    <a href="" class="footer__main-logo">
                        <svg>
                            <use xlink:href="{{ asset('images/sprite.svg#logo') }}"></use>
                        </svg>
                    </a>
                    <div class="footer__main-col">
                        <div class="footer__main-title">Соискателям</div>
                        <nav>
                            <a href="{{ route('vacancies') }}">Вакансии</a>
                            <a href="{{ route('if_public') }}">Условия размещения</a>
                            <a href="{{ route('education') }}">Образование</a>
                            <a href="{{ route('news') }}">Новости</a>
                            <a href="{{ route('contacts') }}">Контакты</a>
                            <a href="{{ route('public_offer') }}">Публичная оферта</a>
                        </nav>
                    </div>
                    <div class="footer__main-col">
                        <div class="footer__main-title">Работодателям</div>
                        <nav>
                            <a href="{{ route('register') }}">Регистрация</a>
                            <a href="{{ route('bd_resume') }}">База резюме</a>
                            <a href="{{ route('cost_public_employer') }}">Стоимость размещения</a>
                            <a href="{{ route('instruction') }}">Инструкции</a>
                            <a href="{{ route('effective_note') }}">Эффективность объявления</a>
                            <a href="{{ route('public_offer_emp') }}">Публичная оферта</a>
                        </nav>
                    </div>

                    <div class="footer__main-col">
                        <div class="footer__main-title">Контакты</div>
                        <div class="footer__main-contacts">
                            <a href="tel:{{ $companies[0]->telephone }}">{{ $companies[0]->telephone }}</a>
                            <a href="mailto:{{ $companies[0]->email }}">{{ $companies[0]->email }}</a>
                        </div>
                        <div class="socials">
                            <a href="{{ $companies[0]->vkontact }}" target="_blank">
                                <svg>
                                    <use xlink:href="{{ asset('images/sprite.svg#vk') }}"></use>
                                </svg>
                            </a>
                            <a href="{{ $companies[0]->telegram }}" target="_blank">
                                <svg>
                                    <use xlink:href="{{ asset('images/sprite.svg#tg') }}"></use>
                                </svg>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="footer__main-copy">
                    <div>&copy; 2023 &mdash; RekaMore.su</div>
                    <nav>
                        <a href="{{ route('private_policy') }}">Политика конфиденциальности</a>
                        <span></span>
                        <a href="{{ route('terms_of_use') }}">Пользовательское соглашение</a>
                    </nav>
                    <a href="{{ route('index') }}" class="nls" target="_blank">
                        <svg>
                            <use xlink:href="{{ asset('images/sprite.svg#nls') }}"></use>
                        </svg>
                        <span>
                                Дизайн и разработка:
                                <b>NoLogoStudio.ru</b>
                        </span>
                    </a>
                </div>
            </div>
        </div>
    </footer>
</div> <!-- END BOTTOM WRAPPER -->

<div hidden> <!-- BEGIN MODALS WRAPPER -->
    <div class="modal">
        modal
    </div>
</div> <!-- END MODALS WRAPPER -->

<script src="{{ asset('js/jquery.js') }}"></script>
<script src="{{ asset('js/jquery.maskedinput.js') }}"></script>
<script src="{{ asset('js/jquery.fancybox.js') }}"></script>
<script src="{{ asset('js/jquery.select2.js') }}"></script>
<script src="{{ asset('js/swiper.js') }}"></script>
<script src="{{ asset('js/script.js') }}"></script>
<script>
    var getUrlParameter = function getUrlParameter(sParam) {
        var sPageURL = decodeURIComponent(window.location.search.substring(1)),
            sURLVariables = sPageURL.split('&'),
            sParameterName,
            i;
        for (i = 0; i < sURLVariables.length; i++) {
            sParameterName = sURLVariables[i].split('=');
            if (sParameterName[0] === sParam) {
                return sParameterName[1] === undefined ? true : sParameterName[1];
            }
        }
    };
</script>
@yield('scripts')
</body>
</html>