Skip to content

Commit

Permalink
docs: ecosystem layout + contributors (#3373)
Browse files Browse the repository at this point in the history
  • Loading branch information
karooolis authored Nov 17, 2024
1 parent 5cc81ea commit 7947764
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/app/api/contributors/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export async function GET() {
const response = await octokit.request("GET /repos/{owner}/{repo}/contributors", {
owner: "latticexyz",
repo: "mud",
per_page: 1000,
});

const allContributors = response.data;
Expand Down
14 changes: 6 additions & 8 deletions docs/app/sections/Ecosystem/Ecosystem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ export default function Ecosystem() {
rel="noopener noreferrer"
target="_blank"
className={cn(
"relative flex flex-col justify-between",
"w-full md:h-[96px] md:w-[calc(50%-12px)] lg:w-[calc(33.333%-15px)]",
"flex flex-col justify-center items-center md:justify-between",
"w-full h-[104px] md:h-[96px] md:w-[calc(50%-12px)] lg:w-[calc(33.333%-15px)]",
"text-white",
"border-b-2 border-white/10 md:border md:hover:border-white/30",
"md:relative",
)}
>
<Image
Expand All @@ -40,13 +42,9 @@ export default function Ecosystem() {

<div
className={cn(
"absolute left-0 top-0 h-full w-full",
"flex flex-col justify-between",
"h-[96px] w-full",
"py-[28px] md:px-[27px] md:py-[24px]",
"bg-black/90 hover:bg-black/60",
"border-b-2 border-white/10 md:border md:hover:border-white/30",
"w-full",
"transition-bg transition-border duration-300",
"md:px-[27px] md:py-[24px] md:bg-black/90 md:hover:bg-black/60 md:h-full",
)}
style={{ zIndex: "2" }}
>
Expand Down

0 comments on commit 7947764

Please sign in to comment.