mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-23 09:22:52 +02:00
fix: update copy roadmap alert (#7110)
* fix: update copy roadmap alert * fix: update text
This commit is contained in:
@@ -9,28 +9,31 @@ export function ContentConfirmationModal(props: ContentConfirmationModalProps) {
|
|||||||
const { onClose, onClick } = props;
|
const { onClose, onClick } = props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal onClose={onClose}>
|
<Modal onClose={onClose} wrapperClassName="max-w-lg">
|
||||||
<div className="p-4">
|
<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">
|
<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>
|
</p>
|
||||||
<div className="mt-4 grid grid-cols-2 gap-2">
|
<div className="mt-4 grid grid-cols-2 gap-2">
|
||||||
<button
|
<button
|
||||||
className="rounded-lg border p-2.5 font-medium"
|
className="rounded-lg border p-2.5 font-normal"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
onClick(false);
|
onClick(false);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
No
|
No, copy roadmap only
|
||||||
</button>
|
</button>
|
||||||
<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={() => {
|
||||||
onClick(true);
|
onClick(true);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Yes
|
Yes, also copy resources
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user