mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-13 12:46:11 +01:00
feat: better layout
This commit is contained in:
1 parent
ca39b8e215
commit
4b2367699a
3 files changed
+464
-475
No files matched your search
+4
-3
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user