Skip to content

Commit 4a2811d

Browse files
feat: add AO logo
1 parent 7b16009 commit 4a2811d

3 files changed

Lines changed: 22 additions & 2 deletions

File tree

public/partners/AO.svg

Lines changed: 5 additions & 0 deletions
Loading

src/app/home/AssetRow/AssetRow.module.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,13 @@ body.modal-open .tooltip {
255255
background-color: var(--primary-palatinate-blue);
256256
color: #ffffff;
257257
padding: 2px 6px;
258-
font-size: 7px;
258+
font-size: 8px;
259259
font-weight: bold;
260260
border-radius: 4px;
261261
z-index: 10;
262262
pointer-events: none;
263+
display: flex;
264+
justify-content: center;
265+
align-items: center;
266+
gap: 2px;
263267
}

src/app/home/AssetRow/AssetRow.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,18 @@ const AssetRow: React.FC<AssetRowProps> = ({ asset, mode }) => {
8080
return (
8181
<div className={wrapperClasses}>
8282
{hasSpecialStyling && (
83-
<div className={styles.aoLabel}>Continues earning AO while lent</div>
83+
<div className={styles.aoLabel}>
84+
<span>Continues earning</span>
85+
86+
<Image
87+
src={"/partners/AO.svg"}
88+
alt={asset.name}
89+
width={11}
90+
height={11}
91+
/>
92+
93+
<span>if supplied</span>
94+
</div>
8495
)}
8596
<Link href={`/${asset.cleanTicker}`} className={styles.assetRow}>
8697
<div className={styles.assetInfo}>

0 commit comments

Comments
 (0)