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="<?php echo e($tour?->file_id ?? asset('assets/img/activity/01.jpg')); ?>"
|
||||
alt="<?php echo e($tour->title); ?>">
|
||||
<?php if($tour->coverImage?->file): ?>
|
||||
<img src="<?php echo e(getFileUrl($tour->coverImage->file_id)); ?>"
|
||||
class="w-100 h-100"
|
||||
alt="<?php echo e($tour->title); ?>">
|
||||
<?php else: ?>
|
||||
<img src="<?php echo e(asset('assets/Admin/images/tour/single-2.jpg')); ?>"
|
||||
class="w-100 h-100"
|
||||
alt="<?php echo e($tour->title); ?>">
|
||||
<?php endif; ?>
|
||||
<?php if(auth()->guard()->check()): ?>
|
||||
<form action="<?php echo e(route('accounts.favorites.tour.toggle', ['tour' => $tour->id])); ?>"
|
||||
method="POST"
|
||||
|
||||
Reference in New Issue
Block a user