File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 11export function CCPAModal ( ) {
22 document . addEventListener ( "DOMContentLoaded" , function ( ) {
3+ if ( window . location . hash . substring ( 1 ) === 'your-privacy-choices' ) {
4+ document . querySelector ( "#ccpa-modal" ) . style . display = "block" ;
5+ }
36 document . querySelector ( "#open-ccpa" ) . addEventListener ( "click" , ( ) => {
47 document . querySelector ( "#ccpa-modal" ) . style . display = "block" ;
58 } ) ;
Original file line number Diff line number Diff line change @@ -1245,6 +1245,8 @@ footer
12451245 background : none
12461246 padding : 0
12471247 border : none
1248+ .ccpa-toggle
1249+ max-width : 39px
12481250
12491251 .logo
12501252 height 18px
@@ -1286,6 +1288,7 @@ footer
12861288 text-align : left
12871289 +breakpoint ("tablet" )
12881290 width : 50%
1291+ max-width : 670px
12891292 #close-ccpa
12901293 background : none
12911294 border : none
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ html(lang='en')
5757 span •
5858 a( href ='https://auth0.com/web-terms' , target ="_blank" )
5959 | Terms of Service
60+ span •
61+ button.as-anchor #open-ccpa
62+ | Your Privacy Choices
63+ img.ccpa-toggle ( src ='https://cdn.auth0.com/website/footer/ccpa.svg' alt ='Privacy choices' )
6064 a( href ='https://auth0.com/developers/' , target ="_blank" )
6165 | Supported by
6266 img( src ='/img/ico_logo.svg' alt ='Supported by Auth0 - JWT.io Token Based Authentication' ) .logo
You can’t perform that action at this time.
0 commit comments