feat: better layout

This commit is contained in:
TrèsAbhi committed 2024-08-06 14:05:16 -05:00
1 parent ca39b8e215
commit 4b2367699a
3 files changed
+464 -475

No files matched your search

+4 -3
View File
@@ -28,9 +28,10 @@ const robotoFlex = Roboto_Flex({
export default function RootLayout({ children }: RootLayoutProps) {
const pathname = usePathname();
const hideNav =
pathname.startsWith('/tools/embed/host') ||
pathname.startsWith('/tools/embed/customize');
// const hideNav =
// pathname.startsWith('/tools/embed/host') ||
// pathname.startsWith('/tools/embed/customize');
const hideNav = false;
const isRoot = pathname === '/';
return (