Commit d2e0d4fcb2a764dec8c90a24ac303007141f017a
1 parent
242debab88
Exists in
master
Добавление миграции партнеры, создание новостей на главной странице, создание де…
…тальной страницы новости
Showing 14 changed files with 412 additions and 38 deletions Inline Diff
- app/Classes/RusDate.php
- app/Http/Controllers/MainController.php
- app/Models/Partners.php
- database/migrations/2023_03_03_062929_create_partners_table.php
- database/seeders/DatabaseSeeder.php
- database/seeders/PartnersTableSeeder.php
- resources/views/catalogs/elemhouse.blade.php
- resources/views/catalogs/new.blade.php
- resources/views/cookies.blade.php
- resources/views/house/post.blade.php
- resources/views/index.blade.php
- resources/views/layout/site.blade.php
- resources/views/new/post.blade.php
- routes/web.php
app/Classes/RusDate.php
File was created | 1 | <?php | |
2 | |||
3 | |||
4 | namespace App\Classes; | ||
5 | |||
6 | |||
7 | class RusDate | ||
8 | { | ||
9 | public static function russian_date($date = null){ | ||
10 | $date=explode(".", date("d.m.Y")); | ||
11 | $m = ""; | ||
12 | |||
13 | switch ($date[1]){ | ||
14 | case 1: $m = 'января'; break; | ||
15 | case 2: $m = 'февраля'; break; | ||
16 | case 3: $m = 'марта'; break; | ||
17 | case 4: $m = 'апреля'; break; | ||
18 | case 5: $m = 'мая'; break; | ||
19 | case 6: $m = 'июня'; break; | ||
20 | case 7: $m = 'июля'; break; | ||
21 | case 8: $m = 'августа'; break; | ||
22 | case 9: $m = 'сентября'; break; | ||
23 | case 10: $m = 'октября'; break; | ||
24 | case 11: $m = 'ноября'; break; | ||
25 | case 12: $m = 'декабря'; break; | ||
26 | } | ||
27 | return $date[0].' '.$m.' '.$date[2]; | ||
28 | } | ||
29 | |||
30 | public static function russian_month($month) { | ||
31 | switch ($month){ | ||
32 | case 1: $m = 'января'; break; | ||
33 | case 2: $m = 'февраля'; break; | ||
34 | case 3: $m = 'марта'; break; | ||
35 | case 4: $m = 'апреля'; break; | ||
36 | case 5: $m = 'мая'; break; | ||
37 | case 6: $m = 'июня'; break; | ||
38 | case 7: $m = 'июля'; break; | ||
39 | case 8: $m = 'августа'; break; | ||
40 | case 9: $m = 'сентября'; break; | ||
41 | case 10: $m = 'октября'; break; | ||
42 | case 11: $m = 'ноября'; break; | ||
43 | case 12: $m = 'декабря'; break; | ||
44 | } | ||
45 | return $m; | ||
46 | } | ||
47 | } | ||
48 |
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\House; | 5 | use App\Models\House; |
6 | use App\Models\News; | 6 | use App\Models\News; |
7 | use App\Models\Partners; | ||
7 | use Illuminate\Http\Request; | 8 | use Illuminate\Http\Request; |
9 | use App\Classes\RusDate; | ||
8 | 10 | ||
9 | class MainController extends Controller | 11 | class MainController extends Controller |
10 | { | 12 | { |
11 | /* | 13 | /* |
12 | * Главная страница проекта | 14 | * Главная страница проекта |
13 | */ | 15 | */ |
14 | public function index() { | 16 | public function index() { |
15 | $houses = House::with('areas')->orderBy('created_at')->limit(8)->get(); | 17 | $houses = House::with('areas')->orderByDesc('created_at')->limit(8)->get(); |
16 | $news = News::query()->orderByDesc('created_at')->limit(8); | 18 | $news = News::query()->orderByDesc('created_at')->limit(8)->get(); |
17 | return view('index', compact('houses', 'news')); | 19 | $partners = Partners::query()->limit(18)->get(); |
20 | return view('index', compact('houses', 'news', 'partners')); | ||
18 | } | 21 | } |
19 | 22 | ||
20 | /* | 23 | /* |
21 | * О компании | 24 | * О компании |
22 | */ | 25 | */ |
23 | public function About() { | 26 | public function About() { |
24 | return view('about'); | 27 | return view('about'); |
25 | } | 28 | } |
26 | 29 | ||
27 | /* | 30 | /* |
28 | * Избранное | 31 | * Избранное |
29 | */ | 32 | */ |
30 | public function Favorite() { | 33 | public function Favorite() { |
31 | return view('favorite'); | 34 | return view('favorite'); |
32 | } | 35 | } |
33 | 36 | ||
34 | /* | 37 | /* |
35 | * Каталог | 38 | * Каталог |
36 | */ | 39 | */ |
37 | public function Catalog() { | 40 | public function Catalog() { |
38 | return view('catalog'); | 41 | return view('catalog'); |
39 | } | 42 | } |
40 | 43 | ||
41 | /* | 44 | /* |
42 | * Новости | 45 | * Новости |
43 | */ | 46 | */ |
44 | public function News() { | 47 | public function News() { |
45 | return view('news'); | 48 | return view('news'); |
46 | } | 49 | } |
47 | 50 | ||
48 | /* | 51 | /* |
49 | * Контакты | 52 | * Контакты |
50 | */ | 53 | */ |
51 | public function Contact() { | 54 | public function Contact() { |
52 | return view('contact'); | 55 | return view('contact'); |
53 | } | 56 | } |
54 | 57 | ||
55 | /* | 58 | /* |
56 | * Карта объектов | 59 | * Карта объектов |
57 | */ | 60 | */ |
58 | public function MapsObj() { | 61 | public function MapsObj() { |
59 | return view('mapsobj'); | 62 | return view('mapsobj'); |
60 | } | 63 | } |
64 | |||
65 | /* | ||
66 | * Посмотр конктретного предложение офиса | ||
67 | */ | ||
68 | public function Offer(House $house) { | ||
69 | return view('house.post', compact('house')); | ||
70 | } | ||
71 | |||
72 | /* | ||
73 | * Просмотр детально конкретной новости | ||
74 | */ | ||
75 | public function DetailNew(News $news) { | ||
76 | $news_list = News::query()->orderByDesc('created_at')->limit(8)->get(); | ||
77 | return view('new.post', compact('news', 'news_list')); | ||
78 | } | ||
61 | } | 79 | } |
62 | 80 |
app/Models/Partners.php
File was created | 1 | <?php | |
2 | |||
3 | namespace App\Models; | ||
4 | |||
5 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
6 | use Illuminate\Database\Eloquent\Model; | ||
7 | |||
8 | class Partners extends Model | ||
9 | { | ||
10 | use HasFactory; | ||
11 | } | ||
12 |
database/migrations/2023_03_03_062929_create_partners_table.php
File was created | 1 | <?php | |
2 | |||
3 | use Illuminate\Database\Migrations\Migration; | ||
4 | use Illuminate\Database\Schema\Blueprint; | ||
5 | use Illuminate\Support\Facades\Schema; | ||
6 | |||
7 | return new class extends Migration | ||
8 | { | ||
9 | /** | ||
10 | * Run the migrations. | ||
11 | * | ||
12 | * @return void | ||
13 | */ | ||
14 | public function up() | ||
15 | { | ||
16 | Schema::create('partners', function (Blueprint $table) { | ||
17 | $table->id(); | ||
18 | $table->string('name', 255); | ||
19 | $table->string('foto', 255)->nullable(); | ||
20 | $table->timestamps(); | ||
21 | }); | ||
22 | } | ||
23 | |||
24 | /** | ||
25 | * Reverse the migrations. | ||
26 | * | ||
27 | * @return void | ||
28 | */ | ||
29 | public function down() | ||
30 | { | ||
31 | Schema::dropIfExists('partners'); | ||
32 | } | ||
33 | }; | ||
34 |
database/seeders/DatabaseSeeder.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace Database\Seeders; | 3 | namespace Database\Seeders; |
4 | 4 | ||
5 | // use Illuminate\Database\Console\Seeds\WithoutModelEvents; | 5 | // use Illuminate\Database\Console\Seeds\WithoutModelEvents; |
6 | use Illuminate\Database\Seeder; | 6 | use Illuminate\Database\Seeder; |
7 | 7 | ||
8 | class DatabaseSeeder extends Seeder | 8 | class DatabaseSeeder extends Seeder |
9 | { | 9 | { |
10 | /** | 10 | /** |
11 | * Seed the application's database. | 11 | * Seed the application's database. |
12 | * | 12 | * |
13 | * @return void | 13 | * @return void |
14 | */ | 14 | */ |
15 | public function run() | 15 | public function run() |
16 | { | 16 | { |
17 | // \App\Models\User::factory(10)->create(); | 17 | // \App\Models\User::factory(10)->create(); |
18 | 18 | ||
19 | // \App\Models\User::factory()->create([ | 19 | // \App\Models\User::factory()->create([ |
20 | // 'name' => 'Test User', | 20 | // 'name' => 'Test User', |
21 | // 'email' => 'test@example.com', | 21 | // 'email' => 'test@example.com', |
22 | // ]); | 22 | // ]); |
23 | 23 | ||
24 | $this->call(AreasTableSeeder::class); | 24 | $this->call(AreasTableSeeder::class); |
25 | $this->command->info('Таблица объекты недвижимости загружена!!'); | 25 | $this->command->info('Таблица объекты недвижимости загружена!!'); |
26 | 26 | ||
27 | $this->call(Type_areaTableSeeder::class); | 27 | $this->call(Type_areaTableSeeder::class); |
28 | $this->command->info('Таблица тип недвижимости загружена!!'); | 28 | $this->command->info('Таблица тип недвижимости загружена!!'); |
29 | 29 | ||
30 | $this->call(Format_areaTableSeeder::class); | 30 | $this->call(Format_areaTableSeeder::class); |
31 | $this->command->info('Таблица форматы недвижимости загружена!!'); | 31 | $this->command->info('Таблица форматы недвижимости загружена!!'); |
32 | 32 | ||
33 | $this->call(NewsTableSeeder::class); | 33 | $this->call(NewsTableSeeder::class); |
34 | $this->command->info('Таблица новости загружена!!'); | 34 | $this->command->info('Таблица новости загружена!!'); |
35 | 35 | ||
36 | $this->call(HousesTableSeeder::class); | 36 | $this->call(HousesTableSeeder::class); |
37 | $this->command->info('Таблица офисы недвижимости загружена!!'); | 37 | $this->command->info('Таблица офисы недвижимости загружена!!'); |
38 | 38 | ||
39 | $this->call(ContactsTableSeeder::class); | 39 | $this->call(ContactsTableSeeder::class); |
40 | $this->command->info('Таблица контакты загружена!!'); | 40 | $this->command->info('Таблица контакты загружена!!'); |
41 | 41 | ||
42 | $this->call(PartnersTableSeeder::class); | ||
43 | $this->command->info('Таблица партнеры загружена!!'); | ||
44 | |||
42 | } | 45 | } |
43 | } | 46 | } |
44 | 47 |
database/seeders/PartnersTableSeeder.php
File was created | 1 | <?php | |
2 | |||
3 | namespace Database\Seeders; | ||
4 | |||
5 | use App\Models\Partners; | ||
6 | use Illuminate\Database\Console\Seeds\WithoutModelEvents; | ||
7 | use Illuminate\Database\Eloquent\Model; | ||
8 | use Illuminate\Database\Seeder; | ||
9 | |||
10 | class PartnersTableSeeder extends Seeder | ||
11 | { | ||
12 | /** | ||
13 | * Run the database seeds. | ||
14 | * | ||
15 | * @return void | ||
16 | */ | ||
17 | public function run() | ||
18 | { | ||
19 | $data = [ | ||
20 | /*1 */[ | ||
21 | 'name' => 'Сбербанк', | ||
22 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
23 | ], | ||
24 | /*2*/[ | ||
25 | 'name' => 'Росбанк2', | ||
26 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
27 | ], | ||
28 | /*3*/[ | ||
29 | 'name' => 'Ренесансбанк3', | ||
30 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
31 | ], | ||
32 | /*4*/[ | ||
33 | 'name' => 'Тиньковбанк4', | ||
34 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
35 | ], | ||
36 | /*5*/[ | ||
37 | 'name' => 'Летобанк5', | ||
38 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
39 | ], | ||
40 | /*6*/[ | ||
41 | 'name' => 'Хоумкредитбанк6', | ||
42 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
43 | ], | ||
44 | /*7*/[ | ||
45 | 'name' => 'Сбербанк7', | ||
46 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
47 | ], | ||
48 | /*8*/[ | ||
49 | 'name' => 'Сбербанк8', | ||
50 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
51 | ], | ||
52 | /*9*/[ | ||
53 | 'name' => 'Сбербанк9', | ||
54 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
55 | ], | ||
56 | /*10*/[ | ||
57 | 'name' => 'Сбербанк10', | ||
58 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
59 | ], | ||
60 | /*11*/[ | ||
61 | 'name' => 'Сбербанк11', | ||
62 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
63 | ], | ||
64 | /*12*/[ | ||
65 | 'name' => 'Сбербанк12', | ||
66 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
67 | ], | ||
68 | /*13*/[ | ||
69 | 'name' => 'Сбербанк13', | ||
70 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
71 | ], | ||
72 | /*14*/[ | ||
73 | 'name' => 'Сбербанк14', | ||
74 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
75 | ], | ||
76 | /*15*/[ | ||
77 | 'name' => 'Сбербанк15', | ||
78 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
79 | ], | ||
80 | /*16*/[ | ||
81 | 'name' => 'Сбербанк16', | ||
82 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
83 | ], | ||
84 | /*17*/[ | ||
85 | 'name' => 'Сбербанк17', | ||
86 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
87 | ], | ||
88 | /*18*/[ | ||
89 | 'name' => 'Сбербанк18', | ||
90 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
91 | ], | ||
92 | /*19*/[ | ||
93 | 'name' => 'Сбербанк19', | ||
94 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
95 | ], | ||
96 | /*20*/[ | ||
97 | 'name' => 'Сбербанк20', | ||
98 | 'foto' => 'images/partners/partners-item-img-3.png' | ||
99 | ], | ||
100 | ]; | ||
101 | |||
102 | foreach ($data as $item) { | ||
103 | $albom = new Partners(); | ||
104 | $albom->name = $item['name']; | ||
105 | $albom->foto = $item['foto']; | ||
106 | $albom->save(); | ||
107 | } | ||
108 | } | ||
109 | } | ||
110 |
resources/views/catalogs/elemhouse.blade.php
1 | <div class="swiper-slide"> | 1 | <div class="swiper-slide"> |
2 | <div class="card"> | 2 | <div class="card"> |
3 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> | 3 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> |
4 | <h3 class="card__title">{{$house->typearea->name_type }}</h3> | 4 | <h3 class="card__title">{{$house->typearea->name_type }}</h3> |
5 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 5 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
6 | <svg width="18" height="18"> | 6 | <svg width="18" height="18"> |
7 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 7 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
8 | </svg> | 8 | </svg> |
9 | <svg width="18" height="18"> | 9 | <svg width="18" height="18"> |
10 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 10 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
11 | </svg></span><a class="card__label card__label-messenger" href="#"> | 11 | </svg></span><a class="card__label card__label-messenger" href="#"> |
12 | <svg width="25" height="25"> | 12 | <svg width="25" height="25"> |
13 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 13 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
14 | </svg></a></div> | 14 | </svg></a></div> |
15 | </div> | 15 | </div> |
16 | <div class="card__cnt"> | 16 | <div class="card__cnt"> |
17 | <div class="card__info"> | 17 | <div class="card__info"> |
18 | <address class="card__line card__line-complex">{{ $house->areas->name_area }}</address> | 18 | <address class="card__line card__line-complex">{{ $house->areas->name_area }}</address> |
19 | <address class="card__line">{{$house->metro}} ({{$house->description_metro }})<span style="background-color: #FFC955;"></span></address> | 19 | <address class="card__line">{{$house->metro}} ({{$house->description_metro }})<span style="background-color: #FFC955;"></span></address> |
20 | <address class="card__line">{{$house->address }}</address> | 20 | <address class="card__line">{{$house->address }}</address> |
21 | <div class="card__line">Площадь: <b>{{$house->area}} м2</b></div> | 21 | <div class="card__line">Площадь: <b>{{$house->area}} м2</b></div> |
22 | <div class="card__line">Цена за м<sup>2</sup>: <b>{{ $house->price_m2 }}₽</b></div> | 22 | <div class="card__line">Цена за м<sup>2</sup>: <b>{{ $house->price_m2 }}₽</b></div> |
23 | </div> | 23 | </div> |
24 | <? switch ($house->format_house) { | 24 | <? switch ($house->format_house) { |
25 | case 'Аренда': | 25 | case 'Аренда': |
26 | $price = $house->rent_in_month; | 26 | $price = $house->rent_in_month; |
27 | $comment = "<span>в месяц</span>"; | 27 | $comment = "<span>в месяц</span>"; |
28 | break; | 28 | break; |
29 | case 'Продажа': | 29 | case 'Продажа': |
30 | $price = $house->price; | 30 | $price = $house->price; |
31 | $comment = ""; | 31 | $comment = ""; |
32 | break; | 32 | break; |
33 | } | 33 | } |
34 | ?> | 34 | ?> |
35 | <div class="card__price"><span>{{ $price }} ₽ </span><? echo $comment; ?> | 35 | <div class="card__price"><span>{{ $price }} ₽ </span><? echo $comment; ?> |
36 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> | 36 | </div><a class="card__btn btn btn--bordered" href="{{ route('offer', ['house' => $house->id]) }}">Подробнее</a> |
37 | </div> | 37 | </div> |
38 | </div> | 38 | </div> |
39 | </div> | 39 | </div> |
40 | 40 |
resources/views/catalogs/new.blade.php
File was created | 1 | <div class="swiper-slide"> | |
2 | <div class="card-news"> | ||
3 | <div class="card-news__top"><img src="{{ asset($new->foto) }}" alt="{{ $new->title }}" loading="lazy"> | ||
4 | <div class="card-news__date"><span>{{ $new->created_at->format('d') }}</span><span>{{ \App\Classes\RusDate::russian_month($new->created_at->format('m')) }} {{$new->created_at->format('Y')}}</span></div> | ||
5 | </div> | ||
6 | <div class="card-news__cnt"> | ||
7 | <p class="card-news__descr">{{ $new->title }}</p><a class="card-news__link" href="{{ route('new', ['news' => $new->id]) }}">Подробнее | ||
8 | <svg width="17" height="12"> | ||
9 | <use xlink:href="{{ asset('images/sprite.svg#card-news-link-arrow') }}"></use> | ||
10 | </svg></a> | ||
11 | </div> | ||
12 | </div> | ||
13 | </div> | ||
14 |
resources/views/cookies.blade.php
File was created | 1 | @extends('layout.site', ['title' => 'Избранное RentTorg']) | |
2 | |||
3 | @section('content') | ||
4 | <section class="favorites"> | ||
5 | <div class="favorites-top"> | ||
6 | <div class="container"> | ||
7 | <div class="breadcrumbs"> | ||
8 | <ul class="breadcrumbs__list"> | ||
9 | <li class="breadcrumbs__item"><a class="breadcrumbs__link" href="#">Главная</a></li> | ||
10 | <li class="breadcrumbs__item"><span class="breadcrumbs__link">Избранное </span></li> | ||
11 | </ul> | ||
12 | </div> | ||
13 | <h1 class="favorites__title title-main">Тут пока что ничего нет...</h1><a class="favorites-top__link" href="#">Выберите идеальную недвижимость </a> | ||
14 | <p class="favorites__descr">Здесь вы можете ознакомиться с недвижимостью которая вам понравилось</p> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="favorites-cnt"> | ||
18 | <div class="container"> | ||
19 | <div class="favorites__items"> | ||
20 | <div class="favorites-item"> | ||
21 | <div class="favorites-item__img"><img src="images/favorites/favorites-item-img-1.svg" alt=""></div> | ||
22 | <p class="favorites-item__descr"><a href="#">Найдите</a> идеальную планировку на сайте Renttorg</p> | ||
23 | </div> | ||
24 | <div class="favorites-item"> | ||
25 | <div class="favorites-item__img"><img src="images/favorites/favorites-item-img-2.svg" alt=""></div> | ||
26 | <p class="favorites-item__descr">Нажмите на <img src="images/favorites-icon-mini.svg" alt=""> для добавления недвижемости в избранное</p> | ||
27 | </div> | ||
28 | <div class="favorites-item"> | ||
29 | <div class="favorites-item__img"><img src="images/favorites/favorites-item-img-3.svg" alt=""></div> | ||
30 | <p class="favorites-item__descr">Перейдите в избранное или сравнение для выбора планировки</p> | ||
31 | </div> | ||
32 | </div> | ||
33 | </div> | ||
34 | </div> | ||
35 | </section> | ||
36 | @endsection | ||
37 | |||
38 | @section('form_feedback') | ||
39 | <!-- Форма обратной связи --> | ||
40 | @include('form.form_feedback') | ||
41 | @endsection | ||
42 | |||
43 |
resources/views/house/post.blade.php
File was created | 1 | <?php | |
2 |
resources/views/index.blade.php
1 | @extends('layout.site', ['title' => 'Главная страница RentTorg']) | 1 | @extends('layout.site', ['title' => 'Главная страница RentTorg']) |
2 | 2 | ||
3 | @section('filter') | 3 | @section('filter') |
4 | @include('part.filter.main') | 4 | @include('part.filter.main') |
5 | @endsection | 5 | @endsection |
6 | 6 | ||
7 | @section('content') | 7 | @section('content') |
8 | 8 | ||
9 | <!-- Каталог --> | 9 | <!-- Каталог --> |
10 | <section class="slider" id="slider"> | 10 | <section class="slider" id="slider"> |
11 | <div class="container"> | 11 | <div class="container"> |
12 | <div class="slider__wrap"> | 12 | <div class="slider__wrap"> |
13 | <div class="slider__top"> | 13 | <div class="slider__top"> |
14 | <h2 class="slider__title title">Лучшие предложения</h2> | 14 | <h2 class="slider__title title">Лучшие предложения</h2> |
15 | <div class="slider__control"> | 15 | <div class="slider__control"> |
16 | <div class="swiper-button-prev"> | 16 | <div class="swiper-button-prev"> |
17 | <svg width="10" height="17"> | 17 | <svg width="10" height="17"> |
18 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 18 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
19 | </svg> | 19 | </svg> |
20 | </div> | 20 | </div> |
21 | <div class="swiper-button-next"> | 21 | <div class="swiper-button-next"> |
22 | <svg width="10" height="17"> | 22 | <svg width="10" height="17"> |
23 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 23 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
24 | </svg> | 24 | </svg> |
25 | </div> | 25 | </div> |
26 | </div> | 26 | </div> |
27 | </div> | 27 | </div> |
28 | <div class="slider__swiper swiper"> | 28 | <div class="slider__swiper swiper"> |
29 | <div class="swiper-wrapper"> | 29 | <div class="swiper-wrapper"> |
30 | <? echo $houses->count()?> | 30 | <? echo $houses->count()?> |
31 | @if ($houses->count()) | 31 | @if ($houses->count()) |
32 | @foreach ($houses as $house) | 32 | @foreach ($houses as $house) |
33 | @include('catalogs.elemhouse', ['house' => $house]) | 33 | @include('catalogs.elemhouse', ['house' => $house]) |
34 | @endforeach | 34 | @endforeach |
35 | @endif | 35 | @endif |
36 | <!--<div class="swiper-slide"> | 36 | <!--<div class="swiper-slide"> |
37 | <div class="card"> | 37 | <div class="card"> |
38 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> | 38 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> |
39 | <h3 class="card__title">Салон красоты</h3> | 39 | <h3 class="card__title">Салон красоты</h3> |
40 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 40 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
41 | <svg width="18" height="18"> | 41 | <svg width="18" height="18"> |
42 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 42 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
43 | </svg> | 43 | </svg> |
44 | <svg width="18" height="18"> | 44 | <svg width="18" height="18"> |
45 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 45 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
46 | </svg></span><a class="card__label card__label-messenger" href="#"> | 46 | </svg></span><a class="card__label card__label-messenger" href="#"> |
47 | <svg width="25" height="25"> | 47 | <svg width="25" height="25"> |
48 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 48 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
49 | </svg></a></div> | 49 | </svg></a></div> |
50 | </div> | 50 | </div> |
51 | <div class="card__cnt"> | 51 | <div class="card__cnt"> |
52 | <div class="card__info"> | 52 | <div class="card__info"> |
53 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> | 53 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> |
54 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> | 54 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> |
55 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 55 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
56 | <div class="card__line">Площадь: <b>556 м2</b></div> | 56 | <div class="card__line">Площадь: <b>556 м2</b></div> |
57 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 57 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
58 | </div> | 58 | </div> |
59 | <div class="card__price"><span>1 000 000 ₽</span> | 59 | <div class="card__price"><span>1 000 000 ₽</span> |
60 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> | 60 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> |
61 | </div> | 61 | </div> |
62 | </div> | 62 | </div> |
63 | </div> | 63 | </div> |
64 | <div class="swiper-slide"> | 64 | <div class="swiper-slide"> |
65 | <div class="card"> | 65 | <div class="card"> |
66 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> | 66 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> |
67 | <h3 class="card__title">Барбер-шоп</h3> | 67 | <h3 class="card__title">Барбер-шоп</h3> |
68 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 68 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
69 | <svg width="18" height="18"> | 69 | <svg width="18" height="18"> |
70 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 70 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
71 | </svg> | 71 | </svg> |
72 | <svg width="18" height="18"> | 72 | <svg width="18" height="18"> |
73 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 73 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
74 | </svg></span><a class="card__label card__label-messenger" href="#"> | 74 | </svg></span><a class="card__label card__label-messenger" href="#"> |
75 | <svg width="25" height="25"> | 75 | <svg width="25" height="25"> |
76 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 76 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
77 | </svg></a></div> | 77 | </svg></a></div> |
78 | </div> | 78 | </div> |
79 | <div class="card__cnt"> | 79 | <div class="card__cnt"> |
80 | <div class="card__info"> | 80 | <div class="card__info"> |
81 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> | 81 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> |
82 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> | 82 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> |
83 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 83 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
84 | <div class="card__line">Площадь: <b>6 556 м2</b></div> | 84 | <div class="card__line">Площадь: <b>6 556 м2</b></div> |
85 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> | 85 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> |
86 | </div> | 86 | </div> |
87 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> | 87 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> |
88 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 88 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div class="swiper-slide"> | 92 | <div class="swiper-slide"> |
93 | <div class="card"> | 93 | <div class="card"> |
94 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> | 94 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> |
95 | <h3 class="card__title">Аптека</h3> | 95 | <h3 class="card__title">Аптека</h3> |
96 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 96 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
97 | <svg width="18" height="18"> | 97 | <svg width="18" height="18"> |
98 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 98 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
99 | </svg> | 99 | </svg> |
100 | <svg width="18" height="18"> | 100 | <svg width="18" height="18"> |
101 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 101 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
102 | </svg></span><a class="card__label card__label-messenger" href="#"> | 102 | </svg></span><a class="card__label card__label-messenger" href="#"> |
103 | <svg width="25" height="25"> | 103 | <svg width="25" height="25"> |
104 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 104 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
105 | </svg></a></div> | 105 | </svg></a></div> |
106 | </div> | 106 | </div> |
107 | <div class="card__cnt"> | 107 | <div class="card__cnt"> |
108 | <div class="card__info"> | 108 | <div class="card__info"> |
109 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> | 109 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> |
110 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> | 110 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> |
111 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 111 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
112 | <div class="card__line">Площадь: <b>8 626 м2</b></div> | 112 | <div class="card__line">Площадь: <b>8 626 м2</b></div> |
113 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 113 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
114 | </div> | 114 | </div> |
115 | <div class="card__price"><span>5 280 000 ₽</span> | 115 | <div class="card__price"><span>5 280 000 ₽</span> |
116 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> | 116 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> |
117 | </div> | 117 | </div> |
118 | </div> | 118 | </div> |
119 | </div> | 119 | </div> |
120 | <div class="swiper-slide"> | 120 | <div class="swiper-slide"> |
121 | <div class="card"> | 121 | <div class="card"> |
122 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> | 122 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> |
123 | <h3 class="card__title">Витрина</h3> | 123 | <h3 class="card__title">Витрина</h3> |
124 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 124 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
125 | <svg width="18" height="18"> | 125 | <svg width="18" height="18"> |
126 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 126 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
127 | </svg> | 127 | </svg> |
128 | <svg width="18" height="18"> | 128 | <svg width="18" height="18"> |
129 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 129 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
130 | </svg></span><a class="card__label card__label-messenger" href="#"> | 130 | </svg></span><a class="card__label card__label-messenger" href="#"> |
131 | <svg width="25" height="25"> | 131 | <svg width="25" height="25"> |
132 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 132 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
133 | </svg></a></div> | 133 | </svg></a></div> |
134 | </div> | 134 | </div> |
135 | <div class="card__cnt"> | 135 | <div class="card__cnt"> |
136 | <div class="card__info"> | 136 | <div class="card__info"> |
137 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> | 137 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> |
138 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> | 138 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> |
139 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 139 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
140 | <div class="card__line">Площадь: <b>6 856 м2</b></div> | 140 | <div class="card__line">Площадь: <b>6 856 м2</b></div> |
141 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> | 141 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> |
142 | </div> | 142 | </div> |
143 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> | 143 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> |
144 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 144 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
145 | </div> | 145 | </div> |
146 | </div> | 146 | </div> |
147 | </div> | 147 | </div> |
148 | <div class="swiper-slide"> | 148 | <div class="swiper-slide"> |
149 | <div class="card"> | 149 | <div class="card"> |
150 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> | 150 | <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> |
151 | <h3 class="card__title">Салон красоты</h3> | 151 | <h3 class="card__title">Салон красоты</h3> |
152 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 152 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
153 | <svg width="18" height="18"> | 153 | <svg width="18" height="18"> |
154 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 154 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
155 | </svg> | 155 | </svg> |
156 | <svg width="18" height="18"> | 156 | <svg width="18" height="18"> |
157 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 157 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
158 | </svg></span><a class="card__label card__label-messenger" href="#"> | 158 | </svg></span><a class="card__label card__label-messenger" href="#"> |
159 | <svg width="25" height="25"> | 159 | <svg width="25" height="25"> |
160 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 160 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
161 | </svg></a></div> | 161 | </svg></a></div> |
162 | </div> | 162 | </div> |
163 | <div class="card__cnt"> | 163 | <div class="card__cnt"> |
164 | <div class="card__info"> | 164 | <div class="card__info"> |
165 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> | 165 | <address class="card__line card__line-complex">ЖК “Новинки 1”</address> |
166 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> | 166 | <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> |
167 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 167 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
168 | <div class="card__line">Площадь: <b>556 м2</b></div> | 168 | <div class="card__line">Площадь: <b>556 м2</b></div> |
169 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 169 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
170 | </div> | 170 | </div> |
171 | <div class="card__price"><span>1 000 000 ₽</span> | 171 | <div class="card__price"><span>1 000 000 ₽</span> |
172 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> | 172 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> |
173 | </div> | 173 | </div> |
174 | </div> | 174 | </div> |
175 | </div> | 175 | </div> |
176 | <div class="swiper-slide"> | 176 | <div class="swiper-slide"> |
177 | <div class="card"> | 177 | <div class="card"> |
178 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> | 178 | <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> |
179 | <h3 class="card__title">Барбер-шоп</h3> | 179 | <h3 class="card__title">Барбер-шоп</h3> |
180 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 180 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
181 | <svg width="18" height="18"> | 181 | <svg width="18" height="18"> |
182 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 182 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
183 | </svg> | 183 | </svg> |
184 | <svg width="18" height="18"> | 184 | <svg width="18" height="18"> |
185 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 185 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
186 | </svg></span><a class="card__label card__label-messenger" href="#"> | 186 | </svg></span><a class="card__label card__label-messenger" href="#"> |
187 | <svg width="25" height="25"> | 187 | <svg width="25" height="25"> |
188 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 188 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
189 | </svg></a></div> | 189 | </svg></a></div> |
190 | </div> | 190 | </div> |
191 | <div class="card__cnt"> | 191 | <div class="card__cnt"> |
192 | <div class="card__info"> | 192 | <div class="card__info"> |
193 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> | 193 | <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> |
194 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> | 194 | <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> |
195 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 195 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
196 | <div class="card__line">Площадь: <b>6 556 м2</b></div> | 196 | <div class="card__line">Площадь: <b>6 556 м2</b></div> |
197 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> | 197 | <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> |
198 | </div> | 198 | </div> |
199 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> | 199 | <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> |
200 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 200 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
201 | </div> | 201 | </div> |
202 | </div> | 202 | </div> |
203 | </div> | 203 | </div> |
204 | <div class="swiper-slide"> | 204 | <div class="swiper-slide"> |
205 | <div class="card"> | 205 | <div class="card"> |
206 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> | 206 | <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> |
207 | <h3 class="card__title">Аптека</h3> | 207 | <h3 class="card__title">Аптека</h3> |
208 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 208 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
209 | <svg width="18" height="18"> | 209 | <svg width="18" height="18"> |
210 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 210 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
211 | </svg> | 211 | </svg> |
212 | <svg width="18" height="18"> | 212 | <svg width="18" height="18"> |
213 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 213 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
214 | </svg></span><a class="card__label card__label-messenger" href="#"> | 214 | </svg></span><a class="card__label card__label-messenger" href="#"> |
215 | <svg width="25" height="25"> | 215 | <svg width="25" height="25"> |
216 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 216 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
217 | </svg></a></div> | 217 | </svg></a></div> |
218 | </div> | 218 | </div> |
219 | <div class="card__cnt"> | 219 | <div class="card__cnt"> |
220 | <div class="card__info"> | 220 | <div class="card__info"> |
221 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> | 221 | <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> |
222 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> | 222 | <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> |
223 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> | 223 | <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> |
224 | <div class="card__line">Площадь: <b>8 626 м2</b></div> | 224 | <div class="card__line">Площадь: <b>8 626 м2</b></div> |
225 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> | 225 | <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> |
226 | </div> | 226 | </div> |
227 | <div class="card__price"><span>5 280 000 ₽</span> | 227 | <div class="card__price"><span>5 280 000 ₽</span> |
228 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> | 228 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> |
229 | </div> | 229 | </div> |
230 | </div> | 230 | </div> |
231 | </div> | 231 | </div> |
232 | <div class="swiper-slide"> | 232 | <div class="swiper-slide"> |
233 | <div class="card"> | 233 | <div class="card"> |
234 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> | 234 | <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> |
235 | <h3 class="card__title">Витрина</h3> | 235 | <h3 class="card__title">Витрина</h3> |
236 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> | 236 | <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> |
237 | <svg width="18" height="18"> | 237 | <svg width="18" height="18"> |
238 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> | 238 | <use xlink:href="images/sprite.svg#card-favorites-empty"></use> |
239 | </svg> | 239 | </svg> |
240 | <svg width="18" height="18"> | 240 | <svg width="18" height="18"> |
241 | <use xlink:href="images/sprite.svg#card-favorites"></use> | 241 | <use xlink:href="images/sprite.svg#card-favorites"></use> |
242 | </svg></span><a class="card__label card__label-messenger" href="#"> | 242 | </svg></span><a class="card__label card__label-messenger" href="#"> |
243 | <svg width="25" height="25"> | 243 | <svg width="25" height="25"> |
244 | <use xlink:href="images/sprite.svg#card-messenger"></use> | 244 | <use xlink:href="images/sprite.svg#card-messenger"></use> |
245 | </svg></a></div> | 245 | </svg></a></div> |
246 | </div> | 246 | </div> |
247 | <div class="card__cnt"> | 247 | <div class="card__cnt"> |
248 | <div class="card__info"> | 248 | <div class="card__info"> |
249 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> | 249 | <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> |
250 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> | 250 | <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> |
251 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> | 251 | <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> |
252 | <div class="card__line">Площадь: <b>6 856 м2</b></div> | 252 | <div class="card__line">Площадь: <b>6 856 м2</b></div> |
253 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> | 253 | <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> |
254 | </div> | 254 | </div> |
255 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> | 255 | <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> |
256 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> | 256 | </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> |
257 | </div> | 257 | </div> |
258 | </div> | 258 | </div> |
259 | </div>--> | 259 | </div>--> |
260 | </div> | 260 | </div> |
261 | </div> | 261 | </div> |
262 | <div class="swiper-pagination"></div> | 262 | <div class="swiper-pagination"></div> |
263 | </div> | 263 | </div> |
264 | </div> | 264 | </div> |
265 | </section> | 265 | </section> |
266 | <!-- Описание компании --> | 266 | <!-- Описание компании --> |
267 | <section class="benefits"> | 267 | <section class="benefits"> |
268 | <div class="container"> | 268 | <div class="container"> |
269 | <div class="benefits__wrap"> | 269 | <div class="benefits__wrap"> |
270 | <h2 class="benefits__title title">Преимущества Renttorg</h2> | 270 | <h2 class="benefits__title title">Преимущества Renttorg</h2> |
271 | <div class="benefits__items"> | 271 | <div class="benefits__items"> |
272 | <div class="benefits-item"> | 272 | <div class="benefits-item"> |
273 | <div class="benefits-item__top"> | 273 | <div class="benefits-item__top"> |
274 | <div class="benefits-item__img"><img src="images/benefits/benefits-item-img-1.svg" alt="Опыт"></div> | 274 | <div class="benefits-item__img"><img src="images/benefits/benefits-item-img-1.svg" alt="Опыт"></div> |
275 | <h3 class="benefits-item__title">{{ $items_contact[0]->title1 }}</h3> | 275 | <h3 class="benefits-item__title">{{ $items_contact[0]->title1 }}</h3> |
276 | </div> | 276 | </div> |
277 | <p class="benefits-item__descr">{{ $items_contact[0]->text1 }}</p> | 277 | <p class="benefits-item__descr">{{ $items_contact[0]->text1 }}</p> |
278 | </div> | 278 | </div> |
279 | <div class="benefits-item"> | 279 | <div class="benefits-item"> |
280 | <div class="benefits-item__top"> | 280 | <div class="benefits-item__top"> |
281 | <div class="benefits-item__img"><img src="images/benefits/benefits-item-img-2.svg" alt="Агенство"></div> | 281 | <div class="benefits-item__img"><img src="images/benefits/benefits-item-img-2.svg" alt="Агенство"></div> |
282 | <h3 class="benefits-item__title">{{ $items_contact[0]->title2 }}</h3> | 282 | <h3 class="benefits-item__title">{{ $items_contact[0]->title2 }}</h3> |
283 | </div> | 283 | </div> |
284 | <p class="benefits-item__descr">{{ $items_contact[0]->text2 }}</p> | 284 | <p class="benefits-item__descr">{{ $items_contact[0]->text2 }}</p> |
285 | </div> | 285 | </div> |
286 | <div class="benefits-item"> | 286 | <div class="benefits-item"> |
287 | <div class="benefits-item__top"> | 287 | <div class="benefits-item__top"> |
288 | <div class="benefits-item__img"><img src="images/benefits/benefits-item-img-3.svg" alt="Предложения"></div> | 288 | <div class="benefits-item__img"><img src="images/benefits/benefits-item-img-3.svg" alt="Предложения"></div> |
289 | <h3 class="benefits-item__title">{{ $items_contact[0]->title3 }}</h3> | 289 | <h3 class="benefits-item__title">{{ $items_contact[0]->title3 }}</h3> |
290 | </div> | 290 | </div> |
291 | <p class="benefits-item__descr">{{ $items_contact[0]->text3 }}</p> | 291 | <p class="benefits-item__descr">{{ $items_contact[0]->text3 }}</p> |
292 | </div> | 292 | </div> |
293 | </div> | 293 | </div> |
294 | </div> | 294 | </div> |
295 | </div> | 295 | </div> |
296 | </section> | 296 | </section> |
297 | <!-- Партнеры --> | 297 | <!-- Партнеры --> |
298 | <section class="partners"> | 298 | |
299 | @if ($partners->count()) | ||
300 | <section class="partners"> | ||
299 | <div class="container"> | 301 | <div class="container"> |
300 | <h2 class="partners__title title">Партнеры нашей компании</h2> | 302 | <h2 class="partners__title title">Партнеры нашей компании</h2> |
301 | <div class="partners__swiper swiper" data-mobile="false"> | 303 | <div class="partners__swiper swiper" data-mobile="false"> |
302 | <div class="swiper-wrapper"> | 304 | <div class="swiper-wrapper"> |
303 | <div class="swiper-slide"> | 305 | <div class="swiper-slide"> |
304 | <div class="partners__inner"> | 306 | <div class="partners__inner"> |
305 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | 307 | @foreach ($partners as $partner) |
306 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | 308 | <div class="partners-item"><img src="{{ $partner->foto }}" alt="{{ $partner->name }}" loading="lazy"></div> |
307 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | 309 | @endforeach |
308 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | 310 | |
309 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
310 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
311 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
312 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
313 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
314 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
315 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
316 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
317 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
318 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
319 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
320 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
321 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
322 | <div class="partners-item"><img src="images/partners/partners-item-img-3.png" alt="Лого партнера" loading="lazy"></div> | ||
323 | </div> | 311 | </div> |
324 | </div> | 312 | </div> |
325 | </div> | 313 | </div> |
326 | <div class="swiper-scrollbar"></div> | 314 | <div class="swiper-scrollbar"></div> |
327 | </div> | 315 | </div> |
328 | </div> | 316 | </div> |
329 | </section> | 317 | </section> |
318 | @endif | ||
330 | <!-- Новости --> | 319 | <!-- Новости --> |
320 | |||
331 | <section class="slider"> | 321 | <section class="slider"> |
332 | <div class="container"> | 322 | <div class="container"> |
333 | <div class="slider__wrap"> | 323 | <div class="slider__wrap"> |
334 | <div class="slider__top"> | 324 | <div class="slider__top"> |
335 | <h2 class="slider__title title">Новости</h2> | 325 | <h2 class="slider__title title">Новости</h2> |
336 | <div class="slider__control"> | 326 | <div class="slider__control"> |
337 | <div class="swiper-button-prev"> | 327 | <div class="swiper-button-prev"> |
338 | <svg width="10" height="17"> | 328 | <svg width="10" height="17"> |
339 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 329 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
340 | </svg> | 330 | </svg> |
341 | </div> | 331 | </div> |
342 | <div class="swiper-button-next"> | 332 | <div class="swiper-button-next"> |
343 | <svg width="10" height="17"> | 333 | <svg width="10" height="17"> |
344 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 334 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
345 | </svg> | 335 | </svg> |
346 | </div> | 336 | </div> |
347 | </div> | 337 | </div> |
348 | </div> | 338 | </div> |
349 | <div class="slider__swiper swiper"> | 339 | <div class="slider__swiper swiper"> |
350 | <div class="swiper-wrapper"> | 340 | <div class="swiper-wrapper"> |
351 | <div class="swiper-slide"> | 341 | @if ($news->count()) |
342 | @foreach($news as $new) | ||
343 | @include('catalogs.new', ['new' => $new]) | ||
344 | @endforeach | ||
345 | @else | ||
346 | <h3>Пока здесь нет новостей!</h3> | ||
347 | @endif | ||
348 | |||
349 | |||
350 | <!--<div class="swiper-slide"> | ||
352 | <div class="card-news"> | 351 | <div class="card-news"> |
353 | <div class="card-news__top"><img src="images/card/card-img-5.jpg" alt="Превью к новости" loading="lazy"> | 352 | <div class="card-news__top"><img src="images/card/card-img-5.jpg" alt="Превью к новости" loading="lazy"> |
354 | <div class="card-news__date"><span>15</span><span>Декабря 2022</span></div> | 353 | <div class="card-news__date"><span>15</span><span>Декабря 2022</span></div> |
355 | </div> | 354 | </div> |
356 | <div class="card-news__cnt"> | 355 | <div class="card-news__cnt"> |
357 | <p class="card-news__descr">Компания Renttorg продолжает активно сотрудничать с площадкой Сбера Portal DA</p><a class="card-news__link" href="#">Подробнее | 356 | <p class="card-news__descr">Компания Renttorg продолжает активно сотрудничать с площадкой Сбера Portal DA</p><a class="card-news__link" href="#">Подробнее |
358 | <svg width="17" height="12"> | 357 | <svg width="17" height="12"> |
359 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> | 358 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> |
360 | </svg></a> | 359 | </svg></a> |
361 | </div> | 360 | </div> |
362 | </div> | 361 | </div> |
363 | </div> | 362 | </div> |
364 | <div class="swiper-slide"> | 363 | <div class="swiper-slide"> |
365 | <div class="card-news"> | 364 | <div class="card-news"> |
366 | <div class="card-news__top"><img src="images/card/card-img-6.jpg" alt="Превью к новости" loading="lazy"> | 365 | <div class="card-news__top"><img src="images/card/card-img-6.jpg" alt="Превью к новости" loading="lazy"> |
367 | <div class="card-news__date"><span>23</span><span>Октября 2022</span></div> | 366 | <div class="card-news__date"><span>23</span><span>Октября 2022</span></div> |
368 | </div> | 367 | </div> |
369 | <div class="card-news__cnt"> | 368 | <div class="card-news__cnt"> |
370 | <p class="card-news__descr">Про надежность торговых арендаторов</p><a class="card-news__link" href="#">Подробнее | 369 | <p class="card-news__descr">Про надежность торговых арендаторов</p><a class="card-news__link" href="#">Подробнее |
371 | <svg width="17" height="12"> | 370 | <svg width="17" height="12"> |
372 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> | 371 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> |
373 | </svg></a> | 372 | </svg></a> |
374 | </div> | 373 | </div> |
375 | </div> | 374 | </div> |
376 | </div> | 375 | </div> |
377 | <div class="swiper-slide"> | 376 | <div class="swiper-slide"> |
378 | <div class="card-news"> | 377 | <div class="card-news"> |
379 | <div class="card-news__top"><img src="images/card/card-img-7.jpg" alt="Превью к новости" loading="lazy"> | 378 | <div class="card-news__top"><img src="images/card/card-img-7.jpg" alt="Превью к новости" loading="lazy"> |
380 | <div class="card-news__date"><span>19</span><span>Ноября 2022</span></div> | 379 | <div class="card-news__date"><span>19</span><span>Ноября 2022</span></div> |
381 | </div> | 380 | </div> |
382 | <div class="card-news__cnt"> | 381 | <div class="card-news__cnt"> |
383 | <p class="card-news__descr">Кто развивается быстрее всех из арендаторов</p><a class="card-news__link" href="#">Подробнее | 382 | <p class="card-news__descr">Кто развивается быстрее всех из арендаторов</p><a class="card-news__link" href="#">Подробнее |
384 | <svg width="17" height="12"> | 383 | <svg width="17" height="12"> |
385 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> | 384 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> |
386 | </svg></a> | 385 | </svg></a> |
387 | </div> | 386 | </div> |
388 | </div> | 387 | </div> |
389 | </div> | 388 | </div> |
390 | <div class="swiper-slide"> | 389 | <div class="swiper-slide"> |
391 | <div class="card-news"> | 390 | <div class="card-news"> |
392 | <div class="card-news__top"><img src="images/card/card-img-8.jpg" alt="Превью к новости" loading="lazy"> | 391 | <div class="card-news__top"><img src="images/card/card-img-8.jpg" alt="Превью к новости" loading="lazy"> |
393 | <div class="card-news__date"><span>31</span><span>Декабря 2022</span></div> | 392 | <div class="card-news__date"><span>31</span><span>Декабря 2022</span></div> |
394 | </div> | 393 | </div> |
395 | <div class="card-news__cnt"> | 394 | <div class="card-news__cnt"> |
396 | <p class="card-news__descr">Помещение с окупаемостью 6-7 лет, насколько реально купить?</p><a class="card-news__link" href="#">Подробнее | 395 | <p class="card-news__descr">Помещение с окупаемостью 6-7 лет, насколько реально купить?</p><a class="card-news__link" href="#">Подробнее |
397 | <svg width="17" height="12"> | 396 | <svg width="17" height="12"> |
398 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> | 397 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> |
399 | </svg></a> | 398 | </svg></a> |
400 | </div> | 399 | </div> |
401 | </div> | 400 | </div> |
402 | </div> | 401 | </div> |
403 | <div class="swiper-slide"> | 402 | <div class="swiper-slide"> |
404 | <div class="card-news"> | 403 | <div class="card-news"> |
405 | <div class="card-news__top"><img src="images/card/card-img-5.jpg" alt="Превью к новости" loading="lazy"> | 404 | <div class="card-news__top"><img src="images/card/card-img-5.jpg" alt="Превью к новости" loading="lazy"> |
406 | <div class="card-news__date"><span>15</span><span>Декабря 2022</span></div> | 405 | <div class="card-news__date"><span>15</span><span>Декабря 2022</span></div> |
407 | </div> | 406 | </div> |
408 | <div class="card-news__cnt"> | 407 | <div class="card-news__cnt"> |
409 | <p class="card-news__descr">Компания Renttorg продолжает активно сотрудничать с площадкой Сбера Portal DA</p><a class="card-news__link" href="#">Подробнее | 408 | <p class="card-news__descr">Компания Renttorg продолжает активно сотрудничать с площадкой Сбера Portal DA</p><a class="card-news__link" href="#">Подробнее |
410 | <svg width="17" height="12"> | 409 | <svg width="17" height="12"> |
411 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> | 410 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> |
412 | </svg></a> | 411 | </svg></a> |
413 | </div> | 412 | </div> |
414 | </div> | 413 | </div> |
415 | </div> | 414 | </div> |
416 | <div class="swiper-slide"> | 415 | <div class="swiper-slide"> |
417 | <div class="card-news"> | 416 | <div class="card-news"> |
418 | <div class="card-news__top"><img src="images/card/card-img-6.jpg" alt="Превью к новости" loading="lazy"> | 417 | <div class="card-news__top"><img src="images/card/card-img-6.jpg" alt="Превью к новости" loading="lazy"> |
419 | <div class="card-news__date"><span>23</span><span>Октября 2022</span></div> | 418 | <div class="card-news__date"><span>23</span><span>Октября 2022</span></div> |
420 | </div> | 419 | </div> |
421 | <div class="card-news__cnt"> | 420 | <div class="card-news__cnt"> |
422 | <p class="card-news__descr">Про надежность торговых арендаторов</p><a class="card-news__link" href="#">Подробнее | 421 | <p class="card-news__descr">Про надежность торговых арендаторов</p><a class="card-news__link" href="#">Подробнее |
423 | <svg width="17" height="12"> | 422 | <svg width="17" height="12"> |
424 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> | 423 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> |
425 | </svg></a> | 424 | </svg></a> |
426 | </div> | 425 | </div> |
427 | </div> | 426 | </div> |
428 | </div> | 427 | </div> |
429 | <div class="swiper-slide"> | 428 | <div class="swiper-slide"> |
430 | <div class="card-news"> | 429 | <div class="card-news"> |
431 | <div class="card-news__top"><img src="images/card/card-img-7.jpg" alt="Превью к новости" loading="lazy"> | 430 | <div class="card-news__top"><img src="images/card/card-img-7.jpg" alt="Превью к новости" loading="lazy"> |
432 | <div class="card-news__date"><span>19</span><span>Ноября 2022</span></div> | 431 | <div class="card-news__date"><span>19</span><span>Ноября 2022</span></div> |
433 | </div> | 432 | </div> |
434 | <div class="card-news__cnt"> | 433 | <div class="card-news__cnt"> |
435 | <p class="card-news__descr">Кто развивается быстрее всех из арендаторов</p><a class="card-news__link" href="#">Подробнее | 434 | <p class="card-news__descr">Кто развивается быстрее всех из арендаторов</p><a class="card-news__link" href="#">Подробнее |
436 | <svg width="17" height="12"> | 435 | <svg width="17" height="12"> |
437 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> | 436 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> |
438 | </svg></a> | 437 | </svg></a> |
439 | </div> | 438 | </div> |
440 | </div> | 439 | </div> |
441 | </div> | 440 | </div> |
442 | <div class="swiper-slide"> | 441 | <div class="swiper-slide"> |
443 | <div class="card-news"> | 442 | <div class="card-news"> |
444 | <div class="card-news__top"><img src="images/card/card-img-8.jpg" alt="Превью к новости" loading="lazy"> | 443 | <div class="card-news__top"><img src="images/card/card-img-8.jpg" alt="Превью к новости" loading="lazy"> |
445 | <div class="card-news__date"><span>31</span><span>Декабря 2022</span></div> | 444 | <div class="card-news__date"><span>31</span><span>Декабря 2022</span></div> |
446 | </div> | 445 | </div> |
447 | <div class="card-news__cnt"> | 446 | <div class="card-news__cnt"> |
448 | <p class="card-news__descr">Помещение с окупаемостью 6-7 лет, насколько реально купить?</p><a class="card-news__link" href="#">Подробнее | 447 | <p class="card-news__descr">Помещение с окупаемостью 6-7 лет, насколько реально купить?</p><a class="card-news__link" href="#">Подробнее |
449 | <svg width="17" height="12"> | 448 | <svg width="17" height="12"> |
450 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> | 449 | <use xlink:href="images/sprite.svg#card-news-link-arrow"></use> |
451 | </svg></a> | 450 | </svg></a> |
452 | </div> | 451 | </div> |
453 | </div> | 452 | </div> |
454 | </div> | 453 | </div>--> |
455 | </div> | 454 | </div> |
456 | </div> | 455 | </div> |
457 | <div class="swiper-pagination"></div> | 456 | <div class="swiper-pagination"></div> |
458 | </div> | 457 | </div> |
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="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="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="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="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="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 | <!-- Фильтр --> | 82 | <!-- Фильтр --> |
83 | @yield('filter') | 83 | @yield('filter') |
84 | 84 | ||
85 | <!-- Основной контент --> | 85 | <!-- Основной контент --> |
86 | @yield('content') | 86 | @yield('content') |
87 | 87 | ||
88 | </main> | 88 | </main> |
89 | 89 | ||
90 | <footer class="footer" style="background-image:url('images/footer-bg.jpg')"> | 90 | <footer class="footer" style="background-image:url({{ asset('images/footer-bg.jpg')}})"> |
91 | <div class="footer__buttons"> | 91 | <div class="footer__buttons"> |
92 | <button class="footer__btn footer__btn-phone js_btn_contact_us" type="button"> | 92 | <button class="footer__btn footer__btn-phone js_btn_contact_us" type="button"> |
93 | <svg width="30" height="32"> | 93 | <svg width="30" height="32"> |
94 | <use xlink:href="images/sprite.svg#footer-btn-phone"></use> | 94 | <use xlink:href="{{ asset('images/sprite.svg#footer-btn-phone')}}"></use> |
95 | </svg> | 95 | </svg> |
96 | </button> | 96 | </button> |
97 | <button class="footer__btn footer__btn-up js_btn_up" type="button"> | 97 | <button class="footer__btn footer__btn-up js_btn_up" type="button"> |
98 | <svg width="19" height="11"> | 98 | <svg width="19" height="11"> |
99 | <use xlink:href="images/sprite.svg#footer-btn-up"></use> | 99 | <use xlink:href="{{ asset('images/sprite.svg#footer-btn-up')}}"></use> |
100 | </svg> | 100 | </svg> |
101 | </button> | 101 | </button> |
102 | </div> | 102 | </div> |
103 | <!-- Форма обратной связи --> | 103 | <!-- Форма обратной связи --> |
104 | @yield('form_feedback'); | 104 | @yield('form_feedback'); |
105 | 105 | ||
106 | <!-- Сам футер мееню --> | 106 | <!-- Сам футер мееню --> |
107 | <div class="footer-middle"> | 107 | <div class="footer-middle"> |
108 | <div class="container"> | 108 | <div class="container"> |
109 | <div class="footer-middle__wrap"> | 109 | <div class="footer-middle__wrap"> |
110 | <div class="footer__col footer__col-intro"><a class="footer__logo" href="index.html"><img src="images/logo-footer.svg" alt="Лого"></a> | 110 | <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> | 111 | <p class="footer__descr">В группу “Renttorg” входит ряд ведущих российских девелоперских компаний полного цикла, реализующих масштабные объекты недвижимости.</p> |
112 | <div class="footer-questions"> | 112 | <div class="footer-questions"> |
113 | <h3 class="footer-questions__title">Есть вопросы или предложения?</h3><a class="footer-questions__btn btn btn--main" href="#" data-btn="feedback">Напишите нам</a> | 113 | <h3 class="footer-questions__title">Есть вопросы или предложения?</h3><a class="footer-questions__btn btn btn--main" href="#" data-btn="feedback">Напишите нам</a> |
114 | </div> | 114 | </div> |
115 | </div> | 115 | </div> |
116 | <div class="footer__col footer__col-menu js_footer_col"> | 116 | <div class="footer__col footer__col-menu js_footer_col"> |
117 | <h3 class="footer__caption js_footer_caption">Меню</h3> | 117 | <h3 class="footer__caption js_footer_caption">Меню</h3> |
118 | <div class="footer__block js_footer_block"> | 118 | <div class="footer__block js_footer_block"> |
119 | <ul class="footer__list"> | 119 | <ul class="footer__list"> |
120 | <li class="footer__item"><a class="footer__link" href="{{ route('catalog') }}">Каталог</a></li> | 120 | <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> | 121 | <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> | 122 | <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> | 123 | <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> | 124 | <li class="footer__item"><a class="footer__link" href="{{ route('news') }}">Новости</a></li> |
125 | </ul> | 125 | </ul> |
126 | 126 | ||
127 | </div><a class="footer__author" href="#" target="_blank"><img src="images/author.png" alt="Лого разработчика"></a> | 127 | </div><a class="footer__author" href="#" target="_blank"><img src="{{ asset('images/author.png')}}" alt="Лого разработчика"></a> |
128 | </div> | 128 | </div> |
129 | <div class="footer__col js_footer_col"> | 129 | <div class="footer__col js_footer_col"> |
130 | <h3 class="footer__caption js_footer_caption">Услуги</h3> | 130 | <h3 class="footer__caption js_footer_caption">Услуги</h3> |
131 | <div class="footer__block js_footer_block"> | 131 | <div class="footer__block js_footer_block"> |
132 | <ul class="footer__list"> | 132 | <ul class="footer__list"> |
133 | <li class="footer__item"><a class="footer__link" href="#">Продажа арендного бизнеса</a></li> | 133 | <li class="footer__item"><a class="footer__link" href="#">Продажа арендного бизнеса</a></li> |
134 | <li class="footer__item"><a class="footer__link" href="#">Арендованные помещения</a></li> | 134 | <li class="footer__item"><a class="footer__link" href="#">Арендованные помещения</a></li> |
135 | <li class="footer__item"><a class="footer__link" href="#">Свободные для аренды</a></li> | 135 | <li class="footer__item"><a class="footer__link" href="#">Свободные для аренды</a></li> |
136 | </ul> | 136 | </ul> |
137 | </div> | 137 | </div> |
138 | </div> | 138 | </div> |
139 | <div class="footer__col js_footer_col"> | 139 | <div class="footer__col js_footer_col"> |
140 | <h3 class="footer__caption js_footer_caption">Объекты</h3> | 140 | <h3 class="footer__caption js_footer_caption">Объекты</h3> |
141 | <div class="footer__block js_footer_block"> | 141 | <div class="footer__block js_footer_block"> |
142 | <ul class="footer__list"> | 142 | <ul class="footer__list"> |
143 | <li class="footer__item"><a class="footer__link" href="#">Новая Москва</a></li> | 143 | <li class="footer__item"><a class="footer__link" href="#">Новая Москва</a></li> |
144 | <li class="footer__item"><a class="footer__link" href="#">Подмосковье</a></li> | 144 | <li class="footer__item"><a class="footer__link" href="#">Подмосковье</a></li> |
145 | <li class="footer__item"><a class="footer__link" href="#">Москва</a></li> | 145 | <li class="footer__item"><a class="footer__link" href="#">Москва</a></li> |
146 | <li class="footer__item"><a class="footer__link" href="#">Тип недвижимости</a></li> | 146 | <li class="footer__item"><a class="footer__link" href="#">Тип недвижимости</a></li> |
147 | </ul> | 147 | </ul> |
148 | </div> | 148 | </div> |
149 | </div> | 149 | </div> |
150 | <div class="footer__col footer__col-contacts"> | 150 | <div class="footer__col footer__col-contacts"> |
151 | <h3 class="footer__caption js_footer_caption">Контакты</h3> | 151 | <h3 class="footer__caption js_footer_caption">Контакты</h3> |
152 | <ul class="footer__list"> | 152 | <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> | 153 | <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> | 154 | <li class="footer__item"><a class="footer__link" href="tel:{{ $items_contact[0]->telephone }}">{{ $items_contact[0]->telephone }}</a></li> |
155 | </ul> | 155 | </ul> |
156 | <div class="footer__social social"> | 156 | <div class="footer__social social"> |
157 | <ul class="social__list"> | 157 | <ul class="social__list"> |
158 | <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="images/tg.svg" alt=""></a></li> | 158 | <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"> | 159 | <li class="social__item"><a class="social__link" href="#" target="_blank"> |
160 | <svg width="40" height="40"> | 160 | <svg width="40" height="40"> |
161 | <use xlink:href="images/sprite.svg#wa"></use> | 161 | <use xlink:href="{{ asset('images/sprite.svg#wa') }}"></use> |
162 | </svg></a></li> | 162 | </svg></a></li> |
163 | </ul> | 163 | </ul> |
164 | </div> | 164 | </div> |
165 | </div> | 165 | </div> |
166 | </div> | 166 | </div> |
167 | </div> | 167 | </div> |
168 | </div> | 168 | </div> |
169 | 169 | ||
170 | 170 | ||
171 | <div class="footer-bottom"> | 171 | <div class="footer-bottom"> |
172 | <div class="container"> | 172 | <div class="container"> |
173 | <div class="footer-bottom__wrap"> | 173 | <div class="footer-bottom__wrap"> |
174 | <div class="footer__copy">© 2023 RentTorg</div><a class="footer__plicy" href="{{ route('conf') }}">Политика конфиденциальности</a> | 174 | <div class="footer__copy">© 2023 RentTorg</div><a class="footer__plicy" href="{{ route('conf') }}">Политика конфиденциальности</a> |
175 | </div> | 175 | </div> |
176 | </div> | 176 | </div> |
177 | </div> | 177 | </div> |
178 | </footer> | 178 | </footer> |
179 | </div> | 179 | </div> |
180 | 180 | ||
181 | <!-- Вплывающие окна --> | 181 | <!-- Вплывающие окна --> |
182 | <div class="popup popup-feedback" data-popup="feedback"> | 182 | <div class="popup popup-feedback" data-popup="feedback"> |
183 | <div class="popup__wrap"> | 183 | <div class="popup__wrap"> |
184 | <button class="popup__close js_popup_close" type="button"> | 184 | <button class="popup__close js_popup_close" type="button"> |
185 | <svg width="20" height="20"> | 185 | <svg width="20" height="20"> |
186 | <use xlink:href="images/sprite.svg#popup-close"></use> | 186 | <use xlink:href="images/sprite.svg#popup-close"></use> |
187 | </svg> | 187 | </svg> |
188 | </button> | 188 | </button> |
189 | <form class="popup-feedback__form js_popup_feedback_form"> | 189 | <form class="popup-feedback__form js_popup_feedback_form"> |
190 | <div class="popup-feedback__title">Как с вами связаться</div> | 190 | <div class="popup-feedback__title">Как с вами связаться</div> |
191 | <div class="popup-feedback__fields"> | 191 | <div class="popup-feedback__fields"> |
192 | <label class="popup-feedback__field field"> | 192 | <label class="popup-feedback__field field"> |
193 | <input type="text" placeholder="Имя" name="Имя"> | 193 | <input type="text" placeholder="Имя" name="Имя"> |
194 | </label> | 194 | </label> |
195 | <label class="popup-feedback__field field"> | 195 | <label class="popup-feedback__field field"> |
196 | <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> | 196 | <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> |
197 | </label> | 197 | </label> |
198 | </div> | 198 | </div> |
199 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> | 199 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> |
200 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> | 200 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> |
201 | </form> | 201 | </form> |
202 | </div> | 202 | </div> |
203 | </div> | 203 | </div> |
204 | <div class="popup popup-feedback" data-popup="viewing"> | 204 | <div class="popup popup-feedback" data-popup="viewing"> |
205 | <div class="popup__wrap"> | 205 | <div class="popup__wrap"> |
206 | <button class="popup__close js_popup_close" type="button"> | 206 | <button class="popup__close js_popup_close" type="button"> |
207 | <svg width="20" height="20"> | 207 | <svg width="20" height="20"> |
208 | <use xlink:href="images/sprite.svg#popup-close"></use> | 208 | <use xlink:href="images/sprite.svg#popup-close"></use> |
209 | </svg> | 209 | </svg> |
210 | </button> | 210 | </button> |
211 | <form class="popup-feedback__form js_popup_viewing_form"> | 211 | <form class="popup-feedback__form js_popup_viewing_form"> |
212 | <div class="popup-feedback__title">Записаться на просмотр</div> | 212 | <div class="popup-feedback__title">Записаться на просмотр</div> |
213 | <div class="popup-feedback__fields"> | 213 | <div class="popup-feedback__fields"> |
214 | <label class="popup-feedback__field field"> | 214 | <label class="popup-feedback__field field"> |
215 | <input type="text" placeholder="Имя" name="Имя"> | 215 | <input type="text" placeholder="Имя" name="Имя"> |
216 | </label> | 216 | </label> |
217 | <label class="popup-feedback__field field"> | 217 | <label class="popup-feedback__field field"> |
218 | <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> | 218 | <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> |
219 | </label> | 219 | </label> |
220 | </div> | 220 | </div> |
221 | <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> |
222 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> | 222 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> |
223 | </form> | 223 | </form> |
224 | </div> | 224 | </div> |
225 | </div> | 225 | </div> |
226 | <div class="popup popup-success" data-popup="success"> | 226 | <div class="popup popup-success" data-popup="success"> |
227 | <div class="popup__wrap"> | 227 | <div class="popup__wrap"> |
228 | <button class="popup__close js_popup_close" type="button"> | 228 | <button class="popup__close js_popup_close" type="button"> |
229 | <svg width="20" height="20"> | 229 | <svg width="20" height="20"> |
230 | <use xlink:href="images/sprite.svg#popup-close"></use> | 230 | <use xlink:href="images/sprite.svg#popup-close"></use> |
231 | </svg> | 231 | </svg> |
232 | </button> | 232 | </button> |
233 | <div class="popup-success__inner"> | 233 | <div class="popup-success__inner"> |
234 | <div class="popup-success__logo"> | 234 | <div class="popup-success__logo"> |
235 | <svg width="48" height="39"> | 235 | <svg width="48" height="39"> |
236 | <use xlink:href="images/sprite.svg#popup-success-logo"></use> | 236 | <use xlink:href="images/sprite.svg#popup-success-logo"></use> |
237 | </svg> | 237 | </svg> |
238 | </div> | 238 | </div> |
239 | <div class="popup-success__title">Спасибо за заявку</div> | 239 | <div class="popup-success__title">Спасибо за заявку</div> |
240 | <p class="popup-success__descr">В ближайшее время с вами свяжется наш специалист для уточнения деталей вашей задачи.</p> | 240 | <p class="popup-success__descr">В ближайшее время с вами свяжется наш специалист для уточнения деталей вашей задачи.</p> |
241 | </div> | 241 | </div> |
242 | </div> | 242 | </div> |
243 | </div> | 243 | </div> |
244 | <div class="popup popup-feedback" data-popup="sending"> | 244 | <div class="popup popup-feedback" data-popup="sending"> |
245 | <div class="popup__wrap"> | 245 | <div class="popup__wrap"> |
246 | <button class="popup__close js_popup_close" type="button"> | 246 | <button class="popup__close js_popup_close" type="button"> |
247 | <svg width="20" height="20"> | 247 | <svg width="20" height="20"> |
248 | <use xlink:href="images/sprite.svg#popup-close"></use> | 248 | <use xlink:href="images/sprite.svg#popup-close"></use> |
249 | </svg> | 249 | </svg> |
250 | </button> | 250 | </button> |
251 | <form class="popup-feedback__form js_popup_sending_form"> | 251 | <form class="popup-feedback__form js_popup_sending_form"> |
252 | <div class="popup-feedback__title">Отправить на почту</div> | 252 | <div class="popup-feedback__title">Отправить на почту</div> |
253 | <div class="popup-feedback__fields"> | 253 | <div class="popup-feedback__fields"> |
254 | <label class="popup-feedback__field field"> | 254 | <label class="popup-feedback__field field"> |
255 | <input class="js_input_email" type="text" placeholder="Электронная почта" name="Электронная почта"> | 255 | <input class="js_input_email" type="text" placeholder="Электронная почта" name="Электронная почта"> |
256 | </label> | 256 | </label> |
257 | </div> | 257 | </div> |
258 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> | 258 | <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> |
259 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> | 259 | <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> |
260 | </form> | 260 | </form> |
261 | </div> | 261 | </div> |
262 | </div> | 262 | </div> |
263 | <div class="contact-us js_contact_us"> | 263 | <div class="contact-us js_contact_us"> |
264 | <div class="contact-us__top"> | 264 | <div class="contact-us__top"> |
265 | <button class="contact-us__close js_contact_us_close" type="button"> | 265 | <button class="contact-us__close js_contact_us_close" type="button"> |
266 | <svg width="20" height="20"> | 266 | <svg width="20" height="20"> |
267 | <use xlink:href="images/sprite.svg#popup-close"></use> | 267 | <use xlink:href="images/sprite.svg#popup-close"></use> |
268 | </svg> | 268 | </svg> |
269 | </button> | 269 | </button> |
270 | <div class="contact-us__title">Свяжитесь с нами</div> | 270 | <div class="contact-us__title">Свяжитесь с нами</div> |
271 | </div> | 271 | </div> |
272 | <div class="contact-us__body"> | 272 | <div class="contact-us__body"> |
273 | <div class="contact-us__items"><a class="contact-us-item js_contact_us_close" href="#"> | 273 | <div class="contact-us__items"><a class="contact-us-item js_contact_us_close" href="#"> |
274 | <div class="contact-us-item__icon"> | 274 | <div class="contact-us-item__icon"> |
275 | <svg width="34" height="34"> | 275 | <svg width="34" height="34"> |
276 | <use xlink:href="images/sprite.svg#contact-us-phone"></use> | 276 | <use xlink:href="images/sprite.svg#contact-us-phone"></use> |
277 | </svg> | 277 | </svg> |
278 | </div> | 278 | </div> |
279 | <div class="contact-us-item__name">Позвонить</div></a><a class="contact-us-item js_contact_us_close" href="#"> | 279 | <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"> | 280 | <div class="contact-us-item__icon"> |
281 | <svg width="44" height="44"> | 281 | <svg width="44" height="44"> |
282 | <use xlink:href="images/sprite.svg#contact-us-email"></use> | 282 | <use xlink:href="images/sprite.svg#contact-us-email"></use> |
283 | </svg> | 283 | </svg> |
284 | </div> | 284 | </div> |
285 | <div class="contact-us-item__name">Написать</div></a><a class="contact-us-item js_contact_us_close" href="#"> | 285 | <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"> | 286 | <div class="contact-us-item__icon"> |
287 | <svg width="34" height="34"> | 287 | <svg width="34" height="34"> |
288 | <use xlink:href="images/sprite.svg#contact-us-chat"></use> | 288 | <use xlink:href="images/sprite.svg#contact-us-chat"></use> |
289 | </svg> | 289 | </svg> |
290 | </div> | 290 | </div> |
291 | <div class="contact-us-item__name">Онлайн-чат</div></a></div> | 291 | <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"> | 292 | <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> | 293 | <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"> | 294 | <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"> | 295 | <div class="contact-us-social__icon contact-us-social__icon-wa"> |
296 | <svg width="31" height="31"> | 296 | <svg width="31" height="31"> |
297 | <use xlink:href="images/sprite.svg#contact-us-wa"></use> | 297 | <use xlink:href="images/sprite.svg#contact-us-wa"></use> |
298 | </svg> | 298 | </svg> |
299 | </div> | 299 | </div> |
300 | <div class="contact-us-social__name">WhatsApp</div></a></div> | 300 | <div class="contact-us-social__name">WhatsApp</div></a></div> |
301 | </div> | 301 | </div> |
302 | </div> | 302 | </div> |
303 | <div class="offer-side-popup" data-popup="offer-side-popup"> | 303 | <div class="offer-side-popup" data-popup="offer-side-popup"> |
304 | <div class="offer-side-popup__wrap"> | 304 | <div class="offer-side-popup__wrap"> |
305 | <button class="offer-side-popup__close js_popup_close" type="button"> | 305 | <button class="offer-side-popup__close js_popup_close" type="button"> |
306 | <svg width="20" height="20"> | 306 | <svg width="20" height="20"> |
307 | <use xlink:href="images/sprite.svg#popup-close"></use> | 307 | <use xlink:href="images/sprite.svg#popup-close"></use> |
308 | </svg> | 308 | </svg> |
309 | </button> | 309 | </button> |
310 | <div class="offer-side-popup__cnt"> | 310 | <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> | 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> |
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> | 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> |
313 | </div> | 313 | </div> |
314 | <div class="offer-side-popup__tabs"> | 314 | <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> | 315 | <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> | 316 | <button class="offer-side-popup__tab js_offer_side_popup_tab" type="button" data-tab="2">План этажа</button> |
317 | </div> | 317 | </div> |
318 | <button class="offer-side-popup__sizeoff js_popup_close" type="button"> | 318 | <button class="offer-side-popup__sizeoff js_popup_close" type="button"> |
319 | <svg width="18" height="18"> | 319 | <svg width="18" height="18"> |
320 | <use xlink:href="images/sprite.svg#popup-sizeoff"></use> | 320 | <use xlink:href="images/sprite.svg#popup-sizeoff"></use> |
321 | </svg> | 321 | </svg> |
322 | </button> | 322 | </button> |
323 | </div> | 323 | </div> |
324 | </div> | 324 | </div> |
325 | <div class="img-viewer js_img_viewer"> | 325 | <div class="img-viewer js_img_viewer"> |
326 | <div class="img-viewer__wrap"> | 326 | <div class="img-viewer__wrap"> |
327 | <button class="img-viewer__close js_img_viewer_close" type="button"> | 327 | <button class="img-viewer__close js_img_viewer_close" type="button"> |
328 | <svg width="20" height="20"> | 328 | <svg width="20" height="20"> |
329 | <use xlink:href="images/sprite.svg#popup-close"></use> | 329 | <use xlink:href="images/sprite.svg#popup-close"></use> |
330 | </svg> | 330 | </svg> |
331 | </button> | 331 | </button> |
332 | <div class="img-viewer__thumbs js_img_viewer_thumbs"> | 332 | <div class="img-viewer__thumbs js_img_viewer_thumbs"> |
333 | <div class="img-viewer__thumbs-swiper js_img_viewer_thumbs_swiper swiper"> | 333 | <div class="img-viewer__thumbs-swiper js_img_viewer_thumbs_swiper swiper"> |
334 | <div class="swiper-wrapper"></div> | 334 | <div class="swiper-wrapper"></div> |
335 | </div> | 335 | </div> |
336 | </div> | 336 | </div> |
337 | <div class="img-viewer__slider"> | 337 | <div class="img-viewer__slider"> |
338 | <div class="img-viewer__slider-swiper js_img_viewer_slider_swiper swiper"> | 338 | <div class="img-viewer__slider-swiper js_img_viewer_slider_swiper swiper"> |
339 | <div class="swiper-wrapper"></div> | 339 | <div class="swiper-wrapper"></div> |
340 | </div> | 340 | </div> |
341 | <div class="swiper-button-prev"> | 341 | <div class="swiper-button-prev"> |
342 | <svg width="10" height="17"> | 342 | <svg width="10" height="17"> |
343 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 343 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
344 | </svg> | 344 | </svg> |
345 | </div> | 345 | </div> |
346 | <div class="swiper-button-next"> | 346 | <div class="swiper-button-next"> |
347 | <svg width="10" height="17"> | 347 | <svg width="10" height="17"> |
348 | <use xlink:href="images/sprite.svg#slider-arrow"></use> | 348 | <use xlink:href="images/sprite.svg#slider-arrow"></use> |
349 | </svg> | 349 | </svg> |
350 | </div> | 350 | </div> |
351 | </div> | 351 | </div> |
352 | <div class="img-viewer__caption js_img_viewer_caption"></div> | 352 | <div class="img-viewer__caption js_img_viewer_caption"></div> |
353 | <button class="img-viewer__sizeoff js_img_viewer_close" type="button"> | 353 | <button class="img-viewer__sizeoff js_img_viewer_close" type="button"> |
354 | <svg width="18" height="18"> | 354 | <svg width="18" height="18"> |
355 | <use xlink:href="images/sprite.svg#popup-sizeoff"></use> | 355 | <use xlink:href="images/sprite.svg#popup-sizeoff"></use> |
356 | </svg> | 356 | </svg> |
357 | </button> | 357 | </button> |
358 | </div> | 358 | </div> |
359 | </div> | 359 | </div> |
360 | <div class="cookies js_cookies"> | 360 | <div class="cookies js_cookies"> |
361 | <div class="container"> | 361 | <div class="container"> |
362 | <div class="cookies__wrap"> | 362 | <div class="cookies__wrap"> |
363 | <div class="cookies__top"> | 363 | <div class="cookies__top"> |
364 | <div class="cookies__img"><img src="images/cookies.svg" alt="cookies"></div> | 364 | <div class="cookies__img"><img src="images/cookies.svg" alt="cookies"></div> |
365 | <div class="cookies__title">Cookies</div> | 365 | <div class="cookies__title">Cookies</div> |
366 | </div> | 366 | </div> |
367 | <p class="cookies__descr">Мы используем cookie-файлы для наилучшего представления нашего сайта.<br>Продолжая использовать сайт, вы даете согласие с использованием cookie-файлов.</p> | 367 | <p class="cookies__descr">Мы используем cookie-файлы для наилучшего представления нашего сайта.<br>Продолжая использовать сайт, вы даете согласие с использованием cookie-файлов.</p> |
368 | <div class="cookies__buttons"> | 368 | <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> | 369 | <button class="cookies__btn btn btn--main js_cookies_confirm" type="button">Принять</button><a class="cookies__link" href="page-cookies.html">Подробнее</a> |
370 | </div> | 370 | </div> |
371 | </div> | 371 | </div> |
372 | </div> | 372 | </div> |
373 | </div> | 373 | </div> |
374 | <script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script> | 374 | <script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script> |
375 | <script src="{{ asset('js/swiper-bundle.min.js') }}"></script> | 375 | <script src="{{ asset('js/swiper-bundle.min.js') }}"></script> |
376 | <script src="{{ asset('js/main.js') }}"></script> | 376 | <script src="{{ asset('js/main.js') }}"></script> |
377 | </body> | 377 | </body> |
378 | </html> | 378 | </html> |
379 | 379 |
resources/views/new/post.blade.php
File was created | 1 | @extends('layout.site', ['title' => $news->title ]) | |
2 | |||
3 | @section('content') | ||
4 | <section class="news-one"> | ||
5 | <div class="news-one-top" style=" | ||
6 | @if ($news->foto) | ||
7 | background-image:url({{ asset($news->foto)}}) | ||
8 | @else | ||
9 | background-image:url({{ asset('images/news-one-bg.jpg')}}) | ||
10 | @endif | ||
11 | |||
12 | "> | ||
13 | <div class="container"> | ||
14 | <div class="news-one-top__wrap"> | ||
15 | <div class="breadcrumbs"> | ||
16 | <ul class="breadcrumbs__list"> | ||
17 | <li class="breadcrumbs__item"><a class="breadcrumbs__link" href="{{ route('index') }}">Главная</a></li> | ||
18 | <li class="breadcrumbs__item"><a class="breadcrumbs__link" href="{{ route('news') }}">Новости</a></li> | ||
19 | <li class="breadcrumbs__item"><span class="breadcrumbs__link">{{ $news->title }}</span></li> | ||
20 | </ul> | ||
21 | </div> | ||
22 | <h1 class="news-one__title title-main">{{ $news->title }}</h1> | ||
23 | <div class="news-one__date"><span>{{ $news->created_at->format('d') }}</span><span>{{ \App\Classes\RusDate::russian_month($news->created_at->format('m')) }} {{$news->created_at->format('Y')}}</span></div> | ||
24 | </div> | ||
25 | </div> | ||
26 | </div> | ||
27 | <div class="container"> | ||
28 | <div class="news-one__inner"> | ||
29 | <div class="news-one__social social"> | ||
30 | <div class="social__title">Поделиться новостью:</div> | ||
31 | <ul class="social__list"> | ||
32 | <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="{{ asset('images/tg.svg') }}" alt=""></a></li> | ||
33 | <li class="social__item"><a class="social__link" href="#" target="_blank"> | ||
34 | <svg width="40" height="40"> | ||
35 | <use xlink:href="{{ asset('images/sprite.svg#wa')}}"></use> | ||
36 | </svg></a></li> | ||
37 | <li class="social__item"><a class="social__link" href="#" target="_blank"> | ||
38 | <svg width="40" height="40"> | ||
39 | <use xlink:href="{{ asset('images/sprite.svg#vk') }}"></use> | ||
40 | </svg></a></li> | ||
41 | <li class="social__item"><a class="social__link" href="#" target="_blank"> | ||
42 | <svg width="40" height="40"> | ||
43 | <use xlink:href="{{ asset('images/sprite.svg#fb')}}"></use> | ||
44 | </svg></a></li> | ||
45 | </ul> | ||
46 | </div> | ||
47 | <div class="news-one__descr"> | ||
48 | {{ $news->text }} | ||
49 | </div> | ||
50 | </div> | ||
51 | </div> | ||
52 | </section> | ||
53 | <section class="slider"> | ||
54 | <div class="container"> | ||
55 | <div class="slider__wrap"> | ||
56 | <div class="slider__top"> | ||
57 | <h2 class="slider__title title">Последние новости</h2> | ||
58 | <div class="slider__control"> | ||
59 | <div class="swiper-button-prev"> | ||
60 | <svg width="10" height="17"> | ||
61 | <use xlink:href="{{ asset('images/sprite.svg#slider-arrow')}}"></use> | ||
62 | </svg> | ||
63 | </div> | ||
64 | <div class="swiper-button-next"> | ||
65 | <svg width="10" height="17"> | ||
66 | <use xlink:href="{{ asset('images/sprite.svg#slider-arrow')}}"></use> | ||
67 | </svg> | ||
68 | </div> | ||
69 | </div> | ||
70 | </div> | ||
71 | <div class="slider__swiper swiper"> | ||
72 | <div class="swiper-wrapper"> | ||
73 | @if ($news_list->count()) | ||
74 | @foreach($news_list as $new) | ||
75 | @include('catalogs.new', ['new' => $new]) | ||
76 | @endforeach | ||
77 | @else | ||
78 | <h3>Пока здесь нет новостей!</h3> | ||
79 | @endif | ||
80 | |||
81 | </div> | ||
82 | </div> | ||
83 | <div class="swiper-pagination"></div> | ||
84 | </div> | ||
85 | </div> | ||
86 | </section> | ||
87 | @endsection | ||
88 | |||
89 | @section('form_feedback') | ||
90 | <!-- Форма обратной связи --> | ||
91 | @include('form.form_feedback') | ||
92 | @endsection | ||
93 |
routes/web.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Illuminate\Support\Facades\Route; | 3 | use Illuminate\Support\Facades\Route; |
4 | use App\Http\Controllers\MainController; | 4 | use App\Http\Controllers\MainController; |
5 | /* | 5 | /* |
6 | |-------------------------------------------------------------------------- | 6 | |-------------------------------------------------------------------------- |
7 | | Web Routes | 7 | | Web Routes |
8 | |-------------------------------------------------------------------------- | 8 | |-------------------------------------------------------------------------- |
9 | | | 9 | | |
10 | | Here is where you can register web routes for your application. These | 10 | | Here is where you can register web routes for your application. These |
11 | | routes are loaded by the RouteServiceProvider within a group which | 11 | | routes are loaded by the RouteServiceProvider within a group which |
12 | | contains the "web" middleware group. Now create something great! | 12 | | contains the "web" middleware group. Now create something great! |
13 | | | 13 | | |
14 | */ | 14 | */ |
15 | 15 | ||
16 | //Главная страница | 16 | //Главная страница |
17 | Route::get('/',[MainController::class, 'index'])->name('index'); | 17 | Route::get('/',[MainController::class, 'index'])->name('index'); |
18 | 18 | ||
19 | //Страница Избранные | 19 | //Страница Избранные |
20 | Route::get('favorite',[MainController::class, 'favorite'])->name('favorite'); | 20 | Route::get('favorite',[MainController::class, 'favorite'])->name('favorite'); |
21 | 21 | ||
22 | //Страница контакты | 22 | //Страница контакты |
23 | Route::get('contact',[MainController::class, 'contact'])->name('contact'); | 23 | Route::get('contact',[MainController::class, 'contact'])->name('contact'); |
24 | 24 | ||
25 | //Страница каталог | 25 | //Страница каталог |
26 | Route::get('catalog',[MainController::class, 'catalog'])->name('catalog'); | 26 | Route::get('catalog',[MainController::class, 'catalog'])->name('catalog'); |
27 | 27 | ||
28 | //Страница новости | 28 | //Страница новости |
29 | Route::get('news',[MainController::class, 'news'])->name('news'); | 29 | Route::get('news',[MainController::class, 'news'])->name('news'); |
30 | 30 | ||
31 | //Страница о компании | 31 | //Страница о компании |
32 | Route::get('about',[MainController::class, 'about'])->name('about'); | 32 | Route::get('about',[MainController::class, 'about'])->name('about'); |
33 | 33 | ||
34 | //Страница объекты на карте | 34 | //Страница объекты на карте |
35 | Route::get('maps',[MainController::class, 'mapsobj'])->name('maps'); | 35 | Route::get('maps',[MainController::class, 'mapsobj'])->name('maps'); |
36 | 36 | ||
37 | // Политика конфедициальности | 37 | // Политика конфедициальности |
38 | Route::get('conf', function () { | 38 | Route::get('conf', function () { |
39 | return view('conf'); | 39 | return view('conf'); |
40 | })->name('conf'); | 40 | })->name('conf'); |
41 | |||
42 | //Детальная страница предложения недвижимости | ||
43 | Route::get('offer/{house:id}', [MainController::class, 'offer'])->name('offer'); | ||
44 | |||
45 | //Детальная страница новостей | ||
46 | Route::get('detail-new/{news:id}', [MainController::class, 'DetailNew'])->name('new'); | ||
41 | 47 |