feat : add games database
This commit is contained in:
@@ -13,6 +13,11 @@ import {
|
||||
|
||||
const MenuOptions = [
|
||||
{ text: "Game Report", icon: "streamline:magnifying-glass-solid", href: "/" },
|
||||
{
|
||||
text: "Game Database",
|
||||
icon: "streamline:database-solid",
|
||||
href: "/game-database",
|
||||
},
|
||||
];
|
||||
|
||||
interface Props {
|
||||
|
||||
@@ -15,14 +15,19 @@ export default function Layout({ children }: PropsWithChildren) {
|
||||
error: {
|
||||
main: red[400],
|
||||
},
|
||||
primary: {
|
||||
main: "#5d9948",
|
||||
},
|
||||
secondary: {
|
||||
main: useDarkMode ? "#424242" : "#90caf9",
|
||||
main: useDarkMode ? "#424242" : "#ffffff",
|
||||
},
|
||||
},
|
||||
}),
|
||||
[useDarkMode]
|
||||
);
|
||||
|
||||
if (useDarkMode === null) return null;
|
||||
|
||||
return (
|
||||
<ThemeProvider theme={theme}>
|
||||
<CssBaseline />
|
||||
|
||||
Reference in New Issue
Block a user