const VideoButton = ({ buttonVideoURL, buttonOneText }) => {

  const openVideoLink = () => {
    window.open(buttonVideoURL, "_blank");
  };

  return (
    <div>
      <button
        className="px-20 mt-8 mx-5 py-2 text-white border border-blue-500 rounded hover:border-white transition duration-300 ease-in-out focus:outline-none"
        onClick={openVideoLink}
      >
        {buttonOneText}
      </button>
    </div>
  );
};

export default VideoButton;
