-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(website): minor various improvements to website and docs (#13121)
- Loading branch information
Showing
12 changed files
with
212 additions
and
206 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,131 +1,120 @@ | ||
import { ThemeSwitch, useConfig } from "nextra-theme-docs"; | ||
|
||
export default function Footer({ menu }) { | ||
const config = useConfig(); | ||
|
||
export default function Footer() { | ||
return ( | ||
<footer className="bg-neutral-100 dark:bg-neutral-900"> | ||
<div | ||
className={`nx-mx-auto nx-flex nx-py-2 px-8 nx-border dark:nx-border-neutral-800 contrast-more:nx-border-neutral-400 | ||
${menu && (config.darkMode) | ||
? 'nx-flex' | ||
: 'nx-hidden' | ||
}`} | ||
> | ||
{config.darkMode && <ThemeSwitch />} | ||
</div> | ||
<div className="grid grid-cols-2 gap-8 px-6 py-8 md:grid-cols-3 md:px-44"> | ||
<div> | ||
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300"> | ||
About | ||
</h2> | ||
<ul className="text-neutral-500 dark:text-neutral-400"> | ||
<li className="mb-4"> | ||
<a | ||
href="https://mirror.xyz/labs.taiko.eth" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Blog | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://www.notion.so/taikoxyz/Taiko-Jobs-828fd7232d2c4150a11e10c8baa910a2" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Careers | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://github.com/taikoxyz/taiko-mono/tree/main/packages/branding/" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Media kit | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div> | ||
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300"> | ||
Developers | ||
</h2> | ||
<ul className="text-neutral-500 dark:text-neutral-400"> | ||
<li className="mb-4"> | ||
<a href="/docs" className="hover:underline"> | ||
Get started | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://github.com/taikoxyz" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
GitHub | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://taikoxyz.github.io/taiko-mono/taiko-whitepaper.pdf" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Whitepaper | ||
</a> | ||
</li> | ||
</ul> | ||
<div className="mx-auto max-w-[90rem]"> | ||
<div className="grid grid-cols-2 pl-[max(env(safe-area-inset-left),1.5rem)] pr-[max(env(safe-area-inset-right),1.5rem)] py-8 md:grid-cols-3 "> | ||
<div> | ||
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300"> | ||
About | ||
</h2> | ||
<ul className="text-neutral-500 dark:text-neutral-400"> | ||
<li className="mb-4"> | ||
<a | ||
href="https://mirror.xyz/labs.taiko.eth" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Blog | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://www.notion.so/taikoxyz/Taiko-Jobs-828fd7232d2c4150a11e10c8baa910a2" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Careers | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://github.com/taikoxyz/taiko-mono/tree/main/packages/branding/" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Media kit | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div> | ||
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300"> | ||
Developers | ||
</h2> | ||
<ul className="text-neutral-500 dark:text-neutral-400"> | ||
<li className="mb-4"> | ||
<a href="/docs" className="hover:underline"> | ||
Get started | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://github.com/taikoxyz" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
GitHub | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://taikoxyz.github.io/taiko-mono/taiko-whitepaper.pdf" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Whitepaper | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div> | ||
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300"> | ||
Follow us | ||
</h2> | ||
<ul className="text-neutral-500 dark:text-neutral-400"> | ||
<li className="mb-4"> | ||
<a | ||
href="https://discord.gg/taikoxyz" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Discord | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://www.reddit.com/r/taiko_xyz/" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://twitter.com/taikoxyz" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://www.youtube.com/@taikoxyz" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
YouTube | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div> | ||
<h2 className="mb-6 text-sm font-semibold text-neutral-500 uppercase dark:text-neutral-300"> | ||
Follow us | ||
</h2> | ||
<ul className="text-neutral-500 dark:text-neutral-400"> | ||
<li className="mb-4"> | ||
<a | ||
href="https://discord.gg/taikoxyz" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
Discord | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://www.reddit.com/r/taiko_xyz/" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://twitter.com/taikoxyz" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
</a> | ||
</li> | ||
<li className="mb-4"> | ||
<a | ||
href="https://www.youtube.com/@taikoxyz" | ||
className="hover:underline" | ||
target={"_blank"} | ||
> | ||
YouTube | ||
</a> | ||
</li> | ||
</ul> | ||
<div className="text-md text-center text-neutral-500 dark:text-neutral-300 bg-neutral-100 dark:bg-neutral-900 px-4 py-6"> | ||
© {new Date().getFullYear()} Taiko Labs | ||
</div> | ||
</div> | ||
<div className="text-md text-center text-neutral-500 dark:text-neutral-300 bg-neutral-100 dark:bg-neutral-900 px-4 py-6"> | ||
© {new Date().getFullYear()} Taiko Labs | ||
</div> | ||
</footer> | ||
); | ||
} |
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
Oops, something went wrong.