mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 11:06:29 +00:00
83 lines
2.4 KiB
TypeScript
83 lines
2.4 KiB
TypeScript
import LazyLoading from "@/components/loader/LazyLoading"
|
|
import { Suspense } from "react"
|
|
import TaskComponent from "./component"
|
|
|
|
export default async function TaskPage() {
|
|
const LIST_PROJECT = [
|
|
{
|
|
id: 1,
|
|
title: 'Angksa Pura II',
|
|
img: '/assets/projects/ap2.jpg'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'ASDP',
|
|
img: '/assets/projects/asdp.png'
|
|
},
|
|
{
|
|
id: 4,
|
|
title: 'Imigrasi',
|
|
img: '/assets/projects/imigrasi.png'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'JakLingko',
|
|
img: '/assets/projects/jaklingko.png'
|
|
},
|
|
{
|
|
id: 5,
|
|
title: 'KAI Bandara',
|
|
img: '/assets/projects/kaibandara.png'
|
|
},
|
|
{
|
|
id: 6,
|
|
title: 'KAI Commuter',
|
|
img: '/assets/projects/kci.png'
|
|
},
|
|
{
|
|
id: 7,
|
|
title: 'LRT Jabodebek',
|
|
img: '/assets/projects/lrtjabo.png'
|
|
},
|
|
{
|
|
id: 8,
|
|
title: 'LRT Jakarta',
|
|
img: '/assets/projects/lrtjakarta.png'
|
|
},
|
|
{
|
|
id: 9,
|
|
title: 'LRT Sumsel',
|
|
img: '/assets/projects/lrtsumsel.png'
|
|
},
|
|
{
|
|
id: 10,
|
|
title: 'Telkomsel',
|
|
img: '/assets/projects/tsel.png'
|
|
},
|
|
{
|
|
id: 11,
|
|
title: 'Transjakarta',
|
|
img: '/assets/projects/transjakarta.jpg'
|
|
},
|
|
{
|
|
id: 12,
|
|
title: 'Nutech Integrasi',
|
|
img: '/assets/projects/nutech.png'
|
|
},
|
|
]
|
|
return (
|
|
<>
|
|
<div className="flex-1 space-y-8 p-6 sm:p-8 pt-6 pb-40 md:pb-8">
|
|
<div className="flex items-start justify-between space-y-2">
|
|
<div>
|
|
<h1 className="text-lg sm:text-3xl font-medium tracking-tight capitalize">My Task</h1>
|
|
<p className="text-xs md:text-base text-muted-foreground w-1/2 mt-2 hidden md:block">Something that can be done at any time is often done at no time. Do it now, or decide when you'll do it.</p>
|
|
</div>
|
|
</div>
|
|
<Suspense fallback={<LazyLoading />}>
|
|
<TaskComponent projectList={LIST_PROJECT} />
|
|
</Suspense>
|
|
</div>
|
|
</>
|
|
)
|
|
} |