- guest users can access explore page - deal interactions are seen to customer and guest users - guest users redirected to login page for interactions
36 lines
1.0 KiB
PHP
36 lines
1.0 KiB
PHP
<x-layout title="Deals">
|
|
<x-dashboard.page-heading
|
|
title="Explore Deals"
|
|
description="Discover trusted recommendation"
|
|
>
|
|
<x-slot:end>
|
|
<x-explore.profile-menu :profile-link="$profileLink"/>
|
|
</x-slot:end>
|
|
</x-dashboard.page-heading>
|
|
<section class="flex flex-col space-y-8 bg-[#F9FAFB] wrapper mt-2 pb-6">
|
|
|
|
<!-- Session messages -->
|
|
<div>
|
|
@session('success')
|
|
<x-ui.alert variant="success">{{$value}}</x-ui.alert>
|
|
@endsession
|
|
|
|
@session('error')
|
|
<x-ui.alert variant="error">{{$value}}</x-ui.alert>
|
|
@endsession
|
|
</div>
|
|
|
|
<x-explore.search :recent-searches="$recentSearches" :categories="$categories"/>
|
|
|
|
<!-- Sorting buttons -->
|
|
<x-explore.toggle-buttons/>
|
|
|
|
<x-dashboard.user.listing :deals="$deals"/>
|
|
@auth
|
|
<x-dashboard.user.report-modal/>
|
|
<x-dashboard.user.deal-modal/>
|
|
@endauth
|
|
</section>
|
|
<x-ui.toast/>
|
|
</x-layout>
|