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

31 lines
981 B
JavaScript
Raw Normal View History

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