11// @ts -check
22// Note: type annotations allow type checking and IDEs autocompletion
33import ConfigLocalized from "./docusaurus.config.localized.json" ;
4- import { themes } from ' prism-react-renderer' ;
4+ import { themes } from " prism-react-renderer" ;
55
66const lightCodeTheme = themes . github ;
77const darkCodeTheme = themes . dracula ;
@@ -91,7 +91,7 @@ const config = {
9191 containerId : "GTM-K3NQMDX" ,
9292 } ,
9393 ] ,
94- require . resolve ( "docusaurus-plugin-image-zoom" )
94+ require . resolve ( "docusaurus-plugin-image-zoom" ) ,
9595 ] ,
9696
9797 presets : [
@@ -286,8 +286,21 @@ const config = {
286286 href : "https://www.transparentadvertising.com/" ,
287287 } ,
288288 {
289- label : "Do not sell my data" ,
290- href : getLocalizedConfigValue ( "adsrvrURL" ) ,
289+ html : `<a href="#" class="footer__link-item ot-sdk-show-settings">
290+ Website Cookies Settings
291+ </a>` ,
292+ } ,
293+ {
294+ html : `<a class="truevault-polaris-optout footer__link-item"
295+ href="${ getLocalizedConfigValue ( "adsrvrURL" ) } "
296+ target="_blank"
297+ rel="noreferrer noopener">
298+ <img src="https://polaris.truevaultcdn.com/static/assets/icons/optout-icon-black.svg"
299+ alt="California Consumer Privacy Act (CCPA) Opt-Out Icon"
300+ height="14px"
301+ style="vertical-align:middle" />
302+ Your Privacy Choices
303+ </a>` ,
291304 } ,
292305 ] ,
293306 } ,
@@ -310,16 +323,16 @@ const config = {
310323 // indexName: "UID2", //staging
311324 } ,
312325 zoom : {
313- selector : ' .markdown :not(em) > img' ,
326+ selector : " .markdown :not(em) > img" ,
314327 config : {
315328 // options you can specify via https://github.com/francoischalifour/medium-zoom#usage
316329 background : {
317- light : ' rgb(255, 255, 255)' ,
318- dark : ' rgb(50, 50, 50)'
319- }
320- }
321- }
330+ light : " rgb(255, 255, 255)" ,
331+ dark : " rgb(50, 50, 50)" ,
332+ } ,
333+ } ,
334+ } ,
322335 } ) ,
323- } ;
336+ } ;
324337
325338export default config ;
0 commit comments