diff --git a/ui/src/app/layout.tsx b/ui/src/app/layout.tsx index e770fade4..70ca3c644 100644 --- a/ui/src/app/layout.tsx +++ b/ui/src/app/layout.tsx @@ -8,6 +8,8 @@ import { Suspense } from 'react'; import AuthWrapper from '@/components/AuthWrapper'; import DocModal from '@/components/DocModal'; +import { FaBars } from 'react-icons/fa6'; + export const dynamic = 'force-dynamic'; const inter = Inter({ subsets: ['latin'] }); @@ -29,9 +31,11 @@ export default function RootLayout({ children }: { children: React.ReactNode }) -
- -
+
+ + +
{children}
diff --git a/ui/src/components/Sidebar.tsx b/ui/src/components/Sidebar.tsx index ca6a21cae..5534edc54 100644 --- a/ui/src/components/Sidebar.tsx +++ b/ui/src/components/Sidebar.tsx @@ -1,8 +1,9 @@ import Link from 'next/link'; +import classNames from 'classnames'; import { Home, Settings, BrainCircuit, Images, Plus } from 'lucide-react'; import { FaXTwitter, FaDiscord, FaYoutube } from 'react-icons/fa6'; -const Sidebar = () => { +const Sidebar = ({ className }) => { const navigation = [ { name: 'Dashboard', href: '/dashboard', icon: Home }, { name: 'New Job', href: '/jobs/new', icon: Plus }, @@ -16,7 +17,10 @@ const Sidebar = () => { const socialIconClass = 'w-5 h-5 text-gray-400 hover:text-white'; return ( -
+

Ostris AI Toolkit diff --git a/ui/src/components/layout.tsx b/ui/src/components/layout.tsx index c5cbef55c..75b9b7fbc 100644 --- a/ui/src/components/layout.tsx +++ b/ui/src/components/layout.tsx @@ -1,4 +1,5 @@ import classNames from 'classnames'; +import { FaBars } from "react-icons/fa"; interface Props { className?: string; @@ -13,6 +14,11 @@ export const TopBar: React.FC = ({ children, className }) => { className, )} > + + {children ? children : null}

);