Skip to content

Commit 998c98e

Browse files
committed
Format
1 parent 248f12d commit 998c98e

File tree

160 files changed

+2871
-2871
lines changed

Some content is hidden

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

160 files changed

+2871
-2871
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-node@v6
1313
with:
14-
node-version: "22.x"
14+
node-version: '22.x'
1515
- run: yarn install --frozen-lockfile
1616
- name: Lint
1717
run: yarn lint
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v4
3030
- uses: actions/setup-node@v6
3131
with:
32-
node-version: "22.x"
32+
node-version: '22.x'
3333
- run: yarn install --frozen-lockfile
3434
- run: yarn playwright install chromium --with-deps
3535
- run: yarn db:seed

.oxfmtrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "./node_modules/oxfmt/configuration_schema.json",
33
"printWidth": 80,
4-
"singleQuote": false,
4+
"singleQuote": true,
55
"semi": false,
66
"objectWrap": "preserve",
77
"quoteProps": "as-needed",

app/(main)/about/page.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import { EnvelopeIcon } from "@heroicons/react/24/solid"
2-
import { Metadata } from "@playwright/test"
3-
import { clsx } from "clsx"
4-
import Image from "next/image"
5-
import { Container } from "~/components/Container"
6-
import { PageTitle } from "~/components/PageTitle"
7-
import { Prose } from "~/components/Prose"
8-
import { socials } from "~/components/SocialIcons"
9-
import portraitImage from "~/images/portrait.jpg"
10-
import { siteMeta } from "~/lib/siteMeta"
11-
import Content from "./content.mdx"
1+
import { EnvelopeIcon } from '@heroicons/react/24/solid'
2+
import { Metadata } from '@playwright/test'
3+
import { clsx } from 'clsx'
4+
import Image from 'next/image'
5+
import { Container } from '~/components/Container'
6+
import { PageTitle } from '~/components/PageTitle'
7+
import { Prose } from '~/components/Prose'
8+
import { socials } from '~/components/SocialIcons'
9+
import portraitImage from '~/images/portrait.jpg'
10+
import { siteMeta } from '~/lib/siteMeta'
11+
import Content from './content.mdx'
1212

1313
export const metadata: Metadata = {
1414
description: siteMeta.description,
15-
title: "About | Mark Skelton",
15+
title: 'About | Mark Skelton',
1616
}
1717

1818
export interface SocialLinkProps {
@@ -29,7 +29,7 @@ function SocialLink({
2929
icon: Icon,
3030
}: SocialLinkProps) {
3131
return (
32-
<li className={clsx(className, "flex")}>
32+
<li className={clsx(className, 'flex')}>
3333
<a
3434
className="group focusable -m-1 flex rounded-sm p-1 text-sm font-medium text-zinc-800 transition hover:text-indigo-500 dark:text-zinc-200 dark:hover:text-indigo-400"
3535
href={href}

app/(main)/blog/[slug]/not-found.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
"use client"
1+
'use client'
22

3-
import Link from "next/link"
4-
import { Button } from "~/components/Button"
5-
import ErrorPage from "~/components/ErrorPage"
3+
import Link from 'next/link'
4+
import { Button } from '~/components/Button'
5+
import ErrorPage from '~/components/ErrorPage'
66

77
export default function PostNotFound() {
88
return (

app/(main)/blog/[slug]/opengraph-image.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getPostImage } from "~/lib/posts"
1+
import { getPostImage } from '~/lib/posts'
22

33
const size = {
44
height: 1024,
@@ -8,8 +8,8 @@ const size = {
88
export function generateImageMetadata() {
99
return [
1010
{
11-
contentType: "image/png",
12-
id: "featured",
11+
contentType: 'image/png',
12+
id: 'featured',
1313
size,
1414
},
1515
]
@@ -24,7 +24,7 @@ export default async function Image({
2424
const bytes = await getPostImage(slug)
2525

2626
if (bytes instanceof ArrayBuffer) {
27-
const blob = new Blob([bytes], { type: "image/png" })
27+
const blob = new Blob([bytes], { type: 'image/png' })
2828
return new Response(blob)
2929
}
3030

app/(main)/blog/[slug]/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import Image from "next/image"
2-
import { PostLayout } from "~/components/layouts/PostLayout"
3-
import { withOpenGraph } from "~/lib/metadata"
4-
import { getAllPostSlugs, getPost } from "~/lib/posts"
1+
import Image from 'next/image'
2+
import { PostLayout } from '~/components/layouts/PostLayout'
3+
import { withOpenGraph } from '~/lib/metadata'
4+
import { getAllPostSlugs, getPost } from '~/lib/posts'
55

66
export async function generateStaticParams() {
77
const slugs = await getAllPostSlugs()

app/(main)/blog/components/Demo/Demo.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import clsx from "clsx"
1+
import clsx from 'clsx'
22

33
export interface DemoProps {
44
center?: boolean
@@ -15,9 +15,9 @@ export default function Demo({
1515
<div className="relative overflow-hidden rounded-lg border border-zinc-200 transition-colors dark:border-zinc-700/80">
1616
<div
1717
className={clsx(
18-
"not-prose w-full",
19-
center ? "flex justify-center" : "",
20-
tight ? "" : "p-4",
18+
'not-prose w-full',
19+
center ? 'flex justify-center' : '',
20+
tight ? '' : 'p-4',
2121
)}
2222
>
2323
{children}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { default } from "./Demo"
1+
export { default } from './Demo'

app/(main)/blog/components/ImageComparison.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
"use client"
1+
'use client'
22

3-
import clsx from "clsx"
4-
import Image from "next/image"
5-
import React, { useState } from "react"
3+
import clsx from 'clsx'
4+
import Image from 'next/image'
5+
import React, { useState } from 'react'
66
import {
77
ReactCompareSlider,
88
ReactCompareSliderHandle,
99
ReactCompareSliderHandleProps,
1010
ReactCompareSliderImageProps,
1111
styleFitContainer,
12-
} from "react-compare-slider"
12+
} from 'react-compare-slider'
1313

1414
const Handle = ReactCompareSliderHandle as React.FC<
1515
ReactCompareSliderHandleProps & { className: string }
@@ -23,7 +23,7 @@ function CompareImage({
2323
}: React.ImgHTMLAttributes<HTMLImageElement> & { slug?: string }) {
2424
return (
2525
<Image
26-
alt={alt ?? ""}
26+
alt={alt ?? ''}
2727
onLoad={onLoad}
2828
placeholder="blur"
2929
// eslint-disable-next-line @typescript-eslint/no-require-imports
@@ -56,10 +56,10 @@ export default function ImageComparison({
5656
className="rounded-xl sm:max-w-[calc(100%+4rem)]"
5757
handle={
5858
<Handle
59-
buttonStyle={{ borderColor: "currentcolor" }}
59+
buttonStyle={{ borderColor: 'currentcolor' }}
6060
className={clsx(
61-
"text-indigo-400 opacity-0 transition",
62-
loaded === 2 && "opacity-100",
61+
'text-indigo-400 opacity-0 transition',
62+
loaded === 2 && 'opacity-100',
6363
)}
6464
style={{ color: undefined }}
6565
/>

app/(main)/blog/meta.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Metadata } from "next"
2-
import type { PostMeta } from "~/components/layouts/PostLayout"
1+
import { Metadata } from 'next'
2+
import type { PostMeta } from '~/components/layouts/PostLayout'
33

44
export function getMetadata(meta: PostMeta): Metadata {
55
return {

0 commit comments

Comments
 (0)