fix: update copy roadmap alert (#7110)

* fix: update copy roadmap alert

* fix: update text
fix/dashboard
Arik Chakma 1 month ago committed by GitHub
parent 3598db798c
commit 6c914d1b47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 17
      src/components/CreateTeam/ContentConfirmationModal.tsx

@ -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>

Loading…
Cancel
Save