Skip to content

Commit 3a05126

Browse files
Formatting
1 parent 7c5bb3e commit 3a05126

12 files changed

+704
-659
lines changed

lib/yap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,5 @@ export async function yap(
110110
}
111111

112112
next_yap()
113-
});
113+
})
114114
}

src/app/harbor/battles/project-card.tsx

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useMemo, useState } from 'react'
22
import { Ships } from '../../../../types/battles/airtable'
3-
import Image from "next/image"
3+
import Image from 'next/image'
44
import Pill from '@/components/ui/pill'
55
import Icon from '@hackclub/icons'
66

@@ -41,7 +41,7 @@ export default function ProjectCard({
4141
const truncatedText = project.update_description?.slice(0, 50)
4242

4343
return (
44-
(<div className="relative bg-white dark:bg-gray-800 rounded-lg overflow-hidden shadow-lg transition-all duration-300 hover:shadow-xl">
44+
<div className="relative bg-white dark:bg-gray-800 rounded-lg overflow-hidden shadow-lg transition-all duration-300 hover:shadow-xl">
4545
{project.screenshot_url && (
4646
<div className="relative h-48 w-full" style={imageStyle}>
4747
<Image
@@ -51,9 +51,10 @@ export default function ProjectCard({
5151
className="object-cover"
5252
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
5353
style={{
54-
maxWidth: "100%",
55-
height: "auto"
56-
}} />
54+
maxWidth: '100%',
55+
height: 'auto',
56+
}}
57+
/>
5758
</div>
5859
)}
5960
<div className="p-6">
@@ -253,6 +254,6 @@ export default function ProjectCard({
253254
Flag project
254255
</button>
255256
</div>
256-
</div>)
257-
);
257+
</div>
258+
)
258259
}

0 commit comments

Comments
 (0)