Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions apps/insights/src/components/PriceFeeds/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,20 @@
@include theme.max-width;
}
}

.trademarkDisclaimerCard {
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("foreground");
font-size: theme.font-size("sm");
}
}
}
23 changes: 23 additions & 0 deletions apps/insights/src/components/PriceFeeds/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,29 @@ export const PriceFeeds = async () => {
/>
</UnstyledTabPanel>
</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

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.

<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

<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

</p>
<p>
<Button
variant="outline"
size="sm"
href="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

</p>
</div>
</Card>
</div>
);
};
Expand Down
6 changes: 6 additions & 0 deletions apps/insights/src/components/Root/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Loading