feat: add site visit tracking middleware and admin dashboard stats
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
<div class="col-md-6 col-lg-3">
|
||||
<div class="activity-item wow fadeInUp" data-wow-duration="1s" data-wow-delay=".25s">
|
||||
<div class="activity-img">
|
||||
<img src="{{ $tour?->file_id ?? asset('assets/img/activity/01.jpg') }}"
|
||||
alt="{{ $tour->title }}">
|
||||
@if($tour->coverImage?->file)
|
||||
<img src="{{ getFileUrl($tour->coverImage->file_id) }}"
|
||||
class="w-100 h-100"
|
||||
alt="{{ $tour->title }}">
|
||||
@else
|
||||
<img src="{{ asset('assets/Admin/images/tour/single-2.jpg') }}"
|
||||
class="w-100 h-100"
|
||||
alt="{{ $tour->title }}">
|
||||
@endif
|
||||
@auth
|
||||
<form action="{{ route('accounts.favorites.tour.toggle', ['tour' => $tour->id]) }}"
|
||||
method="POST"
|
||||
|
||||
Reference in New Issue
Block a user