Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review Modal Updated #167

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/components/ReviewModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const ReviewModal = () => {
return (
<>
{isVisible && !thankYouVisible && (
<div className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50">
<div className="bg-white p-6 rounded-lg w-96 text-center font-sans">
<h1 className="text-2xl font-bold mb-1 text-black">Rate Our DearDiary</h1>
<div className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 py-8">
<div className="bg-white px-6 py-4 rounded-lg w-[1000px] text-center font-sans">
<h1 className="text-2xl font-bold -mb-2 text-black ">Rate Our DearDiary</h1>
<div className="flex justify-center mb-3">
<ReactStars
count={5}
Expand All @@ -61,8 +61,10 @@ const ReviewModal = () => {
</div>
)}
{thankYouVisible && (
<div className="fixed top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-white p-6 rounded-lg shadow-lg">
<p className="text-black font-bold text-center">Thank you for your feedback!</p>
<div className="fixed inset-0 bg-neutral-900 z-50 flex items-center justify-center">
<div className="fixed top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-white p-6 rounded-lg shadow-lg">
<p className="text-black font-bold text-center">Thank you for your feedback!</p>
</div>
</div>
)}
</>
Expand Down
Loading