From 78ff2d9abdbecf9fc8bdb75bedbfbc16c65f7835 Mon Sep 17 00:00:00 2001 From: npcdazai Date: Thu, 10 Oct 2024 12:06:28 +0530 Subject: [PATCH] NAN --- src/Pages/SupportAndTicket/ViewTicket.jsx | 448 +++++++++++----------- 1 file changed, 222 insertions(+), 226 deletions(-) diff --git a/src/Pages/SupportAndTicket/ViewTicket.jsx b/src/Pages/SupportAndTicket/ViewTicket.jsx index 9538d55..b6f2499 100644 --- a/src/Pages/SupportAndTicket/ViewTicket.jsx +++ b/src/Pages/SupportAndTicket/ViewTicket.jsx @@ -1,241 +1,237 @@ import { - Box, - Button, - Flex, - HStack, - Image, - Input, - Switch, - Tag, - Text, - Textarea, - VStack, -} from "@chakra-ui/react"; -import React from "react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; -import womenpfp from "../../assets/womenpfp1.png"; -import { AttachmentIcon } from "@chakra-ui/icons"; - -const data = [{ id: 1, label: "Ticket ID:" }]; - -const ViewTicket = () => { - return ( - - - - - - Ticket ID: - - - #1E233 - - - - - Created: - - - 31 Dec 2022 - - - - - Last message: - - - 31 Dec 2022 - - - - - - - - Status: - - - Open - - - - - Priority: - - - Urgent - - - - - + Box, + Button, + Flex, + HStack, + Image, + Input, + Switch, + Tag, + Text, + Textarea, + VStack, + } from "@chakra-ui/react"; + import React from "react"; + import { OPACITY_ON_LOAD } from "../../Layout/animations"; + import womenpfp from "../../assets/womenpfp1.png"; + import { AttachmentIcon } from "@chakra-ui/icons"; + + const data = [ + { id: 1, label: "Ticket ID:", value: "#1E233" }, + { id: 2, label: "Created:", value: "31 Dec 2022" }, + { id: 3, label: "Last message:", value: "31 Dec 2022" }, + ]; + + const ViewTicket = () => { + return ( - - - - - - - - This is some placeholder text that you can replace with meaningful - content. It’s designed to demonstrate how the Box component will - render with the specified styles. - - - - Katherine + + + {data.map((item) => ( + + + {item.label} + + {item.label === "Ticket ID:" ? ( + + {item.value} + + ) : ( + + {item.value} + + )} + + ))} + + + + + + Status: - - Today, 11:30 PM + + Open + + + + + Priority: + + Urgent + - - - + + + - Life seasons open have. Air have of. + - - - Katherine - - - Today, 11:30 PM - + + + + This is some placeholder text that you can replace with meaningful + content. It’s designed to demonstrate how the Box component will + render with the specified styles. + + + + Katherine + + + Today, 11:30 PM + + + + + + + + + Life seasons open have. Air have of. + + + + Katherine + + + Today, 11:30 PM + + + + + + + + + + +