Skip to content

Commit

Permalink
fixed eslint stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ofjuneskies committed Jan 22, 2025
1 parent c2cbb53 commit 301e8bb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apps/site/src/app/(main)/resources/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,25 @@ export default async function Resources() {
</div>
<div className="mb-40 mx-4">
{resources.order.map(
({ _id, iconUrl, title, description, resources }, i) => (
<div className="flex flex-col md:flex-row justify-center align-center justify-items-center">
({ _id, iconUrl, title, description, resources }) => (
<div
key={_id}
className="flex flex-col md:flex-row justify-center align-center justify-items-center"
>
<div className="grow basis-0">
<img
className="w-8 mx-auto h-auto lg:w-80"
src={iconUrl}
alt=""
/>
<div className="s align-center justify-items-center">
<div className="top-1 left-1 bg-white w-full h-full"></div>
<div className="top-1 left-1 bg-white w-full h-full" />
<h2 className="shadow-[8px_8px_0px_1px_#ffffff] font-display text-center font-bold text-3xl bg-black text-[calc(13px_+_1vw)] px-10 py-[0.7rem] border-[3px] border-solid border-white">
{title}
</h2>
</div>
</div>
<div
key={_id}
className="max-w-5xl w-full grow-[2] basis-0
mx-auto mb-12 bg-[var(--color-white)] text-[#2F1C00] p-12 rounded-2xl lg:grid lg:gap-20 lg:grid-cols-2 lg:items-center"
>
Expand Down

0 comments on commit 301e8bb

Please sign in to comment.