Skip to content

New-404-site #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions src/pages/404.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ const NotFound = () => {
</style>
</Head>
<div className="grid h-screen place-items-center bg-center">
<div className="text-blue-600 mt-12 mx-auto text-center">
<div className="text-blue-600 mx-auto text-center">
<div className='grid-cols-1 grid'>
<div>
<div className='p-2'>
<img
width="200"
width="150"
src={`${process.env.NEXT_PUBLIC_FRONTEND_URL}/ctfguide404WithLogo.png`}
className='mx-auto text-center mt-10'
className='mx-auto text-center mt-5'
alt="CTF Guide 404"
/>
<h1 className='text-white text-xl mt-4'>Uh, oh. We looked everywhere and couldn't find that page.</h1>
<div className='bg-black text-white text-left px-4 py-4 mt-4'>
<div className='bg-black text-white text-left px-4 py-4 mt-4 mb-4'>
<div>
root@ctfguide:/home/cat/cat_stuff: <span className='text-yellow-400'>cd {pathname}</span> <br />
bash: cd: {pathname}: <span className='text-red-500'>No such file or directory</span>
Expand All @@ -45,18 +45,20 @@ const NotFound = () => {
<a className='ml-2 hover:text-blue-500 cursor-pointer' href="https://discord.gg/cTp4w9u8F2">[Join our Discord]</a>
</div>
</div>
<img
width="500"
src={`${process.env.NEXT_PUBLIC_FRONTEND_URL}/Kana404.png`}
className='mx-auto text-center mt-10'
alt="Kana 404"
/>

<span
onClick={() => router.back()}
className="mt-6 cursor-pointer text-neutral-200 hover:text-neutral-400 mr-4 text-lg"
className="cursor-pointer text-neutral-200 hover:text-neutral-400 mr-4 text-2xl"
>
<i className="fas fa-arrow-left"></i> Go Back
</span>

<img
width="500"
src={`${process.env.NEXT_PUBLIC_FRONTEND_URL}/Kana404.png`}
className='mx-auto mt-10 text-center hidden lg:block'
alt="Kana 404"
/>
</div>
</div>
</div>
Expand Down