Skip to content

Commit a41fb84

Browse files
committed
reformat codebase and Flex + Grid updates
1 parent 4bc42a2 commit a41fb84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+2260
-2423
lines changed

biome.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,26 @@
55
"clientKind": "git",
66
"useIgnoreFile": false
77
},
8-
"files": { "ignoreUnknown": false, "ignore": [] },
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": []
11+
},
912
"formatter": {
1013
"enabled": true,
1114
"indentStyle": "space",
1215
"indentWidth": 2,
13-
"lineWidth": 80
16+
"lineWidth": 100
17+
},
18+
"organizeImports": {
19+
"enabled": true
1420
},
15-
"organizeImports": { "enabled": true },
1621
"linter": {
1722
"enabled": true,
1823
"rules": { "recommended": true }
1924
},
20-
"javascript": { "formatter": { "quoteStyle": "double" } }
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "double"
28+
}
29+
}
2130
}

src/app/layout.tsx

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,7 @@ import classNames from "classnames";
55
import { headers } from "next/headers";
66
import { Metadata } from "next";
77

8-
import {
9-
baseURL,
10-
style,
11-
meta,
12-
og,
13-
schema,
14-
social,
15-
} from "@/once-ui/resources/config";
8+
import { baseURL, style, meta, og, schema, social } from "@/once-ui/resources/config";
169

1710
import { Background, Flex } from "@/once-ui/components";
1811

@@ -116,16 +109,13 @@ export default function RootLayout({
116109
<head>
117110
<script
118111
type="application/ld+json"
119-
dangerouslySetInnerHTML={{ __html: JSON.stringify(schemaData) }}
112+
dangerouslySetInnerHTML={{
113+
__html: JSON.stringify(schemaData),
114+
}}
120115
/>
121116
</head>
122117
<ToastProvider>
123-
<Flex
124-
as="body"
125-
fillWidth
126-
direction="column"
127-
margin="0"
128-
padding="0">
118+
<Flex as="body" fillWidth direction="column" margin="0" padding="0">
129119
<Background
130120
position="absolute"
131121
mask={{
@@ -157,4 +147,4 @@ export default function RootLayout({
157147
</ToastProvider>
158148
</Flex>
159149
);
160-
}
150+
}

0 commit comments

Comments
 (0)