Added add admin and privacy in sidebar for admin
All checks were successful
Build frontend / build (push) Successful in 1m20s

This commit is contained in:
Rahaf
2026-04-04 20:56:49 +03:00
parent 1207dbe20d
commit 77dd052951
4 changed files with 344 additions and 112 deletions

View File

@ -709,9 +709,9 @@ export default function ClientLayout({ children }) {
className={`${!isAuthPage && !isProfilePage ? "pt-20" : ""} min-h-screen bg-gradient-to-b from-gray-50 to-white ${currentLanguage === "ar" ? "text-right" : "text-left"}`}
>
<FavoritesProvider>
{children}
{!isAdmin && <FloatingSidebar isRTL={currentLanguage === 'ar'} />}
</FavoritesProvider>
{children}
<FloatingSidebar isRTL={currentLanguage === 'ar'} isAdmin={isAdmin} />
</FavoritesProvider>
</main>
{!isAuthPage && !isProfilePage && (