diff --git a/rag-view/src/pages/RootLayout.jsx b/rag-view/src/pages/RootLayout.jsx index f0cebe5..7a01372 100644 --- a/rag-view/src/pages/RootLayout.jsx +++ b/rag-view/src/pages/RootLayout.jsx @@ -1,9 +1,52 @@ +import { useState } from "react"; import { Outlet } from "react-router-dom"; +function AboutModal({ onClose }) { + return ( +
+
e.stopPropagation()} + > +
+

About

+ +
+

+ This is about content +

+ +
+
+ ); +} + function RootLayout() { + const [showAbout, setShowAbout] = useState(false); + return (
+ + {showAbout && setShowAbout(false)} />}
); }