diff --git a/src/components/Layout/HomeContent.js b/src/components/Layout/HomeContent.js index edf790d3d1d..6416d672a68 100644 --- a/src/components/Layout/HomeContent.js +++ b/src/components/Layout/HomeContent.js @@ -27,6 +27,7 @@ import CodeBlock from 'components/MDX/CodeBlock'; import {ExternalLink} from 'components/ExternalLink'; import sidebarBlog from '../../sidebarBlog.json'; import * as React from 'react'; +import Image from 'next/image'; function Section({children, background = null}) { return ( @@ -117,10 +118,12 @@ export function HomeContent() {
- logo by @sawaratsuki1004
diff --git a/src/components/Layout/TopNav/TopNav.tsx b/src/components/Layout/TopNav/TopNav.tsx index fcc1069e211..06f2dd8077e 100644 --- a/src/components/Layout/TopNav/TopNav.tsx +++ b/src/components/Layout/TopNav/TopNav.tsx @@ -10,6 +10,7 @@ import { startTransition, Suspense, } from 'react'; +import Image from 'next/image'; import * as React from 'react'; import cn from 'classnames'; import NextLink from 'next/link'; @@ -249,14 +250,15 @@ export default function TopNav({ {isMenuOpen ? : }
-
- - + + logo by @sawaratsuki1004 diff --git a/src/styles/index.css b/src/styles/index.css index 27f0a997755..c8254c10cd6 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -745,11 +745,10 @@ ol.mdx-illustration-block { display: flex; } -.uwu { - .uwu-visible { - display: flex; - } - .uwu-hidden { - display: none; - } +.uwu .uwu-visible { + display: flex; +} + +.uwu .uwu-hidden { + display: none; }