vacance-item.blade.php
6.41 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
@extends('layout.frontend', ['title' => $title])
@section('scripts')
@endsection
@section('content')
<main class="main">
<div class="container">
<ul class="breadcrumbs main__breadcrumbs">
<li><a href="{{ route('index') }}">Главная</a></li>
<li><a href="{{ route('vacancies') }}">Вакансии</a></li>
<li><b>{{ $title }}</b></li>
</ul>
<div class="main__employer-page">
@if (isset($Query[0]->employer))
<h2 class="main__employer-page-title">О компании</h2>
<div class="main__employer-page-two-item-toper">
<img src="{{ asset(Storage::url($Query[0]->employer->logo)) }}" alt="{{ $Query[0]->employer->name }}">
<span>{{ $Query[0]->employer->name_company }}</span>
</div>
<div class="main__employer-page-info">
<div class="main__employer-page-item">
<b> Адрес компании</b>
<span>
{{ $Query[0]->employer->address }}
</span>
</div>
<div class="main__employer-page-item">
<b>Сайт</b>
<span>
<a href="{{ $Query[0]->employer->site }}">{{ $Query[0]->employer->site }}</a>
</span>
</div>
<div class="main__employer-page-item">
<b>Почта</b>
<span>
<a href="{{ $Query[0]->employer->email }}">{{ $Query[0]->employer->email }}</a>
</span>
</div>
<div class="main__employer-page-item">
<b>Телефон</b>
<span>
<a href="tel:{{ $Query[0]->employer->telephone }}">{{ $Query[0]->employer->telephone }}</a>
</span>
</div>
</div>
@else
<div class="main__employer-page-info">
<div class="main__employer-page-item">
<b>Ничего не найдено</b>
<span>
Нет данных о компании
</span>
</div>
</div>
@endif
<h2 class="main__employer-page-title">Описание вакансии</h2>
</div>
@foreach ($Query as $Q)
<div class="main__vacancies-item-page main__employer-page-two-item">
<div class="main__employer-page-two-item-text">
<div class="main__employer-page-two-item-text-name">Судоходная компания ведет набор
специалистов на следующие должности:</div>
<div class="main__employer-page-two-item-text-links">
@if (isset($Q->jobs))
@foreach ($Q->jobs as $key => $j)
<a>“{{ $j->name }}” – з/п от @if (isset($Q->jobs_code[$key]->min_salary)) {{ $Q->jobs_code[$key]->min_salary }} @endif - @if (isset($Q->jobs_code[$key]->max_salary)) {{ $Q->jobs_code[$key]->max_salary }} @endif рублей (на руки)</a>
@endforeach
@endif
</div>
</div>
<div class="main__employer-page-two-item-text">
<div class="main__employer-page-two-item-text-name">Мы предлагаем:</div>
<div class="main__employer-page-two-item-text-body">
{!! $Q->text !!}
</div>
</div>
<div class="main__employer-page-two-item-text">
<div class="main__employer-page-two-item-text-name">Наши ожидания:</div>
<div class="main__employer-page-two-item-text-body">
{!! $Q->description !!}
</div>
</div>
<div class="main__employer-page-two-item-text">
<div class="main__employer-page-two-item-text-name">Резюме направляйте на почту:</div>
<div class="main__employer-page-two-item-text-body">
{!! $Q->contacts_emails !!}
</div>
<div class="main__employer-page-two-item-text">
<div class="main__employer-page-two-item-text-name">Или звоните:</div>
<div class="main__employer-page-two-item-text-body">
{!! $Q->contacts_telephones !!}
</div>
</div>
<div class="main__employer-page-two-item-tags">
@if (isset($Q->jobs))
@foreach ($Q->jobs as $key => $j)
<span class="main__employer-page-two-item-tag">#{{ $j->name }}</span>
@endforeach
@endif
</div>
<div class="main__employer-page-two-item-buttons">
<button type="button" class="button main__employer-page-two-item-button">Откликнуться</button>
</div>
<div class="main__employer-page-two-item-bottom">
<div class="main__employer-page-two-item-bottom-date">{{ $Q->created_at }}</div>
<button type="button" class="like main__employer-page-two-item-bottom-like js-toggle">
<svg>
<use xlink:href="{{ asset('images/sprite.svg#heart') }}"></use>
</svg>
</button>
</div>
</div>
@endforeach
</div> <a href="{{ redirect()->back()->getTargetUrl() }}" class="back">
<svg>
<use xlink:href="{{ asset('images/sprite.svg#back') }}"></use>
</svg>
<span>
Вернуться к списку вакансий
</span>
</a>
</main>
</div>
@endsection