Skip to content

Commit 0a8e866

Browse files
committed
migrate: story to tailwind
Move placement to organisms/layouts/trilemma as it is comprised of multiple molecules
1 parent 59305e0 commit 0a8e866

File tree

1 file changed

+15
-19
lines changed

1 file changed

+15
-19
lines changed
Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,31 @@
1-
import { Box, ChakraProvider } from "@chakra-ui/react"
21
import { Meta, StoryObj } from "@storybook/react"
32

4-
import Trilemma from "."
3+
import TrilemmaComponent from "."
54

65
const meta = {
7-
title: "Molecules / Trilemma",
8-
component: Trilemma,
6+
title: "Organisms / Layouts",
7+
component: TrilemmaComponent,
98
parameters: {
109
layout: "fullscreen",
1110
},
1211
decorators: [
1312
(Story) => (
14-
<ChakraProvider>
15-
<Box
16-
w="100vw"
17-
h="100vh"
18-
display="flex"
19-
alignItems="center"
20-
justifyContent="center"
21-
bg="radial-gradient(46.28% 66.31% at 66.95% 58.35%, #e6e6f7 0%, #e7edfa 50%, #e9fbfa 100%)"
22-
>
23-
<Story />
24-
</Box>
25-
</ChakraProvider>
13+
<div
14+
className="flex h-screen w-screen items-center justify-center"
15+
style={{
16+
background:
17+
"radial-gradient(46.28% 66.31% at 66.95% 58.35%, #e6e6f7 0%, #e7edfa 50%, #e9fbfa 100%)",
18+
}}
19+
>
20+
<Story />
21+
</div>
2622
),
2723
],
28-
} satisfies Meta<typeof Trilemma>
24+
} satisfies Meta<typeof TrilemmaComponent>
2925

3026
export default meta
3127
type Story = StoryObj<typeof meta>
3228

33-
export const Default: Story = {
34-
render: () => <Trilemma />,
29+
export const Trilemma: Story = {
30+
render: () => <TrilemmaComponent />,
3531
}

0 commit comments

Comments
 (0)