1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-23 13:34:19 +00:00
pds-2021-g2-nest/nest_frontend/routes/PageRepositoryCreate.js

24 lines
768 B
JavaScript

import React, { useContext } from "react"
import BoxHeader from "../components/base/BoxHeader"
import RepositoryEditor from "../components/providers/RepositoryEditor"
import ContextLanguage from "../contexts/ContextLanguage"
import PageWithHeader from "../components/base/layout/PageWithHeader"
import makeIcon from "../utils/makeIcon"
import { faPlus } from "@fortawesome/free-solid-svg-icons"
export default function PageRepositoryCreate() {
const { strings } = useContext(ContextLanguage)
return (
<PageWithHeader
header={
<BoxHeader>
{makeIcon(faPlus)} {strings.dashboardTitle}
</BoxHeader>
}
>
<RepositoryEditor/>
</PageWithHeader>
)
}