lk.zachem.info/resources/views/user/dashboard.blade.php
2025-04-11 13:50:15 +08:00

149 lines
7.7 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@extends('layouts.app')
@section('content')
<div>
<div class="row">
<div class="col-12 col-lg-6 mb-2">
<div class="" data-bs-toggle="modal" data-bs-target="#plan7Modal">
<a href="#"
class="list-group-item list-group-item-action p-3 bg-white rounded border border-light-subtle"
aria-current="true">
<div class="d-flex flex-row">
<div class="p-2">
<img src="{{ url('images/icons/message.png') }}" class="img-fluid align-middle"
alt="">
</div>
<div class="align-self-center">
<div class="d-flex w-100 justify-content-between">
<h3 class="mb-1">Подобрать квартиру</h3>
</div>
<p class="mb-1 fs-6">Быстро подберите подходящий вариант для клиента из нашего каталога</p>
</div>
</div>
</a>
</div>
<!-- Modal -->
<div class="modal fade" id="plan7Modal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-fullscreen">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">
<button class="btn btn-light" data-bs-dismiss="modal">
<i class="bi bi-chevron-left"></i>
</button>
Подбор квартиры
</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
<div id="catalogFrame" style="position:relative; width:100%; height:100%;"><iframe
src="https://plan7.ru/catalog/exp/?module=40"
style="position:absolute; left:0px; top:0px; width:100%; height:100%; border:none;"></iframe>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">Закрыть</button>
</div>
</div>
</div>
</div>
<div class="mt-3">
<div class="d-flex">
<div class="fs-5 fw-bold">Клиенты</div>
<div class="ms-auto p-2">
<a href="{{ route('clients.table') }}">Смотреть все</a>
</div>
</div>
@livewire('clientsTable', ['count' => 3, 'mode' => 'short'])
</div>
</div>
<div class="col-12 col-lg-6">
<div class="p-2 px-sm-5 py-sm-3 bg-primary border rounded-3 mx-auto d-flex align-items-center"
style="min-height:30em;">
<livewire:createClientForm />
</div>
</div>
</div>
</div>
<div class="mt-3">
<div class="d-flex">
<div class="fs-5 fw-bold">Новости</div>
<div class="ms-auto p-2">Смотреть все</div>
</div>
@livewire(name: 'posts.list')
</div>
<div class="mt-3 col-12">
<div class="d-flex">
<div class="fs-5 fw-bold">Избранное</div>
<div class="ms-auto p-2">Смотреть все</div>
</div>
<div class="d-lg-flex">
<div class="card flex-fill m-2" style="">
<div class="card-img-top ratio ratio-16x9">
<img src="https://img3.sibdom.ru/images/photo_crop_282_212/houses/photo_main/97/97be/97be2371dd0bba9c4605c3ea6f06e213.jpg"
class="" alt="...">
<div class="position-absolute bottom-0 start-0 m-3">
<span class="badge bg-light text-dark border-secondary bg-opacity-75 fs-6 rounded-pill">Новые
корпуса</span>
<span class="badge bg-light text-dark border-secondary bg-opacity-75 fs-6 rounded-pill">Ипотека
5%</span>
</div>
</div>
<div class="card-body">
<h5 class="d-flex card-title fw-bold">
<span class="">Пионер</span>
<span class="ms-auto fw-bold fs-6" style="color:#e6662a">от 4,5 млн. Р</span>
</h5>
<p class="card-text">Иркутск, ул. 4-я Совесткая, 11</p>
</div>
</div>
<div class="card flex-fill m-2" style="">
<div class="card-img-top ratio ratio-16x9">
<img src="https://img3.sibdom.ru/images/photo_crop_282_212/houses/photo_main/97/97be/97be2371dd0bba9c4605c3ea6f06e213.jpg"
class="" alt="...">
<div class="position-absolute bottom-0 start-0 m-3">
<span class="badge bg-light text-dark border-secondary bg-opacity-75 fs-6 rounded-pill">Новые
корпуса</span>
<span class="badge bg-light text-dark border-secondary bg-opacity-75 fs-6 rounded-pill">Ипотека
5%</span>
</div>
</div>
<div class="card-body">
<h5 class="d-flex card-title fw-bold">
<span class="">Пионер</span>
<span class="ms-auto fw-bold fs-6" style="color:#e6662a">от 4,5 млн. Р</span>
</h5>
<p class="card-text">Иркутск, ул. 4-я Совесткая, 11</p>
</div>
</div>
<div class="card flex-fill m-2" style="">
<div class="card-img-top ratio ratio-16x9">
<img src="https://img3.sibdom.ru/images/photo_crop_282_212/houses/photo_main/97/97be/97be2371dd0bba9c4605c3ea6f06e213.jpg"
class="" alt="...">
<div class="position-absolute bottom-0 start-0 m-3">
<span class="badge bg-light text-dark border-secondary bg-opacity-75 fs-6 rounded-pill">Новые
корпуса</span>
<span class="badge bg-light text-dark border-secondary bg-opacity-75 fs-6 rounded-pill">Ипотека
5%</span>
</div>
</div>
<div class="card-body">
<h5 class="d-flex card-title fw-bold">
<span class="">Пионер</span>
<span class="ms-auto fw-bold fs-6" style="color:#e6662a">от 4,5 млн. Р</span>
</h5>
<p class="card-text">Иркутск, ул. 4-я Совесткая, 11</p>
</div>
</div>
</div>
</div>
@endsection