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

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