feat: add multi-user admin panel and featured partners toggle on home page
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { usePathname } from "next/navigation";
|
||||
import { motion, AnimatePresence } from "framer-motion";
|
||||
import Navbar from "./Navbar";
|
||||
import Footer from "./Footer";
|
||||
|
||||
export default function ClientLayout({ children }: { children: React.ReactNode }) {
|
||||
const pathname = usePathname();
|
||||
@@ -22,6 +23,7 @@ export default function ClientLayout({ children }: { children: React.ReactNode }
|
||||
{children}
|
||||
</motion.div>
|
||||
</AnimatePresence>
|
||||
{!isAdmin && <Footer />}
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user