(feat:action-buttons) combine the buttons at the top of layout

This commit is contained in:
ManishMadan2882
2025-05-14 03:01:57 +05:30
parent e1e608b744
commit 81104153a6
3 changed files with 88 additions and 51 deletions

View File

@@ -13,6 +13,7 @@ import Navigation from './Navigation';
import PageNotFound from './PageNotFound';
import Setting from './settings';
import Agents from './agents';
import ActionButtons from './components/ActionButtons';
function AuthWrapper({ children }: { children: React.ReactNode }) {
const { isAuthLoading } = useTokenAuth();
@@ -34,6 +35,7 @@ function MainLayout() {
return (
<div className="relative h-screen overflow-auto dark:bg-raisin-black">
<Navigation navOpen={navOpen} setNavOpen={setNavOpen} />
<ActionButtons showNewChat={true} showShare={true} />
<div
className={`h-[calc(100dvh-64px)] md:h-screen ${
!isMobile