Skip to content

Commit 7974cf5

Browse files
committed
fix: semantic dom issue in layout
1 parent 38423ad commit 7974cf5

File tree

2 files changed

+43
-42
lines changed

2 files changed

+43
-42
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@once-ui-system/nextjs-starter",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
4+
"private": true,
45
"scripts": {
56
"dev": "next dev --turbopack",
67
"export": "next export",

src/app/(main)/layout.tsx

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -93,48 +93,48 @@ export default function RootLayout({
9393
/>
9494
</head>
9595
<Providers>
96-
<Background
97-
position="absolute"
98-
mask={{
99-
x: effects.mask.x,
100-
y: effects.mask.y,
101-
radius: effects.mask.radius,
102-
cursor: effects.mask.cursor,
103-
}}
104-
gradient={{
105-
display: effects.gradient.display,
106-
opacity: effects.gradient.opacity as opacity,
107-
x: effects.gradient.x,
108-
y: effects.gradient.y,
109-
width: effects.gradient.width,
110-
height: effects.gradient.height,
111-
tilt: effects.gradient.tilt,
112-
colorStart: effects.gradient.colorStart,
113-
colorEnd: effects.gradient.colorEnd,
114-
}}
115-
dots={{
116-
display: effects.dots.display,
117-
opacity: effects.dots.opacity as opacity,
118-
size: effects.dots.size as SpacingToken,
119-
color: effects.dots.color,
120-
}}
121-
grid={{
122-
display: effects.grid.display,
123-
opacity: effects.grid.opacity as opacity,
124-
color: effects.grid.color,
125-
width: effects.grid.width,
126-
height: effects.grid.height,
127-
}}
128-
lines={{
129-
display: effects.lines.display,
130-
opacity: effects.lines.opacity as opacity,
131-
size: effects.lines.size as SpacingToken,
132-
thickness: effects.lines.thickness,
133-
angle: effects.lines.angle,
134-
color: effects.lines.color,
135-
}}
136-
/>
13796
<Column as="body" background="page" fillWidth margin="0" padding="0">
97+
<Background
98+
position="absolute"
99+
mask={{
100+
x: effects.mask.x,
101+
y: effects.mask.y,
102+
radius: effects.mask.radius,
103+
cursor: effects.mask.cursor,
104+
}}
105+
gradient={{
106+
display: effects.gradient.display,
107+
opacity: effects.gradient.opacity as opacity,
108+
x: effects.gradient.x,
109+
y: effects.gradient.y,
110+
width: effects.gradient.width,
111+
height: effects.gradient.height,
112+
tilt: effects.gradient.tilt,
113+
colorStart: effects.gradient.colorStart,
114+
colorEnd: effects.gradient.colorEnd,
115+
}}
116+
dots={{
117+
display: effects.dots.display,
118+
opacity: effects.dots.opacity as opacity,
119+
size: effects.dots.size as SpacingToken,
120+
color: effects.dots.color,
121+
}}
122+
grid={{
123+
display: effects.grid.display,
124+
opacity: effects.grid.opacity as opacity,
125+
color: effects.grid.color,
126+
width: effects.grid.width,
127+
height: effects.grid.height,
128+
}}
129+
lines={{
130+
display: effects.lines.display,
131+
opacity: effects.lines.opacity as opacity,
132+
size: effects.lines.size as SpacingToken,
133+
thickness: effects.lines.thickness,
134+
angle: effects.lines.angle,
135+
color: effects.lines.color,
136+
}}
137+
/>
138138
{children}
139139
</Column>
140140
</Providers>

0 commit comments

Comments
 (0)