MIF_E31221259/resources/views/admin/partials/logout-modal.blade.php

22 lines
1.1 KiB
PHP

<div id="logoutModal" class="fixed inset-0 bg-black bg-opacity-60 flex items-center justify-center z-50 hidden">
<div
class="bg-blue-500 border border-white text-white px-10 py-8 rounded-2xl w-full max-w-lg shadow-2xl text-center">
<h2 class="text-2xl font-semibold mb-4">Are you sure you want to log out?</h2>
<p class="mb-6 text-white text-sm leading-relaxed">
By logging out, you will be signed out of your account and will no longer have access to your personalized
settings and information.
</p>
<div class="flex justify-end gap-6 mt-6">
<button id="cancelLogout"
class="text-white text-base font-medium hover:underline focus:outline-none transition">Cancel</button>
<form action="{{ route('logout') }}" method="POST" class="inline">
@csrf
<button type="submit" id="confirmLogout"
class="bg-red-600 hover:bg-red-700 text-white font-bold py-2 px-6 rounded-full transition duration-200">
Log Out
</button>
</form>
</div>
</div>
</div>