Skip to content

Commit 801459a

Browse files
committed
Run formatter.
1 parent 47070e1 commit 801459a

File tree

9 files changed

+58
-320
lines changed

9 files changed

+58
-320
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ repos:
2424
entry: prettier --config .prettierrc --write
2525
exclude: "pnpm-lock.yaml"
2626
exclude_types: ["svg", "editorconfig", "gitignore"]
27+
additional_dependencies: ["prettier", "prettier-plugin-astro"]
2728
files: \.(astro|mdx|md|yml|yaml|ts|tsx|js|mjs)$
2829

2930
- repo: local

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
*.mdx
2+
pnpm-lock.yaml
3+
.github/**
4+
**/.gitkeep

.prettierrc

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,5 @@
1616
"bracketSpacing": true,
1717
"bracketSameLine": false,
1818
"arrowParens": "avoid",
19-
"endOfLine": "lf",
20-
"ignore": ["pnpm-lock.yaml", ".github/**", "**/.gitkeep"],
21-
"include": [
22-
"\\.astro$",
23-
"\\.mdx$",
24-
"\\.md$",
25-
"\\.yml$",
26-
"\\.yaml$",
27-
"\\.ts$",
28-
"\\.js$",
29-
"\\.mjs$"
30-
]
19+
"endOfLine": "lf"
3120
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
export const CardContainer = ({ children }: { children: React.ReactNode }) => (
2-
<section className="justify-center gap-6 flex flex-wrap px-6">
3-
{children}
4-
</section>
2+
<section className="justify-center gap-6 flex flex-wrap px-6">{children}</section>
53
);

