mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-26 06:54:18 +00:00
25 lines
803 B
JavaScript
25 lines
803 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({ ...props }) {
|
|
const { strings } = useContext(ContextLanguage)
|
|
|
|
return (
|
|
<PageWithHeader
|
|
header={
|
|
<BoxHeader>
|
|
{makeIcon(faPlus)} {strings.dashboardTitle}
|
|
</BoxHeader>
|
|
}
|
|
{...props}
|
|
>
|
|
<RepositoryEditor/>
|
|
</PageWithHeader>
|
|
)
|
|
}
|