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

29 lines
1,005 B
JavaScript
Raw Normal View History

2021-04-21 16:21:30 +00:00
import React from "react"
import Style from "./PageHome.module.css"
import classNames from "classnames"
2021-04-21 16:46:35 +00:00
import BoxHeaderOnly from "../components/BoxHeaderOnly"
import BoxWithHeader from "../components/BoxWithHeader"
2021-04-21 16:21:30 +00:00
export default function PageHome({ children, className, ...props }) {
return (
<div className={classNames(Style.PageHome, className)} {...props}>
2021-04-21 16:46:35 +00:00
<BoxHeaderOnly className={Style.Header}>
Create a new repository
</BoxHeaderOnly>
<BoxWithHeader className={Style.SearchByZone} header={"Search by zone"}>
</BoxWithHeader>
<BoxWithHeader className={Style.SearchByHashtags} header={"Search by hashtags"}>
</BoxWithHeader>
<BoxWithHeader className={Style.SearchByTimePeriod} header={"Search by time period"}>
</BoxWithHeader>
<BoxWithHeader className={Style.CreateDialog} header={"Create repository"}>
</BoxWithHeader>
2021-04-21 16:21:30 +00:00
</div>
)
}