Here is some JavaScript code:
import { Box, Button, Container } from "@chakra-ui/react"; import type { NextPage } from "next"; import Head from "next/head"; import { ColorModeSwitch } from "../components/ColorModeSwitch"; import { Navbar } from "../components/Navbar"; import { RenderMarkdown } from "../components/RenderMarkdown"; const Home: NextPage = () => { return ( <Box> <Navbar /> <Container maxW="2xl"> <RenderMarkdown /> </Container> </Box> ); }; export default Home;