feat:task-ta
This commit is contained in:
parent
173227c35a
commit
c9c3297851
|
|
@ -0,0 +1,15 @@
|
||||||
|
import FormAudioTaDetail from "@/components/form/content/task-ta/audio-detail-form";
|
||||||
|
import SiteBreadcrumb from "@/components/site-breadcrumb";
|
||||||
|
|
||||||
|
const AudioDetailPage = async () => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<SiteBreadcrumb />
|
||||||
|
<div className="space-y-4">
|
||||||
|
<FormAudioTaDetail />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default AudioDetailPage;
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
import FormImageTaDetail from "@/components/form/content/task-ta/image-detail-form";
|
||||||
import FormImageDetail from "@/components/form/content/task-ta/image-detail-form";
|
import FormImageDetail from "@/components/form/content/task-ta/image-detail-form";
|
||||||
import SiteBreadcrumb from "@/components/site-breadcrumb";
|
import SiteBreadcrumb from "@/components/site-breadcrumb";
|
||||||
|
|
||||||
|
|
@ -6,7 +7,7 @@ const ImageDetailPage = async () => {
|
||||||
<div>
|
<div>
|
||||||
<SiteBreadcrumb />
|
<SiteBreadcrumb />
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<FormImageDetail />
|
<FormImageTaDetail />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
import FormTeksTaDetail from "@/components/form/content/task-ta/teks-detail-form";
|
||||||
|
import FormTeksDetail from "@/components/form/content/task-ta/teks-detail-form";
|
||||||
|
import SiteBreadcrumb from "@/components/site-breadcrumb";
|
||||||
|
|
||||||
|
const TeksDetailPage = async () => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<SiteBreadcrumb />
|
||||||
|
<div className="space-y-4">
|
||||||
|
<FormTeksTaDetail />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default TeksDetailPage;
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
import FormVideoTaDetail from "@/components/form/content/task-ta/video-detail-form";
|
||||||
|
import FormVideoDetail from "@/components/form/content/task-ta/video-detail-form";
|
||||||
|
import SiteBreadcrumb from "@/components/site-breadcrumb";
|
||||||
|
|
||||||
|
const VideoDetailPage = async () => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<SiteBreadcrumb />
|
||||||
|
<div className="space-y-4">
|
||||||
|
<FormVideoTaDetail />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default VideoDetailPage;
|
||||||
|
|
@ -113,7 +113,7 @@ const ViewEditor = dynamic(
|
||||||
{ ssr: false }
|
{ ssr: false }
|
||||||
);
|
);
|
||||||
|
|
||||||
export default function FormAudioDetail() {
|
export default function FormAudioTaDetail() {
|
||||||
const MySwal = withReactContent(Swal);
|
const MySwal = withReactContent(Swal);
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const userId = getCookiesDecrypt("uie");
|
const userId = getCookiesDecrypt("uie");
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ const ViewEditor = dynamic(
|
||||||
{ ssr: false }
|
{ ssr: false }
|
||||||
);
|
);
|
||||||
|
|
||||||
export default function FormImageDetail() {
|
export default function FormImageTaDetail() {
|
||||||
const MySwal = withReactContent(Swal);
|
const MySwal = withReactContent(Swal);
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const userId = getCookiesDecrypt("uie");
|
const userId = getCookiesDecrypt("uie");
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@ const ViewEditor = dynamic(
|
||||||
{ ssr: false }
|
{ ssr: false }
|
||||||
);
|
);
|
||||||
|
|
||||||
export default function FormTeksDetail() {
|
export default function FormTeksTaDetail() {
|
||||||
const MySwal = withReactContent(Swal);
|
const MySwal = withReactContent(Swal);
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const userId = getCookiesDecrypt("uie");
|
const userId = getCookiesDecrypt("uie");
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ const ViewEditor = dynamic(
|
||||||
{ ssr: false }
|
{ ssr: false }
|
||||||
);
|
);
|
||||||
|
|
||||||
export default function FormVideoDetail() {
|
export default function FormVideoTaDetail() {
|
||||||
const MySwal = withReactContent(Swal);
|
const MySwal = withReactContent(Swal);
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const userId = getCookiesDecrypt("uie");
|
const userId = getCookiesDecrypt("uie");
|
||||||
|
|
|
||||||
|
|
@ -535,10 +535,10 @@ const LoginForm = () => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
type="button"
|
type="submit"
|
||||||
fullWidth
|
fullWidth
|
||||||
onClick={handleEmailValidation}
|
// onClick={handleEmailValidation}
|
||||||
disabled={isPending}
|
// disabled={isPending}
|
||||||
>
|
>
|
||||||
Selanjutnya
|
Selanjutnya
|
||||||
</Button>
|
</Button>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue