chore: fix lint errors (#2833)

This PR fixes current lint errors thrown by `deno lint`.
This commit is contained in:
Tim Reichen
2025-03-05 12:31:25 +01:00
committed by GitHub
parent f49a3f1d99
commit 0a634bd2d2
22 changed files with 1453 additions and 64 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { SectionHeading } from "../homepage/SectionHeading.tsx";
export function DenoSection() {
return (
<PageSection>
<SideBySide reverseOnDesktop={true}>
<SideBySide reverseOnDesktop>
<img
src="/illustration/lemon-squash.svg"
class="w-full h-auto mx-auto max-w-[24rem] mt-8 mb-4"
+2 -2
View File
@@ -32,7 +32,7 @@ export function IslandsSection() {
<SideBySide
mdColSplit="3/2"
lgColSplit="3/2"
reverseOnDesktop={true}
reverseOnDesktop
class="!items-start"
>
<div class="flex flex-col gap-4 md:sticky md:top-4">
@@ -80,7 +80,7 @@ export function IslandsSection() {
/>
</CodeWindow>
<ExampleArrow class="[transform:rotateY(-180deg)]" />
<DemoBox flip={true}>
<DemoBox flip>
<Counter start={3} />
</DemoBox>
</div>
+2 -2
View File
@@ -37,7 +37,7 @@ export function PartialsSection() {
<SideBySide
mdColSplit="3/2"
lgColSplit="3/2"
reverseOnDesktop={true}
reverseOnDesktop
class="!items-start"
>
<div class="flex flex-col gap-4 md:sticky md:top-4">
@@ -82,7 +82,7 @@ export function PartialsSection() {
/>
</CodeWindow>
<ExampleArrow class="[transform:rotateY(-180deg)]" />
<DemoBox flip={true}>
<DemoBox flip>
<RecipeDemo />
</DemoBox>
</div>
+3 -3
View File
@@ -6,13 +6,13 @@ export const RecipeDemo = () => (
class="w-full grid grid-cols-1 md:grid-cols-[auto_1fr] text-left gap-6 items-stretch min-h-64"
>
<aside class="flex flex-col gap-2 underline p-6 pl-0 border-b md:border-r md:border-b-0 border-current text-left items-start justify-center">
<button f-partial="/recipes/lemonade">
<button type="button" f-partial="/recipes/lemonade">
Lemonade
</button>
<button f-partial="/recipes/lemon-honey-tea">
<button type="button" f-partial="/recipes/lemon-honey-tea">
Lemon-honey tea
</button>
<button f-partial="/recipes/lemondrop">
<button type="button" f-partial="/recipes/lemondrop">
Lemondrop Martini
</button>
</aside>
+1 -1
View File
@@ -25,7 +25,7 @@ export function SocialProof() {
/>
</a>
<div class="flex flex-col gap-8 items-center justify-center -mt-8 md:-mt-16 lg:-mt-32">
<DemoBox flip={true}>
<DemoBox flip>
<blockquote class="text-center italic text-lg sm:text-xl md:text-2xl lg:text-2xl xl:text-3xl max-w-screen-md text-gray-700 text-balance font-normal border-l-yellow-300 mx-auto my-4">
<span class="font-semibold inline-block transform scale-150 relative -left-3 top-1 leading-none">
“