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