Skip to content

Commit 088b568

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c2be8fa commit 088b568

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

src/components/form/select.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const Select = ({
1919
defaultValue={defaultValue}
2020
className={clsx(
2121
"block w-full bg-transparent text-lg h-16 py-2 pr-16 pl-4 border-[3px] border-primary appearance-none",
22-
"focus:outline-none focus:border-black focus-visible:bg-white",
22+
"focus:outline-none focus:border-black focus-visible:bg-white"
2323
)}
2424
>
2525
{children}
@@ -29,7 +29,7 @@ export const Select = ({
2929
xmlns="http://www.w3.org/2000/svg"
3030
viewBox="0 0 12 8"
3131
className={clsx(
32-
"absolute top-1/2 -translate-y-1/2 w-6 h-6 pointer-events-none text-primary right-4",
32+
"absolute top-1/2 -translate-y-1/2 w-6 h-6 pointer-events-none text-primary right-4"
3333
)}
3434
>
3535
<path

src/components/link/link.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const Link = ({
1616
<a
1717
className={clsx(
1818
"text-primary hover:text-primary-hover font-title font-bold underline",
19-
className,
19+
className
2020
)}
2121
href={href}
2222
{...props}

src/components/nav-items/nav-items.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const NavItems = ({ items, inverted = false }: Props) => {
2323
{
2424
"text-white": inverted,
2525
"text-primary": !inverted,
26-
},
26+
}
2727
)}
2828
>
2929
<a
@@ -35,7 +35,7 @@ export const NavItems = ({ items, inverted = false }: Props) => {
3535
"font-bold inline-block w-full text-3xl xl:text-base p-5 text-center",
3636
"xl:text-left xl:p-2 xl:px-5",
3737
"xl:group-hover:bg-secondary xl:group-hover:rounded-[30px] xl:group-hover:text-white",
38-
"xl:group-focus-within:bg-secondary xl:group-focus-within:rounded-[30px] xl:group-focus-within:text-white",
38+
"xl:group-focus-within:bg-secondary xl:group-focus-within:rounded-[30px] xl:group-focus-within:text-white"
3939
)}
4040
>
4141
{item.name}
@@ -46,7 +46,7 @@ export const NavItems = ({ items, inverted = false }: Props) => {
4646
<div
4747
className={clsx(
4848
"xl:hidden xl:group-hover:block xl:absolute z-50",
49-
"xl:group-focus-within:block",
49+
"xl:group-focus-within:block"
5050
)}
5151
>
5252
<ul className="mb-3 xl:bg-secondary xl:mt-2 xl:rounded-[30px]">
@@ -57,15 +57,15 @@ export const NavItems = ({ items, inverted = false }: Props) => {
5757
"bg-secondary text-white block w-full font-bold text-center",
5858
"xl:text-left xl:hover:bg-secondary-light",
5959
"xl:first:rounded-t-[30px] xl:first:pt-2",
60-
"xl:last:rounded-b-[30px] xl:last:pb-2",
60+
"xl:last:rounded-b-[30px] xl:last:pb-2"
6161
)}
6262
>
6363
<a
6464
href={subItem.path || "#"}
6565
role="button"
6666
className={clsx(
6767
"block w-full font-bold text-center",
68-
"xl:text-left mb-[2px] p-2 xl:px-5",
68+
"xl:text-left mb-[2px] p-2 xl:px-5"
6969
)}
7070
>
7171
{subItem.name}

src/components/tag/tag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const Tag = ({ children, className, href }: TagProps) => {
1414
"inline-block bg-secondary text-body px-4 py-2 rounded-xl font-bold",
1515
"hover:bg-primary hover:text-white transition-colors",
1616
"duration-200 ease-in-out cursor-pointer",
17-
className,
17+
className
1818
)}
1919
href={href}
2020
>

src/components/typography/title.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const Title = ({
2727
"text-lg md:text-2xl": level === 5,
2828
"text-lg md:text-xl": level === 6,
2929
},
30-
className,
30+
className
3131
)}
3232
{...props}
3333
>

src/content/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ const days = defineCollection({
116116
code: z.string(),
117117
name: z.string(),
118118
website_url: z.string(),
119-
}),
119+
})
120120
)
121121
.optional(),
122122
tweet: z.string().optional().nullable(),
123123
level: z.string().optional().nullable(),
124124
start: z.string(),
125125
website_url: z.string().optional().nullable(),
126126
duration: z.number(),
127-
}),
127+
})
128128
),
129129
}),
130130
});

src/scripts/fetchData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function fetchAndSaveData(url, filePath) {
2828

2929
if (!response.ok) {
3030
throw new Error(
31-
`Failed to fetch data: ${response.status} ${response.statusText}`,
31+
`Failed to fetch data: ${response.status} ${response.statusText}`
3232
);
3333
}
3434

src/scripts/generateContent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function writeMdx(data, outputDir, contentKey) {
3737
fs.writeFileSync(
3838
filepath,
3939
`---\n${frontmatter}---\n\n${processedContent}`,
40-
"utf-8",
40+
"utf-8"
4141
);
4242
}
4343
}

0 commit comments

Comments
 (0)