@extends('layouts.shell') @section('title', 'Sliders') @section('subtitle', 'Home banners. After the end date they leave the home page automatically.') @section('actions') Add slider @endsection @section('content')
| Image | Title | Start date | End date | Status | |
|---|---|---|---|---|---|
| @if ($slider->imageUrl()) |
{{ $slider->title ?: 'Untitled' }}
@if ($slider->link_url)
{{ Str::limit($slider->link_url, 42) }}
@endif
|
{{ $slider->starts_at?->format('d M Y') ?? '—' }} | {{ $slider->ends_at?->format('d M Y') ?? '—' }} | {{ $status }} | Edit |
| No sliders yet. | |||||