Compare commits

...

2 Commits

Author SHA1 Message Date
Arik Chakma
2bb2d82e7c fix: update text 2024-09-13 21:15:09 +06:00
Arik Chakma
8ed68bb940 fix: update copy roadmap alert 2024-09-13 18:01:31 +06:00

View File

@@ -9,28 +9,31 @@ export function ContentConfirmationModal(props: ContentConfirmationModalProps) {
const { onClose, onClick } = props;
return (
<Modal onClose={onClose}>
<Modal onClose={onClose} wrapperClassName="max-w-lg">
<div className="p-4">
<h2 className="text-lg font-semibold">Roadmap Content</h2>
<h2 className="text-lg font-semibold">
Copy Node Details and Resources?
</h2>
<p className="balanc text-gray-600">
Do you want to copy the content of this roadmap?
This will just copy the roadmap in your team. Would you like to copy
the resource links and node details as well?
</p>
<div className="mt-4 grid grid-cols-2 gap-2">
<button
className="rounded-lg border p-2.5 font-medium"
className="rounded-lg border p-2.5 font-normal"
onClick={() => {
onClick(false);
}}
>
No
No, copy roadmap only
</button>
<button
className="rounded-lg border bg-black p-2.5 font-medium text-white hover:opacity-80"
className="rounded-lg border bg-black p-2.5 font-normal text-white hover:opacity-80"
onClick={() => {
onClick(true);
}}
>
Yes
Yes, also copy resources
</button>
</div>
</div>