From 42a1ac3fef89f0aaee31cbcabea91d7d01c77568 Mon Sep 17 00:00:00 2001 From: Matthew Pereira Date: Thu, 21 Mar 2024 14:39:15 -0700 Subject: [PATCH] improve styles --- .../app/pools/_components/PoolDetails.tsx | 9 +-- packages/nextjs/app/subgraph/page.tsx | 61 ++++++++++--------- 2 files changed, 38 insertions(+), 32 deletions(-) diff --git a/packages/nextjs/app/pools/_components/PoolDetails.tsx b/packages/nextjs/app/pools/_components/PoolDetails.tsx index 66ecac8f..91203977 100644 --- a/packages/nextjs/app/pools/_components/PoolDetails.tsx +++ b/packages/nextjs/app/pools/_components/PoolDetails.tsx @@ -35,18 +35,19 @@ export const PoolDetails = ({ poolAddress }: { poolAddress: string }) => {
Pool Attributes
+
- - + {/* + - + */} {detailsRows.map(({ attribute, detail }, index) => ( - + ))} diff --git a/packages/nextjs/app/subgraph/page.tsx b/packages/nextjs/app/subgraph/page.tsx index 7d0c20dc..6cad9eec 100644 --- a/packages/nextjs/app/subgraph/page.tsx +++ b/packages/nextjs/app/subgraph/page.tsx @@ -45,36 +45,41 @@ const Subgraph: NextPage = () => {

-
+
{data ? ( -
Attribute Details
{attribute}{attribute} {detail}
- - - - - - - - - - - {data.pools.map((pool: any, index: number) => ( - - - - - - +
+
AddressNameSymbolTokensTotal Shares
-
-
{pool.name}{pool.symbol} - {pool.tokens.map((token: any, index: number) => ( -
{token.symbol}
- ))} -
{pool.totalShares}
+ + + + + + + - ))} - -
AddressNameSymbolTokensTotal Shares
+ + + {data.pools.map((pool: any, index: number) => ( + + +
+ + {pool.name} + {pool.symbol} + + {pool.tokens.map((token: any, index: number) => ( +
{token.symbol}
+ ))} + + {pool.totalShares} + + ))} + + +
) : (