Added add admin and privacy in sidebar for admin
All checks were successful
Build frontend / build (push) Successful in 1m20s
All checks were successful
Build frontend / build (push) Successful in 1m20s
This commit is contained in:
@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user