1
0
Fork 0

move settings into a grid

This commit is contained in:
ChaotiCryptidz 2022-01-19 14:14:13 +00:00
parent 2a3edaf18a
commit 9fffb275d1

View file

@ -1,6 +1,7 @@
import { Component } from "preact";
import { DefaultPageProps } from "../../../types/DefaultPageProps";
import { GeneralSettings } from "./GeneralSettings";
import { Grid, GridSizes } from "../../elements/Grid";
import { KeyValueEditorSettings } from "./KeyValueEditorSettings";
import { PageTitle } from "../../elements/PageTitle";
import i18next from "i18next";
@ -10,12 +11,14 @@ export class Settings extends Component<DefaultPageProps> {
return (
<>
<PageTitle title={i18next.t("settings_title")} />
<div>
<GeneralSettings {...this.props} />
</div>
<div>
<KeyValueEditorSettings {...this.props} />
</div>
<Grid size={GridSizes.NORMAL}>
<div>
<GeneralSettings {...this.props} />
</div>
<div>
<KeyValueEditorSettings {...this.props} />
</div>
</Grid>
</>
);
}