Commit d65c792256657c6d4e7dd352539d28a9fcdf608e
1 parent
f615f47db0
Exists in
master
Проблема пагинации на странице категория и система авторизации на сайте
Showing 13 changed files with 378 additions and 4 deletions Inline Diff
- .htaccess
- app/Http/Controllers/AdminController.php
- app/Http/Controllers/LoginController.php
- app/Http/Controllers/MainController.php
- app/Http/Controllers/RegisterController.php
- resources/views/admin/index.blade.php
- resources/views/auth/login-copy.blade.php
- resources/views/auth/login.blade.php
- resources/views/auth/register-copy.blade.php
- resources/views/auth/register.blade.php
- resources/views/category_catalog.blade.php
- resources/views/layout/site.blade.php
- routes/web.php
.htaccess
File was created | 1 | <IfModule mod_rewrite.c> | |
2 | RewriteEngine on | ||
3 | RewriteCond %{REQUEST_URI} !^public | ||
4 | RewriteRule ^(.*)$ public/$1 [L] | ||
5 | </IfModule> |
app/Http/Controllers/AdminController.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Http\Controllers; | ||
4 | |||
5 | use Illuminate\Http\Request; | ||
6 | |||
7 | class AdminController extends Controller | ||
8 | { | ||
9 | // главная страница административного раздела | ||
10 | public function index() { | ||
11 | return view('admin.index'); | ||
12 | } | ||
13 | } | ||
14 |
app/Http/Controllers/LoginController.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Http\Controllers; | ||
4 | |||
5 | use Illuminate\Http\Request; | ||
6 | use Illuminate\Support\Facades\Auth; | ||
7 | |||
8 | class LoginController extends Controller | ||
9 | { | ||
10 | public function __construct() { | ||
11 | //$this->middleware('guest')->except('logout'); | ||
12 | } | ||
13 | |||
14 | //Форма входа | ||
15 | public function login() { | ||
16 | return view('auth.login'); | ||
17 | } | ||
18 | |||
19 | // Аутентификация | ||
20 | public function autenticate(Request $request) { | ||
21 | $request->validate([ | ||
22 | 'email' => 'required|string|email', | ||
23 | 'password' => 'required|string', | ||
24 | ]); | ||
25 | |||
26 | $credentials = $request->only('email', 'password'); | ||
27 | |||
28 | if (Auth::attempt($credentials, $request->has('remember'))) { | ||
29 | if (is_null(Auth::user()->email_verified_at)){ | ||
30 | Auth::logout(); | ||
31 | return redirect() | ||
32 | ->route('auth.vefiry-message') | ||
33 | ->withErrors('Адрес почты не подтвержден'); | ||
34 | } | ||
35 | |||
36 | return redirect() | ||
37 | ->route('user.index') | ||
38 | ->with('success', 'Вы вошли в личный кабинет.'); | ||
39 | } | ||
40 | |||
41 | return redirect() | ||
42 | ->route('auth.login') | ||
43 | ->withErrors('Неверный логин или пароль!'); | ||
44 | } | ||
45 | |||
46 | // Выход | ||
47 | public function logout() { | ||
48 | Auth::logout(); | ||
49 | return redirect()->route('index') | ||
50 | ->with('success', 'Вы вышли из личного кабинета'); | ||
51 | } | ||
52 | } | ||
53 |
app/Http/Controllers/MainController.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace App\Http\Controllers; | 3 | namespace App\Http\Controllers; |
4 | 4 | ||
5 | use App\Models\Area; | 5 | use App\Models\Area; |
6 | use App\Models\format_area; | 6 | use App\Models\format_area; |
7 | use App\Models\House; | 7 | use App\Models\House; |
8 | use App\Models\News; | 8 | use App\Models\News; |
9 | use App\Models\Partners; | 9 | use App\Models\Partners; |
10 | use App\Models\type_area; | 10 | use App\Models\type_area; |
11 | use Illuminate\Http\Request; | 11 | use Illuminate\Http\Request; |
12 | use App\Classes\RusDate; | 12 | use App\Classes\RusDate; |
13 | use PhpParser\Node\Stmt\Switch_; | 13 | use PhpParser\Node\Stmt\Switch_; |
14 | use Illuminate\Support\Facades\Response; | 14 | use Illuminate\Support\Facades\Response; |
15 | 15 | ||
16 | class MainController extends Controller | 16 | class MainController extends Controller |
17 | { | 17 | { |
18 | /* | 18 | /* |
19 | * Главная страница проекта | 19 | * Главная страница проекта |
20 | */ | 20 | */ |
21 | public function index() { | 21 | public function index() { |
22 | $houses = House::with('areas')->orderByDesc('created_at')->limit(8)->get(); | 22 | $houses = House::with('areas')->orderByDesc('created_at')->limit(8)->get(); |
23 | $news = News::query()->orderByDesc('created_at')->limit(8)->get(); | 23 | $news = News::query()->orderByDesc('created_at')->limit(8)->get(); |
24 | $partners = Partners::query()->limit(18)->get(); | 24 | $partners = Partners::query()->limit(18)->get(); |
25 | return view('index', compact('houses', 'news', 'partners')); | 25 | return view('index', compact('houses', 'news', 'partners')); |
26 | } | 26 | } |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Фильтр ajax в каталоге | 29 | * Фильтр ajax в каталоге |
30 | */ | 30 | */ |
31 | public function catalog_ajax_filter(Request $request) { | 31 | public function catalog_ajax_filter(Request $request) { |
32 | $Res = Array(); | 32 | $Res = Array(); |
33 | if (!empty($request->area)) { | 33 | if (!empty($request->area)) { |
34 | $area_table = Area::where('id', '=', $request->area)->get(); | 34 | $area_table = Area::where('id', '=', $request->area)->get(); |
35 | $Res[] = $area_table[0]->name_area; | 35 | $Res[] = $area_table[0]->name_area; |
36 | } else { | 36 | } else { |
37 | $Res[] = "Все объекты"; | 37 | $Res[] = "Все объекты"; |
38 | } | 38 | } |
39 | 39 | ||
40 | if (!empty($request->type_area)) { | 40 | if (!empty($request->type_area)) { |
41 | $type_area_table = type_area::where('id', '=', $request->type_area)->get(); | 41 | $type_area_table = type_area::where('id', '=', $request->type_area)->get(); |
42 | $Res[] = $type_area_table[0]->name_type; | 42 | $Res[] = $type_area_table[0]->name_type; |
43 | } else { | 43 | } else { |
44 | $Res[] = "Тип недвижимости"; | 44 | $Res[] = "Тип недвижимости"; |
45 | } | 45 | } |
46 | 46 | ||
47 | if (!empty($request->format_area)) { | 47 | if (!empty($request->format_area)) { |
48 | $format_area_table = format_area::where('id', '=', $request->format_area)->get(); | 48 | $format_area_table = format_area::where('id', '=', $request->format_area)->get(); |
49 | $Res[] = $format_area_table[0]->name_format; | 49 | $Res[] = $format_area_table[0]->name_format; |
50 | } else { | 50 | } else { |
51 | $Res[] = "Формат недвижимости"; | 51 | $Res[] = "Формат недвижимости"; |
52 | } | 52 | } |
53 | 53 | ||
54 | return json_encode($Res); | 54 | return json_encode($Res); |
55 | } | 55 | } |
56 | 56 | ||
57 | /* | 57 | /* |
58 | * Страница ЖК | 58 | * Страница ЖК |
59 | */ | 59 | */ |
60 | public function Complex(Area $area, Request $request) { | 60 | public function Complex(Area $area, Request $request) { |
61 | //////////раздел аренда | 61 | //////////раздел аренда |
62 | $house_arenda = House::with('areas')-> | 62 | $house_arenda = House::with('areas')-> |
63 | where('area_id', '=', $area->id)-> | 63 | where('area_id', '=', $area->id)-> |
64 | where('format_house', '=', 'Аренда'); | 64 | where('format_house', '=', 'Аренда'); |
65 | 65 | ||
66 | if ($request->view == 'arenda') { | 66 | if ($request->view == 'arenda') { |
67 | switch ($request->sort_price) { | 67 | switch ($request->sort_price) { |
68 | case 1: $house_arenda = $house_arenda->orderBy('price');break; | 68 | case 1: $house_arenda = $house_arenda->orderBy('price');break; |
69 | case 2: $house_arenda = $house_arenda->orderByDesc('price');break; | 69 | case 2: $house_arenda = $house_arenda->orderByDesc('price');break; |
70 | } | 70 | } |
71 | switch ($request->sort_new) { | 71 | switch ($request->sort_new) { |
72 | case 1: $house_arenda = $house_arenda->orderByDesc('created_at');break; | 72 | case 1: $house_arenda = $house_arenda->orderByDesc('created_at');break; |
73 | case 2: $house_arenda = $house_arenda->orderBy('created_at');break; | 73 | case 2: $house_arenda = $house_arenda->orderBy('created_at');break; |
74 | } | 74 | } |
75 | switch ($request->sort_area) { | 75 | switch ($request->sort_area) { |
76 | case 1: $house_arenda = $house_arenda->orderByDesc('area')->get();break; | 76 | case 1: $house_arenda = $house_arenda->orderByDesc('area')->get();break; |
77 | case 2: $house_arenda = $house_arenda->orderBy('area')->get();break; | 77 | case 2: $house_arenda = $house_arenda->orderBy('area')->get();break; |
78 | } | 78 | } |
79 | } else { | 79 | } else { |
80 | $house_arenda = $house_arenda->orderBy('price')-> | 80 | $house_arenda = $house_arenda->orderBy('price')-> |
81 | orderByDesc('created_at')-> | 81 | orderByDesc('created_at')-> |
82 | orderByDesc('area')->get(); | 82 | orderByDesc('area')->get(); |
83 | } | 83 | } |
84 | 84 | ||
85 | ////////раздел продажа | 85 | ////////раздел продажа |
86 | $house_prodaja = House::with('areas')-> | 86 | $house_prodaja = House::with('areas')-> |
87 | where('area_id', '=', $area->id)-> | 87 | where('area_id', '=', $area->id)-> |
88 | where('format_house', '=', 'Продажа'); | 88 | where('format_house', '=', 'Продажа'); |
89 | 89 | ||
90 | if ($request->view == 'prodaja') { | 90 | if ($request->view == 'prodaja') { |
91 | switch ($request->sort_price) { | 91 | switch ($request->sort_price) { |
92 | case 1: $house_prodaja = $house_prodaja->orderBy('price');break; | 92 | case 1: $house_prodaja = $house_prodaja->orderBy('price');break; |
93 | case 2: $house_prodaja = $house_prodaja->orderByDesc('price');break; | 93 | case 2: $house_prodaja = $house_prodaja->orderByDesc('price');break; |
94 | } | 94 | } |
95 | switch ($request->sort_new) { | 95 | switch ($request->sort_new) { |
96 | case 1: $house_prodaja = $house_prodaja->orderByDesc('created_at');break; | 96 | case 1: $house_prodaja = $house_prodaja->orderByDesc('created_at');break; |
97 | case 2: $house_prodaja = $house_prodaja->orderBy('created_at');break; | 97 | case 2: $house_prodaja = $house_prodaja->orderBy('created_at');break; |
98 | } | 98 | } |
99 | switch ($request->sort_area) { | 99 | switch ($request->sort_area) { |
100 | case 1: $house_prodaja = $house_prodaja->orderByDesc('area')->get();break; | 100 | case 1: $house_prodaja = $house_prodaja->orderByDesc('area')->get();break; |
101 | case 2: $house_prodaja = $house_prodaja->orderBy('area')->get();break; | 101 | case 2: $house_prodaja = $house_prodaja->orderBy('area')->get();break; |
102 | } | 102 | } |
103 | } else { | 103 | } else { |
104 | $house_prodaja = $house_prodaja->orderBy('price')-> | 104 | $house_prodaja = $house_prodaja->orderBy('price')-> |
105 | orderByDesc('created_at')-> | 105 | orderByDesc('created_at')-> |
106 | orderByDesc('area')->get(); | 106 | orderByDesc('area')->get(); |
107 | } | 107 | } |
108 | 108 | ||
109 | //////////////// Раздел бизнеса | 109 | //////////////// Раздел бизнеса |
110 | $house_bissnes = House::with('areas')-> | 110 | $house_bissnes = House::with('areas')-> |
111 | where('area_id', '=', $area->id)-> | 111 | where('area_id', '=', $area->id)-> |
112 | where('format_house', '=', 'Бизнес'); | 112 | where('format_house', '=', 'Бизнес'); |
113 | //orderByDesc('created_at')->get(); | 113 | //orderByDesc('created_at')->get(); |
114 | 114 | ||
115 | if ($request->view == 'bissnes') { | 115 | if ($request->view == 'bissnes') { |
116 | switch ($request->sort_price) { | 116 | switch ($request->sort_price) { |
117 | case 1: $house_bissnes = $house_bissnes->orderBy('price');break; | 117 | case 1: $house_bissnes = $house_bissnes->orderBy('price');break; |
118 | case 2: $house_bissnes = $house_bissnes->orderByDesc('price');break; | 118 | case 2: $house_bissnes = $house_bissnes->orderByDesc('price');break; |
119 | } | 119 | } |
120 | switch ($request->sort_new) { | 120 | switch ($request->sort_new) { |
121 | case 1: $house_bissnes = $house_bissnes->orderByDesc('created_at');break; | 121 | case 1: $house_bissnes = $house_bissnes->orderByDesc('created_at');break; |
122 | case 2: $house_bissnes = $house_bissnes->orderBy('created_at');break; | 122 | case 2: $house_bissnes = $house_bissnes->orderBy('created_at');break; |
123 | } | 123 | } |
124 | switch ($request->sort_area) { | 124 | switch ($request->sort_area) { |
125 | case 1: $house_bissnes = $house_bissnes->orderByDesc('area')->get();break; | 125 | case 1: $house_bissnes = $house_bissnes->orderByDesc('area')->get();break; |
126 | case 2: $house_bissnes = $house_bissnes->orderBy('area')->get();break; | 126 | case 2: $house_bissnes = $house_bissnes->orderBy('area')->get();break; |
127 | } | 127 | } |
128 | } else { | 128 | } else { |
129 | $house_bissnes = $house_bissnes->orderBy('price')-> | 129 | $house_bissnes = $house_bissnes->orderBy('price')-> |
130 | orderByDesc('created_at')-> | 130 | orderByDesc('created_at')-> |
131 | orderByDesc('area')->get(); | 131 | orderByDesc('area')->get(); |
132 | } | 132 | } |
133 | 133 | ||
134 | //////////раздел арендованные | 134 | //////////раздел арендованные |
135 | $house_arendovannie = House::with('areas')-> | 135 | $house_arendovannie = House::with('areas')-> |
136 | where('area_id', '=', $area->id)-> | 136 | where('area_id', '=', $area->id)-> |
137 | where('format_house', '=', 'Арендованные'); | 137 | where('format_house', '=', 'Арендованные'); |
138 | //orderByDesc('created_at')->get(); | 138 | //orderByDesc('created_at')->get(); |
139 | 139 | ||
140 | if ($request->view == 'arendovannie') { | 140 | if ($request->view == 'arendovannie') { |
141 | switch ($request->sort_price) { | 141 | switch ($request->sort_price) { |
142 | case 1: $house_arendovannie = $house_arendovannie->orderBy('price');break; | 142 | case 1: $house_arendovannie = $house_arendovannie->orderBy('price');break; |
143 | case 2: $house_arendovannie = $house_arendovannie->orderByDesc('price');break; | 143 | case 2: $house_arendovannie = $house_arendovannie->orderByDesc('price');break; |
144 | } | 144 | } |
145 | switch ($request->sort_new) { | 145 | switch ($request->sort_new) { |
146 | case 1: $house_arendovannie = $house_arendovannie->orderByDesc('created_at');break; | 146 | case 1: $house_arendovannie = $house_arendovannie->orderByDesc('created_at');break; |
147 | case 2: $house_arendovannie = $house_arendovannie->orderBy('created_at');break; | 147 | case 2: $house_arendovannie = $house_arendovannie->orderBy('created_at');break; |
148 | } | 148 | } |
149 | switch ($request->sort_area) { | 149 | switch ($request->sort_area) { |
150 | case 1: $house_arendovannie = $house_arendovannie->orderByDesc('area')->get();break; | 150 | case 1: $house_arendovannie = $house_arendovannie->orderByDesc('area')->get();break; |
151 | case 2: $house_arendovannie = $house_arendovannie->orderBy('area')->get();break; | 151 | case 2: $house_arendovannie = $house_arendovannie->orderBy('area')->get();break; |
152 | } | 152 | } |
153 | } else { | 153 | } else { |
154 | $house_arendovannie = $house_arendovannie->orderBy('price')-> | 154 | $house_arendovannie = $house_arendovannie->orderBy('price')-> |
155 | orderByDesc('created_at')-> | 155 | orderByDesc('created_at')-> |
156 | orderByDesc('area')->get(); | 156 | orderByDesc('area')->get(); |
157 | } | 157 | } |
158 | 158 | ||
159 | if ($request->ajax()) { | 159 | if ($request->ajax()) { |
160 | switch($request->view) { | 160 | switch($request->view) { |
161 | case 'arenda': return view('ajax.complex.arenda', compact('house_arenda')); break; | 161 | case 'arenda': return view('ajax.complex.arenda', compact('house_arenda')); break; |
162 | case 'prodaja': return view('ajax.complex.prodaja', compact('house_prodaja'));break; | 162 | case 'prodaja': return view('ajax.complex.prodaja', compact('house_prodaja'));break; |
163 | case 'bissnes': return view('ajax.complex.bissnes', compact('house_bissnes')); break; | 163 | case 'bissnes': return view('ajax.complex.bissnes', compact('house_bissnes')); break; |
164 | case 'arendovannie': return view('ajax.complex.arendovannie', compact('house_arendovannie')); break; | 164 | case 'arendovannie': return view('ajax.complex.arendovannie', compact('house_arendovannie')); break; |
165 | } | 165 | } |
166 | } | 166 | } |
167 | 167 | ||
168 | return view('complex', compact('area', | 168 | return view('complex', compact('area', |
169 | 'house_arenda', | 169 | 'house_arenda', |
170 | 'house_prodaja', | 170 | 'house_prodaja', |
171 | 'house_bissnes', | 171 | 'house_bissnes', |
172 | 'house_arendovannie')); | 172 | 'house_arendovannie')); |
173 | 173 | ||
174 | } | 174 | } |
175 | 175 | ||
176 | /* | 176 | /* |
177 | * О компании | 177 | * О компании |
178 | */ | 178 | */ |
179 | public function About() { | 179 | public function About() { |
180 | return view('about'); | 180 | return view('about'); |
181 | } | 181 | } |
182 | 182 | ||
183 | /* | 183 | /* |
184 | * Избранное | 184 | * Избранное |
185 | */ | 185 | */ |
186 | public function Favorite() { | 186 | public function Favorite() { |
187 | return view('favorite'); | 187 | return view('favorite'); |
188 | } | 188 | } |
189 | 189 | ||
190 | /* | 190 | /* |
191 | * Категории каталога Аренда/Продажа/Бизнес | 191 | * Категории каталога Аренда/Продажа/Бизнес |
192 | */ | 192 | */ |
193 | public function Category($cat) { | 193 | public function Category($cat, Request $request) { |
194 | switch ($cat) { | 194 | switch ($cat) { |
195 | case 'arenda': | 195 | case 'arenda': |
196 | $title = "Аренда торговых помещениий"; | 196 | $title = "Аренда торговых помещениий"; |
197 | $format_house = 'Аренда'; | 197 | $format_house = 'Аренда'; |
198 | break; | 198 | break; |
199 | case 'sale': | 199 | case 'sale': |
200 | $title = "Продажа торговых помещений"; | 200 | $title = "Продажа торговых помещений"; |
201 | $format_house = 'Продажа'; | 201 | $format_house = 'Продажа'; |
202 | break; | 202 | break; |
203 | case 'bussiness': | 203 | case 'bussiness': |
204 | $title = "Арендый бизнес"; | 204 | $title = "Арендый бизнес"; |
205 | $format_house = 'Бизнес'; | 205 | $format_house = 'Бизнес'; |
206 | break; | 206 | break; |
207 | default: | 207 | default: |
208 | $title = "Аренда торговых помещениий"; | 208 | $title = "Аренда торговых помещениий"; |
209 | $format_house = 'Аренда'; | 209 | $format_house = 'Аренда'; |
210 | break; | 210 | break; |
211 | } | 211 | } |
212 | 212 | ||
213 | $houses = House::with('areas')-> | 213 | $houses = House::with('areas')-> |
214 | where('format_house', '=', $format_house)->get(); | 214 | where('format_house', '=', $format_house)->paginate(4)->appends(request()->query()); |
215 | //->appends(request()->query()); | ||
215 | 216 | ||
216 | return view('category_catalog', compact('title', 'houses')); | 217 | return view('category_catalog', compact('title', 'houses')); |
217 | } | 218 | } |
218 | 219 | ||
219 | 220 | ||
220 | /* | 221 | /* |
221 | * Каталог | 222 | * Каталог |
222 | */ | 223 | */ |
223 | public function Catalog(Request $request) { | 224 | public function Catalog(Request $request) { |
224 | 225 | ||
225 | //////////раздел аренда///////////////////////////////////////////////////////////////// | 226 | //////////раздел аренда///////////////////////////////////////////////////////////////// |
226 | $house_arenda = House::with('areas')-> | 227 | $house_arenda = House::with('areas')-> |
227 | where('format_house', '=', 'Аренда'); | 228 | where('format_house', '=', 'Аренда'); |
228 | // условия поиска по объектам комплексов | 229 | // условия поиска по объектам комплексов |
229 | if (!empty($request->area)) { | 230 | if (!empty($request->area)) { |
230 | $house_arenda = $house_arenda->where('area_id', '=', $request->area); | 231 | $house_arenda = $house_arenda->where('area_id', '=', $request->area); |
231 | } | 232 | } |
232 | // условия поиска по типу недвижимости | 233 | // условия поиска по типу недвижимости |
233 | if (!empty($request->type_area)) { | 234 | if (!empty($request->type_area)) { |
234 | $house_arenda = $house_arenda->where('type_area_id', '=', $request->type_area); | 235 | $house_arenda = $house_arenda->where('type_area_id', '=', $request->type_area); |
235 | } | 236 | } |
236 | // условия поиска по формату недвижимости | 237 | // условия поиска по формату недвижимости |
237 | if (!empty($request->format_area)) { | 238 | if (!empty($request->format_area)) { |
238 | $house_arenda = $house_arenda->where('format_area_id', '=', $request->format_area); | 239 | $house_arenda = $house_arenda->where('format_area_id', '=', $request->format_area); |
239 | } | 240 | } |
240 | // условия поиска по площади - минимальная площадь | 241 | // условия поиска по площади - минимальная площадь |
241 | if (!empty($request->area_m2_min)) { | 242 | if (!empty($request->area_m2_min)) { |
242 | $house_arenda = $house_arenda->where('area', '>', $request->area_m2_min); | 243 | $house_arenda = $house_arenda->where('area', '>', $request->area_m2_min); |
243 | } | 244 | } |
244 | // условия поиска по площади - максимальная площадь | 245 | // условия поиска по площади - максимальная площадь |
245 | if (!empty($request->area_m2_max)) { | 246 | if (!empty($request->area_m2_max)) { |
246 | $house_arenda = $house_arenda->where('area', '<', $request->area_m2_max); | 247 | $house_arenda = $house_arenda->where('area', '<', $request->area_m2_max); |
247 | } | 248 | } |
248 | // условия поиска по цене - минимальная цена | 249 | // условия поиска по цене - минимальная цена |
249 | if (!empty($request->price_min)) { | 250 | if (!empty($request->price_min)) { |
250 | $house_arenda = $house_arenda->where('price', '>', $request->price_min); | 251 | $house_arenda = $house_arenda->where('price', '>', $request->price_min); |
251 | } | 252 | } |
252 | // условия поиска по цене - максимальная цена | 253 | // условия поиска по цене - максимальная цена |
253 | if (!empty($request->price_max)) { | 254 | if (!empty($request->price_max)) { |
254 | $house_arenda = $house_arenda->where('price', '<', $request->price_max); | 255 | $house_arenda = $house_arenda->where('price', '<', $request->price_max); |
255 | } | 256 | } |
256 | // условия поиска по адресу | 257 | // условия поиска по адресу |
257 | if (!empty($request->address)) { | 258 | if (!empty($request->address)) { |
258 | $house_arenda = $house_arenda->where('address', 'LIKE', "%".$request->address."%"); | 259 | $house_arenda = $house_arenda->where('address', 'LIKE', "%".$request->address."%"); |
259 | } | 260 | } |
260 | 261 | ||
261 | if ($request->view == 'arenda') { | 262 | if ($request->view == 'arenda') { |
262 | switch ($request->sort_price) { | 263 | switch ($request->sort_price) { |
263 | case 1: $house_arenda = $house_arenda->orderBy('price');break; | 264 | case 1: $house_arenda = $house_arenda->orderBy('price');break; |
264 | case 2: $house_arenda = $house_arenda->orderByDesc('price');break; | 265 | case 2: $house_arenda = $house_arenda->orderByDesc('price');break; |
265 | } | 266 | } |
266 | switch ($request->sort_new) { | 267 | switch ($request->sort_new) { |
267 | case 1: $house_arenda = $house_arenda->orderByDesc('created_at');break; | 268 | case 1: $house_arenda = $house_arenda->orderByDesc('created_at');break; |
268 | case 2: $house_arenda = $house_arenda->orderBy('created_at');break; | 269 | case 2: $house_arenda = $house_arenda->orderBy('created_at');break; |
269 | } | 270 | } |
270 | switch ($request->sort_area) { | 271 | switch ($request->sort_area) { |
271 | case 1: $house_arenda = $house_arenda->orderByDesc('area')->get();break; | 272 | case 1: $house_arenda = $house_arenda->orderByDesc('area')->get();break; |
272 | case 2: $house_arenda = $house_arenda->orderBy('area')->get();break; | 273 | case 2: $house_arenda = $house_arenda->orderBy('area')->get();break; |
273 | } | 274 | } |
274 | } else { | 275 | } else { |
275 | $house_arenda = $house_arenda->orderBy('price')-> | 276 | $house_arenda = $house_arenda->orderBy('price')-> |
276 | orderByDesc('created_at')-> | 277 | orderByDesc('created_at')-> |
277 | orderByDesc('area')->get(); | 278 | orderByDesc('area')->get(); |
278 | } | 279 | } |
279 | 280 | ||
280 | ////////раздел продажа////////////////////////////////////////////////////////////////// | 281 | ////////раздел продажа////////////////////////////////////////////////////////////////// |
281 | $house_prodaja = House::with('areas')-> | 282 | $house_prodaja = House::with('areas')-> |
282 | where('format_house', '=', 'Продажа'); | 283 | where('format_house', '=', 'Продажа'); |
283 | 284 | ||
284 | // условия поиска по объектам комплексов | 285 | // условия поиска по объектам комплексов |
285 | if (!empty($request->area)) { | 286 | if (!empty($request->area)) { |
286 | $house_prodaja = $house_prodaja->where('area_id', '=', $request->area); | 287 | $house_prodaja = $house_prodaja->where('area_id', '=', $request->area); |
287 | } | 288 | } |
288 | // условия поиска по типу недвижимости | 289 | // условия поиска по типу недвижимости |
289 | if (!empty($request->type_area)) { | 290 | if (!empty($request->type_area)) { |
290 | $house_prodaja = $house_prodaja->where('type_area_id', '=', $request->type_area); | 291 | $house_prodaja = $house_prodaja->where('type_area_id', '=', $request->type_area); |
291 | } | 292 | } |
292 | // условия поиска по формату недвижимости | 293 | // условия поиска по формату недвижимости |
293 | if (!empty($request->format_area)) { | 294 | if (!empty($request->format_area)) { |
294 | $house_prodaja = $house_prodaja->where('format_area_id', '=', $request->format_area); | 295 | $house_prodaja = $house_prodaja->where('format_area_id', '=', $request->format_area); |
295 | } | 296 | } |
296 | // условия поиска по площади - минимальная площадь | 297 | // условия поиска по площади - минимальная площадь |
297 | if (!empty($request->area_m2_min)) { | 298 | if (!empty($request->area_m2_min)) { |
298 | $house_prodaja = $house_prodaja->where('area', '>', $request->area_m2_min); | 299 | $house_prodaja = $house_prodaja->where('area', '>', $request->area_m2_min); |
299 | } | 300 | } |
300 | // условия поиска по площади - максимальная площадь | 301 | // условия поиска по площади - максимальная площадь |
301 | if (!empty($request->area_m2_max)) { | 302 | if (!empty($request->area_m2_max)) { |
302 | $house_prodaja = $house_prodaja->where('area', '<', $request->area_m2_max); | 303 | $house_prodaja = $house_prodaja->where('area', '<', $request->area_m2_max); |
303 | } | 304 | } |
304 | // условия поиска по цене - минимальная цена | 305 | // условия поиска по цене - минимальная цена |
305 | if (!empty($request->price_min)) { | 306 | if (!empty($request->price_min)) { |
306 | $house_prodaja = $house_prodaja->where('price', '>', $request->price_min); | 307 | $house_prodaja = $house_prodaja->where('price', '>', $request->price_min); |
307 | } | 308 | } |
308 | // условия поиска по цене - максимальная цена | 309 | // условия поиска по цене - максимальная цена |
309 | if (!empty($request->price_max)) { | 310 | if (!empty($request->price_max)) { |
310 | $house_prodaja = $house_prodaja->where('price', '<', $request->price_max); | 311 | $house_prodaja = $house_prodaja->where('price', '<', $request->price_max); |
311 | } | 312 | } |
312 | // условия поиска по адресу | 313 | // условия поиска по адресу |
313 | if (!empty($request->address)) { | 314 | if (!empty($request->address)) { |
314 | $house_prodaja = $house_prodaja->where('address', 'LIKE', "%".$request->address."%"); | 315 | $house_prodaja = $house_prodaja->where('address', 'LIKE', "%".$request->address."%"); |
315 | } | 316 | } |
316 | 317 | ||
317 | if ($request->view == 'prodaja') { | 318 | if ($request->view == 'prodaja') { |
318 | switch ($request->sort_price) { | 319 | switch ($request->sort_price) { |
319 | case 1: $house_prodaja = $house_prodaja->orderBy('price');break; | 320 | case 1: $house_prodaja = $house_prodaja->orderBy('price');break; |
320 | case 2: $house_prodaja = $house_prodaja->orderByDesc('price');break; | 321 | case 2: $house_prodaja = $house_prodaja->orderByDesc('price');break; |
321 | } | 322 | } |
322 | switch ($request->sort_new) { | 323 | switch ($request->sort_new) { |
323 | case 1: $house_prodaja = $house_prodaja->orderByDesc('created_at');break; | 324 | case 1: $house_prodaja = $house_prodaja->orderByDesc('created_at');break; |
324 | case 2: $house_prodaja = $house_prodaja->orderBy('created_at');break; | 325 | case 2: $house_prodaja = $house_prodaja->orderBy('created_at');break; |
325 | } | 326 | } |
326 | switch ($request->sort_area) { | 327 | switch ($request->sort_area) { |
327 | case 1: $house_prodaja = $house_prodaja->orderByDesc('area')->get();break; | 328 | case 1: $house_prodaja = $house_prodaja->orderByDesc('area')->get();break; |
328 | case 2: $house_prodaja = $house_prodaja->orderBy('area')->get();break; | 329 | case 2: $house_prodaja = $house_prodaja->orderBy('area')->get();break; |
329 | } | 330 | } |
330 | } else { | 331 | } else { |
331 | $house_prodaja = $house_prodaja->orderBy('price')-> | 332 | $house_prodaja = $house_prodaja->orderBy('price')-> |
332 | orderByDesc('created_at')-> | 333 | orderByDesc('created_at')-> |
333 | orderByDesc('area')->get(); | 334 | orderByDesc('area')->get(); |
334 | } | 335 | } |
335 | 336 | ||
336 | //////////////// Раздел бизнеса///////////////////////////////////////////////////////// | 337 | //////////////// Раздел бизнеса///////////////////////////////////////////////////////// |
337 | $house_bissnes = House::with('areas')-> | 338 | $house_bissnes = House::with('areas')-> |
338 | where('format_house', '=', 'Бизнес'); | 339 | where('format_house', '=', 'Бизнес'); |
339 | //orderByDesc('created_at')->get(); | 340 | //orderByDesc('created_at')->get(); |
340 | 341 | ||
341 | // условия поиска по объектам комплексов | 342 | // условия поиска по объектам комплексов |
342 | if (!empty($request->area)) { | 343 | if (!empty($request->area)) { |
343 | $house_bissnes = $house_bissnes->where('area_id', '=', $request->area); | 344 | $house_bissnes = $house_bissnes->where('area_id', '=', $request->area); |
344 | } | 345 | } |
345 | // условия поиска по типу недвижимости | 346 | // условия поиска по типу недвижимости |
346 | if (!empty($request->type_area)) { | 347 | if (!empty($request->type_area)) { |
347 | $house_bissnes = $house_bissnes->where('type_area_id', '=', $request->type_area); | 348 | $house_bissnes = $house_bissnes->where('type_area_id', '=', $request->type_area); |
348 | } | 349 | } |
349 | // условия поиска по формату недвижимости | 350 | // условия поиска по формату недвижимости |
350 | if (!empty($request->format_area)) { | 351 | if (!empty($request->format_area)) { |
351 | $house_bissnes = $house_bissnes->where('format_area_id', '=', $request->format_area); | 352 | $house_bissnes = $house_bissnes->where('format_area_id', '=', $request->format_area); |
352 | } | 353 | } |
353 | // условия поиска по площади - минимальная площадь | 354 | // условия поиска по площади - минимальная площадь |
354 | if (!empty($request->area_m2_min)) { | 355 | if (!empty($request->area_m2_min)) { |
355 | $house_bissnes = $house_bissnes->where('area', '>', $request->area_m2_min); | 356 | $house_bissnes = $house_bissnes->where('area', '>', $request->area_m2_min); |
356 | } | 357 | } |
357 | // условия поиска по площади - максимальная площадь | 358 | // условия поиска по площади - максимальная площадь |
358 | if (!empty($request->area_m2_max)) { | 359 | if (!empty($request->area_m2_max)) { |
359 | $house_bissnes = $house_bissnes->where('area', '<', $request->area_m2_max); | 360 | $house_bissnes = $house_bissnes->where('area', '<', $request->area_m2_max); |
360 | } | 361 | } |
361 | // условия поиска по цене - минимальная цена | 362 | // условия поиска по цене - минимальная цена |
362 | if (!empty($request->price_min)) { | 363 | if (!empty($request->price_min)) { |
363 | $house_bissnes = $house_bissnes->where('price', '>', $request->price_min); | 364 | $house_bissnes = $house_bissnes->where('price', '>', $request->price_min); |
364 | } | 365 | } |
365 | // условия поиска по цене - максимальная цена | 366 | // условия поиска по цене - максимальная цена |
366 | if (!empty($request->price_max)) { | 367 | if (!empty($request->price_max)) { |
367 | $house_bissnes = $house_bissnes->where('price', '<', $request->price_max); | 368 | $house_bissnes = $house_bissnes->where('price', '<', $request->price_max); |
368 | } | 369 | } |
369 | // условия поиска по адресу | 370 | // условия поиска по адресу |
370 | if (!empty($request->address)) { | 371 | if (!empty($request->address)) { |
371 | $house_bissnes = $house_bissnes->where('address', 'LIKE', "%".$request->address."%"); | 372 | $house_bissnes = $house_bissnes->where('address', 'LIKE', "%".$request->address."%"); |
372 | } | 373 | } |
373 | 374 | ||
374 | if ($request->view == 'bissnes') { | 375 | if ($request->view == 'bissnes') { |
375 | switch ($request->sort_price) { | 376 | switch ($request->sort_price) { |
376 | case 1: $house_bissnes = $house_bissnes->orderBy('price');break; | 377 | case 1: $house_bissnes = $house_bissnes->orderBy('price');break; |
377 | case 2: $house_bissnes = $house_bissnes->orderByDesc('price');break; | 378 | case 2: $house_bissnes = $house_bissnes->orderByDesc('price');break; |
378 | } | 379 | } |
379 | switch ($request->sort_new) { | 380 | switch ($request->sort_new) { |
380 | case 1: $house_bissnes = $house_bissnes->orderByDesc('created_at');break; | 381 | case 1: $house_bissnes = $house_bissnes->orderByDesc('created_at');break; |
381 | case 2: $house_bissnes = $house_bissnes->orderBy('created_at');break; | 382 | case 2: $house_bissnes = $house_bissnes->orderBy('created_at');break; |
382 | } | 383 | } |
383 | switch ($request->sort_area) { | 384 | switch ($request->sort_area) { |
384 | case 1: $house_bissnes = $house_bissnes->orderByDesc('area')->get();break; | 385 | case 1: $house_bissnes = $house_bissnes->orderByDesc('area')->get();break; |
385 | case 2: $house_bissnes = $house_bissnes->orderBy('area')->get();break; | 386 | case 2: $house_bissnes = $house_bissnes->orderBy('area')->get();break; |
386 | } | 387 | } |
387 | } else { | 388 | } else { |
388 | $house_bissnes = $house_bissnes->orderBy('price')-> | 389 | $house_bissnes = $house_bissnes->orderBy('price')-> |
389 | orderByDesc('created_at')-> | 390 | orderByDesc('created_at')-> |
390 | orderByDesc('area')->get(); | 391 | orderByDesc('area')->get(); |
391 | } | 392 | } |
392 | 393 | ||
393 | //////////раздел арендованные////////////////////////////////////////////////////////// | 394 | //////////раздел арендованные////////////////////////////////////////////////////////// |
394 | $house_arendovannie = House::with('areas')-> | 395 | $house_arendovannie = House::with('areas')-> |
395 | where('format_house', '=', 'Арендованные'); | 396 | where('format_house', '=', 'Арендованные'); |
396 | //orderByDesc('created_at')->get(); | 397 | //orderByDesc('created_at')->get(); |
397 | 398 | ||
398 | // условия поиска по объектам комплексов | 399 | // условия поиска по объектам комплексов |
399 | if (!empty($request->area)) { | 400 | if (!empty($request->area)) { |
400 | $house_arendovannie = $house_arendovannie->where('area_id', '=', $request->area); | 401 | $house_arendovannie = $house_arendovannie->where('area_id', '=', $request->area); |
401 | } | 402 | } |
402 | // условия поиска по типу недвижимости | 403 | // условия поиска по типу недвижимости |
403 | if (!empty($request->type_area)) { | 404 | if (!empty($request->type_area)) { |
404 | $house_arendovannie = $house_arendovannie->where('type_area_id', '=', $request->type_area); | 405 | $house_arendovannie = $house_arendovannie->where('type_area_id', '=', $request->type_area); |
405 | } | 406 | } |
406 | // условия поиска по формату недвижимости | 407 | // условия поиска по формату недвижимости |
407 | if (!empty($request->format_area)) { | 408 | if (!empty($request->format_area)) { |
408 | $house_arendovannie = $house_arendovannie->where('format_area_id', '=', $request->format_area); | 409 | $house_arendovannie = $house_arendovannie->where('format_area_id', '=', $request->format_area); |
409 | } | 410 | } |
410 | // условия поиска по площади - минимальная площадь | 411 | // условия поиска по площади - минимальная площадь |
411 | if (!empty($request->area_m2_min)) { | 412 | if (!empty($request->area_m2_min)) { |
412 | $house_arendovannie = $house_arendovannie->where('area', '>', $request->area_m2_min); | 413 | $house_arendovannie = $house_arendovannie->where('area', '>', $request->area_m2_min); |
413 | } | 414 | } |
414 | // условия поиска по площади - максимальная площадь | 415 | // условия поиска по площади - максимальная площадь |
415 | if (!empty($request->area_m2_max)) { | 416 | if (!empty($request->area_m2_max)) { |
416 | $house_arendovannie = $house_arendovannie->where('area', '<', $request->area_m2_max); | 417 | $house_arendovannie = $house_arendovannie->where('area', '<', $request->area_m2_max); |
417 | } | 418 | } |
418 | // условия поиска по цене - минимальная цена | 419 | // условия поиска по цене - минимальная цена |
419 | if (!empty($request->price_min)) { | 420 | if (!empty($request->price_min)) { |
420 | $house_arendovannie = $house_arendovannie->where('price', '>', $request->price_min); | 421 | $house_arendovannie = $house_arendovannie->where('price', '>', $request->price_min); |
421 | } | 422 | } |
422 | // условия поиска по цене - максимальная цена | 423 | // условия поиска по цене - максимальная цена |
423 | if (!empty($request->price_max)) { | 424 | if (!empty($request->price_max)) { |
424 | $house_arendovannie = $house_arendovannie->where('price', '<', $request->price_max); | 425 | $house_arendovannie = $house_arendovannie->where('price', '<', $request->price_max); |
425 | } | 426 | } |
426 | // условия поиска по адресу | 427 | // условия поиска по адресу |
427 | if (!empty($request->address)) { | 428 | if (!empty($request->address)) { |
428 | $house_arendovannie = $house_arendovannie->where('address', 'LIKE', "%".$request->address."%"); | 429 | $house_arendovannie = $house_arendovannie->where('address', 'LIKE', "%".$request->address."%"); |
429 | } | 430 | } |
430 | 431 | ||
431 | if ($request->view == 'arendovannie') { | 432 | if ($request->view == 'arendovannie') { |
432 | switch ($request->sort_price) { | 433 | switch ($request->sort_price) { |
433 | case 1: $house_arendovannie = $house_arendovannie->orderBy('price');break; | 434 | case 1: $house_arendovannie = $house_arendovannie->orderBy('price');break; |
434 | case 2: $house_arendovannie = $house_arendovannie->orderByDesc('price');break; | 435 | case 2: $house_arendovannie = $house_arendovannie->orderByDesc('price');break; |
435 | } | 436 | } |
436 | switch ($request->sort_new) { | 437 | switch ($request->sort_new) { |
437 | case 1: $house_arendovannie = $house_arendovannie->orderByDesc('created_at');break; | 438 | case 1: $house_arendovannie = $house_arendovannie->orderByDesc('created_at');break; |
438 | case 2: $house_arendovannie = $house_arendovannie->orderBy('created_at');break; | 439 | case 2: $house_arendovannie = $house_arendovannie->orderBy('created_at');break; |
439 | } | 440 | } |
440 | switch ($request->sort_area) { | 441 | switch ($request->sort_area) { |
441 | case 1: $house_arendovannie = $house_arendovannie->orderByDesc('area')->get();break; | 442 | case 1: $house_arendovannie = $house_arendovannie->orderByDesc('area')->get();break; |
442 | case 2: $house_arendovannie = $house_arendovannie->orderBy('area')->get();break; | 443 | case 2: $house_arendovannie = $house_arendovannie->orderBy('area')->get();break; |
443 | } | 444 | } |
444 | } else { | 445 | } else { |
445 | $house_arendovannie = $house_arendovannie->orderBy('price')-> | 446 | $house_arendovannie = $house_arendovannie->orderBy('price')-> |
446 | orderByDesc('created_at')-> | 447 | orderByDesc('created_at')-> |
447 | orderByDesc('area')->get(); | 448 | orderByDesc('area')->get(); |
448 | } | 449 | } |
449 | 450 | ||
450 | if ($request->ajax()) { | 451 | if ($request->ajax()) { |
451 | switch($request->view) { | 452 | switch($request->view) { |
452 | case 'arenda': return view('ajax.complex.arenda', compact('house_arenda')); break; | 453 | case 'arenda': return view('ajax.complex.arenda', compact('house_arenda')); break; |
453 | case 'prodaja': return view('ajax.complex.prodaja', compact('house_prodaja'));break; | 454 | case 'prodaja': return view('ajax.complex.prodaja', compact('house_prodaja'));break; |
454 | case 'bissnes': return view('ajax.complex.bissnes', compact('house_bissnes')); break; | 455 | case 'bissnes': return view('ajax.complex.bissnes', compact('house_bissnes')); break; |
455 | case 'arendovannie': return view('ajax.complex.arendovannie', compact('house_arendovannie')); break; | 456 | case 'arendovannie': return view('ajax.complex.arendovannie', compact('house_arendovannie')); break; |
456 | } | 457 | } |
457 | } | 458 | } |
458 | if (session('message') == 'Искать') { | 459 | if (session('message') == 'Искать') { |
459 | session()->flash('message', 'Сброс'); | 460 | session()->flash('message', 'Сброс'); |
460 | } else { | 461 | } else { |
461 | session()->flash('message', 'Искать'); | 462 | session()->flash('message', 'Искать'); |
462 | } | 463 | } |
463 | 464 | ||
464 | if (empty($request)) { | 465 | if (empty($request)) { |
465 | session()->flash('message', 'Искать'); | 466 | session()->flash('message', 'Искать'); |
466 | } | 467 | } |
467 | 468 | ||
468 | return view('catalog', compact( | 469 | return view('catalog', compact( |
469 | 'house_arenda', | 470 | 'house_arenda', |
470 | 'house_prodaja', | 471 | 'house_prodaja', |
471 | 'house_bissnes', | 472 | 'house_bissnes', |
472 | 'house_arendovannie' | 473 | 'house_arendovannie' |
473 | )); | 474 | )); |
474 | 475 | ||
475 | 476 | ||
476 | } | 477 | } |
477 | 478 | ||
478 | /* | 479 | /* |
479 | * Новости | 480 | * Новости |
480 | */ | 481 | */ |
481 | public function News() { | 482 | public function News() { |
482 | //$news = News::orderByDesc('created_at')->limit(1)->paginate(); | 483 | //$news = News::orderByDesc('created_at')->limit(1)->paginate(); |
483 | $news_ = News::query()->orderByDesc('created_at')->paginate(4); | 484 | $news_ = News::query()->orderByDesc('created_at')->paginate(4); |
484 | return view('news', compact('news_')); | 485 | return view('news', compact('news_')); |
485 | } | 486 | } |
486 | 487 | ||
487 | /* | 488 | /* |
488 | * Контакты | 489 | * Контакты |
489 | */ | 490 | */ |
490 | public function Contact() { | 491 | public function Contact() { |
491 | return view('contact'); | 492 | return view('contact'); |
492 | } | 493 | } |
493 | 494 | ||
494 | /* | 495 | /* |
495 | * Карта объектов | 496 | * Карта объектов |
496 | */ | 497 | */ |
497 | public function MapsObj() { | 498 | public function MapsObj() { |
498 | return view('mapsobj'); | 499 | return view('mapsobj'); |
499 | } | 500 | } |
500 | 501 | ||
501 | /* | 502 | /* |
502 | * Посмотр конктретного предложение офиса | 503 | * Посмотр конктретного предложение офиса |
503 | */ | 504 | */ |
504 | public function Offer(House $house) { | 505 | public function Offer(House $house) { |
505 | $houses = House::with('areas'); | 506 | $houses = House::with('areas'); |
506 | $houses = $houses->where('type_area_id', '=', $house->typearea->id); | 507 | $houses = $houses->where('type_area_id', '=', $house->typearea->id); |
507 | $houses = $houses->where('format_house', '=', $house->format_house); | 508 | $houses = $houses->where('format_house', '=', $house->format_house); |
508 | $houses = $houses->orderByDesc('created_at')->limit(8)->get(); | 509 | $houses = $houses->orderByDesc('created_at')->limit(8)->get(); |
509 | 510 | ||
510 | return view('house.post', compact('house', 'houses')); | 511 | return view('house.post', compact('house', 'houses')); |
511 | } | 512 | } |
512 | 513 | ||
513 | /* | 514 | /* |
514 | * Просмотр детально конкретной новости | 515 | * Просмотр детально конкретной новости |
515 | */ | 516 | */ |
516 | public function DetailNew(News $news) { | 517 | public function DetailNew(News $news) { |
517 | $news_list = News::query()->orderByDesc('created_at')->limit(8)->get(); | 518 | $news_list = News::query()->orderByDesc('created_at')->limit(8)->get(); |
518 | return view('new.post', compact('news', 'news_list')); | 519 | return view('new.post', compact('news', 'news_list')); |
519 | } | 520 | } |
520 | } | 521 | } |
521 | 522 |
app/Http/Controllers/RegisterController.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Http\Controllers; | ||
4 | |||
5 | use App\Models\User; | ||
6 | use Illuminate\Http\Request; | ||
7 | use Illuminate\Support\Facades\Hash; | ||
8 | |||
9 | // Контроллер регистрации пользователя | ||
10 | class RegisterController extends Controller | ||
11 | { | ||
12 | public function __construct() { | ||
13 | //$this->middleware('guest'); | ||
14 | } | ||
15 | |||
16 | // Форма регистрации | ||
17 | public function register() { | ||
18 | return view('auth.register'); | ||
19 | } | ||
20 | |||
21 | // Создание пользователя | ||
22 | public function create(Request $request) { | ||
23 | $request->validate([ | ||
24 | 'name' => 'required|string|max:255', | ||
25 | 'email' => 'required|string|email|max:255|unique:users', | ||
26 | 'password' => 'required|string|min:8|confirmed', | ||
27 | ]); | ||
28 | |||
29 | User::create([ | ||
30 | 'name' => $request->name, | ||
31 | 'email' => $request->email, | ||
32 | 'password' => Hash::make($request->password), | ||
33 | ]); | ||
34 | |||
35 | return redirect() | ||
36 | ->route('auth.login') | ||
37 | ->with('success', 'Вы успешно зарегистрировались'); | ||
38 | } | ||
39 | } | ||
40 |
resources/views/admin/index.blade.php
File was created | 1 | @extends('layout.site', ['title' => 'Личный кабинет']) | |
2 | |||
3 | @section('content') | ||
4 | <h1>Личный кабинет</h1> | ||
5 | <p>Добрый день {{ auth()->user()->name }}!</p> | ||
6 | <p>Это личный кабинет пользователя сайта.</p> | ||
7 | @endsection | ||
8 |
resources/views/auth/login-copy.blade.php
File was created | 1 | @extends('layout.site', ['title' => 'Вход в личный кабинет']) | |
2 | |||
3 | @section('content') | ||
4 | <section class="favorites"> | ||
5 | <div class="favorites-top"> | ||
6 | <div class="container"> | ||
7 | |||
8 | <div class="footer-top"> | ||
9 | <div class="container"> | ||
10 | <div class="footer-feedback"> | ||
11 | <div class="footer-feedback__cnt"> | ||
12 | <h2 class="footer-feedback__title title">Вход в личный кабинет</h2> | ||
13 | <p class="footer-feedback__descr">Настройте свой сайт по потребностям</p> | ||
14 | </div> | ||
15 | <form class="footer-feedback__form" method="post" action="{{ route('auth.auth') }}"> | ||
16 | @csrf | ||
17 | <div class="footer-feedback__row"> | ||
18 | <div class="footer-feedback__col"> | ||
19 | <label class="footer-feedback__field field"> | ||
20 | <input type="email" class="form-control" name="email" placeholder="Адрес почты" | ||
21 | required maxlength="255" value="{{ old('email') ?? '' }}"> | ||
22 | </label> | ||
23 | <label class="footer-feedback__field field"> | ||
24 | <input type="text" class="form-control" name="password" placeholder="Ваш пароль" | ||
25 | required maxlength="255" value=""> | ||
26 | </label> | ||
27 | </div> | ||
28 | <div class="footer-feedback__col"> | ||
29 | |||
30 | </div> | ||
31 | </div> | ||
32 | <div class="footer-feedback__control"> | ||
33 | <!--<button class="footer-feedback__btn btn btn--main js_form_btn">Отправить</button>--> | ||
34 | |||
35 | <button type="submit" class="btn footer-feedback__btn">Войти</button> | ||
36 | </div> | ||
37 | </form> | ||
38 | </div> | ||
39 | </div> | ||
40 | </div> | ||
41 | |||
42 | </div> | ||
43 | </div> | ||
44 | </section> | ||
45 | @endsection | ||
46 |
resources/views/auth/login.blade.php
File was created | 1 | @extends('layout.site', ['title' => 'Вход в личный кабинет']) | |
2 | |||
3 | @section('content') | ||
4 | <section class="favorites"> | ||
5 | <div class="favorites-top"> | ||
6 | <div class="container"> | ||
7 | |||
8 | <div class="footer-top"> | ||
9 | <div class="container"> | ||
10 | <div class="footer-feedback"> | ||
11 | <div class="footer-feedback__cnt"> | ||
12 | <h2 class="footer-feedback__title title">Вход в личный кабинет</h2> | ||
13 | <p class="footer-feedback__descr">Настройте свой сайт по потребностям</p> | ||
14 | </div> | ||
15 | <form class="footer-feedback__form" method="post" action="{{ route('auth.auth') }}"> | ||
16 | @csrf | ||
17 | <div class="footer-feedback__row"> | ||
18 | <div class="footer-feedback__col"> | ||
19 | <label class="footer-feedback__field field"> | ||
20 | <input type="email" class="form-control" name="email" placeholder="Адрес почты" | ||
21 | required maxlength="255" value="{{ old('email') ?? '' }}"> | ||
22 | </label> | ||
23 | <label class="footer-feedback__field field"> | ||
24 | <input type="text" class="form-control" name="password" placeholder="Ваш пароль" | ||
25 | required maxlength="255" value=""> | ||
26 | </label> | ||
27 | </div> | ||
28 | <div class="footer-feedback__col"> | ||
29 | |||
30 | </div> | ||
31 | </div> | ||
32 | <div class="footer-feedback__control"> | ||
33 | <!--<button class="footer-feedback__btn btn btn--main js_form_btn">Отправить</button>--> | ||
34 | |||
35 | <button type="submit" class="btn footer-feedback__btn">Войти</button> | ||
36 | </div> | ||
37 | </form> | ||
38 | </div> | ||
39 | </div> | ||
40 | </div> | ||
41 | |||
42 | </div> | ||
43 | </div> | ||
44 | </section> | ||
45 | @endsection | ||
46 |
resources/views/auth/register-copy.blade.php
File was created | 1 | @extends('layout.site', ['title' => 'Регистрация']) | |
2 | |||
3 | @section('content') | ||
4 | <section class="favorites"> | ||
5 | <div class="favorites-top"> | ||
6 | <div class="container"> | ||
7 | |||
8 | <div class="footer-top"> | ||
9 | <div class="container"> | ||
10 | <div class="footer-feedback"> | ||
11 | <div class="footer-feedback__cnt"> | ||
12 | <h2 class="footer-feedback__title title">Регистрация</h2> | ||
13 | <p class="footer-feedback__descr">Зарегистрируйте своего пользователя в системе</p> | ||
14 | </div> | ||
15 | <form class="footer-feedback__form" method="post" action="{{ route('auth.register') }}"> | ||
16 | @csrf | ||
17 | <div class="footer-feedback__row"> | ||
18 | <div class="footer-feedback__col"> | ||
19 | <label class="footer-feedback__field field"> | ||
20 | <input type="text" class="form-control" name="name" placeholder="Имя, Фамилия" | ||
21 | required maxlength="255" value="{{ old('name') ?? '' }}"> | ||
22 | </label> | ||
23 | <label class="footer-feedback__field field"> | ||
24 | <input type="email" class="form-control" name="email" placeholder="Адрес почты" | ||
25 | required maxlength="255" value="{{ old('email') ?? '' }}"> | ||
26 | </label> | ||
27 | |||
28 | <label class="footer-feedback__field field"> | ||
29 | <input type="text" class="form-control" name="password" placeholder="Придумайте пароль" | ||
30 | required maxlength="255" value=""> | ||
31 | </label> | ||
32 | <label class="footer-feedback__field field"> | ||
33 | <input type="text" class="form-control" name="password_confirmation" | ||
34 | placeholder="Пароль еще раз" required maxlength="255" value=""> | ||
35 | </label> | ||
36 | |||
37 | </div> | ||
38 | <div class="footer-feedback__col"> | ||
39 | </div> | ||
40 | </div> | ||
41 | <div class="footer-feedback__control"> | ||
42 | <!--<button class="footer-feedback__btn btn btn--main js_form_btn">Отправить</button>--> | ||
43 | <button type="submit" class="btn footer-feedback__btn">Регистрация</button> | ||
44 | </div> | ||
45 | </form> | ||
46 | </div> | ||
47 | </div> | ||
48 | </div> | ||
49 | </div> | ||
50 | </div> | ||
51 | </section> | ||
52 | @endsection | ||
53 |
resources/views/auth/register.blade.php
File was created | 1 | @extends('layout.site', ['title' => 'Регистрация']) | |
2 | |||
3 | @section('content') | ||
4 | <section class="favorites"> | ||
5 | <div class="favorites-top"> | ||
6 | <div class="container"> | ||
7 | |||
8 | <div class="footer-top"> | ||
9 | <div class="container"> | ||
10 | <div class="footer-feedback"> | ||
11 | <div class="footer-feedback__cnt"> | ||
12 | <h2 class="footer-feedback__title title">Регистрация</h2> | ||
13 | <p class="footer-feedback__descr">Зарегистрируйте своего пользователя в системе</p> | ||
14 | </div> | ||
15 | <form class="footer-feedback__form" method="post" action="{{ route('auth.register') }}"> | ||
16 | @csrf | ||
17 | <div class="footer-feedback__row"> | ||
18 | <div class="footer-feedback__col"> | ||
19 | <label class="footer-feedback__field field"> | ||
20 | <input type="text" class="form-control" name="name" placeholder="Имя, Фамилия" | ||
21 | required maxlength="255" value="{{ old('name') ?? '' }}"> | ||
22 | </label> | ||
23 | <label class="footer-feedback__field field"> | ||
24 | <input type="email" class="form-control" name="email" placeholder="Адрес почты" | ||
25 | required maxlength="255" value="{{ old('email') ?? '' }}"> | ||
26 | </label> | ||
27 | |||
28 | <label class="footer-feedback__field field"> | ||
29 | <input type="text" class="form-control" name="password" placeholder="Придумайте пароль" | ||
30 | required maxlength="255" value=""> | ||
31 | </label> | ||
32 | <label class="footer-feedback__field field"> | ||
33 | <input type="text" class="form-control" name="password_confirmation" | ||
34 | placeholder="Пароль еще раз" required maxlength="255" value=""> | ||
35 | </label> | ||
36 | |||
37 | </div> | ||
38 | <div class="footer-feedback__col"> | ||
39 | </div> | ||
40 | </div> | ||
41 | <div class="footer-feedback__control"> | ||
42 | <!--<button class="footer-feedback__btn btn btn--main js_form_btn">Отправить</button>--> | ||
43 | <button type="submit" class="btn footer-feedback__btn">Регистрация</button> | ||
44 | </div> | ||
45 | </form> | ||
46 | </div> | ||
47 | </div> | ||
48 | </div> | ||
49 | </div> | ||
50 | </div> | ||
51 | </section> | ||
52 | @endsection | ||
53 |
resources/views/category_catalog.blade.php
1 | @extends('layout.site', ['title' => $title]) | 1 | @extends('layout.site', ['title' => $title]) |
2 | 2 | ||
3 | @section('filter') | 3 | @section('filter') |
4 | @include('part.filter.category', ['title' => $title]) | 4 | @include('part.filter.category', ['title' => $title]) |
5 | @endsection | 5 | @endsection |
6 | 6 | ||
7 | @section('content') | 7 | @section('content') |
8 | <section class="category"> | 8 | <section class="category"> |
9 | <div class="container"> | 9 | <div class="container"> |
10 | <div class="category__top top-catalog"> | 10 | <div class="category__top top-catalog"> |
11 | <div class="top-catalog__inner"> | 11 | <div class="top-catalog__inner"> |
12 | <h2 class="top-catalog__title title">Аренда торговых помещений</h2> | 12 | <h2 class="top-catalog__title title">Аренда торговых помещений</h2> |
13 | <div class="top-catalog__result">Найдено объектов по Вашему запросу: <span>356</span></div> | 13 | <div class="top-catalog__result">Найдено объектов по Вашему запросу: <span>356</span></div> |
14 | </div> | 14 | </div> |
15 | <form class="top-catalog__sorts"> | 15 | <form class="top-catalog__sorts"> |
16 | <div class="top-catalog__sort-group sort-group js_sort_group"> | 16 | <div class="top-catalog__sort-group sort-group js_sort_group"> |
17 | <input class="js_sort_group_input" type="hidden"> | 17 | <input class="js_sort_group_input" type="hidden"> |
18 | <div class="sort-group__current js_sort_group_current">Сначала дешевле</div> | 18 | <div class="sort-group__current js_sort_group_current">Сначала дешевле</div> |
19 | <ul class="sort-group__list js_sort_group_list"> | 19 | <ul class="sort-group__list js_sort_group_list"> |
20 | <li class="sort-price sort-group__item js_sort_group_item active" data-val="1">Сначала дешевле</li> | 20 | <li class="sort-price sort-group__item js_sort_group_item active" data-val="1">Сначала дешевле</li> |
21 | <li class="sort-price sort-group__item js_sort_group_item" data-val="2">Сначала дороже</li> | 21 | <li class="sort-price sort-group__item js_sort_group_item" data-val="2">Сначала дороже</li> |
22 | </ul> | 22 | </ul> |
23 | </div> | 23 | </div> |
24 | <div class="top-catalog__sort-group sort-group js_sort_group"> | 24 | <div class="top-catalog__sort-group sort-group js_sort_group"> |
25 | <input class="js_sort_group_input" type="hidden"> | 25 | <input class="js_sort_group_input" type="hidden"> |
26 | <div class="sort-group__current js_sort_group_current">Сначала новые</div> | 26 | <div class="sort-group__current js_sort_group_current">Сначала новые</div> |
27 | <ul class="sort-group__list js_sort_group_list"> | 27 | <ul class="sort-group__list js_sort_group_list"> |
28 | <li class="sort-new sort-group__item js_sort_group_item active" data-val="1">Сначала новые</li> | 28 | <li class="sort-new sort-group__item js_sort_group_item active" data-val="1">Сначала новые</li> |
29 | <li class="sort-new sort-group__item js_sort_group_item" data-val="2">Сначала старые</li> | 29 | <li class="sort-new sort-group__item js_sort_group_item" data-val="2">Сначала старые</li> |
30 | </ul> | 30 | </ul> |
31 | </div> | 31 | </div> |
32 | <div class="top-catalog__sort-group sort-group sort-group--wide js_sort_group"> | 32 | <div class="top-catalog__sort-group sort-group sort-group--wide js_sort_group"> |
33 | <input class="js_sort_group_input" type="hidden"> | 33 | <input class="js_sort_group_input" type="hidden"> |
34 | <div class="sort-group__current js_sort_group_current">Сначала с большей площадью</div> | 34 | <div class="sort-group__current js_sort_group_current">Сначала с большей площадью</div> |
35 | <ul class="sort-group__list js_sort_group_list"> | 35 | <ul class="sort-group__list js_sort_group_list"> |
36 | <li class="sort-area sort-group__item js_sort_group_item active" data-val="1">Сначала с большей площадью</li> | 36 | <li class="sort-area sort-group__item js_sort_group_item active" data-val="1">Сначала с большей площадью</li> |
37 | <li class="sort-area sort-group__item js_sort_group_item" data-val="2">Сначала с меньшей площадью</li> | 37 | <li class="sort-area sort-group__item js_sort_group_item" data-val="2">Сначала с меньшей площадью</li> |
38 | </ul> | 38 | </ul> |
39 | </div> | 39 | </div> |
40 | </form> | 40 | </form> |
41 | </div> | 41 | </div> |
42 | <div class="category__grid"> | 42 | <div class="category__grid"> |
43 | @if ($houses->count()) | 43 | @if ($houses->count()) |
44 | @foreach ($houses as $house1) | 44 | @foreach ($houses as $house1) |
45 | @include('catalogs.house_mini', ['house' => $house1]) | 45 | @include('catalogs.house_mini', ['house' => $house1]) |
46 | @endforeach | 46 | @endforeach |
47 | @else | 47 | @else |
48 | <h3>Здесь пока что нет предложений</h3> | 48 | <h3>Здесь пока что нет предложений</h3> |
49 | @endif | 49 | @endif |
50 | <!--<div class="card"> | 50 | <!--<div class="card"> |
51 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> | 51 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> |
52 | <h3 class="card__title">Салон красоты</h3> | 52 | <h3 class="card__title">Салон красоты</h3> |
53 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 53 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
54 | <svg width="18" height="18"> | 54 | <svg width="18" height="18"> |
55 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 55 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
56 | </svg> | 56 | </svg> |
57 | <svg width="18" height="18"> | 57 | <svg width="18" height="18"> |
58 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 58 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
59 | </svg></span><a class="card__label card__label-messenger" href="#"> | 59 | </svg></span><a class="card__label card__label-messenger" href="#"> |
60 | <svg width="25" height="25"> | 60 | <svg width="25" height="25"> |
61 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 61 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
62 | </svg></a></div> | 62 | </svg></a></div> |
63 | </div> | 63 | </div> |
64 | <div class="card__cnt"> | 64 | <div class="card__cnt"> |
65 | <div class="card__info"> | 65 | <div class="card__info"> |
66 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> | 66 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> |
67 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> | 67 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> |
68 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 68 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
69 | <div class="card__line">Площадь: <b>556 м2</b></div> | 69 | <div class="card__line">Площадь: <b>556 м2</b></div> |
70 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 70 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
71 | </div> | 71 | </div> |
72 | <div class="card__price"><span>1 000 000 ₽</span> | 72 | <div class="card__price"><span>1 000 000 ₽</span> |
73 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> | 73 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> |
74 | </div> | 74 | </div> |
75 | </div> | 75 | </div> |
76 | <div class="card"> | 76 | <div class="card"> |
77 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> | 77 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> |
78 | <h3 class="card__title">Барбер-шоп</h3> | 78 | <h3 class="card__title">Барбер-шоп</h3> |
79 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 79 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
80 | <svg width="18" height="18"> | 80 | <svg width="18" height="18"> |
81 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 81 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
82 | </svg> | 82 | </svg> |
83 | <svg width="18" height="18"> | 83 | <svg width="18" height="18"> |
84 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 84 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
85 | </svg></span><a class="card__label card__label-messenger" href="#"> | 85 | </svg></span><a class="card__label card__label-messenger" href="#"> |
86 | <svg width="25" height="25"> | 86 | <svg width="25" height="25"> |
87 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 87 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
88 | </svg></a></div> | 88 | </svg></a></div> |
89 | </div> | 89 | </div> |
90 | <div class="card__cnt"> | 90 | <div class="card__cnt"> |
91 | <div class="card__info"> | 91 | <div class="card__info"> |
92 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> | 92 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> |
93 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> | 93 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> |
94 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 94 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
95 | <div class="card__line">Площадь: <b>6 556 м2</b></div> | 95 | <div class="card__line">Площадь: <b>6 556 м2</b></div> |
96 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> | 96 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> |
97 | </div> | 97 | </div> |
98 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> | 98 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> |
99 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 99 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
100 | </div> | 100 | </div> |
101 | </div> | 101 | </div> |
102 | <div class="card"> | 102 | <div class="card"> |
103 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> | 103 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> |
104 | <h3 class="card__title">Аптека</h3> | 104 | <h3 class="card__title">Аптека</h3> |
105 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 105 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
106 | <svg width="18" height="18"> | 106 | <svg width="18" height="18"> |
107 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 107 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
108 | </svg> | 108 | </svg> |
109 | <svg width="18" height="18"> | 109 | <svg width="18" height="18"> |
110 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 110 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
111 | </svg></span><a class="card__label card__label-messenger" href="#"> | 111 | </svg></span><a class="card__label card__label-messenger" href="#"> |
112 | <svg width="25" height="25"> | 112 | <svg width="25" height="25"> |
113 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 113 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
114 | </svg></a></div> | 114 | </svg></a></div> |
115 | </div> | 115 | </div> |
116 | <div class="card__cnt"> | 116 | <div class="card__cnt"> |
117 | <div class="card__info"> | 117 | <div class="card__info"> |
118 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> | 118 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> |
119 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> | 119 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> |
120 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 120 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
121 | <div class="card__line">Площадь: <b>8 626 м2</b></div> | 121 | <div class="card__line">Площадь: <b>8 626 м2</b></div> |
122 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 122 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
123 | </div> | 123 | </div> |
124 | <div class="card__price"><span>5 280 000 ₽</span> | 124 | <div class="card__price"><span>5 280 000 ₽</span> |
125 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> | 125 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> |
126 | </div> | 126 | </div> |
127 | </div> | 127 | </div> |
128 | <div class="card"> | 128 | <div class="card"> |
129 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> | 129 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> |
130 | <h3 class="card__title">Витрина</h3> | 130 | <h3 class="card__title">Витрина</h3> |
131 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 131 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
132 | <svg width="18" height="18"> | 132 | <svg width="18" height="18"> |
133 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 133 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
134 | </svg> | 134 | </svg> |
135 | <svg width="18" height="18"> | 135 | <svg width="18" height="18"> |
136 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 136 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
137 | </svg></span><a class="card__label card__label-messenger" href="#"> | 137 | </svg></span><a class="card__label card__label-messenger" href="#"> |
138 | <svg width="25" height="25"> | 138 | <svg width="25" height="25"> |
139 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 139 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
140 | </svg></a></div> | 140 | </svg></a></div> |
141 | </div> | 141 | </div> |
142 | <div class="card__cnt"> | 142 | <div class="card__cnt"> |
143 | <div class="card__info"> | 143 | <div class="card__info"> |
144 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> | 144 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> |
145 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> | 145 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> |
146 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 146 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
147 | <div class="card__line">Площадь: <b>6 856 м2</b></div> | 147 | <div class="card__line">Площадь: <b>6 856 м2</b></div> |
148 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> | 148 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> |
149 | </div> | 149 | </div> |
150 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> | 150 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> |
151 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 151 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
152 | </div> | 152 | </div> |
153 | </div> | 153 | </div> |
154 | <div class="card"> | 154 | <div class="card"> |
155 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> | 155 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> |
156 | <h3 class="card__title">Салон красоты</h3> | 156 | <h3 class="card__title">Салон красоты</h3> |
157 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 157 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
158 | <svg width="18" height="18"> | 158 | <svg width="18" height="18"> |
159 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 159 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
160 | </svg> | 160 | </svg> |
161 | <svg width="18" height="18"> | 161 | <svg width="18" height="18"> |
162 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 162 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
163 | </svg></span><a class="card__label card__label-messenger" href="#"> | 163 | </svg></span><a class="card__label card__label-messenger" href="#"> |
164 | <svg width="25" height="25"> | 164 | <svg width="25" height="25"> |
165 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 165 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
166 | </svg></a></div> | 166 | </svg></a></div> |
167 | </div> | 167 | </div> |
168 | <div class="card__cnt"> | 168 | <div class="card__cnt"> |
169 | <div class="card__info"> | 169 | <div class="card__info"> |
170 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> | 170 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> |
171 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> | 171 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> |
172 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 172 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
173 | <div class="card__line">Площадь: <b>556 м2</b></div> | 173 | <div class="card__line">Площадь: <b>556 м2</b></div> |
174 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 174 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
175 | </div> | 175 | </div> |
176 | <div class="card__price"><span>1 000 000 ₽</span> | 176 | <div class="card__price"><span>1 000 000 ₽</span> |
177 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> | 177 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> |
178 | </div> | 178 | </div> |
179 | </div> | 179 | </div> |
180 | <div class="card"> | 180 | <div class="card"> |
181 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> | 181 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> |
182 | <h3 class="card__title">Барбер-шоп</h3> | 182 | <h3 class="card__title">Барбер-шоп</h3> |
183 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 183 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
184 | <svg width="18" height="18"> | 184 | <svg width="18" height="18"> |
185 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 185 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
186 | </svg> | 186 | </svg> |
187 | <svg width="18" height="18"> | 187 | <svg width="18" height="18"> |
188 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 188 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
189 | </svg></span><a class="card__label card__label-messenger" href="#"> | 189 | </svg></span><a class="card__label card__label-messenger" href="#"> |
190 | <svg width="25" height="25"> | 190 | <svg width="25" height="25"> |
191 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 191 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
192 | </svg></a></div> | 192 | </svg></a></div> |
193 | </div> | 193 | </div> |
194 | <div class="card__cnt"> | 194 | <div class="card__cnt"> |
195 | <div class="card__info"> | 195 | <div class="card__info"> |
196 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> | 196 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> |
197 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> | 197 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> |
198 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 198 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
199 | <div class="card__line">Площадь: <b>6 556 м2</b></div> | 199 | <div class="card__line">Площадь: <b>6 556 м2</b></div> |
200 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> | 200 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> |
201 | </div> | 201 | </div> |
202 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> | 202 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> |
203 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 203 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
204 | </div> | 204 | </div> |
205 | </div> | 205 | </div> |
206 | <div class="card"> | 206 | <div class="card"> |
207 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> | 207 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> |
208 | <h3 class="card__title">Аптека</h3> | 208 | <h3 class="card__title">Аптека</h3> |
209 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 209 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
210 | <svg width="18" height="18"> | 210 | <svg width="18" height="18"> |
211 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 211 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
212 | </svg> | 212 | </svg> |
213 | <svg width="18" height="18"> | 213 | <svg width="18" height="18"> |
214 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 214 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
215 | </svg></span><a class="card__label card__label-messenger" href="#"> | 215 | </svg></span><a class="card__label card__label-messenger" href="#"> |
216 | <svg width="25" height="25"> | 216 | <svg width="25" height="25"> |
217 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 217 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
218 | </svg></a></div> | 218 | </svg></a></div> |
219 | </div> | 219 | </div> |
220 | <div class="card__cnt"> | 220 | <div class="card__cnt"> |
221 | <div class="card__info"> | 221 | <div class="card__info"> |
222 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> | 222 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> |
223 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> | 223 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> |
224 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 224 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
225 | <div class="card__line">Площадь: <b>8 626 м2</b></div> | 225 | <div class="card__line">Площадь: <b>8 626 м2</b></div> |
226 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 226 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
227 | </div> | 227 | </div> |
228 | <div class="card__price"><span>5 280 000 ₽</span> | 228 | <div class="card__price"><span>5 280 000 ₽</span> |
229 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> | 229 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> |
230 | </div> | 230 | </div> |
231 | </div> | 231 | </div> |
232 | <div class="card"> | 232 | <div class="card"> |
233 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> | 233 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> |
234 | <h3 class="card__title">Витрина</h3> | 234 | <h3 class="card__title">Витрина</h3> |
235 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 235 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
236 | <svg width="18" height="18"> | 236 | <svg width="18" height="18"> |
237 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 237 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
238 | </svg> | 238 | </svg> |
239 | <svg width="18" height="18"> | 239 | <svg width="18" height="18"> |
240 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 240 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
241 | </svg></span><a class="card__label card__label-messenger" href="#"> | 241 | </svg></span><a class="card__label card__label-messenger" href="#"> |
242 | <svg width="25" height="25"> | 242 | <svg width="25" height="25"> |
243 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 243 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
244 | </svg></a></div> | 244 | </svg></a></div> |
245 | </div> | 245 | </div> |
246 | <div class="card__cnt"> | 246 | <div class="card__cnt"> |
247 | <div class="card__info"> | 247 | <div class="card__info"> |
248 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> | 248 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> |
249 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> | 249 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> |
250 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 250 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
251 | <div class="card__line">Площадь: <b>6 856 м2</b></div> | 251 | <div class="card__line">Площадь: <b>6 856 м2</b></div> |
252 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> | 252 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> |
253 | </div> | 253 | </div> |
254 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> | 254 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> |
255 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 255 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
256 | </div> | 256 | </div> |
257 | </div> | 257 | </div> |
258 | <div class="card"> | 258 | <div class="card"> |
259 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> | 259 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> |
260 | <h3 class="card__title">Салон красоты</h3> | 260 | <h3 class="card__title">Салон красоты</h3> |
261 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 261 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
262 | <svg width="18" height="18"> | 262 | <svg width="18" height="18"> |
263 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 263 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
264 | </svg> | 264 | </svg> |
265 | <svg width="18" height="18"> | 265 | <svg width="18" height="18"> |
266 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 266 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
267 | </svg></span><a class="card__label card__label-messenger" href="#"> | 267 | </svg></span><a class="card__label card__label-messenger" href="#"> |
268 | <svg width="25" height="25"> | 268 | <svg width="25" height="25"> |
269 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 269 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
270 | </svg></a></div> | 270 | </svg></a></div> |
271 | </div> | 271 | </div> |
272 | <div class="card__cnt"> | 272 | <div class="card__cnt"> |
273 | <div class="card__info"> | 273 | <div class="card__info"> |
274 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> | 274 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> |
275 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> | 275 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> |
276 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 276 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
277 | <div class="card__line">Площадь: <b>556 м2</b></div> | 277 | <div class="card__line">Площадь: <b>556 м2</b></div> |
278 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 278 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
279 | </div> | 279 | </div> |
280 | <div class="card__price"><span>1 000 000 ₽</span> | 280 | <div class="card__price"><span>1 000 000 ₽</span> |
281 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> | 281 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> |
282 | </div> | 282 | </div> |
283 | </div> | 283 | </div> |
284 | <div class="card"> | 284 | <div class="card"> |
285 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> | 285 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> |
286 | <h3 class="card__title">Барбер-шоп</h3> | 286 | <h3 class="card__title">Барбер-шоп</h3> |
287 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 287 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
288 | <svg width="18" height="18"> | 288 | <svg width="18" height="18"> |
289 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 289 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
290 | </svg> | 290 | </svg> |
291 | <svg width="18" height="18"> | 291 | <svg width="18" height="18"> |
292 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 292 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
293 | </svg></span><a class="card__label card__label-messenger" href="#"> | 293 | </svg></span><a class="card__label card__label-messenger" href="#"> |
294 | <svg width="25" height="25"> | 294 | <svg width="25" height="25"> |
295 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 295 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
296 | </svg></a></div> | 296 | </svg></a></div> |
297 | </div> | 297 | </div> |
298 | <div class="card__cnt"> | 298 | <div class="card__cnt"> |
299 | <div class="card__info"> | 299 | <div class="card__info"> |
300 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> | 300 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> |
301 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> | 301 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> |
302 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 302 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
303 | <div class="card__line">Площадь: <b>6 556 м2</b></div> | 303 | <div class="card__line">Площадь: <b>6 556 м2</b></div> |
304 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> | 304 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> |
305 | </div> | 305 | </div> |
306 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> | 306 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> |
307 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 307 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
308 | </div> | 308 | </div> |
309 | </div> | 309 | </div> |
310 | <div class="card"> | 310 | <div class="card"> |
311 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> | 311 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> |
312 | <h3 class="card__title">Аптека</h3> | 312 | <h3 class="card__title">Аптека</h3> |
313 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 313 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
314 | <svg width="18" height="18"> | 314 | <svg width="18" height="18"> |
315 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 315 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
316 | </svg> | 316 | </svg> |
317 | <svg width="18" height="18"> | 317 | <svg width="18" height="18"> |
318 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 318 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
319 | </svg></span><a class="card__label card__label-messenger" href="#"> | 319 | </svg></span><a class="card__label card__label-messenger" href="#"> |
320 | <svg width="25" height="25"> | 320 | <svg width="25" height="25"> |
321 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 321 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
322 | </svg></a></div> | 322 | </svg></a></div> |
323 | </div> | 323 | </div> |
324 | <div class="card__cnt"> | 324 | <div class="card__cnt"> |
325 | <div class="card__info"> | 325 | <div class="card__info"> |
326 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> | 326 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> |
327 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> | 327 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> |
328 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 328 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
329 | <div class="card__line">Площадь: <b>8 626 м2</b></div> | 329 | <div class="card__line">Площадь: <b>8 626 м2</b></div> |
330 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 330 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
331 | </div> | 331 | </div> |
332 | <div class="card__price"><span>5 280 000 ₽</span> | 332 | <div class="card__price"><span>5 280 000 ₽</span> |
333 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> | 333 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> |
334 | </div> | 334 | </div> |
335 | </div> | 335 | </div> |
336 | <div class="card"> | 336 | <div class="card"> |
337 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> | 337 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> |
338 | <h3 class="card__title">Витрина</h3> | 338 | <h3 class="card__title">Витрина</h3> |
339 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 339 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
340 | <svg width="18" height="18"> | 340 | <svg width="18" height="18"> |
341 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 341 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
342 | </svg> | 342 | </svg> |
343 | <svg width="18" height="18"> | 343 | <svg width="18" height="18"> |
344 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 344 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
345 | </svg></span><a class="card__label card__label-messenger" href="#"> | 345 | </svg></span><a class="card__label card__label-messenger" href="#"> |
346 | <svg width="25" height="25"> | 346 | <svg width="25" height="25"> |
347 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 347 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
348 | </svg></a></div> | 348 | </svg></a></div> |
349 | </div> | 349 | </div> |
350 | <div class="card__cnt"> | 350 | <div class="card__cnt"> |
351 | <div class="card__info"> | 351 | <div class="card__info"> |
352 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> | 352 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> |
353 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> | 353 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> |
354 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 354 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
355 | <div class="card__line">Площадь: <b>6 856 м2</b></div> | 355 | <div class="card__line">Площадь: <b>6 856 м2</b></div> |
356 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> | 356 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> |
357 | </div> | 357 | </div> |
358 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> | 358 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> |
359 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 359 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
360 | </div> | 360 | </div> |
361 | </div> | 361 | </div> |
362 | <div class="card"> | 362 | <div class="card"> |
363 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> | 363 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> |
364 | <h3 class="card__title">Салон красоты</h3> | 364 | <h3 class="card__title">Салон красоты</h3> |
365 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 365 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
366 | <svg width="18" height="18"> | 366 | <svg width="18" height="18"> |
367 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 367 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
368 | </svg> | 368 | </svg> |
369 | <svg width="18" height="18"> | 369 | <svg width="18" height="18"> |
370 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 370 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
371 | </svg></span><a class="card__label card__label-messenger" href="#"> | 371 | </svg></span><a class="card__label card__label-messenger" href="#"> |
372 | <svg width="25" height="25"> | 372 | <svg width="25" height="25"> |
373 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 373 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
374 | </svg></a></div> | 374 | </svg></a></div> |
375 | </div> | 375 | </div> |
376 | <div class="card__cnt"> | 376 | <div class="card__cnt"> |
377 | <div class="card__info"> | 377 | <div class="card__info"> |
378 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> | 378 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> |
379 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> | 379 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> |
380 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 380 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
381 | <div class="card__line">Площадь: <b>556 м2</b></div> | 381 | <div class="card__line">Площадь: <b>556 м2</b></div> |
382 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 382 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
383 | </div> | 383 | </div> |
384 | <div class="card__price"><span>1 000 000 ₽</span> | 384 | <div class="card__price"><span>1 000 000 ₽</span> |
385 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> | 385 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> |
386 | </div> | 386 | </div> |
387 | </div> | 387 | </div> |
388 | <div class="card"> | 388 | <div class="card"> |
389 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> | 389 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> |
390 | <h3 class="card__title">Барбер-шоп</h3> | 390 | <h3 class="card__title">Барбер-шоп</h3> |
391 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 391 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
392 | <svg width="18" height="18"> | 392 | <svg width="18" height="18"> |
393 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 393 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
394 | </svg> | 394 | </svg> |
395 | <svg width="18" height="18"> | 395 | <svg width="18" height="18"> |
396 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 396 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
397 | </svg></span><a class="card__label card__label-messenger" href="#"> | 397 | </svg></span><a class="card__label card__label-messenger" href="#"> |
398 | <svg width="25" height="25"> | 398 | <svg width="25" height="25"> |
399 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 399 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
400 | </svg></a></div> | 400 | </svg></a></div> |
401 | </div> | 401 | </div> |
402 | <div class="card__cnt"> | 402 | <div class="card__cnt"> |
403 | <div class="card__info"> | 403 | <div class="card__info"> |
404 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> | 404 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> |
405 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> | 405 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> |
406 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 406 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
407 | <div class="card__line">Площадь: <b>6 556 м2</b></div> | 407 | <div class="card__line">Площадь: <b>6 556 м2</b></div> |
408 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> | 408 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> |
409 | </div> | 409 | </div> |
410 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> | 410 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> |
411 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 411 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
412 | </div> | 412 | </div> |
413 | </div> | 413 | </div> |
414 | <div class="card"> | 414 | <div class="card"> |
415 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> | 415 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> |
416 | <h3 class="card__title">Аптека</h3> | 416 | <h3 class="card__title">Аптека</h3> |
417 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 417 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
418 | <svg width="18" height="18"> | 418 | <svg width="18" height="18"> |
419 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 419 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
420 | </svg> | 420 | </svg> |
421 | <svg width="18" height="18"> | 421 | <svg width="18" height="18"> |
422 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 422 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
423 | </svg></span><a class="card__label card__label-messenger" href="#"> | 423 | </svg></span><a class="card__label card__label-messenger" href="#"> |
424 | <svg width="25" height="25"> | 424 | <svg width="25" height="25"> |
425 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 425 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
426 | </svg></a></div> | 426 | </svg></a></div> |
427 | </div> | 427 | </div> |
428 | <div class="card__cnt"> | 428 | <div class="card__cnt"> |
429 | <div class="card__info"> | 429 | <div class="card__info"> |
430 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> | 430 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> |
431 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> | 431 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> |
432 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 432 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
433 | <div class="card__line">Площадь: <b>8 626 м2</b></div> | 433 | <div class="card__line">Площадь: <b>8 626 м2</b></div> |
434 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 434 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
435 | </div> | 435 | </div> |
436 | <div class="card__price"><span>5 280 000 ₽</span> | 436 | <div class="card__price"><span>5 280 000 ₽</span> |
437 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> | 437 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> |
438 | </div> | 438 | </div> |
439 | </div> | 439 | </div> |
440 | <div class="card"> | 440 | <div class="card"> |
441 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> | 441 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> |
442 | <h3 class="card__title">Витрина</h3> | 442 | <h3 class="card__title">Витрина</h3> |
443 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 443 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
444 | <svg width="18" height="18"> | 444 | <svg width="18" height="18"> |
445 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 445 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
446 | </svg> | 446 | </svg> |
447 | <svg width="18" height="18"> | 447 | <svg width="18" height="18"> |
448 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 448 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
449 | </svg></span><a class="card__label card__label-messenger" href="#"> | 449 | </svg></span><a class="card__label card__label-messenger" href="#"> |
450 | <svg width="25" height="25"> | 450 | <svg width="25" height="25"> |
451 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 451 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
452 | </svg></a></div> | 452 | </svg></a></div> |
453 | </div> | 453 | </div> |
454 | <div class="card__cnt"> | 454 | <div class="card__cnt"> |
455 | <div class="card__info"> | 455 | <div class="card__info"> |
456 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> | 456 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> |
457 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> | 457 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> |
458 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 458 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
459 | <div class="card__line">Площадь: <b>6 856 м2</b></div> | 459 | <div class="card__line">Площадь: <b>6 856 м2</b></div> |
460 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> | 460 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> |
461 | </div> | 461 | </div> |
462 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> | 462 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> |
463 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 463 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
464 | </div> | 464 | </div> |
465 | </div> | 465 | </div> |
466 | <div class="card"> | 466 | <div class="card"> |
467 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> | 467 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> |
468 | <h3 class="card__title">Салон красоты</h3> | 468 | <h3 class="card__title">Салон красоты</h3> |
469 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 469 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
470 | <svg width="18" height="18"> | 470 | <svg width="18" height="18"> |
471 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 471 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
472 | </svg> | 472 | </svg> |
473 | <svg width="18" height="18"> | 473 | <svg width="18" height="18"> |
474 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 474 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
475 | </svg></span><a class="card__label card__label-messenger" href="#"> | 475 | </svg></span><a class="card__label card__label-messenger" href="#"> |
476 | <svg width="25" height="25"> | 476 | <svg width="25" height="25"> |
477 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 477 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
478 | </svg></a></div> | 478 | </svg></a></div> |
479 | </div> | 479 | </div> |
480 | <div class="card__cnt"> | 480 | <div class="card__cnt"> |
481 | <div class="card__info"> | 481 | <div class="card__info"> |
482 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> | 482 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> |
483 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> | 483 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> |
484 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 484 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
485 | <div class="card__line">Площадь: <b>556 м2</b></div> | 485 | <div class="card__line">Площадь: <b>556 м2</b></div> |
486 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 486 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
487 | </div> | 487 | </div> |
488 | <div class="card__price"><span>1 000 000 ₽</span> | 488 | <div class="card__price"><span>1 000 000 ₽</span> |
489 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> | 489 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> |
490 | </div> | 490 | </div> |
491 | </div> | 491 | </div> |
492 | <div class="card"> | 492 | <div class="card"> |
493 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> | 493 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> |
494 | <h3 class="card__title">Барбер-шоп</h3> | 494 | <h3 class="card__title">Барбер-шоп</h3> |
495 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 495 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
496 | <svg width="18" height="18"> | 496 | <svg width="18" height="18"> |
497 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 497 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
498 | </svg> | 498 | </svg> |
499 | <svg width="18" height="18"> | 499 | <svg width="18" height="18"> |
500 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 500 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
501 | </svg></span><a class="card__label card__label-messenger" href="#"> | 501 | </svg></span><a class="card__label card__label-messenger" href="#"> |
502 | <svg width="25" height="25"> | 502 | <svg width="25" height="25"> |
503 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 503 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
504 | </svg></a></div> | 504 | </svg></a></div> |
505 | </div> | 505 | </div> |
506 | <div class="card__cnt"> | 506 | <div class="card__cnt"> |
507 | <div class="card__info"> | 507 | <div class="card__info"> |
508 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> | 508 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> |
509 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> | 509 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> |
510 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 510 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
511 | <div class="card__line">Площадь: <b>6 556 м2</b></div> | 511 | <div class="card__line">Площадь: <b>6 556 м2</b></div> |
512 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> | 512 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> |
513 | </div> | 513 | </div> |
514 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> | 514 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> |
515 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 515 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
516 | </div> | 516 | </div> |
517 | </div> | 517 | </div> |
518 | <div class="card"> | 518 | <div class="card"> |
519 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> | 519 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> |
520 | <h3 class="card__title">Аптека</h3> | 520 | <h3 class="card__title">Аптека</h3> |
521 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 521 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
522 | <svg width="18" height="18"> | 522 | <svg width="18" height="18"> |
523 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 523 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
524 | </svg> | 524 | </svg> |
525 | <svg width="18" height="18"> | 525 | <svg width="18" height="18"> |
526 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 526 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
527 | </svg></span><a class="card__label card__label-messenger" href="#"> | 527 | </svg></span><a class="card__label card__label-messenger" href="#"> |
528 | <svg width="25" height="25"> | 528 | <svg width="25" height="25"> |
529 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 529 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
530 | </svg></a></div> | 530 | </svg></a></div> |
531 | </div> | 531 | </div> |
532 | <div class="card__cnt"> | 532 | <div class="card__cnt"> |
533 | <div class="card__info"> | 533 | <div class="card__info"> |
534 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> | 534 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> |
535 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> | 535 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> |
536 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 536 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
537 | <div class="card__line">Площадь: <b>8 626 м2</b></div> | 537 | <div class="card__line">Площадь: <b>8 626 м2</b></div> |
538 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 538 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
539 | </div> | 539 | </div> |
540 | <div class="card__price"><span>5 280 000 ₽</span> | 540 | <div class="card__price"><span>5 280 000 ₽</span> |
541 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> | 541 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> |
542 | </div> | 542 | </div> |
543 | </div> | 543 | </div> |
544 | <div class="card"> | 544 | <div class="card"> |
545 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> | 545 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> |
546 | <h3 class="card__title">Витрина</h3> | 546 | <h3 class="card__title">Витрина</h3> |
547 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 547 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
548 | <svg width="18" height="18"> | 548 | <svg width="18" height="18"> |
549 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 549 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
550 | </svg> | 550 | </svg> |
551 | <svg width="18" height="18"> | 551 | <svg width="18" height="18"> |
552 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 552 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
553 | </svg></span><a class="card__label card__label-messenger" href="#"> | 553 | </svg></span><a class="card__label card__label-messenger" href="#"> |
554 | <svg width="25" height="25"> | 554 | <svg width="25" height="25"> |
555 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 555 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
556 | </svg></a></div> | 556 | </svg></a></div> |
557 | </div> | 557 | </div> |
558 | <div class="card__cnt"> | 558 | <div class="card__cnt"> |
559 | <div class="card__info"> | 559 | <div class="card__info"> |
560 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> | 560 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> |
561 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> | 561 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> |
562 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 562 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
563 | <div class="card__line">Площадь: <b>6 856 м2</b></div> | 563 | <div class="card__line">Площадь: <b>6 856 м2</b></div> |
564 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> | 564 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> |
565 | </div> | 565 | </div> |
566 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> | 566 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> |
567 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 567 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
568 | </div> | 568 | </div> |
569 | </div>--> | 569 | </div>--> |
570 | </div> | 570 | </div> |
571 | <div class="pagination"> | 571 | <div class="pagination"> |
572 | <div class="pagination__inner"><a class="pagination__btn pagination__btn-prev disabled" href="#"> | 572 | <?=$houses->withQueryString()->links('catalogs.paginate'); ?> |
573 | |||
574 | |||
575 | <!--<div class="pagination__inner"><a class="pagination__btn pagination__btn-prev disabled" href="#"> | ||
573 | <svg width="10" height="17"> | 576 | <svg width="10" height="17"> |
574 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 577 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
575 | </svg></a> | 578 | </svg></a> |
576 | <ul class="pagination__list"> | 579 | <ul class="pagination__list"> |
577 | <li class="pagination__item"><a class="pagination__link active" href="#">1</a></li> | 580 | <li class="pagination__item"><a class="pagination__link active" href="#">1</a></li> |
578 | <li class="pagination__item"><a class="pagination__link" href="#">2</a></li> | 581 | <li class="pagination__item"><a class="pagination__link" href="#">2</a></li> |
579 | <li class="pagination__item"><a class="pagination__link" href="#">3</a></li> | 582 | <li class="pagination__item"><a class="pagination__link" href="#">3</a></li> |
580 | <li class="pagination__item"><a class="pagination__link more" href="#">...</a></li> | 583 | <li class="pagination__item"><a class="pagination__link more" href="#">...</a></li> |
581 | <li class="pagination__item"><a class="pagination__link" href="#">8</a></li> | 584 | <li class="pagination__item"><a class="pagination__link" href="#">8</a></li> |
582 | </ul><a class="pagination__btn pagination__btn-next" href="#"> | 585 | </ul><a class="pagination__btn pagination__btn-next" href="#"> |
583 | <svg width="10" height="17"> | 586 | <svg width="10" height="17"> |
584 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 587 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
585 | </svg></a> | 588 | </svg></a> |
586 | </div> | 589 | </div>--> |
590 | |||
587 | </div> | 591 | </div> |
588 | </div> | 592 | </div> |
589 | </section> | 593 | </section> |
590 | @endsection | 594 | @endsection |
591 | 595 | ||
592 | @section('form_feedback') | 596 | @section('form_feedback') |
593 | <!-- Форма обратной связи --> | 597 | <!-- Форма обратной связи --> |
594 | @include('form.form_feedback') | 598 | @include('form.form_feedback') |
595 | @endsection | 599 | @endsection |
596 | 600 |
resources/views/layout/site.blade.php
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | 2 | <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> |
3 | <head> | 3 | <head> |
4 | <meta charset="UTF-8"> | 4 | <meta charset="UTF-8"> |
5 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
7 | <title>{{$title}}</title> | 7 | <title>{{$title}}</title> |
8 | <link rel="preload" href="{{ asset('fonts/Manrope-ExtraLight.woff2') }}" as="font" type="font/woff2" crossorigin> | 8 | <link rel="preload" href="{{ asset('fonts/Manrope-ExtraLight.woff2') }}" as="font" type="font/woff2" crossorigin> |
9 | <link rel="preload" href="{{ asset('fonts/Manrope-Light.woff2" as="font') }}" type="font/woff2" crossorigin> | 9 | <link rel="preload" href="{{ asset('fonts/Manrope-Light.woff2" as="font') }}" type="font/woff2" crossorigin> |
10 | <link rel="preload" href="{{ asset('fonts/Manrope-Regular.woff2') }}" as="font" type="font/woff2" crossorigin> | 10 | <link rel="preload" href="{{ asset('fonts/Manrope-Regular.woff2') }}" as="font" type="font/woff2" crossorigin> |
11 | <link rel="preload" href="{{ asset('fonts/Manrope-Medium.woff2') }}" as="font" type="font/woff2" crossorigin> | 11 | <link rel="preload" href="{{ asset('fonts/Manrope-Medium.woff2') }}" as="font" type="font/woff2" crossorigin> |
12 | <link rel="preload" href="{{ asset('fonts/Manrope-SemiBold.woff2') }}" as="font" type="font/woff2" crossorigin> | 12 | <link rel="preload" href="{{ asset('fonts/Manrope-SemiBold.woff2') }}" as="font" type="font/woff2" crossorigin> |
13 | <link rel="preload" href="{{ asset('fonts/Manrope-Bold.woff2') }}" as="font" type="font/woff2" crossorigin> | 13 | <link rel="preload" href="{{ asset('fonts/Manrope-Bold.woff2') }}" as="font" type="font/woff2" crossorigin> |
14 | <link rel="preload" href="{{ asset('fonts/Manrope-ExtraBold.woff2') }}" as="font" type="font/woff2" crossorigin> | 14 | <link rel="preload" href="{{ asset('fonts/Manrope-ExtraBold.woff2') }}" as="font" type="font/woff2" crossorigin> |
15 | <link rel="stylesheet" href="{{ asset('css/swiper-bundle.min.css') }}"> | 15 | <link rel="stylesheet" href="{{ asset('css/swiper-bundle.min.css') }}"> |
16 | <link rel="stylesheet" href="{{ asset('css/style.css') }}"> | 16 | <link rel="stylesheet" href="{{ asset('css/style.css') }}"> |
17 | </head> | 17 | </head> |
18 | <body> | 18 | <body> |
19 | <div class="spinner"></div> | 19 | <div class="spinner"></div> |
20 | <div class="wrapper"> | 20 | <div class="wrapper"> |
21 | <header class="header js_header"> | 21 | <header class="header js_header"> |
22 | <div class="container"> | 22 | <div class="container"> |
23 | <div class="header__wrap"><a class="header__logo" href="{{ route('index') }}"><img src="{{ asset('images/logo.svg') }}" alt="Лого"></a> | 23 | <div class="header__wrap"><a class="header__logo" href="{{ route('index') }}"><img src="{{ asset('images/logo.svg') }}" alt="Лого"></a> |
24 | <nav class="header__nav nav"> | 24 | <nav class="header__nav nav"> |
25 | <ul class="nav__list"> | 25 | <ul class="nav__list"> |
26 | <li class="nav__item"><a class="nav__link" href="{{ route('catalog') }}">Каталог</a></li> | 26 | <li class="nav__item"><a class="nav__link" href="{{ route('catalog') }}">Каталог</a></li> |
27 | <li class="nav__item"><a class="nav__link" href="{{ route('about') }}">О компании</a></li> | 27 | <li class="nav__item"><a class="nav__link" href="{{ route('about') }}">О компании</a></li> |
28 | <li class="nav__item"><a class="nav__link" href="{{ route('contact') }}">Контакты</a></li> | 28 | <li class="nav__item"><a class="nav__link" href="{{ route('contact') }}">Контакты</a></li> |
29 | <li class="nav__item"><a class="nav__link nav__link-favorites" href="{{ route('favorite') }}">Избранное<span>0</span></a></li> | 29 | <li class="nav__item"><a class="nav__link nav__link-favorites" href="{{ route('favorite') }}">Избранное<span>0</span></a></li> |
30 | </ul> | 30 | </ul> |
31 | </nav> | 31 | </nav> |
32 | <div class="header__buttons"><a class="header__btn-phone" href="#" data-btn="feedback"> | 32 | <div class="header__buttons"><a class="header__btn-phone" href="#" data-btn="feedback"> |
33 | <svg width="22" height="22"> | 33 | <svg width="22" height="22"> |
34 | <use xlink:href="{{ asset('images/sprite.svg#header-btn-phone') }}"></use> | 34 | <use xlink:href="{{ asset('images/sprite.svg#header-btn-phone') }}"></use> |
35 | </svg></a> | 35 | </svg></a> |
36 | <div class="header__contacts"> | 36 | <div class="header__contacts"> |
37 | <div class="header__col"><a class="header__contact" href="mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></div> | 37 | <div class="header__col"><a class="header__contact" href="mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></div> |
38 | <div class="header__col"><a class="header__contact" href="tel:{{ $items_contact[0]->email }}">{{ $items_contact[0]->telephone }}</a> | 38 | <div class="header__col"><a class="header__contact" href="tel:{{ $items_contact[0]->email }}">{{ $items_contact[0]->telephone }}</a> |
39 | <button class="header__btn-callback" type="button" data-btn="feedback">Обратный звонок</button> | 39 | <button class="header__btn-callback" type="button" data-btn="feedback">Обратный звонок</button> |
40 | </div> | 40 | </div> |
41 | </div> | 41 | </div> |
42 | <button class="header__burger js_header_burger" type="button">Меню | 42 | <button class="header__burger js_header_burger" type="button">Меню |
43 | <svg width="28" height="18"> | 43 | <svg width="28" height="18"> |
44 | <use xlink:href="{{ asset('images/sprite.svg#burger') }}"></use> | 44 | <use xlink:href="{{ asset('images/sprite.svg#burger') }}"></use> |
45 | </svg> | 45 | </svg> |
46 | </button> | 46 | </button> |
47 | </div> | 47 | </div> |
48 | <div class="menu js_menu"> | 48 | <div class="menu js_menu"> |
49 | <div class="menu__wrap"> | 49 | <div class="menu__wrap"> |
50 | <button class="menu__close js_menu_close" type="button">Меню | 50 | <button class="menu__close js_menu_close" type="button">Меню |
51 | <svg width="20" height="20"> | 51 | <svg width="20" height="20"> |
52 | <use xlink:href="{{ asset('images/sprite.svg#popup-close') }}"></use> | 52 | <use xlink:href="{{ asset('images/sprite.svg#popup-close') }}"></use> |
53 | </svg> | 53 | </svg> |
54 | </button> | 54 | </button> |
55 | <div class="menu__inner"> | 55 | <div class="menu__inner"> |
56 | <nav class="menu__nav"> | 56 | <nav class="menu__nav"> |
57 | <ul class="menu__list"> | 57 | <ul class="menu__list"> |
58 | <li class="menu__item"><a class="menu__link" href="{{ route('about') }}">О компании</a></li> | 58 | <li class="menu__item"><a class="menu__link" href="{{ route('about') }}">О компании</a></li> |
59 | <li class="menu__item"><a class="menu__link menu__link-favorites" href="{{ route('favorite') }}">Избранное<span>5</span></a></li> | 59 | <li class="menu__item"><a class="menu__link menu__link-favorites" href="{{ route('favorite') }}">Избранное<span>5</span></a></li> |
60 | <li class="menu__item"><a class="menu__link" href="{{ route('catalog') }}">Каталог</a></li> | 60 | <li class="menu__item"><a class="menu__link" href="{{ route('catalog') }}">Каталог</a></li> |
61 | <li class="menu__item"><a class="menu__link" href="{{ route('news') }}">Новости</a></li> | 61 | <li class="menu__item"><a class="menu__link" href="{{ route('news') }}">Новости</a></li> |
62 | <li class="menu__item"><a class="menu__link" href="{{ route('contact') }}">Контакты</a></li> | 62 | <li class="menu__item"><a class="menu__link" href="{{ route('contact') }}">Контакты</a></li> |
63 | </ul> | 63 | </ul> |
64 | </nav> | 64 | </nav> |
65 | <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> | 65 | <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> |
66 | <div class="menu__social social"> | 66 | <div class="menu__social social"> |
67 | <ul class="social__list"> | 67 | <ul class="social__list"> |
68 | <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="images/tg.svg" alt=""></a></li> | 68 | <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="images/tg.svg" alt=""></a></li> |
69 | <li class="social__item"><a class="social__link" href="#" target="_blank"> | 69 | <li class="social__item"><a class="social__link" href="#" target="_blank"> |
70 | <svg width="40" height="40"> | 70 | <svg width="40" height="40"> |
71 | <use xlink:href="{{ asset('images/sprite.svg#wa')}}"></use> | 71 | <use xlink:href="{{ asset('images/sprite.svg#wa')}}"></use> |
72 | </svg></a></li> | 72 | </svg></a></li> |
73 | </ul> | 73 | </ul> |
74 | </div> | 74 | </div> |
75 | </div> | 75 | </div> |
76 | </div> | 76 | </div> |
77 | </div> | 77 | </div> |
78 | </div> | 78 | </div> |
79 | </div> | 79 | </div> |
80 | </header> | 80 | </header> |
81 | <main> | 81 | <main> |
82 | @if ($message = Session::get('success')) | ||
83 | <div class="alert alert-success alert-dismissible mt-0" role="alert"> | ||
84 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | ||
85 | <span aria-hidden="true">×</span> | ||
86 | </button> | ||
87 | {{ $message }} | ||
88 | </div> | ||
89 | @endif | ||
90 | |||
91 | @if ($errors->any()) | ||
92 | <div class="alert alert-danger alert-dismissible mt-4" role="alert"> | ||
93 | <button type="button" class="close" data-dismiss="alert" aria-label="Закрыть"> | ||
94 | <span aria-hidden="true">×</span> | ||
95 | </button> | ||
96 | <ul class="mb-0"> | ||
97 | @foreach ($errors->all() as $error) | ||
98 | <li>{{ $error }}</li> | ||
99 | @endforeach | ||
100 | </ul> | ||
101 | </div> | ||
102 | @endif | ||
103 | |||
82 | <!-- Фильтр --> | 104 | <!-- Фильтр --> |
83 | @yield('filter') | 105 | @yield('filter') |
84 | 106 | ||
85 | <!-- Основной контент --> | 107 | <!-- Основной контент --> |
86 | @yield('content') | 108 | @yield('content') |
87 | 109 | ||
88 | </main> | 110 | </main> |
89 | 111 | ||
90 | <footer class="footer" style="background-image:url({{ asset('images/footer-bg.jpg')}})"> | 112 | <footer class="footer" style="background-image:url({{ asset('images/footer-bg.jpg')}})"> |
91 | <div class="footer__buttons"> | 113 | <div class="footer__buttons"> |
92 | <button class="footer__btn footer__btn-phone js_btn_contact_us" type="button"> | 114 | <button class="footer__btn footer__btn-phone js_btn_contact_us" type="button"> |
93 | <svg width="30" height="32"> | 115 | <svg width="30" height="32"> |
94 | <use xlink:href="{{ asset('images/sprite.svg#footer-btn-phone')}}"></use> | 116 | <use xlink:href="{{ asset('images/sprite.svg#footer-btn-phone')}}"></use> |
95 | </svg> | 117 | </svg> |
96 | </button> | 118 | </button> |
97 | <button class="footer__btn footer__btn-up js_btn_up" type="button"> | 119 | <button class="footer__btn footer__btn-up js_btn_up" type="button"> |
98 | <svg width="19" height="11"> | 120 | <svg width="19" height="11"> |
99 | <use xlink:href="{{ asset('images/sprite.svg#footer-btn-up')}}"></use> | 121 | <use xlink:href="{{ asset('images/sprite.svg#footer-btn-up')}}"></use> |
100 | </svg> | 122 | </svg> |
101 | </button> | 123 | </button> |
102 | </div> | 124 | </div> |
103 | <!-- Форма обратной связи --> | 125 | <!-- Форма обратной связи --> |
104 | @yield('form_feedback'); | 126 | @yield('form_feedback'); |
105 | 127 | ||
106 | <!-- Сам футер мееню --> | 128 | <!-- Сам футер мееню --> |
107 | <div class="footer-middle"> | 129 | <div class="footer-middle"> |
108 | <div class="container"> | 130 | <div class="container"> |
109 | <div class="footer-middle__wrap"> | 131 | <div class="footer-middle__wrap"> |
110 | <div class="footer__col footer__col-intro"><a class="footer__logo" href="index.html"><img src="{{ asset('images/logo-footer.svg')}}" alt="Лого"></a> | 132 | <div class="footer__col footer__col-intro"><a class="footer__logo" href="index.html"><img src="{{ asset('images/logo-footer.svg')}}" alt="Лого"></a> |
111 | <p class="footer__descr">В группу “Renttorg” входит ряд ведущих российских девелоперских компаний полного цикла, реализующих масштабные объекты недвижимости.</p> | 133 | <p class="footer__descr">В группу “Renttorg” входит ряд ведущих российских девелоперских компаний полного цикла, реализующих масштабные объекты недвижимости.</p> |
112 | <div class="footer-questions"> | 134 | <div class="footer-questions"> |
113 | <h3 class="footer-questions__title">Есть вопросы или предложения?</h3><a class="footer-questions__btn btn btn--main" href="#" data-btn="feedback">Напишите нам</a> | 135 | <h3 class="footer-questions__title">Есть вопросы или предложения?</h3><a class="footer-questions__btn btn btn--main" href="#" data-btn="feedback">Напишите нам</a> |
114 | </div> | 136 | </div> |
115 | </div> | 137 | </div> |
116 | <div class="footer__col footer__col-menu js_footer_col"> | 138 | <div class="footer__col footer__col-menu js_footer_col"> |
117 | <h3 class="footer__caption js_footer_caption">Меню</h3> | 139 | <h3 class="footer__caption js_footer_caption">Меню</h3> |
118 | <div class="footer__block js_footer_block"> | 140 | <div class="footer__block js_footer_block"> |
119 | <ul class="footer__list"> | 141 | <ul class="footer__list"> |
120 | <li class="footer__item"><a class="footer__link" href="{{ route('catalog') }}">Каталог</a></li> | 142 | <li class="footer__item"><a class="footer__link" href="{{ route('catalog') }}">Каталог</a></li> |
121 | <li class="footer__item"><a class="footer__link" href="{{ route('about') }}">О компании</a></li> | 143 | <li class="footer__item"><a class="footer__link" href="{{ route('about') }}">О компании</a></li> |
122 | <li class="footer__item"><a class="footer__link" href="{{ route('contact') }}">Контакты</a></li> | 144 | <li class="footer__item"><a class="footer__link" href="{{ route('contact') }}">Контакты</a></li> |
123 | <li class="footer__item"><a class="footer__link" href="{{ route('favorite') }}">Избранное</a></li> | 145 | <li class="footer__item"><a class="footer__link" href="{{ route('favorite') }}">Избранное</a></li> |
124 | <li class="footer__item"><a class="footer__link" href="{{ route('news') }}">Новости</a></li> | 146 | <li class="footer__item"><a class="footer__link" href="{{ route('news') }}">Новости</a></li> |
125 | </ul> | 147 | </ul> |
126 | 148 | ||
127 | </div><a class="footer__author" href="#" target="_blank"><img src="{{ asset('images/author.png')}}" alt="Лого разработчика"></a> | 149 | </div><a class="footer__author" href="#" target="_blank"><img src="{{ asset('images/author.png')}}" alt="Лого разработчика"></a> |
128 | </div> | 150 | </div> |
129 | <div class="footer__col js_footer_col"> | 151 | <div class="footer__col js_footer_col"> |
130 | <h3 class="footer__caption js_footer_caption">Услуги</h3> | 152 | <h3 class="footer__caption js_footer_caption">Услуги</h3> |
131 | <div class="footer__block js_footer_block"> | 153 | <div class="footer__block js_footer_block"> |
132 | <ul class="footer__list"> | 154 | <ul class="footer__list"> |
133 | <li class="footer__item"><a class="footer__link" href="#">Продажа арендного бизнеса</a></li> | 155 | <li class="footer__item"><a class="footer__link" href="#">Продажа арендного бизнеса</a></li> |
134 | <li class="footer__item"><a class="footer__link" href="#">Арендованные помещения</a></li> | 156 | <li class="footer__item"><a class="footer__link" href="#">Арендованные помещения</a></li> |
135 | <li class="footer__item"><a class="footer__link" href="#">Свободные для аренды</a></li> | 157 | <li class="footer__item"><a class="footer__link" href="#">Свободные для аренды</a></li> |
136 | </ul> | 158 | </ul> |
137 | </div> | 159 | </div> |
138 | </div> | 160 | </div> |
139 | <div class="footer__col js_footer_col"> | 161 | <div class="footer__col js_footer_col"> |
140 | <h3 class="footer__caption js_footer_caption">Объекты</h3> | 162 | <h3 class="footer__caption js_footer_caption">Объекты</h3> |
141 | <div class="footer__block js_footer_block"> | 163 | <div class="footer__block js_footer_block"> |
142 | <ul class="footer__list"> | 164 | <ul class="footer__list"> |
143 | <li class="footer__item"><a class="footer__link" href="#">Новая Москва</a></li> | 165 | <li class="footer__item"><a class="footer__link" href="#">Новая Москва</a></li> |
144 | <li class="footer__item"><a class="footer__link" href="#">Подмосковье</a></li> | 166 | <li class="footer__item"><a class="footer__link" href="#">Подмосковье</a></li> |
145 | <li class="footer__item"><a class="footer__link" href="#">Москва</a></li> | 167 | <li class="footer__item"><a class="footer__link" href="#">Москва</a></li> |
146 | <li class="footer__item"><a class="footer__link" href="#">Тип недвижимости</a></li> | 168 | <li class="footer__item"><a class="footer__link" href="#">Тип недвижимости</a></li> |
147 | </ul> | 169 | </ul> |
148 | </div> | 170 | </div> |
149 | </div> | 171 | </div> |
150 | <div class="footer__col footer__col-contacts"> | 172 | <div class="footer__col footer__col-contacts"> |
151 | <h3 class="footer__caption js_footer_caption">Контакты</h3> | 173 | <h3 class="footer__caption js_footer_caption">Контакты</h3> |
152 | <ul class="footer__list"> | 174 | <ul class="footer__list"> |
153 | <li class="footer__item"><a class="footer__link" href="#mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></li> | 175 | <li class="footer__item"><a class="footer__link" href="#mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></li> |
154 | <li class="footer__item"><a class="footer__link" href="tel:{{ $items_contact[0]->telephone }}">{{ $items_contact[0]->telephone }}</a></li> | 176 | <li class="footer__item"><a class="footer__link" href="tel:{{ $items_contact[0]->telephone }}">{{ $items_contact[0]->telephone }}</a></li> |
155 | </ul> | 177 | </ul> |
156 | <div class="footer__social social"> | 178 | <div class="footer__social social"> |
157 | <ul class="social__list"> | 179 | <ul class="social__list"> |
158 | <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="{{ asset('images/tg.svg')}}" alt=""></a></li> | 180 | <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="{{ asset('images/tg.svg')}}" alt=""></a></li> |
159 | <li class="social__item"><a class="social__link" href="#" target="_blank"> | 181 | <li class="social__item"><a class="social__link" href="#" target="_blank"> |
160 | <svg width="40" height="40"> | 182 | <svg width="40" height="40"> |
161 | <use xlink:href="{{ asset('images/sprite.svg#wa') }}"></use> | 183 | <use xlink:href="{{ asset('images/sprite.svg#wa') }}"></use> |
162 | </svg></a></li> | 184 | </svg></a></li> |
163 | </ul> | 185 | </ul> |
164 | </div> | 186 | </div> |
165 | </div> | 187 | </div> |
166 | </div> | 188 | </div> |
167 | </div> | 189 | </div> |
168 | </div> | 190 | </div> |
169 | 191 | ||
170 | 192 | ||
171 | <div class="footer-bottom"> | 193 | <div class="footer-bottom"> |
172 | <div class="container"> | 194 | <div class="container"> |
173 | <div class="footer-bottom__wrap"> | 195 | <div class="footer-bottom__wrap"> |
174 | <div class="footer__copy">© 2023 RentTorg</div><a class="footer__plicy" href="{{ route('conf') }}">Политика конфиденциальности</a> | 196 | <div class="footer__copy">© 2023 RentTorg</div><a class="footer__plicy" href="{{ route('conf') }}">Политика конфиденциальности</a> |
175 | </div> | 197 | </div> |
176 | </div> | 198 | </div> |
177 | </div> | 199 | </div> |
178 | </footer> | 200 | </footer> |
179 | </div> | 201 | </div> |
180 | 202 | ||
181 | <!-- Вплывающие окна --> | 203 | <!-- Вплывающие окна --> |
182 | <div class="popup popup-feedback" data-popup="feedback"> | 204 | <div class="popup popup-feedback" data-popup="feedback"> |
183 | <div class="popup__wrap"> | 205 | <div class="popup__wrap"> |
184 | <button class="popup__close js_popup_close" type="button"> | 206 | <button class="popup__close js_popup_close" type="button"> |
185 | <svg width="20" height="20"> | 207 | <svg width="20" height="20"> |
186 | <use xlink:href="images/sprite.svg#popup-close"></use> | 208 | <use xlink:href="images/sprite.svg#popup-close"></use> |
187 | </svg> | 209 | </svg> |
188 | </button> | 210 | </button> |
189 | <form class="popup-feedback__form js_popup_feedback_form"> | 211 | <form class="popup-feedback__form js_popup_feedback_form"> |
190 | <div class="popup-feedback__title">Как с вами связаться</div> | 212 | <div class="popup-feedback__title">Как с вами связаться</div> |
191 | <div class="popup-feedback__fields"> | 213 | <div class="popup-feedback__fields"> |
192 | <label class="popup-feedback__field field"> | 214 | <label class="popup-feedback__field field"> |
193 | <input type="text" placeholder="Имя" name="Имя"> | 215 | <input type="text" placeholder="Имя" name="Имя"> |
194 | </label> | 216 | </label> |
195 | <label class="popup-feedback__field field"> | 217 | <label class="popup-feedback__field field"> |
196 | <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> | 218 | <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> |
197 | </label> | 219 | </label> |
198 | </div> | 220 | </div> |
199 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> | 221 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> |
200 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> | 222 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> |
201 | </form> | 223 | </form> |
202 | </div> | 224 | </div> |
203 | </div> | 225 | </div> |
204 | <div class="popup popup-feedback" data-popup="viewing"> | 226 | <div class="popup popup-feedback" data-popup="viewing"> |
205 | <div class="popup__wrap"> | 227 | <div class="popup__wrap"> |
206 | <button class="popup__close js_popup_close" type="button"> | 228 | <button class="popup__close js_popup_close" type="button"> |
207 | <svg width="20" height="20"> | 229 | <svg width="20" height="20"> |
208 | <use xlink:href="images/sprite.svg#popup-close"></use> | 230 | <use xlink:href="images/sprite.svg#popup-close"></use> |
209 | </svg> | 231 | </svg> |
210 | </button> | 232 | </button> |
211 | <form class="popup-feedback__form js_popup_viewing_form"> | 233 | <form class="popup-feedback__form js_popup_viewing_form"> |
212 | <div class="popup-feedback__title">Записаться на просмотр</div> | 234 | <div class="popup-feedback__title">Записаться на просмотр</div> |
213 | <div class="popup-feedback__fields"> | 235 | <div class="popup-feedback__fields"> |
214 | <label class="popup-feedback__field field"> | 236 | <label class="popup-feedback__field field"> |
215 | <input type="text" placeholder="Имя" name="Имя"> | 237 | <input type="text" placeholder="Имя" name="Имя"> |
216 | </label> | 238 | </label> |
217 | <label class="popup-feedback__field field"> | 239 | <label class="popup-feedback__field field"> |
218 | <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> | 240 | <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> |
219 | </label> | 241 | </label> |
220 | </div> | 242 | </div> |
221 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> | 243 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> |
222 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> | 244 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> |
223 | </form> | 245 | </form> |
224 | </div> | 246 | </div> |
225 | </div> | 247 | </div> |
226 | <div class="popup popup-success" data-popup="success"> | 248 | <div class="popup popup-success" data-popup="success"> |
227 | <div class="popup__wrap"> | 249 | <div class="popup__wrap"> |
228 | <button class="popup__close js_popup_close" type="button"> | 250 | <button class="popup__close js_popup_close" type="button"> |
229 | <svg width="20" height="20"> | 251 | <svg width="20" height="20"> |
230 | <use xlink:href="images/sprite.svg#popup-close"></use> | 252 | <use xlink:href="images/sprite.svg#popup-close"></use> |
231 | </svg> | 253 | </svg> |
232 | </button> | 254 | </button> |
233 | <div class="popup-success__inner"> | 255 | <div class="popup-success__inner"> |
234 | <div class="popup-success__logo"> | 256 | <div class="popup-success__logo"> |
235 | <svg width="48" height="39"> | 257 | <svg width="48" height="39"> |
236 | <use xlink:href="images/sprite.svg#popup-success-logo"></use> | 258 | <use xlink:href="images/sprite.svg#popup-success-logo"></use> |
237 | </svg> | 259 | </svg> |
238 | </div> | 260 | </div> |
239 | <div class="popup-success__title">Спасибо за заявку</div> | 261 | <div class="popup-success__title">Спасибо за заявку</div> |
240 | <p class="popup-success__descr">В ближайшее время с вами свяжется наш специалист для уточнения деталей вашей задачи.</p> | 262 | <p class="popup-success__descr">В ближайшее время с вами свяжется наш специалист для уточнения деталей вашей задачи.</p> |
241 | </div> | 263 | </div> |
242 | </div> | 264 | </div> |
243 | </div> | 265 | </div> |
244 | <div class="popup popup-feedback" data-popup="sending"> | 266 | <div class="popup popup-feedback" data-popup="sending"> |
245 | <div class="popup__wrap"> | 267 | <div class="popup__wrap"> |
246 | <button class="popup__close js_popup_close" type="button"> | 268 | <button class="popup__close js_popup_close" type="button"> |
247 | <svg width="20" height="20"> | 269 | <svg width="20" height="20"> |
248 | <use xlink:href="images/sprite.svg#popup-close"></use> | 270 | <use xlink:href="images/sprite.svg#popup-close"></use> |
249 | </svg> | 271 | </svg> |
250 | </button> | 272 | </button> |
251 | <form class="popup-feedback__form js_popup_sending_form"> | 273 | <form class="popup-feedback__form js_popup_sending_form"> |
252 | <div class="popup-feedback__title">Отправить на почту</div> | 274 | <div class="popup-feedback__title">Отправить на почту</div> |
253 | <div class="popup-feedback__fields"> | 275 | <div class="popup-feedback__fields"> |
254 | <label class="popup-feedback__field field"> | 276 | <label class="popup-feedback__field field"> |
255 | <input class="js_input_email" type="text" placeholder="Электронная почта" name="Электронная почта"> | 277 | <input class="js_input_email" type="text" placeholder="Электронная почта" name="Электронная почта"> |
256 | </label> | 278 | </label> |
257 | </div> | 279 | </div> |
258 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> | 280 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> |
259 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> | 281 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> |
260 | </form> | 282 | </form> |
261 | </div> | 283 | </div> |
262 | </div> | 284 | </div> |
263 | <div class="contact-us js_contact_us"> | 285 | <div class="contact-us js_contact_us"> |
264 | <div class="contact-us__top"> | 286 | <div class="contact-us__top"> |
265 | <button class="contact-us__close js_contact_us_close" type="button"> | 287 | <button class="contact-us__close js_contact_us_close" type="button"> |
266 | <svg width="20" height="20"> | 288 | <svg width="20" height="20"> |
267 | <use xlink:href="images/sprite.svg#popup-close"></use> | 289 | <use xlink:href="images/sprite.svg#popup-close"></use> |
268 | </svg> | 290 | </svg> |
269 | </button> | 291 | </button> |
270 | <div class="contact-us__title">Свяжитесь с нами</div> | 292 | <div class="contact-us__title">Свяжитесь с нами</div> |
271 | </div> | 293 | </div> |
272 | <div class="contact-us__body"> | 294 | <div class="contact-us__body"> |
273 | <div class="contact-us__items"><a class="contact-us-item js_contact_us_close" href="#"> | 295 | <div class="contact-us__items"><a class="contact-us-item js_contact_us_close" href="#"> |
274 | <div class="contact-us-item__icon"> | 296 | <div class="contact-us-item__icon"> |
275 | <svg width="34" height="34"> | 297 | <svg width="34" height="34"> |
276 | <use xlink:href="images/sprite.svg#contact-us-phone"></use> | 298 | <use xlink:href="images/sprite.svg#contact-us-phone"></use> |
277 | </svg> | 299 | </svg> |
278 | </div> | 300 | </div> |
279 | <div class="contact-us-item__name">Позвонить</div></a><a class="contact-us-item js_contact_us_close" href="#"> | 301 | <div class="contact-us-item__name">Позвонить</div></a><a class="contact-us-item js_contact_us_close" href="#"> |
280 | <div class="contact-us-item__icon"> | 302 | <div class="contact-us-item__icon"> |
281 | <svg width="44" height="44"> | 303 | <svg width="44" height="44"> |
282 | <use xlink:href="images/sprite.svg#contact-us-email"></use> | 304 | <use xlink:href="images/sprite.svg#contact-us-email"></use> |
283 | </svg> | 305 | </svg> |
284 | </div> | 306 | </div> |
285 | <div class="contact-us-item__name">Написать</div></a><a class="contact-us-item js_contact_us_close" href="#"> | 307 | <div class="contact-us-item__name">Написать</div></a><a class="contact-us-item js_contact_us_close" href="#"> |
286 | <div class="contact-us-item__icon"> | 308 | <div class="contact-us-item__icon"> |
287 | <svg width="34" height="34"> | 309 | <svg width="34" height="34"> |
288 | <use xlink:href="images/sprite.svg#contact-us-chat"></use> | 310 | <use xlink:href="images/sprite.svg#contact-us-chat"></use> |
289 | </svg> | 311 | </svg> |
290 | </div> | 312 | </div> |
291 | <div class="contact-us-item__name">Онлайн-чат</div></a></div> | 313 | <div class="contact-us-item__name">Онлайн-чат</div></a></div> |
292 | <div class="contact-us__socials"><a class="contact-us-social js_contact_us_close" href="#" target="_blank"> | 314 | <div class="contact-us__socials"><a class="contact-us-social js_contact_us_close" href="#" target="_blank"> |
293 | <div class="contact-us-social__icon contact-us-social__icon-tg"><img src="images/contact-us-tg.svg" alt=""></div> | 315 | <div class="contact-us-social__icon contact-us-social__icon-tg"><img src="images/contact-us-tg.svg" alt=""></div> |
294 | <div class="contact-us-social__name">Telegram</div></a><a class="contact-us-social js_contact_us_close" href="#" target="_blank"> | 316 | <div class="contact-us-social__name">Telegram</div></a><a class="contact-us-social js_contact_us_close" href="#" target="_blank"> |
295 | <div class="contact-us-social__icon contact-us-social__icon-wa"> | 317 | <div class="contact-us-social__icon contact-us-social__icon-wa"> |
296 | <svg width="31" height="31"> | 318 | <svg width="31" height="31"> |
297 | <use xlink:href="images/sprite.svg#contact-us-wa"></use> | 319 | <use xlink:href="images/sprite.svg#contact-us-wa"></use> |
298 | </svg> | 320 | </svg> |
299 | </div> | 321 | </div> |
300 | <div class="contact-us-social__name">WhatsApp</div></a></div> | 322 | <div class="contact-us-social__name">WhatsApp</div></a></div> |
301 | </div> | 323 | </div> |
302 | </div> | 324 | </div> |
303 | <div class="offer-side-popup" data-popup="offer-side-popup"> | 325 | <div class="offer-side-popup" data-popup="offer-side-popup"> |
304 | <div class="offer-side-popup__wrap"> | 326 | <div class="offer-side-popup__wrap"> |
305 | <button class="offer-side-popup__close js_popup_close" type="button"> | 327 | <button class="offer-side-popup__close js_popup_close" type="button"> |
306 | <svg width="20" height="20"> | 328 | <svg width="20" height="20"> |
307 | <use xlink:href="images/sprite.svg#popup-close"></use> | 329 | <use xlink:href="images/sprite.svg#popup-close"></use> |
308 | </svg> | 330 | </svg> |
309 | </button> | 331 | </button> |
310 | <div class="offer-side-popup__cnt"> | 332 | <div class="offer-side-popup__cnt"> |
311 | <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> | 333 | <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> |
312 | <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> | 334 | <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> |
313 | </div> | 335 | </div> |
314 | <div class="offer-side-popup__tabs"> | 336 | <div class="offer-side-popup__tabs"> |
315 | <button class="offer-side-popup__tab js_offer_side_popup_tab active" type="button" data-tab="1">План объекта</button> | 337 | <button class="offer-side-popup__tab js_offer_side_popup_tab active" type="button" data-tab="1">План объекта</button> |
316 | <button class="offer-side-popup__tab js_offer_side_popup_tab" type="button" data-tab="2">План этажа</button> | 338 | <button class="offer-side-popup__tab js_offer_side_popup_tab" type="button" data-tab="2">План этажа</button> |
317 | </div> | 339 | </div> |
318 | <button class="offer-side-popup__sizeoff js_popup_close" type="button"> | 340 | <button class="offer-side-popup__sizeoff js_popup_close" type="button"> |
319 | <svg width="18" height="18"> | 341 | <svg width="18" height="18"> |
320 | <use xlink:href="images/sprite.svg#popup-sizeoff"></use> | 342 | <use xlink:href="images/sprite.svg#popup-sizeoff"></use> |
321 | </svg> | 343 | </svg> |
322 | </button> | 344 | </button> |
323 | </div> | 345 | </div> |
324 | </div> | 346 | </div> |
325 | <div class="img-viewer js_img_viewer"> | 347 | <div class="img-viewer js_img_viewer"> |
326 | <div class="img-viewer__wrap"> | 348 | <div class="img-viewer__wrap"> |
327 | <button class="img-viewer__close js_img_viewer_close" type="button"> | 349 | <button class="img-viewer__close js_img_viewer_close" type="button"> |
328 | <svg width="20" height="20"> | 350 | <svg width="20" height="20"> |
329 | <use xlink:href="images/sprite.svg#popup-close"></use> | 351 | <use xlink:href="images/sprite.svg#popup-close"></use> |
330 | </svg> | 352 | </svg> |
331 | </button> | 353 | </button> |
332 | <div class="img-viewer__thumbs js_img_viewer_thumbs"> | 354 | <div class="img-viewer__thumbs js_img_viewer_thumbs"> |
333 | <div class="img-viewer__thumbs-swiper js_img_viewer_thumbs_swiper swiper"> | 355 | <div class="img-viewer__thumbs-swiper js_img_viewer_thumbs_swiper swiper"> |
334 | <div class="swiper-wrapper"></div> | 356 | <div class="swiper-wrapper"></div> |
335 | </div> | 357 | </div> |
336 | </div> | 358 | </div> |
337 | <div class="img-viewer__slider"> | 359 | <div class="img-viewer__slider"> |
338 | <div class="img-viewer__slider-swiper js_img_viewer_slider_swiper swiper"> | 360 | <div class="img-viewer__slider-swiper js_img_viewer_slider_swiper swiper"> |
339 | <div class="swiper-wrapper"></div> | 361 | <div class="swiper-wrapper"></div> |
340 | </div> | 362 | </div> |
341 | <div class="swiper-button-prev"> | 363 | <div class="swiper-button-prev"> |
342 | <svg width="10" height="17"> | 364 | <svg width="10" height="17"> |
343 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 365 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
344 | </svg> | 366 | </svg> |
345 | </div> | 367 | </div> |
346 | <div class="swiper-button-next"> | 368 | <div class="swiper-button-next"> |
347 | <svg width="10" height="17"> | 369 | <svg width="10" height="17"> |
348 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 370 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
349 | </svg> | 371 | </svg> |
350 | </div> | 372 | </div> |
351 | </div> | 373 | </div> |
352 | <div class="img-viewer__caption js_img_viewer_caption"></div> | 374 | <div class="img-viewer__caption js_img_viewer_caption"></div> |
353 | <button class="img-viewer__sizeoff js_img_viewer_close" type="button"> | 375 | <button class="img-viewer__sizeoff js_img_viewer_close" type="button"> |
354 | <svg width="18" height="18"> | 376 | <svg width="18" height="18"> |
355 | <use xlink:href="images/sprite.svg#popup-sizeoff"></use> | 377 | <use xlink:href="images/sprite.svg#popup-sizeoff"></use> |
356 | </svg> | 378 | </svg> |
357 | </button> | 379 | </button> |
358 | </div> | 380 | </div> |
359 | </div> | 381 | </div> |
360 | <div class="cookies js_cookies"> | 382 | <div class="cookies js_cookies"> |
361 | <div class="container"> | 383 | <div class="container"> |
362 | <div class="cookies__wrap"> | 384 | <div class="cookies__wrap"> |
363 | <div class="cookies__top"> | 385 | <div class="cookies__top"> |
364 | <div class="cookies__img"><img src="images/cookies.svg" alt="cookies"></div> | 386 | <div class="cookies__img"><img src="images/cookies.svg" alt="cookies"></div> |
365 | <div class="cookies__title">Cookies</div> | 387 | <div class="cookies__title">Cookies</div> |
366 | </div> | 388 | </div> |
367 | <p class="cookies__descr">Мы используем cookie-файлы для наилучшего представления нашего сайта.<br>Продолжая использовать сайт, вы даете согласие с использованием cookie-файлов.</p> | 389 | <p class="cookies__descr">Мы используем cookie-файлы для наилучшего представления нашего сайта.<br>Продолжая использовать сайт, вы даете согласие с использованием cookie-файлов.</p> |
368 | <div class="cookies__buttons"> | 390 | <div class="cookies__buttons"> |
369 | <button class="cookies__btn btn btn--main js_cookies_confirm" type="button">Принять</button><a class="cookies__link" href="page-cookies.html">Подробнее</a> | 391 | <button class="cookies__btn btn btn--main js_cookies_confirm" type="button">Принять</button><a class="cookies__link" href="page-cookies.html">Подробнее</a> |
370 | </div> | 392 | </div> |
371 | </div> | 393 | </div> |
372 | </div> | 394 | </div> |
373 | </div> | 395 | </div> |
374 | <script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script> | 396 | <script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script> |
375 | <script src="{{ asset('js/swiper-bundle.min.js') }}"></script> | 397 | <script src="{{ asset('js/swiper-bundle.min.js') }}"></script> |
376 | <script src="{{ asset('js/main.js') }}"></script> | 398 | <script src="{{ asset('js/main.js') }}"></script> |
377 | <script type="text/javascript" src="{{ asset('js/jquery.min.js') }}"></script> | 399 | <script type="text/javascript" src="{{ asset('js/jquery.min.js') }}"></script> |
378 | @yield('custom_js'); | 400 | @yield('custom_js'); |
379 | </body> | 401 | </body> |
380 | </html> | 402 | </html> |
381 | 403 |
routes/web.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Illuminate\Support\Facades\Auth; | ||
3 | use Illuminate\Support\Facades\Route; | 4 | use Illuminate\Support\Facades\Route; |
4 | use App\Http\Controllers\MainController; | 5 | use App\Http\Controllers\MainController; |
6 | use App\Http\Controllers\RegisterController; | ||
7 | use App\Http\Controllers\LoginController; | ||
8 | use App\Http\Controllers\AdminController; | ||
5 | /* | 9 | /* |
6 | |-------------------------------------------------------------------------- | 10 | |-------------------------------------------------------------------------- |
7 | | Web Routes | 11 | | Web Routes |
8 | |-------------------------------------------------------------------------- | 12 | |-------------------------------------------------------------------------- |
9 | | | 13 | | |
10 | | Here is where you can register web routes for your application. These | 14 | | Here is where you can register web routes for your application. These |
11 | | routes are loaded by the RouteServiceProvider within a group which | 15 | | routes are loaded by the RouteServiceProvider within a group which |
12 | | contains the "web" middleware group. Now create something great! | 16 | | contains the "web" middleware group. Now create something great! |
13 | | | 17 | | |
14 | */ | 18 | */ |
15 | 19 | ||
16 | //Главная страница | 20 | //Главная страница |
17 | Route::get('/',[MainController::class, 'index'])->name('index'); | 21 | Route::get('/',[MainController::class, 'index'])->name('index'); |
18 | 22 | ||
19 | //Страница Избранные | 23 | //Страница Избранные |
20 | Route::get('favorite',[MainController::class, 'favorite'])->name('favorite'); | 24 | Route::get('favorite',[MainController::class, 'favorite'])->name('favorite'); |
21 | 25 | ||
22 | //Страница контакты | 26 | //Страница контакты |
23 | Route::get('contact',[MainController::class, 'contact'])->name('contact'); | 27 | Route::get('contact',[MainController::class, 'contact'])->name('contact'); |
24 | 28 | ||
25 | //Страница каталог | 29 | //Страница каталог |
26 | Route::get('catalog',[MainController::class, 'catalog'])->name('catalog'); | 30 | Route::get('catalog',[MainController::class, 'catalog'])->name('catalog'); |
27 | 31 | ||
28 | //Страница новости | 32 | //Страница новости |
29 | Route::get('news',[MainController::class, 'news'])->name('news'); | 33 | Route::get('news',[MainController::class, 'news'])->name('news'); |
30 | 34 | ||
31 | //Страница о компании | 35 | //Страница о компании |
32 | Route::get('about',[MainController::class, 'about'])->name('about'); | 36 | Route::get('about',[MainController::class, 'about'])->name('about'); |
33 | 37 | ||
34 | //Страница объекты на карте | 38 | //Страница объекты на карте |
35 | Route::get('maps',[MainController::class, 'mapsobj'])->name('maps'); | 39 | Route::get('maps',[MainController::class, 'mapsobj'])->name('maps'); |
36 | 40 | ||
37 | // Политика конфедициальности | 41 | // Политика конфедициальности |
38 | Route::get('conf', function () { | 42 | Route::get('conf', function () { |
39 | return view('conf'); | 43 | return view('conf'); |
40 | })->name('conf'); | 44 | })->name('conf'); |
41 | 45 | ||
42 | //Детальная страница предложения недвижимости | 46 | //Детальная страница предложения недвижимости |
43 | Route::get('offer/{house:id}', [MainController::class, 'offer'])->name('offer'); | 47 | Route::get('offer/{house:id}', [MainController::class, 'offer'])->name('offer'); |
44 | 48 | ||
45 | //Детальная страница новостей | 49 | //Детальная страница новостей |
46 | Route::get('detail-new/{news:id}', [MainController::class, 'DetailNew'])->name('new'); | 50 | Route::get('detail-new/{news:id}', [MainController::class, 'DetailNew'])->name('new'); |
47 | 51 | ||
48 | //Страница ЖилойКомплекс | 52 | //Страница ЖилойКомплекс |
49 | Route::get('complex/{area:id}', [MainController::class, 'complex'])->name('complex'); | 53 | Route::get('complex/{area:id}', [MainController::class, 'complex'])->name('complex'); |
50 | 54 | ||
51 | // ajax-фильтры каталога | 55 | // ajax-фильтры каталога |
52 | Route::get('catalog_ajax_filter', [MainController::class, 'catalog_ajax_filter'])->name('catalog_ajax_filter'); | 56 | Route::get('catalog_ajax_filter', [MainController::class, 'catalog_ajax_filter'])->name('catalog_ajax_filter'); |
53 | 57 | ||
54 | //Категория | 58 | //Категория |
55 | Route::get('category/{cat}', [MainController::class, 'Category'])->name('category'); | 59 | Route::get('category/{cat}', [MainController::class, 'Category'])->name('category'); |
60 | |||
61 | |||
62 | Route::group([ | ||
63 | 'as' => 'auth.', // имя маршрута, например auth.index | ||
64 | 'prefix' => 'auth', // префикс маршрута, например auth/index | ||
65 | ], function () { | ||
66 | // Форма регистрации | ||
67 | Route::get('register', [RegisterController::class, 'register'])->name('register'); | ||
68 | |||
69 | // Создание пользователя | ||
70 | Route::post('register', [RegisterController::class, 'create'])->name('create'); | ||
71 | //Форма входа | ||
72 | Route::get('login', [LoginController::class, 'login'])->name('login'); | ||
73 | |||
74 | // аутентификация | ||
75 | Route::post('login', [LoginController::class, 'autenticate'])->name('auth'); | ||
76 | |||
77 | // выход | ||
78 | Route::get('logout', [LoginController::class, 'logout'])->name('logout'); | ||
79 | }); | ||
80 | |||
81 | /* | ||
82 | * Личный кабинет пользователя | ||
83 | */ | ||
84 | Route::group([ | ||
85 | 'as' => 'user.', // имя маршрута, например user.index | ||
86 | 'prefix' => 'user', // префикс маршрута, например user/index | ||
87 | //'namespace' => 'User', // пространство имен контроллеров | ||
88 | 'middleware' => ['auth'] // один или несколько посредников | ||
89 | ], function () { | ||
90 | // главная страница | ||
91 | Route::get('index', [AdminController::class, 'index'])->name('index'); | ||
92 | }); | ||
56 | 93 |