diff --git a/web/src/components/Home/Tabs/ApiServices.tsx b/web/src/components/Home/Tabs/ApiServices.tsx new file mode 100644 index 0000000..2df600e --- /dev/null +++ b/web/src/components/Home/Tabs/ApiServices.tsx @@ -0,0 +1,104 @@ +import type { FC } from "react"; +import { Link } from "react-router"; + +const services = [ + { + id: "1", + name: "User Service", + clientId: "user-svc-001", + isActive: true, + createdAt: "2024-09-15T10:20:30Z", + updatedAt: "2025-01-10T12:00:00Z", + }, + { + id: "2", + name: "Billing Service", + clientId: "billing-svc-009", + isActive: false, + createdAt: "2024-10-01T08:45:10Z", + updatedAt: "2025-03-22T14:30:00Z", + }, + { + id: "3", + name: "Analytics Service", + clientId: "analytics-svc-777", + isActive: true, + createdAt: "2024-11-25T16:00:00Z", + updatedAt: "2025-02-05T10:15:45Z", + }, + { + id: "4", + name: "Email Service", + clientId: "email-svc-333", + isActive: false, + createdAt: "2023-07-10T13:00:00Z", + updatedAt: "2024-12-31T09:25:00Z", + }, +]; + +const ApiServices: FC = () => { + return ( +
+ Name + | ++ Client ID + | ++ Is Active + | ++ Created At + | ++ Updated At + | +
---|---|---|---|---|
+ + {service.name} + + | ++ {service.clientId} + | ++ + {service.isActive ? "Yes" : "No"} + + | ++ {new Date(service.createdAt).toLocaleString()} + | ++ {new Date(service.updatedAt).toLocaleString()} + | +