Parcourir la source

feat: add trademark disclaimer link to footer and disclaimer card to price feeds page

Co-Authored-By: Connor Prussin <connor@dourolabs.xyz>
Devin AI il y a 8 mois
Parent
commit
7750fa2b87

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

@@ -86,4 +86,20 @@
       @include theme.max-width;
     }
   }
+
+  .trademarkDisclaimerSection {
+    margin-top: theme.spacing(6);
+    width: 100%;
+
+    @include theme.max-width;
+
+    .trademarkDisclaimerContent {
+      padding: theme.spacing(4);
+      display: flex;
+      flex-flow: column nowrap;
+      gap: theme.spacing(4);
+      color: theme.color("text");
+      font-size: theme.font-size("sm");
+    }
+  }
 }

+ 21 - 0
apps/insights/src/components/PriceFeeds/index.tsx

@@ -124,6 +124,27 @@ export const PriceFeeds = async () => {
           />
         </UnstyledTabPanel>
       </UnstyledTabs>
+      <div className={styles.trademarkDisclaimerSection}>
+        <Card variant="tertiary" title="Trademark Disclaimer">
+          <div className={styles.trademarkDisclaimerContent}>
+            <p>
+              The Pyth Network name, logo, and all related names, logos, product
+              and service names, designs, and slogans are trademarks of the Pyth
+              Data Association or its affiliates or licensors.
+            </p>
+            <p>
+              <Button
+                variant="outline"
+                size="sm"
+                href="https://www.pyth.network/trademark-disclaimer"
+                target="_blank"
+              >
+                View Full Disclaimer
+              </Button>
+            </p>
+          </div>
+        </Card>
+      </div>
     </div>
   );
 };

+ 6 - 0
apps/insights/src/components/Root/footer.tsx

@@ -47,6 +47,12 @@ export const Footer = () => (
         <Link href="https://www.pyth.network/terms-of-use" target="_blank">
           Terms of Use
         </Link>
+        <Link
+          href="https://www.pyth.network/trademark-disclaimer"
+          target="_blank"
+        >
+          Trademark Disclaimer
+        </Link>
       </div>
     </div>
   </footer>