diff --git a/src/components/hero/Hero.jsx b/src/components/hero/Hero.jsx index e61779d..b5652ff 100644 --- a/src/components/hero/Hero.jsx +++ b/src/components/hero/Hero.jsx @@ -1,26 +1,54 @@ -import React from 'react' -import heroImg from "../../assets/hero1.png" +import React, { useState } from 'react'; +import heroImg from "../../assets/hero1.png"; const Hero = () => { + // State to control the visibility of the error modal + const [showErrorModal, setShowErrorModal] = useState(false); + + // Function to handle the close of the modal and redirection + const handleCloseModal = () => { + setShowErrorModal(false); + }; + + // Function to handle the redirection + const handleRedirect = () => { + window.location.href = 'https://demondev0666.github.io/DoNotEnter'; // Your redirect URL + }; + return (
You are not supposed to enter here!
+“There is no doubt that creativity is the most important human resource of all. Without creativity, there would be no progress, and we would be forever repeating the same patterns”- Edward de Bono (1992)
- -