FEAT: Add Chrome-Dino-Game to 404 Page;

This commit is contained in:
Chris-1010
2025-02-18 18:03:17 +00:00
parent 6999e1a0a1
commit 4e85007854
5 changed files with 30 additions and 35 deletions

View File

@@ -1,6 +1,8 @@
import React, { useState, useEffect } from "react";
import { useNavigate } from "react-router-dom";
import Button from "../components/Input/Button";
// @ts-ignore
import ChromeDinoGame from "react-chrome-dino";
const NotFoundPage: React.FC = () => {
const navigate = useNavigate();
@@ -56,6 +58,7 @@ const NotFoundPage: React.FC = () => {
<div className="w-full text-center animate-floating">
<h1 className="text-6xl font-bold mb-4">404</h1>
<p className="text-2xl mb-8">Page Not Found</p>
<ChromeDinoGame />
<Button extraClasses="z-[100]" onClick={() => navigate("/")}>
Go Home
</Button>