mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: started migrating to radix
This commit is contained in:
1 parent
34f782e747
commit
a74eba9e97
8 files changed
+793
-123
No files matched your search
+18
-9
@@ -1,5 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import { Theme } from '@radix-ui/themes';
|
||||
import '@radix-ui/themes/styles.css';
|
||||
import { config } from 'dotenv';
|
||||
import { Roboto_Flex } from 'next/font/google';
|
||||
import { usePathname } from 'next/navigation';
|
||||
@@ -31,16 +33,23 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
||||
: 'url(https://i.imgur.com/PhS06NJ.png)',
|
||||
}}
|
||||
>
|
||||
{!isEmbed && <Navbar />}
|
||||
|
||||
<div
|
||||
style={{
|
||||
flex: 1,
|
||||
width: '100%',
|
||||
}}
|
||||
<Theme
|
||||
appearance="dark"
|
||||
panelBackground="translucent"
|
||||
radius="full"
|
||||
accentColor="blue"
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
{!isEmbed && <Navbar />}
|
||||
|
||||
<div
|
||||
style={{
|
||||
flex: 1,
|
||||
width: '100%',
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
</Theme>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user