From 59bbedecc09f54a7b00dda9b316989c39e551ed4 Mon Sep 17 00:00:00 2001
From: Fayzan Naufal Suparjo <68143025+ryoojiz@users.noreply.github.com>
Date: Sat, 19 Apr 2025 22:42:27 +0700
Subject: [PATCH] prod soon
---
XCS.organizations.json | 92 ++++++++++++++++++++++++++++++++++
invites.json | 9 ++++
src/pages/auth/login/index.tsx | 9 ++--
3 files changed, 106 insertions(+), 4 deletions(-)
create mode 100644 XCS.organizations.json
create mode 100644 invites.json
diff --git a/XCS.organizations.json b/XCS.organizations.json
new file mode 100644
index 0000000..5065e9d
--- /dev/null
+++ b/XCS.organizations.json
@@ -0,0 +1,92 @@
+[{
+ "_id": {
+ "$oid": "661102e895b623275e76116a"
+ },
+ "id": "ndne26191m7ufag9",
+ "isPersonal": false,
+ "name": "Amperra Systemes",
+ "description": "",
+ "ownerId": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
+ "avatar": "https://xcs.restrafes.co/images/default-avatar-organization.png",
+ "accessGroups": {},
+ "members": {
+ "g2EmGsfL9MfPicYgrXsCgHcG0aE2": {
+ "type": "user",
+ "id": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
+ "formattedId": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
+ "role": 2,
+ "accessGroups": [],
+ "scanData": {},
+ "joinedAt": {
+ "$date": "2024-04-06T09:01:39.762Z"
+ },
+ "updatedAt": {
+ "$date": "2024-04-06T09:01:39.762Z"
+ }
+ },
+ "FWO4075ks6OzGIpJKb4MTvS2iZd2": {
+ "type": "user",
+ "id": "FWO4075ks6OzGIpJKb4MTvS2iZd2",
+ "formattedId": "FWO4075ks6OzGIpJKb4MTvS2iZd2",
+ "role": 1,
+ "accessGroups": [],
+ "scanData": {},
+ "joinedAt": {
+ "$date": "2024-04-06T09:01:39.762Z"
+ },
+ "updatedAt": {
+ "$date": "2024-04-06T09:01:39.762Z"
+ }
+ }
+ },
+ "logs": [
+ {
+ "type": "organization-created",
+ "performer": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
+ "timestamp": {
+ "$date": "2024-04-06T08:08:08.434Z"
+ }
+ },
+ {
+ "type": "location-created",
+ "performer": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
+ "timestamp": {
+ "$date": "2024-04-06T08:13:10.267Z"
+ },
+ "locationId": "dsrhuqtmmquqfdcp"
+ },
+ {
+ "type": "api-key-generated",
+ "performer": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
+ "timestamp": {
+ "$date": "2024-04-06T08:13:18.975Z"
+ },
+ "locationId": "dsrhuqtmmquqfdcp"
+ }
+ ],
+ "apiKeys": {
+ "35cc6bf67add4927b4d5da6da8b95221": {
+ "author": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
+ "locationId": "dsrhuqtmmquqfdcp",
+ "createdAt": {
+ "$date": "2024-04-06T08:13:18.975Z"
+ },
+ "lastUsedAt": null
+ }
+ },
+ "createdAt": {
+ "$date": "2024-04-06T08:08:08.434Z"
+ },
+ "createdBy": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
+ "updatedAt": {
+ "$date": "2024-04-06T08:08:08.434Z"
+ },
+ "verified": false,
+ "statistics": {
+ "scans": {
+ "total": 0,
+ "denied": 0,
+ "granted": 0
+ }
+ }
+}]
\ No newline at end of file
diff --git a/invites.json b/invites.json
new file mode 100644
index 0000000..784f82e
--- /dev/null
+++ b/invites.json
@@ -0,0 +1,9 @@
+{
+ "type": "xcs",
+ "code": "12345678",
+ "isSponsor": true,
+ "uses": 0,
+ "maxUses": 1,
+ "createdAt": "2024-06-03T00:00:00.000Z",
+ "createdBy": "LX9sCKqsO3Qkb8JlIqPf5pXxpy03"
+}
\ No newline at end of file
diff --git a/src/pages/auth/login/index.tsx b/src/pages/auth/login/index.tsx
index dec5072..8783874 100644
--- a/src/pages/auth/login/index.tsx
+++ b/src/pages/auth/login/index.tsx
@@ -11,6 +11,7 @@ import {
Input,
InputGroup,
InputLeftElement,
+ Image,
Link,
Modal,
ModalBody,
@@ -167,19 +168,19 @@ export default function Login() {
outline={['0px solid', '1px solid']}
outlineColor={['unset', useColorModeValue('gray.200', 'gray.700')]}
rounded={'lg'}
- maxW={"container.sm"}
+ maxW={"container.md"}
overflow={'hidden'}
height={{ base: 'auto', md: '500px' }}
// boxShadow={'rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;'}
>
- {/* */}
- {/*
+
+
- */}
+