Skip to content

Commit 5cb502b

Browse files
fix: replace Card with div and add header for trademark disclaimer
Co-Authored-By: Connor Prussin <connor@dourolabs.xyz>
1 parent 656ca8c commit 5cb502b

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

apps/insights/src/components/PriceFeeds/index.module.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@
100100
gap: theme.spacing(4);
101101
color: theme.color("foreground");
102102
font-size: theme.font-size("sm");
103+
104+
.trademarkDisclaimerHeader {
105+
@include theme.text("lg", "medium");
106+
107+
color: theme.color("heading");
108+
margin-bottom: theme.spacing(2);
109+
}
103110
}
104111
}
105112
}

apps/insights/src/components/PriceFeeds/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ export const PriceFeeds = async () => {
124124
/>
125125
</UnstyledTabPanel>
126126
</UnstyledTabs>
127-
<Card
128-
className={styles.trademarkDisclaimerCard}
129-
title="Trademark Disclaimer"
130-
>
127+
<div className={styles.trademarkDisclaimerCard}>
131128
<div className={styles.trademarkDisclaimerContent}>
129+
<h3 className={styles.trademarkDisclaimerHeader}>
130+
Trademark Disclaimer
131+
</h3>
132132
<p>
133133
This website may display ticker symbols, product names, and other
134134
identifiers that are trademarks, service marks or trade names of
@@ -152,7 +152,7 @@ export const PriceFeeds = async () => {
152152
displays at its discretion.
153153
</p>
154154
</div>
155-
</Card>
155+
</div>
156156
</div>
157157
);
158158
};

0 commit comments

Comments
 (0)