diff --git a/src/components/Header.jsx b/src/components/Header.jsx
index 76ae13015..c3b1314cf 100644
--- a/src/components/Header.jsx
+++ b/src/components/Header.jsx
@@ -146,7 +146,7 @@ function NavItem({ href, children }) {
'relative block px-3 py-2 transition',
isActive
? 'text-blue-500 dark:text-blue-400'
- : 'hover:text-blue-500 dark:hover:text-blue-400'
+ : 'hover:text-blue-500 dark:hover:text-blue-400',
)}
>
{children}
@@ -218,7 +218,7 @@ function AvatarContainer({ className, ...props }) {
@@ -239,7 +239,7 @@ function Avatar({ large = false, className, ...props }) {
sizes={large ? '4rem' : '2.25rem'}
className={clsx(
'rounded-full bg-zinc-100 object-cover dark:bg-zinc-800',
- large ? 'h-16 w-16' : 'h-9 w-9'
+ large ? 'h-16 w-16' : 'h-9 w-9',
)}
priority
/>
@@ -271,7 +271,7 @@ export function Header() {
let scrollY = clamp(
window.scrollY,
0,
- document.body.scrollHeight - window.innerHeight
+ document.body.scrollHeight - window.innerHeight,
)
if (isInitial.current) {
@@ -323,7 +323,7 @@ export function Header() {
setProperty(
'--avatar-image-transform',
- `translate3d(${x}rem, 0, 0) scale(${scale})`
+ `translate3d(${x}rem, 0, 0) scale(${scale})`,
)
let borderScale = 1 / (toScale / scale)
diff --git a/src/lib/generateRssFeed.js b/src/lib/generateRssFeed.js
index 8400e38fd..ec873e785 100644
--- a/src/lib/generateRssFeed.js
+++ b/src/lib/generateRssFeed.js
@@ -39,7 +39,7 @@ export async function generateRssFeed() {
}
let html = ReactDOMServer.renderToStaticMarkup(
-
+
,
)
feed.addItem({
diff --git a/src/lib/getAllArticles.js b/src/lib/getAllArticles.js
index 5eaebec9b..54bda98c5 100644
--- a/src/lib/getAllArticles.js
+++ b/src/lib/getAllArticles.js
@@ -22,6 +22,6 @@ export async function getAllArticles() {
let issues = await getAllIssues()
return [...articles, ...issues].sort(
- (a, z) => new Date(z.date) - new Date(a.date)
+ (a, z) => new Date(z.date) - new Date(a.date),
)
}
diff --git a/src/lib/github.js b/src/lib/github.js
index e538779f0..f5a7ab050 100644
--- a/src/lib/github.js
+++ b/src/lib/github.js
@@ -36,7 +36,7 @@ const preparePosts = (posts) => {
export async function getAllIssues() {
let issues = await api(
- 'repos/alessbell/aless.co/issues?state=closed&creator=alessbell'
+ 'repos/alessbell/aless.co/issues?state=closed&creator=alessbell',
)
return preparePosts(issues)
}
diff --git a/src/pages/api/og.jsx b/src/pages/api/og.jsx
index ce8bb9986..66d3d6db8 100644
--- a/src/pages/api/og.jsx
+++ b/src/pages/api/og.jsx
@@ -6,7 +6,7 @@ export const config = {
// Make sure the font exists in the specified path:
const font = fetch(
- new URL('../../fonts/GT-Pressura-Mono-Regular.ttf', import.meta.url)
+ new URL('../../fonts/GT-Pressura-Mono-Regular.ttf', import.meta.url),
).then((res) => res.arrayBuffer())
export default async function handler(req) {
@@ -47,6 +47,6 @@ export default async function handler(req) {
style: 'normal',
},
],
- }
+ },
)
}
diff --git a/src/pages/gatsby-wasm-plugin/index.mdx b/src/pages/gatsby-wasm-plugin/index.mdx
index e34120077..08c819b3e 100644
--- a/src/pages/gatsby-wasm-plugin/index.mdx
+++ b/src/pages/gatsby-wasm-plugin/index.mdx
@@ -115,7 +115,7 @@ module.exports = ({ markdownNode }, config) => {
const buffer = twitterCard.generate_text(
post.title,
// ...
- fontToUint8Array
+ fontToUint8Array,
)
return Promise.all([generateBackground(), writeTextToCard(buffer)])
.then(([base, text]) => base.composite(text, 0, 0))
@@ -123,7 +123,7 @@ module.exports = ({ markdownNode }, config) => {
image
.writeAsync(output)
.then(() => console.log('Generated Twitter Card: ', output))
- .catch((err) => err)
+ .catch((err) => err),
)
.catch(console.error)
}
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index 17ed14e14..96a172ee6 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -244,7 +244,7 @@ function Photos() {
key={image.src}
className={clsx(
'relative aspect-[9/10] w-44 flex-none overflow-hidden rounded-xl bg-zinc-100 dark:bg-zinc-800 sm:w-72 sm:rounded-2xl',
- rotations[imageIndex % rotations.length]
+ rotations[imageIndex % rotations.length],
)}
>
}