1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-22 17:02:58 +02:00

fix: update copy roadmap alert (#7110)

* fix: update copy roadmap alert

* fix: update text
This commit is contained in:
Arik Chakma
2024-09-18 17:24:36 +06:00
committed by GitHub
parent 3598db798c
commit 6c914d1b47

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>