Skip to content

Commit

Permalink
fixing github pages' page not found issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BaraaJadaan committed Feb 23, 2024
1 parent 44ec004 commit b80f5e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Intro/Intro.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ function Intro() {
const navigate = useNavigate();
const handleVideoEnd = () => {
navigate("/brandingmind/home");
location.reload()
};

//mouse tracing
Expand All @@ -33,7 +34,7 @@ function Intro() {
<source src={intro} type="video/mp4"/>
</video>
</div>
<a href="/brandingmind/home" className="enter">Enter Site</a>
<a onClick={handleVideoEnd} className="enter">Enter Site</a>

</div>
)
Expand Down

0 comments on commit b80f5e3

Please sign in to comment.