вывел всех менеджеров на главной

This commit is contained in:
developer 2026-05-08 16:47:15 +08:00
parent f806cbc256
commit 98e11c0b41

View File

@ -2,22 +2,22 @@
@if($managers)
@php
$cardBg = array_key_exists('primary_color', DESIGN_PARAMETERS)
? DESIGN_PARAMETERS['primary_color'] . '50'
? DESIGN_PARAMETERS['primary_color'] . '40'
: 'gray';
@endphp
<style>
#carouselExampleCaptions {
max-width: 300px;
max-width: 350px;
overflow: hidden;
}
.carousel-item {
width: 300px;
width: 350px;
}
.carousel-item .card {
background-color: {{ $cardBg }};
padding: 0 35px;
padding: 0 40px;
}
</style>
<div id="carouselExampleCaptions" class="carousel slide rounded-2">
@ -29,7 +29,7 @@
<div class="fw-bold text-uppercase text-primary text-truncate" style="cursor:pointer" title="{{ $manager->name }}">
{{ $manager->name }}
</div>
<div class="d-flex flex-column gap-1 fs-6">
<div class="d-flex flex-column fs-6">
<span><i class="bi bi-telephone-fill"></i> {{ $manager->phone }}</span>
<span><i class="bi bi-envelope-fill"></i> {{ $manager->email }}</span>
</div>