diff options
| author | Factiven <[email protected]> | 2023-09-13 00:45:53 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-13 00:45:53 +0700 |
| commit | 7327a69b55a20b99b14ee0803d6cf5f8b88c45ef (patch) | |
| tree | cbcca777593a8cc4b0282e7d85a6fc51ba517e25 /pages/404.js | |
| parent | Update issue templates (diff) | |
| download | moopa-7327a69b55a20b99b14ee0803d6cf5f8b88c45ef.tar.xz moopa-7327a69b55a20b99b14ee0803d6cf5f8b88c45ef.zip | |
Update v4 - Merge pre-push to main (#71)
* Create build-test.yml
* initial v4 commit
* update: github workflow
* update: push on branch
* Update .github/ISSUE_TEMPLATE/bug_report.md
* configuring next.config.js file
Diffstat (limited to 'pages/404.js')
| -rw-r--r-- | pages/404.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pages/404.js b/pages/404.js index c774372..5b6162b 100644 --- a/pages/404.js +++ b/pages/404.js @@ -4,6 +4,7 @@ import Navbar from "../components/navbar"; import Link from "next/link"; import { useEffect, useState } from "react"; import { parseCookies } from "nookies"; +import Image from "next/image"; export default function Custom404() { const [lang, setLang] = useState("en"); @@ -28,11 +29,17 @@ export default function Custom404() { <title>Not Found</title> <meta name="about" content="About this web" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> - <link rel="icon" href="/c.svg" /> + <link rel="icon" href="/svg/c.svg" /> </Head> <Navbar className="bg-[#0c0d10]" /> <div className="min-h-screen w-screen flex flex-col items-center justify-center "> - <img src="/404.svg" alt="404" className="w-[26vw] md:w-[15vw]" /> + <Image + width={500} + height={500} + src="/svg/404.svg" + alt="404" + className="w-[26vw] md:w-[15vw]" + /> <h1 className="text-2xl sm:text-4xl xl:text-6xl font-bold my-4"> Oops! Page not found </h1> |