Download frontend/src/components/Layout.jsx from Abhisingh-18/HunterAI: direct link, hf CLI and curl.
- Browser
- Download file 681 Bytes
-
https://huggingface.co/Abhisingh-18/HunterAI/resolve/main/frontend/src/components/Layout.jsx
- Command line
-
hf download hf://Abhisingh-18/HunterAI/frontend/src/components/Layout.jsx
-
curl -L -o Layout.jsx https://huggingface.co/Abhisingh-18/HunterAI/resolve/main/frontend/src/components/Layout.jsx
681 Bytes
| import React from 'react'; | |
| import Sidebar from './Sidebar'; | |
| const Layout = ({ children, activeTab, setActiveTab }) => { | |
| return ( | |
| <div className="min-h-screen bg-slate-50 text-slate-900 font-sans selection:bg-indigo-500/30"> | |
| <Sidebar activeTab={activeTab} setActiveTab={setActiveTab} /> | |
| <main className="pl-64 min-h-screen"> | |
| {/* Top Bar Place holder if needed, or integrated into pages */} | |
| <div className="p-8 max-w-7xl mx-auto animate-in fade-in zoom-in duration-300"> | |
| {children} | |
| </div> | |
| </main> | |
| </div> | |
| ); | |
| }; | |
| export default Layout; | |