diff --git a/SerpentRace_Frontend/src/components/PopUp/PopUp.jsx b/SerpentRace_Frontend/src/components/PopUp/PopUp.jsx
new file mode 100644
index 00000000..cf78fc28
--- /dev/null
+++ b/SerpentRace_Frontend/src/components/PopUp/PopUp.jsx
@@ -0,0 +1,18 @@
+import React from "react";
+
+export default function PopUp({ children, onClose }) {
+ return (
+
+
+
+ {children}
+
+
+ );
+}
\ No newline at end of file
diff --git a/SerpentRace_Frontend/src/pages/Testing/Test.jsx b/SerpentRace_Frontend/src/pages/Testing/Test.jsx
index a8a4a53d..8c8312f0 100644
--- a/SerpentRace_Frontend/src/pages/Testing/Test.jsx
+++ b/SerpentRace_Frontend/src/pages/Testing/Test.jsx
@@ -1,27 +1,55 @@
+// src/pages/Testing/Test.jsx
+// itt tesztelhetjük a komponenseket illetve bármit
+
import { useState } from "react";
import Button from "../../components/Buttons/Button";
import InputBox from "../../components/Inputs/InputBox";
+import PopUp from "../../components/PopUp/PopUp";
+import Logo from "../../assets/pictures/Logo.jsx";
export default function Test() {
+ const [showPopup, setShowPopup] = useState(false);
+ const [inputValue, setInputValue] = useState(""); // input értékének tárolása
return (
-
+
{
- console.log(value);
- }}
+ value={inputValue}
+ onChange={(e) => setInputValue(e.target.value)}
/>
);
}