1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 21:14:18 +00:00
pds-2021-g2-nest/code/frontend/src/routes/PageSettings.js
2021-04-21 18:58:14 +02:00

30 lines
981 B
JavaScript

import React from "react"
import Style from "./PageSettings.module.css"
import classNames from "classnames"
import BoxHeaderOnly from "../components/BoxHeaderOnly"
import BoxWithHeader from "../components/BoxWithHeader"
import Select from "../components/Select"
import SelectTheme from "../components/SelectTheme"
export default function PageSettings({ children, className, ...props }) {
return (
<div className={classNames(Style.PageSettings, className)} {...props}>
<BoxHeaderOnly>
You are currently logged in as:
</BoxHeaderOnly>
<BoxHeaderOnly>
Switch theme: <SelectTheme/>
</BoxHeaderOnly>
<BoxWithHeader header={"Change your email address"}>
</BoxWithHeader>
<BoxWithHeader header={"Alert settings"}>
</BoxWithHeader>
<BoxWithHeader header={"Change your password"}>
</BoxWithHeader>
</div>
)
}