feat(gui): Display developer responses to feedback (#302)

This commit is contained in:
Mohan 2025-04-28 13:12:43 +02:00 committed by GitHub
parent f1e5cdfbfe
commit 53a994e6dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 1216 additions and 45 deletions

View file

@ -0,0 +1,38 @@
import { Box, makeStyles } from "@material-ui/core";
import ContactInfoBox from "./ContactInfoBox";
import DonateInfoBox from "./DonateInfoBox";
import DaemonControlBox from "./DaemonControlBox";
import SettingsBox from "./SettingsBox";
import ExportDataBox from "./ExportDataBox";
import { useLocation } from "react-router-dom";
import { useEffect } from "react";
const useStyles = makeStyles((theme) => ({
outer: {
display: "flex",
gap: theme.spacing(2),
flexDirection: "column",
paddingBottom: theme.spacing(2),
},
}));
export default function SettingsPage() {
const classes = useStyles();
const location = useLocation();
useEffect(() => {
if (location.hash) {
const element = document.getElementById(location.hash.slice(1));
element?.scrollIntoView({ behavior: "smooth" });
}
}, [location]);
return (
<Box className={classes.outer}>
<SettingsBox />
<ExportDataBox />
<DaemonControlBox />
<DonateInfoBox />
</Box>
);
}