-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscratchAddPalaceModal.js
More file actions
38 lines (33 loc) · 1.18 KB
/
scratchAddPalaceModal.js
File metadata and controls
38 lines (33 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
const AddPalaceImage = () => {
return (
<dialog id="add_palace_image_view" className="modal">
<div className="modal-box w-11/12 max-w-5xl">
<h3 className="font-bold text-lg">
Add Palace Image (upload img)
</h3>
<img
src="https://images.unsplash.com/photo-1635945416566-6302b54c056b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2060&q=80"
className="image-box w-60 mx-auto"
></img>
<p className="py-4">
Description: Add image for cover of Palace * Add
Description of Room * Save Palace Cover Photo &
Description * Changes to Regular Palace Modal
</p>
<div className="modal-action">
<button className="btn btn-sm btn-circle btn-ghost absolute right-2 top-2" onClick={() => window.add_palace_image_view.close()}>✕</button>
</div>
<div>
<button
className="btn"
onClick={() => {
window.add_palace_image_view.close();
window.reg_view.showModal();
}}
>Save Add Palace Image </button>
</div>
</div>
</dialog>
);
};
export default AddPalaceImage;