-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from replayio/nacho/404-redesign
basement - 404 redesign
- Loading branch information
Showing
4 changed files
with
65 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
import Link from 'next/link' | ||
import { Metadata, Viewport } from 'next' | ||
import { Header } from '~/components/layout/header' | ||
import { Hero } from '~/components/sections/404/hero' | ||
|
||
import { Button } from '~/components/Button' | ||
import { Logo } from '~/components/FullLogo' | ||
import { SlimLayout } from '~/components/SlimLayout' | ||
export const metadata: Metadata = { | ||
title: 'Not found 404' | ||
} | ||
|
||
export const viewport: Viewport = { | ||
themeColor: '#070a10' | ||
} | ||
|
||
export default function NotFound() { | ||
return ( | ||
<SlimLayout> | ||
<div className="flex"> | ||
<Link href="/" aria-label="Home"> | ||
<Logo className="h-10 w-auto" /> | ||
</Link> | ||
</div> | ||
<p className="mt-20 text-sm font-medium text-gray-700">404</p> | ||
<h1 className="mt-3 text-lg font-semibold text-gray-900">Page not found</h1> | ||
<p className="mt-3 text-sm text-gray-700"> | ||
Sorry, we couldn’t find the page you’re looking for. | ||
</p> | ||
<Button href="/" className="mt-10"> | ||
Go back home | ||
</Button> | ||
</SlimLayout> | ||
<> | ||
<Header variant="dark" className="!border-none !bg-transparent" /> | ||
<main className="pt-[var(--header-height)]"> | ||
<Hero /> | ||
</main> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters