mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 14:34:19 +00:00
24 lines
768 B
JavaScript
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>
|
|
)
|
|
}
|