2021-05-20 12:16:01 +02:00
|
|
|
import React, { useContext } from "react"
|
2021-05-24 03:51:14 +02:00
|
|
|
import Style from "./PageRepositoryCreate.module.css"
|
2021-04-21 18:21:30 +02:00
|
|
|
import classNames from "classnames"
|
2021-04-29 16:58:31 +02:00
|
|
|
import BoxHeader from "../components/base/BoxHeader"
|
2021-04-29 17:04:56 +02:00
|
|
|
import RepositoryEditor from "../components/providers/RepositoryEditor"
|
2021-05-18 18:50:02 +02:00
|
|
|
import ContextLanguage from "../contexts/ContextLanguage"
|
2021-04-21 18:21:30 +02:00
|
|
|
|
|
|
|
|
2021-05-24 03:51:14 +02:00
|
|
|
export default function PageRepositoryCreate({ children, className, ...props }) {
|
2021-05-18 18:50:02 +02:00
|
|
|
const { strings } = useContext(ContextLanguage)
|
|
|
|
|
2021-04-21 18:21:30 +02:00
|
|
|
return (
|
|
|
|
<div className={classNames(Style.PageHome, className)} {...props}>
|
2021-05-07 17:41:25 +02:00
|
|
|
<BoxHeader className={Style.Header}>
|
2021-05-18 18:50:02 +02:00
|
|
|
{strings.dashboardTitle}
|
2021-05-07 17:41:25 +02:00
|
|
|
</BoxHeader>
|
|
|
|
<RepositoryEditor className={Style.RepositoryEditor}/>
|
2021-04-21 18:21:30 +02:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|