Skip to content

Commit 50c7925

Browse files
authored
Revise text and fix link color in cookie consent banner (#160)
* Clarify cookie usage * Fix link style When the site is using the light theme, the link to the cookie policy is the same as the background of the cookie consent banner, which makes the text for the link impossible to see.
1 parent 34ad174 commit 50c7925

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/theme/Root.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export default function Root({ children }) {
3636
location="bottom"
3737
buttonText="I understand"
3838
style={{
39-
backgroundColor: "#080f53",
4039
padding: "20px",
4140
}}
4241
buttonStyle={{
@@ -49,7 +48,7 @@ export default function Root({ children }) {
4948
expires={150}
5049
onAccept={handleConsentAccept}
5150
>
52-
This website uses cookies to enhance the user experience. By continuing to use this website, you acknowledge that you have read and understood the <a href="/cookies">cookie policy</a> and consent to the use of cookies to improve your browsing experience, personalize content, and analyze website traffic.
51+
This website uses cookies to enhance the user experience. By continuing to use this website, you acknowledge that you have read and understood the <a href="/cookies" style={{color: "white", textDecorationLine: "underline"}}>cookie policy</a> and consent to the use of cookies so that I can make data-driven decisions to help improve your browsing experience and provide you with personalized content.
5352
</CookieConsent>
5453
</div>
5554
</>

0 commit comments

Comments
 (0)