faq.blade.php
3.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
@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