src/components/form/label.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
export const Label = ({
2-
children,
3-
htmlFor,
4-
}: {
5-
children: React.ReactNode;
6-
htmlFor: string;
7-
}) => {
1+
export const Label = ({ children, htmlFor }: { children: React.ReactNode; htmlFor: string }) => {
82
return (
9-
<label
10-
htmlFor={htmlFor}
11-
className="block text-primary font-bold mb-4 pl-3 text-lg"
12-
>
3+
<label htmlFor={htmlFor} className="block text-primary font-bold mb-4 pl-3 text-lg">
134
{children}
145
</label>
156
);
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import clsx from "clsx";
22

3-
export const Fullbleed = ({
4-
children,
5-
className,
6-
}: {
7-
children: any;
8-
className?: string;
9-
}) => {
3+
export const Fullbleed = ({ children, className }: { children: any; className?: string }) => {
104
return <div className={clsx("full-bleed", className)}>{children}</div>;
115
};

src/components/logo/logo-extended.tsx

Lines changed: 11 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ export const LogoExtended = (props: React.SVGProps<SVGSVGElement>) => {
3939
d="M258.031 102.811c.024.101.048.195.071.296l-.071.018-46.586-29.186h17.164c18.589 0 26.263 15.702 29.422 28.872Z"
4040
/>
4141
<path fill="#FF8B9D" d="M258.031 103.125h-46.586V73.938l46.586 29.187Z" />
42-
<path
43-
fill="#0009E7"
44-
d="M211.445 143.541h23.95c-13.229 0-23.95 7.407-23.95 16.536v-16.536Z"
45-
/>
42+
<path fill="#0009E7" d="M211.445 143.541h23.95c-13.229 0-23.95 7.407-23.95 16.536v-16.536Z" />
4643
<path
4744
fill="#FF8B9D"
4845
d="M164.509 178.205v-34.664h46.936v51.42h-46.936v-16.756Zm34.618-19.796a3.819 3.819 0 0 0-3.823-3.816 3.813 3.813 0 0 0-3.816 3.816 3.823 3.823 0 0 0 3.816 3.822 3.825 3.825 0 0 0 3.823-3.822Zm0 11.608a3.82 3.82 0 0 0-3.823-3.816 3.814 3.814 0 0 0-3.816 3.816 3.818 3.818 0 0 0 3.816 3.816 3.823 3.823 0 0 0 3.823-3.816Zm0 11.608a3.82 3.82 0 0 0-3.823-3.816 3.814 3.814 0 0 0-3.816 3.816 3.818 3.818 0 0 0 3.816 3.816 3.823 3.823 0 0 0 3.823-3.816Zm-15.36-23.216a3.817 3.817 0 0 0-3.816-3.816 3.817 3.817 0 0 0-3.816 3.816 3.823 3.823 0 0 0 3.816 3.822 3.82 3.82 0 0 0 3.816-3.822Zm0 11.608a3.818 3.818 0 0 0-3.816-3.816 3.818 3.818 0 0 0-3.816 3.816 3.818 3.818 0 0 0 3.816 3.816 3.818 3.818 0 0 0 3.816-3.816Zm0 11.608a3.818 3.818 0 0 0-3.816-3.816 3.818 3.818 0 0 0-3.816 3.816 3.818 3.818 0 0 0 3.816 3.816 3.818 3.818 0 0 0 3.816-3.816Z"
@@ -91,14 +88,8 @@ export const LogoExtended = (props: React.SVGProps<SVGSVGElement>) => {
9188
fill="#FFB340"
9289
d="m170.538 23.832-.089.201-31.742 31.742V33.251h17.259c.154-5.686 4.774-10.265 10.466-10.265 1.455 0 2.846.302 4.106.846ZM171.218 9.17c-1.769-.319-2.893-.366-4.786-.366-15.353 0-27.725 11.135-27.725 24.447V5.11c8.999.237 17.839 1.078 26.346 2.492 2.065.343 4.136.87 6.165 1.568ZM165.882 125.459h-27.175V98.356h.219c0 14.921 12.052 27.021 26.956 27.103Z"
9390
/>
94-
<path
95-
fill="#0009E7"
96-
d="M164.509 178.205v16.756H152.8v-.065l11.709-16.691Z"
97-
/>
98-
<path
99-
fill="#fff"
100-
d="M164.509 177.821v.384L152.8 194.896v.065h-.195v-17.14h11.904Z"
101-
/>
91+
<path fill="#0009E7" d="M164.509 178.205v16.756H152.8v-.065l11.709-16.691Z" />
92+
<path fill="#fff" d="M164.509 177.821v.384L152.8 194.896v.065h-.195v-17.14h11.904Z" />
10293
<path
10394
fill="#0009E7"
10495
d="M164.509 166.432v11.389h-38.812a24.928 24.928 0 0 0 1.485-8.502 25.7 25.7 0 0 0-.166-2.887h37.493Z"
@@ -111,34 +102,19 @@ export const LogoExtended = (props: React.SVGProps<SVGSVGElement>) => {
111102
fill="#0009E7"
112103
d="M164.509 143.659v11.389h-41.788c-4.662-6.751-12.531-11.235-21.495-11.383v-.119c.118-.005.243-.005.361-.005h62.922v.118ZM152.605 178.182v16.779h-11.904v-.107l11.697-16.672h.207Z"
113104
/>
114-
<path
115-
fill="#fff"
116-
d="M152.605 177.821v.361h-.207l-11.697 16.672v-17.033h11.904Z"
117-
/>
118-
<path
119-
fill="#0009E7"
120-
d="M140.701 194.854v.107h-11.934v-.065l11.727-16.714h.207v16.672Z"
121-
/>
122-
<path
123-
fill="#fff"
124-
d="M140.701 177.821v.361h-.207l-11.727 16.714v-17.075h11.934Z"
125-
/>
105+
<path fill="#fff" d="M152.605 177.821v.361h-.207l-11.697 16.672v-17.033h11.904Z" />
106+
<path fill="#0009E7" d="M140.701 194.854v.107h-11.934v-.065l11.727-16.714h.207v16.672Z" />
107+
<path fill="#fff" d="M140.701 177.821v.361h-.207l-11.727 16.714v-17.075h11.934Z" />
126108
<path
127109
fill="red"
128110
d="M138.707 98.356v27.104h-12.265l-15.294-27.104.012-.018h27.535l.012.018Z"
129111
/>
130-
<path
131-
fill="#0009E7"
132-
d="M138.707 74.04v24.298h-.012L124.987 74.04h13.72Z"
133-
/>
112+
<path fill="#0009E7" d="M138.707 74.04v24.298h-.012L124.987 74.04h13.72Z" />
134113
<path
135114
fill="#fff"
136115
d="M138.707 33.251v22.973H74.14v-20.02c0-9.372 1.361-14.786 4.692-18.697 3.958-4.638 11.401-7.786 23.435-9.91 9.183-1.627 19.555-2.509 30.003-2.562h.929c1.84 0 3.68.024 5.508.077v28.139Zm-29.263-1.112c0-6.804-5.449-12.342-12.117-12.342-6.668 0-12.117 5.538-12.117 12.342s5.426 12.265 12.117 12.265c6.692 0 12.117-5.485 12.117-12.265ZM124.987 74.04l13.708 24.298H111.16l13.708-24.299h.119Z"
137116
/>
138-
<path
139-
fill="#0009E7"
140-
d="M128.767 194.896v.065H116.798v-.065l11.727-16.714h.242v16.714Z"
141-
/>
117+
<path fill="#0009E7" d="M128.767 194.896v.065H116.798v-.065l11.727-16.714h.242v16.714Z" />
142118
<path
143119
fill="#0009E7"
144120
d="M128.767 177.821v.361h-.242l-11.727 16.714v.065h-15.087c11.105-.379 20.471-7.425 23.986-17.14h3.07Z"
@@ -179,14 +155,8 @@ export const LogoExtended = (props: React.SVGProps<SVGSVGElement>) => {
179155
fill="#0009E7"
180156
d="M83.571 98.338 69.862 74.04H97.31L83.583 98.356l-.012-.018ZM90.34 215.231l.053.13c-9.17 3.804-15.549 12.058-15.732 21.471a24.99 24.99 0 0 1-.326-4.035v-37.836l16.005 20.27Z"
181157
/>
182-
<path
183-
fill="red"
184-
d="M83.583 98.356 68.289 125.46H56.024V98.356l.012-.018H83.57l.012.018Z"
185-
/>
186-
<path
187-
fill="#fff"
188-
d="m69.862 74.04 13.71 24.298H56.035L69.744 74.04h.118Z"
189-
/>
158+
<path fill="red" d="M83.583 98.356 68.289 125.46H56.024V98.356l.012-.018H83.57l.012.018Z" />
159+
<path fill="#fff" d="m69.862 74.04 13.71 24.298H56.035L69.744 74.04h.118Z" />
190160
<path fill="#0009E7" d="M69.744 74.04 56.036 98.337h-.012V74.04h13.72Z" />
191161
<path
192162
fill="#FFB340"
@@ -208,10 +178,7 @@ export const LogoExtended = (props: React.SVGProps<SVGSVGElement>) => {
208178
fill="#0009E7"
209179
d="M39.038 125.46H5.468c.627-6.899 1.946-14.153 3.97-22.536 1.402-5.852 3.792-11.029 7.04-15.318a24.209 24.209 0 0 0-3.615 12.738c0 13.869 11.72 25.116 26.175 25.116Z"
210180
/>
211-
<path
212-
fill="#fff"
213-
d="M32.73 172.803a7.762 7.762 0 1 0 0-15.525 7.763 7.763 0 0 0 0 15.525Z"
214-
/>
181+
<path fill="#fff" d="M32.73 172.803a7.762 7.762 0 1 0 0-15.525 7.763 7.763 0 0 0 0 15.525Z" />
215182
<path
216183
fill="#fff"
217184
d="M48.261 172.803a7.763 7.763 0 1 0-.001-15.524 7.763 7.763 0 0 0 .002 15.524ZM17.2 172.803a7.763 7.763 0 1 0-.001-15.524 7.763 7.763 0 0 0 .001 15.524Z"

0 commit comments

Comments
 (0)