Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
victoryoalli committed Jun 12, 2023
1 parent 92886f2 commit 74d7178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/index.view.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h1>Home Page</h1>
<button @click="open = !open" class="bg-blue-500 px-4 py-1.5">Open Modal</button>
<div x-show="open" class="fixed inset-0 z-10 flex items-center justify-center bg-black bg-opacity-50">
<div class="p-8 bg-white rounded-lg">
<div class="p-8 bg-white rounded-lg" @click.outside="open=false">
<h2>Modal Title</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.</p>
<button class="text-xs bg-gray-300" @click="open = false">Close</button>
Expand Down

0 comments on commit 74d7178

Please sign in to comment.