Web: rowna wysokosc kafelki uczestnikow - diagram na siatce 2x2, lista w dwie kolumny
This commit is contained in:
@@ -119,7 +119,10 @@ function HubDiagram() {
|
||||
|
||||
return (
|
||||
<Reveal className="hidden lg:block">
|
||||
<div ref={containerRef} className="relative mt-14 h-[680px]">
|
||||
<div
|
||||
ref={containerRef}
|
||||
className="relative mt-14 grid h-[680px] grid-cols-2 grid-rows-2 gap-x-10 gap-y-6"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
viewBox="0 0 100 100"
|
||||
@@ -151,24 +154,24 @@ function HubDiagram() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div ref={trenerRef} className="absolute left-0 top-0 z-10 w-[32%]">
|
||||
<div className="drift-1">
|
||||
<ParticipantCard participant={PARTICIPANTS[1]} />
|
||||
<div ref={trenerRef} className="col-start-1 row-start-1 flex h-full items-center justify-start">
|
||||
<div className="drift-1 h-full w-[65%]">
|
||||
<ParticipantCard participant={PARTICIPANTS[1]} className="h-full" />
|
||||
</div>
|
||||
</div>
|
||||
<div ref={silowniaRef} className="absolute bottom-0 left-0 z-10 w-[32%]">
|
||||
<div className="drift-2">
|
||||
<ParticipantCard participant={PARTICIPANTS[2]} />
|
||||
<div ref={silowniaRef} className="col-start-1 row-start-2 flex h-full items-center justify-start">
|
||||
<div className="drift-2 h-full w-[65%]">
|
||||
<ParticipantCard participant={PARTICIPANTS[2]} className="h-full" />
|
||||
</div>
|
||||
</div>
|
||||
<div ref={cwiczacyRef} className="absolute right-0 top-0 z-10 w-[32%]">
|
||||
<div className="drift-3">
|
||||
<ParticipantCard participant={PARTICIPANTS[0]} />
|
||||
<div ref={cwiczacyRef} className="col-start-2 row-start-1 flex h-full items-center justify-end">
|
||||
<div className="drift-3 h-full w-[65%]">
|
||||
<ParticipantCard participant={PARTICIPANTS[0]} className="h-full" />
|
||||
</div>
|
||||
</div>
|
||||
<div ref={adminRef} className="absolute bottom-0 right-0 z-10 w-[32%]">
|
||||
<div className="drift-4">
|
||||
<ParticipantCard participant={PARTICIPANTS[3]} />
|
||||
<div ref={adminRef} className="col-start-2 row-start-2 flex h-full items-center justify-end">
|
||||
<div className="drift-4 h-full w-[65%]">
|
||||
<ParticipantCard participant={PARTICIPANTS[3]} className="h-full" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -199,11 +202,13 @@ export function Ecosystem() {
|
||||
</div>
|
||||
</div>
|
||||
</Reveal>
|
||||
{PARTICIPANTS.map((p, i) => (
|
||||
<Reveal key={p.role} delayMs={i * 60}>
|
||||
<ParticipantCard participant={p} />
|
||||
</Reveal>
|
||||
))}
|
||||
<div className="mt-14 grid gap-4 sm:grid-cols-2">
|
||||
{PARTICIPANTS.map((p, i) => (
|
||||
<Reveal key={p.role} delayMs={i * 60} className="h-full">
|
||||
<ParticipantCard participant={p} className="h-full" />
|
||||
</Reveal>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</Section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user