mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-05-15 10:45:52 +00:00
20 lines
610 B
JavaScript
20 lines
610 B
JavaScript
![]() |
import React from "react";
|
||
|
import MenuTab from "@/components/menutab/MenuTab";
|
||
|
import ResourceForm from "@/components/forms/ResourceForm";
|
||
|
|
||
|
const Create = () => {
|
||
|
const homeItems = [
|
||
|
{ label: 'Course', icon: 'pi pi-desktop' },
|
||
|
{ label: 'Workshop', icon: 'pi pi-cog' },
|
||
|
{ label: 'Resource', icon: 'pi pi-book' },
|
||
|
];
|
||
|
return (
|
||
|
<div className="w-fit mx-auto mt-8 flex flex-col justify-center">
|
||
|
<h1 className="text-center mb-8">Create</h1>
|
||
|
<MenuTab items={homeItems} />
|
||
|
<ResourceForm />
|
||
|
</div>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default Create;
|