Skip to content

Commit 7750fa2

Browse files
feat: add trademark disclaimer link to footer and disclaimer card to price feeds page
Co-Authored-By: Connor Prussin <connor@dourolabs.xyz>
1 parent fe9aa56 commit 7750fa2

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,20 @@
8686
@include theme.max-width;
8787
}
8888
}
89+
90+
.trademarkDisclaimerSection {
91+
margin-top: theme.spacing(6);
92+
width: 100%;
93+
94+
@include theme.max-width;
95+
96+
.trademarkDisclaimerContent {
97+
padding: theme.spacing(4);
98+
display: flex;
99+
flex-flow: column nowrap;
100+
gap: theme.spacing(4);
101+
color: theme.color("text");
102+
font-size: theme.font-size("sm");
103+
}
104+
}
89105
}

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,27 @@ export const PriceFeeds = async () => {
124124
/>
125125
</UnstyledTabPanel>
126126
</UnstyledTabs>
127+
<div className={styles.trademarkDisclaimerSection}>
128+
<Card variant="tertiary" title="Trademark Disclaimer">
129+
<div className={styles.trademarkDisclaimerContent}>
130+
<p>
131+
The Pyth Network name, logo, and all related names, logos, product
132+
and service names, designs, and slogans are trademarks of the Pyth
133+
Data Association or its affiliates or licensors.
134+
</p>
135+
<p>
136+
<Button
137+
variant="outline"
138+
size="sm"
139+
href="https://www.pyth.network/trademark-disclaimer"
140+
target="_blank"
141+
>
142+
View Full Disclaimer
143+
</Button>
144+
</p>
145+
</div>
146+
</Card>
147+
</div>
127148
</div>
128149
);
129150
};

apps/insights/src/components/Root/footer.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ export const Footer = () => (
4747
<Link href="https://www.pyth.network/terms-of-use" target="_blank">
4848
Terms of Use
4949
</Link>
50+
<Link
51+
href="https://www.pyth.network/trademark-disclaimer"
52+
target="_blank"
53+
>
54+
Trademark Disclaimer
55+
</Link>
5056
</div>
5157
</div>
5258
</footer>

0 commit comments

Comments
 (0)