File tree Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1
- export const allModes = {
1
+ export const viewportModes = {
2
2
base : {
3
3
viewport : "base" ,
4
4
} ,
@@ -18,3 +18,7 @@ export const allModes = {
18
18
viewport : "2xl" ,
19
19
} ,
20
20
}
21
+
22
+ export const allModes = {
23
+ ...viewportModes ,
24
+ }
Original file line number Diff line number Diff line change 1
1
import { useTranslation } from "next-i18next"
2
2
import { Meta , StoryObj } from "@storybook/react"
3
3
4
- import { allModes } from "../../../../.storybook/modes"
4
+ import { viewportModes } from "../../../../.storybook/modes"
5
5
import contentHeroImg from "../../../../public/mainnet.png"
6
6
7
7
import ContentHeroComponent , { ContentHeroProps } from "."
@@ -15,7 +15,7 @@ const meta = {
15
15
layout : "none" ,
16
16
chromatic : {
17
17
modes : {
18
- ...allModes ,
18
+ ...viewportModes ,
19
19
} ,
20
20
} ,
21
21
} ,
Original file line number Diff line number Diff line change 1
1
import * as React from "react"
2
2
import { Meta , StoryObj } from "@storybook/react"
3
3
4
- import { allModes } from "../../../../.storybook/modes"
4
+ import { viewportModes } from "../../../../.storybook/modes"
5
5
import homeHeroImg from "../../../../public/home/hero.png"
6
6
7
7
import HomeHeroComponent from "."
@@ -15,7 +15,7 @@ const meta = {
15
15
layout : "none" ,
16
16
chromatic : {
17
17
modes : {
18
- ...allModes ,
18
+ ...viewportModes ,
19
19
} ,
20
20
} ,
21
21
} ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { useTranslation } from "next-i18next"
3
3
import { Box } from "@chakra-ui/react"
4
4
import { Meta , StoryObj } from "@storybook/react"
5
5
6
- import { allModes } from "../../../../.storybook/modes"
6
+ import { viewportModes } from "../../../../.storybook/modes"
7
7
8
8
import HubHeroComponent from "./"
9
9
@@ -16,7 +16,7 @@ const meta = {
16
16
layout : "none" ,
17
17
chromatic : {
18
18
modes : {
19
- ...allModes ,
19
+ ...viewportModes ,
20
20
} ,
21
21
} ,
22
22
} ,
Original file line number Diff line number Diff line change 1
1
import { HStack } from "@chakra-ui/react"
2
2
import { Meta , StoryObj } from "@storybook/react"
3
3
4
- import { allModes } from "../../../../.storybook/modes"
4
+ import { viewportModes } from "../../../../.storybook/modes"
5
5
6
6
import MdxHeroComponent from "./"
7
7
@@ -13,7 +13,7 @@ const meta = {
13
13
layout : "none" ,
14
14
chromatic : {
15
15
modes : {
16
- ...allModes ,
16
+ ...viewportModes ,
17
17
} ,
18
18
} ,
19
19
} ,
You can’t perform that action at this time.
0 commit comments