Skip to content

Commit 1b38c59

Browse files
fix: rename class to trademarkDisclaimer and remove wrapper div
Co-Authored-By: Connor Prussin <[email protected]>
1 parent 5cb502b commit 1b38c59

File tree

2 files changed

+36
-42
lines changed

2 files changed

+36
-42
lines changed

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

+11-14
Original file line numberDiff line numberDiff line change
@@ -87,26 +87,23 @@
8787
}
8888
}
8989

90-
.trademarkDisclaimerCard {
90+
.trademarkDisclaimer {
9191
margin-top: theme.spacing(6);
9292
width: 100%;
93+
padding: theme.spacing(4);
94+
display: flex;
95+
flex-flow: column nowrap;
96+
gap: theme.spacing(4);
97+
color: theme.color("foreground");
98+
font-size: theme.font-size("sm");
9399

94100
@include theme.max-width;
95101

96-
.trademarkDisclaimerContent {
97-
padding: theme.spacing(4);
98-
display: flex;
99-
flex-flow: column nowrap;
100-
gap: theme.spacing(4);
101-
color: theme.color("foreground");
102-
font-size: theme.font-size("sm");
103-
104-
.trademarkDisclaimerHeader {
105-
@include theme.text("lg", "medium");
102+
.trademarkDisclaimerHeader {
103+
@include theme.text("lg", "medium");
106104

107-
color: theme.color("heading");
108-
margin-bottom: theme.spacing(2);
109-
}
105+
color: theme.color("heading");
106+
margin-bottom: theme.spacing(2);
110107
}
111108
}
112109
}

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

+25-28
Original file line numberDiff line numberDiff line change
@@ -124,34 +124,31 @@ export const PriceFeeds = async () => {
124124
/>
125125
</UnstyledTabPanel>
126126
</UnstyledTabs>
127-
<div className={styles.trademarkDisclaimerCard}>
128-
<div className={styles.trademarkDisclaimerContent}>
129-
<h3 className={styles.trademarkDisclaimerHeader}>
130-
Trademark Disclaimer
131-
</h3>
132-
<p>
133-
This website may display ticker symbols, product names, and other
134-
identifiers that are trademarks, service marks or trade names of
135-
third parties. Such display is for informational purposes only and
136-
does not constitute any claim of ownership thereof by Pyth Data
137-
Association or any of its subsidiaries and other affiliates
138-
(collectively, &quot;Association&quot;) or any sponsorship or
139-
endorsement by Association of any associated products or services,
140-
and should not be construed as indicating any affiliation,
141-
sponsorship or other connection between Association and the
142-
third-party owners of such identifiers. Any such third-party
143-
identifiers associated with financial data are made solely to
144-
identify the relevant financial products for which price data is
145-
made available via the website. All trademarks, service marks,
146-
logos, product names, trade names and company names mentioned on the
147-
website are the property of their respective owners and are
148-
protected by trademark and other intellectual property laws.
149-
Association makes no representations or warranties with respect to
150-
any such identifiers or any data or other information associated
151-
therewith and reserves the right to modify or remove any such
152-
displays at its discretion.
153-
</p>
154-
</div>
127+
<div className={styles.trademarkDisclaimer}>
128+
<h3 className={styles.trademarkDisclaimerHeader}>
129+
Trademark Disclaimer
130+
</h3>
131+
<p>
132+
This website may display ticker symbols, product names, and other
133+
identifiers that are trademarks, service marks or trade names of third
134+
parties. Such display is for informational purposes only and does not
135+
constitute any claim of ownership thereof by Pyth Data Association or
136+
any of its subsidiaries and other affiliates (collectively,
137+
&quot;Association&quot;) or any sponsorship or endorsement by
138+
Association of any associated products or services, and should not be
139+
construed as indicating any affiliation, sponsorship or other
140+
connection between Association and the third-party owners of such
141+
identifiers. Any such third-party identifiers associated with
142+
financial data are made solely to identify the relevant financial
143+
products for which price data is made available via the website. All
144+
trademarks, service marks, logos, product names, trade names and
145+
company names mentioned on the website are the property of their
146+
respective owners and are protected by trademark and other
147+
intellectual property laws. Association makes no representations or
148+
warranties with respect to any such identifiers or any data or other
149+
information associated therewith and reserves the right to modify or
150+
remove any such displays at its discretion.
151+
</p>
155152
</div>
156153
</div>
157154
);

0 commit comments

Comments
 (0)