Revert "feat: tools layout"

This reverts commit 36583add1d.
This commit is contained in:
TrèsAbhi committed 2024-09-17 21:44:37 -05:00
1 parent cf4fa83d44
commit 0537418f6a
4 files changed
+37 -73

No files matched your search

@@ -0,0 +1,21 @@
import { Button, Flex, Popover, Text } from '@radix-ui/themes';
import { BlitzKitTheme } from '../components/BlitzKitTheme';
export function TestComponent() {
return (
<Popover.Root>
<Popover.Trigger>
<Button>Radix UI</Button>
</Popover.Trigger>
<BlitzKitTheme>
<Popover.Content>
<Flex direction="column">
<Text>I should be in a dark mode popover</Text>
<Button>And I should be yellow and have full border radius!</Button>
</Flex>
</Popover.Content>
</BlitzKitTheme>
</Popover.Root>
);
}
+16
View File
@@ -0,0 +1,16 @@
---
import { BlitzKitTheme } from '../components/BlitzKitTheme';
import { TestComponent } from './TestComponent';
---
<style is:global>
@import '@radix-ui/themes/styles.css';
</style>
<html>
<body>
<BlitzKitTheme>
<TestComponent client:idle />
</BlitzKitTheme>
</body>
</html>
@@ -1,7 +0,0 @@
---
import ToolLayout from '../../../layouts/ToolLayout.astro';
---
<ToolLayout>
<slot />
</ToolLayout>