From e876bd1802b6168b1347189252dd6e28d681efa6 Mon Sep 17 00:00:00 2001 From: mzrtamp Date: Wed, 28 Feb 2024 23:21:30 +0700 Subject: [PATCH] chore(pages/index): apply base --- src/pages/index.tsx | 104 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 102 insertions(+), 2 deletions(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 7edc040..3826598 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,9 +1,109 @@ +"use client"; + import React from "react"; +const Data = [ + { + name: "Jane Cooper", + title: "Regional Paradigm Technician", + status: "Active", + role: "Admin", + email: "jane@example.com", + image: "https://randomuser.me/portraits/women/1.jpg" + }, + { + name: "Cody Fisher", + title: "Customer", + status: "Inactive", + role: "Owner", + email: "cody@example.com", + image: "https://randomuser.me/portraits/men/1.jpg" + } +]; + export default function Page(): JSX.Element { return ( -
-

Selamat datang di web Bandrek :D

+ // Database table template tailwindcss +
+
+
+
+ + + + + + + + + + + + {Data.map((person, personIdx) => + + + + + + )} + +
+ Name + + Title + + Status + + Role + + Edit +
+
+
+ +
+
+
+ {person.name} +
+
+ {person.email} +
+
+
+
+
{person.title}
+
{person.email}
+
+ + {person.status} + + + {person.role} + + + Edit + +
+
+
+
); }