faq.blade.php 4.03 KB
@extends('layout.frontend', ['title' => 'FAQ Вопросы и ответы - РекаМоре'])

@section('content')
    <section class="cabinet">
        <div class="container">
            <ul class="breadcrumbs cabinet__breadcrumbs">
                <li><a href="{{ route('index') }}">Главная</a></li>
                <li><b>Личный кабинет</b></li>
            </ul>
            <div class="cabinet__wrapper">
                <div class="cabinet__side">
                    <div class="cabinet__side-toper">
                        @include('employers.emblema')
                    </div>

                    @include('employers.menu', ['item' => 10])

                </div>


                <div class="cabinet__body">
                    <div class="cabinet__body-item">
                        <h2 class="title cabinet__title">FAQ - Инструкция по размещению вакансии</h2>
                    </div>
                    <div class="cabinet__body-item">
                        <div class="cabinet__tabs">
                            <button type="button" class="button button_light active" data-tab="1">Работодателю</button>
                            <button type="button" class="button button_light" data-tab="2">Работнику</button>
                        </div>
                        <div class="cabinet__bodies showed" data-body="1">
                            <div class="faqs">
                                @foreach($questionsEmployer as $question)
                                <div class="faqs__body">
                                    <div class="faqs__item">
                                        <button type="button" class="faqs__item-button js-toggle">
                                            <span>{{ $question->question }}</span>
                                            <i>
                                                <svg>
                                                    <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use>
                                                </svg>
                                            </i>
                                        </button>
                                        <div class="faqs__item-body" style="white-space:break-spaces; word-break: break-word;">
                                            {!! $question->answer !!}
                                        </div>
                                    </div>
                                </div>
                                @endforeach
                            </div>
                        </div>
                        <div class="cabinet__bodies" data-body="2">
                            <div class="faqs">
                                @foreach($questionsEmployee as $question)
                                    <div class="faqs__body">
                                        <div class="faqs__item">
                                            <button type="button" class="faqs__item-button js-toggle">
                                                <span>{{ $question->question }}</span>
                                                <i>
                                                    <svg>
                                                        <use xlink:href="{{ asset('images/sprite.svg#arrow') }}"></use>
                                                    </svg>
                                                </i>
                                            </button>
                                            <div class="faqs__item-body" style="white-space:break-spaces; word-break: break-word;">
                                                {!! $question->answer !!}
                                            </div>
                                        </div>
                                    </div>
                                @endforeach
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </section>
@endsection