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

29 lines
872 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: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>
Switch theme:
</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>
)
}