generating an automated link.

PHOTO EMBED

Mon Jan 15 2024 03:26:31 GMT+0000 (Coordinated Universal Time)

Saved by @_rosetteeee_

<Modal open={isOpen} onClose={() => setIsOpen(false)}>
        <div className="add-job-modal">
          {flag ? (
            <>
              <h1 className="gradient__text" style={{ padding: "20px" }}>
                Job has been successfully posted. Share the following link with
                the candidates for hiring!!!
              </h1>
              <div className="modal-link">
                <a
                  className="modal-a"
                  style={{ paddingLeft: "30px", color: "blue" }}
                  href={http://localhost:3000/job/${jobId}}
                >
                  http://localhost:3000/job/{jobId}
                </a>
                <button
                  className="copy-button"
                  onClick={() =>
                    handlecopy(http://localhost:3000/job/${jobId})
                  }
                >
                  {buttontxt}
                </button>
              </div>
content_copyCOPY