-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Reuse page height and top padding in layout (#35)
* refactor: reuse page height and top padding in layout * refactor(join-us): use `Title` * fix: uniform `Title` font size
- Loading branch information
Showing
12 changed files
with
99 additions
and
124 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
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 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 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 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 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 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 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,28 +1,22 @@ | ||
import Footer from '@/components/Footer'; | ||
import Header from '@/components/Header'; | ||
import Link from 'next/link'; | ||
|
||
export default function NotFound() { | ||
return ( | ||
<> | ||
<Header /> | ||
<main className="relative z-10 mb-64 mt-32 flex h-auto w-responsive flex-col items-center justify-center text-white"> | ||
<section className="flex w-full flex-col items-center justify-start gap-6 pt-[10em] max-md:pb-12 md:pt-[16em]"> | ||
<h1 className="lg:text-primary-heading text-left text-5xl font-bold md:text-6xl"> | ||
404 | ||
</h1> | ||
<h2 className="lg:text-secondary-heading text-left text-5xl font-bold md:text-6xl"> | ||
Not found | ||
</h2> | ||
<Link | ||
className="px-5 py-2 text-xl font-bold lg:px-6 lg:py-3 lg:text-2xl" | ||
href="/" | ||
> | ||
Go home | ||
</Link> | ||
</section> | ||
</main> | ||
<Footer /> | ||
</> | ||
<main className="flex flex-col items-center justify-center"> | ||
<section className="flex w-full flex-col items-center justify-start gap-6 pt-[10em] max-md:pb-12 md:pt-[16em]"> | ||
<h1 className="lg:text-primary-heading text-left text-5xl font-bold md:text-6xl"> | ||
404 | ||
</h1> | ||
<h2 className="lg:text-secondary-heading text-left text-5xl font-bold md:text-6xl"> | ||
Not found | ||
</h2> | ||
<Link | ||
className="px-5 py-2 text-xl font-bold underline lg:px-6 lg:py-3 lg:text-2xl" | ||
href="/" | ||
> | ||
Go home | ||
</Link> | ||
</section> | ||
</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 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 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,8 +1,6 @@ | ||
/** Paragraph with rounded corner & grey background & white text */ | ||
/** Paragraph with round corner border */ | ||
export default function Paragraph({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<div className="rounded-xl border-2 bg-grey p-3 text-lg text-white md:p-6 md:text-xl"> | ||
{children} | ||
</div> | ||
<div className="rounded-xl border-2 bg-grey p-3 text-lg md:p-6 md:text-xl">{children}</div> | ||
); | ||
} |
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