Commit 4ab406cc8c470f02d8dc1fc414655aa223982e65
1 parent
05d007af96
Exists in
master
Ссылки на соцсети
Showing 3 changed files with 23 additions and 11 deletions Side-by-side Diff
resources/views/admin/area/index.blade.php
... | ... | @@ -34,7 +34,10 @@ |
34 | 34 | @if ($areas->count()) |
35 | 35 | @foreach($areas as $area) |
36 | 36 | <tr> |
37 | - <td><? if (empty($area->foto_main)) {?>Нет фото<?} else {?><img src="/storage/app/public/<?=$area->foto_main; //=asset(Storage::url($area->foto_main))?>" width="100px"/><?}?></td> | |
37 | + <td><? if (empty($area->foto_main)) {?>Нет фото<?} else {?> | |
38 | + <img src="/storage/app/public/<?=$area->foto_main; //=asset(Storage::url($area->foto_main))?>" width="100px"/> | |
39 | + <!--<img src="<?//=asset(Storage::url($area->foto_main))?>" width="100px"/>--> | |
40 | + <?}?></td> | |
38 | 41 | <td>{{ $area->id }}</td> |
39 | 42 | <td>{{ $area->name_area }}</td> |
40 | 43 | <td>{{ $area->coord_x }}</td> |
resources/views/index.blade.php
... | ... | @@ -305,7 +305,9 @@ |
305 | 305 | <div class="swiper-slide"> |
306 | 306 | <div class="partners__inner"> |
307 | 307 | @foreach ($partners as $partner) |
308 | - <div class="partners-item"><img src="{{ asset(Storage::url($partner->foto))}}" alt="{{ $partner->name }}" loading="lazy"></div> | |
308 | + <div class="partners-item"> | |
309 | + <img src="/storage/app/public/{{$partner->foto}}" alt="{{ $partner->name }}" loading="lazy"> | |
310 | + </div> | |
309 | 311 | @endforeach |
310 | 312 | |
311 | 313 | </div> |
resources/views/layout/site.blade.php
... | ... | @@ -159,9 +159,9 @@ |
159 | 159 | <h3 class="footer__caption js_footer_caption">Услуги</h3> |
160 | 160 | <div class="footer__block js_footer_block"> |
161 | 161 | <ul class="footer__list"> |
162 | - <li class="footer__item"><a class="footer__link" href="#">Продажа арендного бизнеса</a></li> | |
163 | - <li class="footer__item"><a class="footer__link" href="#">Арендованные помещения</a></li> | |
164 | - <li class="footer__item"><a class="footer__link" href="#">Свободные для аренды</a></li> | |
162 | + <li class="footer__item"><a class="footer__link" href="{{ route('category', ['cat'=>'bussiness']) }}">Продажа арендного бизнеса</a></li> | |
163 | + <li class="footer__item"><a class="footer__link" href="{{ route('category', ['cat'=>'arendovannie']) }}">Арендованные помещения</a></li> | |
164 | + <li class="footer__item"><a class="footer__link" href="{{ route('category', ['cat'=>'arenda']) }}">Свободные для аренды</a></li> | |
165 | 165 | </ul> |
166 | 166 | </div> |
167 | 167 | </div> |
... | ... | @@ -323,19 +323,26 @@ |
323 | 323 | <a class="contact-us-item js_contact_us_close" > |
324 | 324 | <div class="contact-us-item__icon"> |
325 | 325 | <svg width="34" height="34"> |
326 | - <use xlink:href="{{ asset('images/sprite.svg#contact-us-chat')}}"></use> | |
326 | + <use xlink:href="<?=asset('images/sprite.svg#contact-us-chat')?>"></use> | |
327 | 327 | </svg> |
328 | 328 | </div> |
329 | - <div class="contact-us-item__name">Онлайн-чат</div></a></div> | |
330 | - <div class="contact-us__socials"><a class="contact-us-social js_contact_us_close" href="#" target="_blank"> | |
331 | - <div class="contact-us-social__icon contact-us-social__icon-tg"><img src="{{ asset('images/contact-us-tg.svg')}}" alt=""></div> | |
332 | - <div class="contact-us-social__name">Telegram</div></a><a class="contact-us-social js_contact_us_close" href="#" target="_blank"> | |
329 | + <div class="contact-us-item__name">Онлайн-чат</div></a> | |
330 | + </div> | |
331 | + | |
332 | + <div class="contact-us__socials"> | |
333 | + <a class="contact-us-social js_contact_us_close" href="<?=$items_contact[0]->telegram?>" target="_blank"> | |
334 | + <div class="contact-us-social__icon contact-us-social__icon-tg"> | |
335 | + <img src="{{ asset('images/contact-us-tg.svg')}}" alt=""></div> | |
336 | + <div class="contact-us-social__name">Telegram</div></a> | |
337 | + | |
338 | + <a class="contact-us-social js_contact_us_close" href="<?=$items_contact[0]->whatapp?>" target="_blank"> | |
333 | 339 | <div class="contact-us-social__icon contact-us-social__icon-wa"> |
334 | 340 | <svg width="31" height="31"> |
335 | 341 | <use xlink:href="{{ asset('images/sprite.svg#contact-us-wa')}}"></use> |
336 | 342 | </svg> |
337 | 343 | </div> |
338 | - <div class="contact-us-social__name">WhatsApp</div></a></div> | |
344 | + <div class="contact-us-social__name">WhatsApp</div></a> | |
345 | + </div> | |
339 | 346 | </div> |
340 | 347 | </div> |
341 | 348 |