|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
import axios from "axios";
|
|
|
|
|
|
|
|
|
|
import { NextPage } from "next";
|
|
|
|
|
import { NextSeo } from "next-seo";
|
|
|
|
|
|
|
|
|
|
import { FC, useState } from "react";
|
|
|
|
|
|
|
|
|
@ -163,6 +164,11 @@ const Settings: NextPage = () => {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<NextSeo
|
|
|
|
|
title="Settings"
|
|
|
|
|
description={`Update your ${process.env.NEXT_PUBLIC_APP_NAME} settings`}
|
|
|
|
|
/>
|
|
|
|
|
<Layout>
|
|
|
|
|
<Container>
|
|
|
|
|
<Typography sx={{ my: 2 }} variant="h2">
|
|
|
|
@ -182,7 +188,9 @@ const Settings: NextPage = () => {
|
|
|
|
|
color="primary"
|
|
|
|
|
aria-label="outlined default button group"
|
|
|
|
|
>
|
|
|
|
|
<Button onClick={() => setSetting("theme", "light")}>Light</Button>
|
|
|
|
|
<Button onClick={() => setSetting("theme", "light")}>
|
|
|
|
|
Light
|
|
|
|
|
</Button>
|
|
|
|
|
<Button onClick={() => setSetting("theme")}>System</Button>
|
|
|
|
|
<Button onClick={() => setSetting("theme", "dark")}>Dark</Button>
|
|
|
|
|
</ButtonGroup>
|
|
|
|
@ -251,6 +259,7 @@ const Settings: NextPage = () => {
|
|
|
|
|
</Box>
|
|
|
|
|
</Container>
|
|
|
|
|
</Layout>
|
|
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|