Browse Source

fix: address PR feedback on trademark disclaimer implementation

Co-Authored-By: Connor Prussin <connor@dourolabs.xyz>
Devin AI 8 months ago
parent
commit
08ec7f5039

+ 2 - 2
apps/insights/src/components/PriceFeeds/index.module.scss

@@ -87,7 +87,7 @@
     }
   }
 
-  .trademarkDisclaimerSection {
+  .trademarkDisclaimerCard {
     margin-top: theme.spacing(6);
     width: 100%;
 
@@ -98,7 +98,7 @@
       display: flex;
       flex-flow: column nowrap;
       gap: theme.spacing(4);
-      color: theme.color("text");
+      color: theme.color("foreground");
       font-size: theme.font-size("sm");
     }
   }

+ 1 - 3
apps/insights/src/components/PriceFeeds/index.tsx

@@ -124,8 +124,7 @@ export const PriceFeeds = async () => {
           />
         </UnstyledTabPanel>
       </UnstyledTabs>
-      <div className={styles.trademarkDisclaimerSection}>
-        <Card variant="tertiary" title="Trademark Disclaimer">
+      <Card className={styles.trademarkDisclaimerCard} variant="tertiary" title="Trademark Disclaimer">
           <div className={styles.trademarkDisclaimerContent}>
             <p>
               The Pyth Network name, logo, and all related names, logos, product
@@ -144,7 +143,6 @@ export const PriceFeeds = async () => {
             </p>
           </div>
         </Card>
-      </div>
     </div>
   );
 };