Skip to content

Fill the Earn page's empty column with a pool liquidity card - #103

Merged
0xfandom merged 1 commit into
mainfrom
earn-pool-liquidity-card
Jun 29, 2026
Merged

Fill the Earn page's empty column with a pool liquidity card#103
0xfandom merged 1 commit into
mainfrom
earn-pool-liquidity-card

Conversation

@0xfandom

Copy link
Copy Markdown
Owner

Row two of the Earn page is a two-column grid — the USDC pool card on the left, the earnings panel on the right. With a single pool the left column stretched to match the taller earnings panel, leaving a large empty gap below the supply card.

This adds a Pool liquidity card that fills that space and shows what the pool is actually doing:

  • a two-tone bar splitting supplied capital into the borrowed share (lent out, earning the rate) and the available share (idle, withdrawable now)
  • Pool size / Borrowed / Available figures

Borrowed and available are derived from the live pool size and utilisation, so the card tracks real state. The card is flex-1 so it absorbs the leftover column height and the gap is gone.

Web-only change; typecheck and prettier clean.

Row two of the Earn page is a two-column grid: the USDC pool card on the
left, the earnings panel on the right. With a single pool the left column
stretched to match the taller earnings panel, leaving a large empty gap
below the supply card.

Add a "Pool liquidity" card that fills that space and shows what the pool
is actually doing: a two-tone bar splitting supplied capital into the
borrowed share (earning the rate) and the idle share (withdrawable now),
with Pool size / Borrowed / Available figures. Borrowed and available are
derived from the live pool size and utilisation, so the card tracks real
state. The card is flex-1 so it absorbs the leftover column height.
@0xfandom
0xfandom merged commit c2d4450 into main Jun 29, 2026
9 checks passed
@0xfandom
0xfandom deleted the earn-pool-liquidity-card branch June 29, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant