forked from latticexyz/mud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: various tweaks/fixes (latticexyz#1938)
- Loading branch information
Showing
23 changed files
with
468 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
import { useTheme } from "nextra-theme-docs"; | ||
|
||
export default function NavLogo() { | ||
const { resolvedTheme } = useTheme(); | ||
return ( | ||
<div style={{ display: "grid", gridAutoFlow: "column", alignItems: "center" }}> | ||
<div | ||
style={{ | ||
display: "flex", | ||
alignItems: "center", | ||
gap: "0.25em", | ||
fontSize: "32px", | ||
fontFamily: "PP Supply Mono", | ||
textTransform: "uppercase", | ||
}} | ||
> | ||
{/* TODO: figure out how to size Logo and use that here instead */} | ||
<img | ||
src={resolvedTheme === "light" ? "/logo512-black.svg" : "/logo512-white.svg"} | ||
src="/images/logos/mud-white.svg" | ||
style={{ height: "calc(var(--nextra-navbar-height) - 35px)" }} | ||
alt="MUD logo" | ||
/> | ||
MUD | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Head, Html, Main, NextScript } from "next/document"; | ||
|
||
export default function Document() { | ||
return ( | ||
<Html> | ||
<Head> | ||
<link rel="apple-touch-icon" href="/images/logos/circle/mud.svg" /> | ||
<link rel="shortcut icon" type="image/svg" href="/images/logos/circle/mud.svg" /> | ||
</Head> | ||
<body> | ||
<Main /> | ||
<NextScript /> | ||
</body> | ||
</Html> | ||
); | ||
} |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.