MCPcopy Create free account
hub / github.com/Bitbox-Connect/Bitbox / Layout

Function Layout

client/src/App.jsx:48–70  ·  view source on GitHub ↗
({ children, mode, setProgress, toggleMode, showAlert })

Source from the content-addressed store, hash-verified

46
47
48const Layout = ({ children, mode, setProgress, toggleMode, showAlert }) => {
49 return (
50 <div className="h-full w-full">
51 <Navbar
52 title="BITBOX"
53 home="Home"
54 about="About Us"
55 community="Community"
56 projects="Projects"
57 blog="Blogs"
58 discussion="Discussion"
59 contributors="Contributors"
60 ai="AI"
61 Feedback="Feedback"
62 showAlert={showAlert}
63 mode={mode}
64 toggleMode={toggleMode}
65 />
66 {children}
67 <Footer mode={mode} setProgress={setProgress} setAlert={showAlert} />
68 </div>
69 );
70};
71
72function App() {
73 const [mode, setMode] = useAtom(modeAtom);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected