From 00cb803e96c83ae608beee0eb37d4412f2d6714f Mon Sep 17 00:00:00 2001 From: Laux Dev <2201104208@student.buksu.edu.ph> Date: Mon, 2 Mar 2026 16:46:18 +0800 Subject: [PATCH] Add feature --- frontend/src/app/components/alerts/Alert.jsx | 38 ++++ .../app/components/alerts/styles.module.css | 130 ++++++++++++ .../src/app/components/icons/boxedCheck.jsx | 35 ++++ .../app/components/topHeader/TopHeader.jsx | 189 +++++++++--------- .../components/topHeader/styles.module.css | 1 + 5 files changed, 304 insertions(+), 89 deletions(-) create mode 100644 frontend/src/app/components/alerts/Alert.jsx create mode 100644 frontend/src/app/components/alerts/styles.module.css create mode 100644 frontend/src/app/components/icons/boxedCheck.jsx diff --git a/frontend/src/app/components/alerts/Alert.jsx b/frontend/src/app/components/alerts/Alert.jsx new file mode 100644 index 0000000..7fc417d --- /dev/null +++ b/frontend/src/app/components/alerts/Alert.jsx @@ -0,0 +1,38 @@ +import React, { useState } from "react"; +import styles from "./styles.module.css"; +import BoxedCheckIcon from "../icons/boxedCheck"; +const Alert = (props) => { + const [hide, setHide] = useState(false); + const handleHide = () => { + setHide(true); + setTimeout(() => { + props.setTriggerAlert(false); + }, 250); + }; + return ( +
Create New Service
++ You are about to add a new record. Please review the details before + continuing. Do you want to proceed? +
+{props.topbarTitle}
-Manage Env. Key
-{props.buttonText}
-{props.buttonText}
-{props.topbarTitle}
+Manage Env. Key
+{props.buttonText}
{props.cancelButtonText}
+ )} + {!props.state && ( +{props.buttonText}
Clone Project
-Robots
-Init Key
-Manage Env. Key
-{props.buttonText}
{props.cancelButtonText}
+Clone Project
+Robots
+Init Key
+Manage Env. Key
+