mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-20 04:14:12 +01:00
feat: ui
This commit is contained in:
1 parent
7419b3f29e
commit
cffd37c6f1
4 files changed
+75
-24
No files matched your search
@@ -1,14 +1,15 @@
|
||||
import { Flex } from '@radix-ui/themes';
|
||||
import type { MaybeSkeletonComponentProps } from '../../../types/maybeSkeletonComponentProps';
|
||||
import { Characteristics } from './components/Characteristics';
|
||||
import { CompareOptions } from './components/Characteristics/components/CompareOptions';
|
||||
import { StatSearch } from './components/Characteristics/components/StatSearch';
|
||||
import { Consumables } from './components/Consumables';
|
||||
import { Equipment } from './components/Equipment';
|
||||
import { Miscellaneous } from './components/Miscellaneous';
|
||||
import { Modules } from './components/Modules';
|
||||
import { Provisions } from './components/Provisions';
|
||||
import { Skills } from './components/Skills';
|
||||
import { Flex } from "@radix-ui/themes";
|
||||
import type { MaybeSkeletonComponentProps } from "../../../types/maybeSkeletonComponentProps";
|
||||
import { Characteristics } from "./components/Characteristics";
|
||||
import { CompareOptions } from "./components/Characteristics/components/CompareOptions";
|
||||
import { StatSearch } from "./components/Characteristics/components/StatSearch";
|
||||
import { Consumables } from "./components/Consumables";
|
||||
import { Equalizer } from "./components/Equalizer";
|
||||
import { Equipment } from "./components/Equipment";
|
||||
import { Miscellaneous } from "./components/Miscellaneous";
|
||||
import { Modules } from "./components/Modules";
|
||||
import { Provisions } from "./components/Provisions";
|
||||
import { Skills } from "./components/Skills";
|
||||
|
||||
export function CharacteristicsSection({
|
||||
skeleton,
|
||||
@@ -16,34 +17,35 @@ export function CharacteristicsSection({
|
||||
return (
|
||||
<Flex direction="column" gap="3">
|
||||
<Flex
|
||||
display={{ initial: 'none', sm: 'flex' }}
|
||||
direction={{ initial: 'column', md: 'row' }}
|
||||
display={{ initial: "none", sm: "flex" }}
|
||||
direction={{ initial: "column", md: "row" }}
|
||||
align="center"
|
||||
justify="center"
|
||||
mb="8"
|
||||
gap={{ initial: '4', md: '8' }}
|
||||
gap={{ initial: "4", md: "8" }}
|
||||
>
|
||||
<CompareOptions />
|
||||
<StatSearch />
|
||||
</Flex>
|
||||
|
||||
<Flex mt="4" px="4" style={{ boxSizing: 'border-box' }} gap="6">
|
||||
<Flex mt="4" px="4" style={{ boxSizing: "border-box" }} gap="6">
|
||||
<Flex
|
||||
flexGrow="1"
|
||||
gap="9"
|
||||
justify="center"
|
||||
align={{ initial: 'center', sm: 'start' }}
|
||||
direction={{ initial: 'column', sm: 'row' }}
|
||||
align={{ initial: "center", sm: "start" }}
|
||||
direction={{ initial: "column", sm: "row" }}
|
||||
>
|
||||
<Flex
|
||||
direction="column"
|
||||
gap="6"
|
||||
maxWidth="19rem"
|
||||
align={{ initial: 'center', sm: 'start' }}
|
||||
align={{ initial: "center", sm: "start" }}
|
||||
>
|
||||
<Modules />
|
||||
<Equipment />
|
||||
<Provisions />
|
||||
<Equalizer />
|
||||
<Consumables />
|
||||
<Skills />
|
||||
<Miscellaneous />
|
||||
@@ -52,11 +54,11 @@ export function CharacteristicsSection({
|
||||
<Flex
|
||||
direction="column"
|
||||
gap="6"
|
||||
align={{ initial: 'stretch', sm: 'center' }}
|
||||
width={{ initial: '100%', sm: 'auto' }}
|
||||
align={{ initial: "stretch", sm: "center" }}
|
||||
width={{ initial: "100%", sm: "auto" }}
|
||||
>
|
||||
<Flex
|
||||
display={{ initial: 'flex', sm: 'none' }}
|
||||
display={{ initial: "flex", sm: "none" }}
|
||||
direction="column"
|
||||
align="center"
|
||||
justify="center"
|
||||
|
||||
Reference in new issue
Block a user