Add support for dark mode
This commit is contained in:
+7
-1
@@ -2,6 +2,7 @@ import React from "react";
|
||||
import { NextPage } from "next";
|
||||
import { Mainframe } from "../ui/Mainframe";
|
||||
import Head from "next/head";
|
||||
import { Header } from "../ui/header";
|
||||
|
||||
const Index: NextPage = () => {
|
||||
return (
|
||||
@@ -9,7 +10,12 @@ const Index: NextPage = () => {
|
||||
<Head>
|
||||
<title>Esolang Park</title>
|
||||
</Head>
|
||||
<Mainframe />
|
||||
<div style={{ height: "100%", display: "flex", flexDirection: "column" }}>
|
||||
<Header />
|
||||
<div style={{ flexGrow: 1 }}>
|
||||
<Mainframe />
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user