diff --git a/src/components/account/Account.tsx b/src/components/account/Account.tsx index ab3aac4..7df11f6 100644 --- a/src/components/account/Account.tsx +++ b/src/components/account/Account.tsx @@ -9,6 +9,10 @@ import { DialogActions, IconButton, InputLabel, + ListItem, + ListItemButton, + ListItemIcon, + ListItemText, NativeSelect, TextField, } from '@suid/material'; @@ -123,11 +127,15 @@ const Account: Component<{}> = (props) => { return ( <> -
- - - -
+ + + + + + Account + + + { // // @ts-ignore
- + @@ -326,7 +327,7 @@ const Map: Component = () => { - +
diff --git a/src/components/account/Account.module.css b/src/components/system-drawer/SystemDrawer.module.css similarity index 100% rename from src/components/account/Account.module.css rename to src/components/system-drawer/SystemDrawer.module.css diff --git a/src/components/system-drawer/SystemDrawer.tsx b/src/components/system-drawer/SystemDrawer.tsx new file mode 100644 index 0000000..ddc011b --- /dev/null +++ b/src/components/system-drawer/SystemDrawer.tsx @@ -0,0 +1,31 @@ +import { Component, createSignal } from 'solid-js'; + +import SettingsIcon from '@suid/icons-material/Settings'; + +import style from './SystemDrawer.module.css'; +import { Drawer, IconButton, List, ListItem } from '@suid/material'; +import Account from '../account'; + +interface Props {} + +const SystemDrawer: Component = (props) => { + const [open, setOpen] = createSignal(false); + return ( + <> +
+ setOpen(true)}> + + + setOpen(false)} anchor='right'> + + + + + + +
+ + ); +}; + +export default SystemDrawer; diff --git a/src/components/system-drawer/index.ts b/src/components/system-drawer/index.ts new file mode 100644 index 0000000..41bc371 --- /dev/null +++ b/src/components/system-drawer/index.ts @@ -0,0 +1 @@ +export { default } from './SystemDrawer';