1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-12-01 17:04:19 +00:00
pds-2021-g2-nest/nest_frontend/routes/PageRepositoryCreate.js

25 lines
768 B
JavaScript
Raw Normal View History

2021-05-20 10:16:01 +00:00
import React, { useContext } from "react"
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"
2021-05-18 16:50:02 +00:00
import ContextLanguage from "../contexts/ContextLanguage"
2021-05-25 02:06:14 +00:00
import PageWithHeader from "../components/base/layout/PageWithHeader"
import makeIcon from "../utils/makeIcon"
import { faPlus } from "@fortawesome/free-solid-svg-icons"
2021-04-21 16:21:30 +00:00
2021-05-25 02:09:47 +00:00
export default function PageRepositoryCreate() {
2021-05-18 16:50:02 +00:00
const { strings } = useContext(ContextLanguage)
2021-04-21 16:21:30 +00:00
return (
2021-05-25 02:06:14 +00:00
<PageWithHeader
header={
<BoxHeader>
{makeIcon(faPlus)} {strings.dashboardTitle}
</BoxHeader>
}
>
<RepositoryEditor/>
</PageWithHeader>
2021-04-21 16:21:30 +00:00
)
}