Skip to content

Commit 4427df1

Browse files
committed
format
1 parent 4188785 commit 4427df1

File tree

23 files changed

+448
-265
lines changed

23 files changed

+448
-265
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
repos:
2-
- repo: https://github.com/gitleaks/gitleaks
3-
rev: v8.16.3
4-
hooks:
5-
- id: gitleaks
6-
- repo: https://github.com/jumanjihouse/pre-commit-hooks
7-
rev: 3.0.0
8-
hooks:
9-
- id: shellcheck
10-
- repo: https://github.com/pre-commit/mirrors-eslint
11-
rev: v8.38.0
12-
hooks:
13-
- id: eslint
14-
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: v4.4.0
16-
hooks:
17-
- id: end-of-file-fixer
18-
- id: trailing-whitespace
2+
- repo: https://github.com/gitleaks/gitleaks
3+
rev: v8.16.3
4+
hooks:
5+
- id: gitleaks
6+
- repo: https://github.com/jumanjihouse/pre-commit-hooks
7+
rev: 3.0.0
8+
hooks:
9+
- id: shellcheck
10+
- repo: https://github.com/pre-commit/mirrors-eslint
11+
rev: v8.38.0
12+
hooks:
13+
- id: eslint
14+
- repo: https://github.com/pre-commit/pre-commit-hooks
15+
rev: v4.4.0
16+
hooks:
17+
- id: end-of-file-fixer
18+
- id: trailing-whitespace

apps/site/components/Blog/BlogPostCard/index.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
}
77

88
.subtitle {
9-
@apply mb-2
10-
mt-6
9+
@apply mt-6
10+
mb-2
1111
inline-block
1212
text-xs
1313
font-semibold

apps/site/components/Downloads/Release/ReleaseCodeBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const ReleaseCodeBox: FC = () => {
9494
} = currentPlatform ?? {};
9595

9696
return (
97-
<div className="mb-6 mt-4 flex flex-col gap-2">
97+
<div className="mt-4 mb-6 flex flex-col gap-2">
9898
<noscript>
9999
<AlertBox
100100
title={t('components.common.alertBox.warning')}

apps/site/layouts/layouts.module.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
> *:first-child {
4040
@apply sm:bg-gradient-subtle
4141
sm:dark:bg-gradient-subtle-dark
42-
xl:px-18
4342
p-4
4443
[grid-area:main]
4544
motion-safe:scroll-smooth
4645
sm:bg-fixed
47-
sm:p-12;
46+
sm:p-12
47+
xl:px-18;
4848
}
4949

5050
> *:last-child {
@@ -55,8 +55,8 @@
5555
lg:sticky
5656
lg:top-0
5757
lg:max-w-xs
58-
lg:border-l
59-
lg:border-t-0;
58+
lg:border-t-0
59+
lg:border-l;
6060
}
6161
}
6262

@@ -137,8 +137,8 @@
137137

138138
&:nth-of-type(2) {
139139
@apply flex
140-
min-w-0
141140
max-w-full
141+
min-w-0
142142
flex-[1_1]
143143
flex-col
144144
items-center
@@ -259,8 +259,8 @@
259259
}
260260

261261
> div:nth-of-type(1) {
262-
@apply mb-4
263-
mt-2;
262+
@apply mt-2
263+
mb-4;
264264
}
265265
}
266266
}

apps/site/pages/en/about/branding.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Credit to [Angela Angelini](https://www.linkedin.com/in/angeliningl/) for design
6666
<img
6767
alt="Node.js Light Stacked Logo"
6868
src="/static/logos/nodejsStackedLight.svg"
69-
className="rounded-xs h-[164px] w-[267px] bg-neutral-950 p-2 dark:bg-transparent"
69+
className="h-[164px] w-[267px] rounded-xs bg-neutral-950 p-2 dark:bg-transparent"
7070
width="267"
7171
height="164"
7272
/>
@@ -108,7 +108,7 @@ Credit to [Angela Angelini](https://www.linkedin.com/in/angeliningl/) for design
108108
<img
109109
alt="White JS Icons"
110110
src="/static/logos/jsIconWhite.svg"
111-
className="height-[80px] rounded-xs mx-auto w-[71px] bg-neutral-950 p-2 dark:bg-transparent"
111+
className="height-[80px] mx-auto w-[71px] rounded-xs bg-neutral-950 p-2 dark:bg-transparent"
112112
width="71"
113113
height="80"
114114
/>

apps/site/styles/effects.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
translate-x-0
66
translate-y-0
77
after:absolute
8-
after:-left-full
98
after:top-[20%]
9+
after:-left-full
1010
after:-z-10
1111
after:block
1212
after:h-36
1313
after:w-36
1414
after:-rotate-90
15-
after:select-none
1615
after:bg-[url('/static/images/smoke.gif')]
1716
after:opacity-[0.15]
1817
after:content-['']
19-
after:md:-left-1/2
20-
after:md:top-1/2;
18+
after:select-none
19+
after:md:top-1/2
20+
after:md:-left-1/2;
2121

2222
& img {
2323
@apply h-auto

apps/site/styles/locales.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* managed to avoid disrupting the layout.
55
*/
66
html[lang='ko'] {
7-
@apply break-words
8-
break-keep
9-
leading-7;
7+
@apply leading-7
8+
break-words
9+
break-keep;
1010
}

0 commit comments

Comments
 (0)