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/PageDashboard.js

31 lines
1.4 KiB
JavaScript
Raw Normal View History

2021-04-21 16:21:30 +00:00
import React from "react"
import Style from "./PageDashboard.module.css"
2021-04-21 16:21:30 +00:00
import classNames from "classnames"
2021-04-29 14:58:31 +00:00
import BoxHeader from "../components/base/BoxHeader"
2021-04-29 15:04:56 +00:00
import RepositoryEditor from "../components/providers/RepositoryEditor"
import BoxConditionHashtag from "../components/interactive/BoxConditionHashtag"
import BoxConditions from "../components/interactive/BoxConditions"
2021-04-30 14:37:28 +00:00
import BoxConditionDatetime from "../components/interactive/BoxConditionDatetime"
2021-04-30 20:10:00 +00:00
import BoxConditionMap from "../components/interactive/BoxConditionMap"
2021-05-07 02:48:03 +00:00
import BoxConditionUser from "../components/interactive/BoxConditionUser"
2021-05-07 15:30:10 +00:00
import BoxRepositoryCreate from "../components/interactive/BoxRepositoryCreate"
2021-04-21 16:21:30 +00:00
export default function PageDashboard({ children, className, ...props }) {
2021-04-21 16:21:30 +00:00
return (
<div className={classNames(Style.PageHome, className)} {...props}>
2021-04-29 15:04:56 +00:00
<RepositoryEditor>
<BoxHeader className={Style.Header}>
Create a new repository
</BoxHeader>
2021-04-30 20:10:00 +00:00
<BoxConditionMap className={Style.SearchByZone}/>
2021-04-29 15:04:56 +00:00
<BoxConditionHashtag className={Style.SearchByHashtags}/>
2021-05-07 02:48:03 +00:00
<BoxConditionUser className={Style.SearchByUser}/>
2021-04-30 20:10:00 +00:00
<BoxConditionDatetime className={Style.SearchByTimePeriod}/>
2021-04-29 15:04:56 +00:00
<BoxConditions className={Style.Conditions}/>
2021-05-07 15:30:10 +00:00
<BoxRepositoryCreate className={Style.CreateDialog}/>
2021-04-29 15:04:56 +00:00
</RepositoryEditor>
2021-04-21 16:21:30 +00:00
</div>
)
}