Skip to content

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Add Trademark Disclaimer Link to Footer and Disclaimer Card to Price Feeds Page

This PR adds:

  1. A link to the trademark disclaimer page in the legal section of the footer
  2. A card with the trademark disclaimer content at the bottom of the price feeds index page

Changes

  • Added "Trademark Disclaimer" link to the legal section in the footer component
  • Added a new section with a card displaying the trademark disclaimer content after the smallScreenBody element in the price feeds index page
  • Added corresponding styles for the new trademark disclaimer section

Link to Devin run: https://app.devin.ai/sessions/1c543bcf708545b18729337de1077bdc
Requested by: Connor

@devin-ai-integration devin-ai-integration bot requested a review from a team as a code owner March 6, 2025 20:13
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link

vercel bot commented Mar 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 1:04am
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 1:04am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 1:04am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 1:04am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Mar 7, 2025 1:04am
entropy-debugger ⬜️ Ignored (Inspect) Visit Preview Mar 7, 2025 1:04am

display: flex;
flex-flow: column nowrap;
gap: theme.spacing(4);
color: theme.color("text");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use "foreground" as the color token here instead of "text"

/>
</UnstyledTabPanel>
</UnstyledTabs>
<div className={styles.trademarkDisclaimerSection}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need a div wrapping the card, just pass the styles.trademarkDisclaimerSection class to the className prop in the Card component.

While you're at it, please rename styles.trademarkDisclaimerSection to styles.trademarkDisclaimerCard

<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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace this text with the full contents of https://www.pyth.network/trademark-disclaimer

target="_blank"
>
View Full Disclaimer
</Button>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this button

</UnstyledTabs>
<Card
className={styles.trademarkDisclaimerCard}
variant="tertiary"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this line to make the card use the default variant

<Card
className={styles.trademarkDisclaimerCard}
title="Trademark Disclaimer"
>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not look good as a card, so let's remove the Card component wrapping this.

Instead, please add a header that says "Trademark Disclaimer" inside the div with the trademarkDisclaimerContent class. Give the header text a bit larger size, and some space between it and the paragraph.

/>
</UnstyledTabPanel>
</UnstyledTabs>
<div className={styles.trademarkDisclaimerCard}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this wrapper div, please remove it.

</UnstyledTabPanel>
</UnstyledTabs>
<div className={styles.trademarkDisclaimerCard}>
<div className={styles.trademarkDisclaimerContent}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename this class to trademarkDisclaimer

@cprussin cprussin merged commit 4ab8195 into main Mar 7, 2025
10 checks passed
@cprussin cprussin deleted the devin/1741291580-add-trademark-disclaimer branch March 7, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant