mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: migrated tank search
This commit is contained in:
1 parent
0537418f6a
commit
e241870ece
36 files changed
+868
-718
No files matched your search
@@ -1,21 +0,0 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
---
|
||||
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>
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
import { TankSearch } from '../../../components/TankSearch';
|
||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||
---
|
||||
|
||||
<ToolLayout>
|
||||
<TankSearch />
|
||||
</ToolLayout>
|
||||
Reference in new issue
Block a user