From 6d606d89fe9ae3daabcd1816b2d5279ede82217c Mon Sep 17 00:00:00 2001 From: Bart K Date: Mon, 4 Nov 2024 15:18:28 +0100 Subject: [PATCH] build(misc): remove old file --- .../pages/HomePage/components/StepCard.tsx | 130 ------------------ 1 file changed, 130 deletions(-) delete mode 100644 kraken-app/kraken-app-portal/src/pages/HomePage/components/StepCard.tsx diff --git a/kraken-app/kraken-app-portal/src/pages/HomePage/components/StepCard.tsx b/kraken-app/kraken-app-portal/src/pages/HomePage/components/StepCard.tsx deleted file mode 100644 index 62d49a73..00000000 --- a/kraken-app/kraken-app-portal/src/pages/HomePage/components/StepCard.tsx +++ /dev/null @@ -1,130 +0,0 @@ -import styles from "./index.module.scss"; -import { Button, Col, Flex, Row } from "antd"; - -import { Step1Icon, RightArrow, Step2Icon, Step3Icon, Step4Icon } from "./Icon"; -import { Fragment } from "react/jsx-runtime"; -import { Text } from "@/components/Text"; -import { useBoolean } from "usehooks-ts"; -const step = [ - { - step: "Step 1", - title: "Get to know supported Sonata Functionality Matrix", - icon: , - desc: "Our current offering includes a focused set of business functionalities centered around supporting buyer to order UNI and Access E-line successfully from seller which covers 3 components : Address Validation, Quote Management and Order Management", - }, - { - step: "Step 2", - title: "Investigate to know the seller Legacy API Platform", - icon: , - desc: "Since MEF LSO Sonata Adapter is built on top of Seller’s legacy API platform, you need to first get some basic information about it like open api spec, online documentation, sandbox url and account etc firstly and understand the API flow to fulfill Sonata Use Case.", - }, - { - step: "Step 3", - title: "Register seller API Server in Kraken", - icon: , - desc: "Register seller API server by uploading all the information gathered in step 2 so that MEF LSO Sonata Adapter can trigger it in sonata API request by buyer side.", - }, - { - step: "Step 4", - title: "Map standard APIs with seller APIs", - icon: , - desc: "Map each combination of (standard API, API action type, product type) by selecting one Seller API from Seller API Server and Complete Request Mapping and Response Mapping based on Kraken predefined mapping template.", - }, -]; - -const StepCard = (props: { - navigateApi: () => void; - navigateCreateAPI: () => void; -}) => { - const { navigateApi, navigateCreateAPI } = props; - const { value: isShow, setFalse: hidden } = useBoolean(true); - if (!isShow) { - return
; - } - return ( -
- -

How to get started with Kraken?

- - - -
- - {step.map((i, n) => { - return ( - - - - - {i.step} - - - {i.title} - - -
{i.icon}
-

{i.desc}

- - {n !== 3 && ( - - - - )} -
- ); - })} -
- - - Start register seller API server now - - - -
- ); -}; - -export default StepCard;