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 1
1
export function CCPAModal ( ) {
2
2
document . addEventListener ( "DOMContentLoaded" , function ( ) {
3
+ if ( window . location . hash . substring ( 1 ) === 'your-privacy-choices' ) {
4
+ document . querySelector ( "#ccpa-modal" ) . style . display = "block" ;
5
+ }
3
6
document . querySelector ( "#open-ccpa" ) . addEventListener ( "click" , ( ) => {
4
7
document . querySelector ( "#ccpa-modal" ) . style . display = "block" ;
5
8
} ) ;
Original file line number Diff line number Diff line change @@ -1245,6 +1245,8 @@ footer
1245
1245
background : none
1246
1246
padding : 0
1247
1247
border : none
1248
+ .ccpa-toggle
1249
+ max-width : 39px
1248
1250
1249
1251
.logo
1250
1252
height 18px
@@ -1286,6 +1288,7 @@ footer
1286
1288
text-align : left
1287
1289
+breakpoint ("tablet" )
1288
1290
width : 50%
1291
+ max-width : 670px
1289
1292
#close-ccpa
1290
1293
background : none
1291
1294
border : none
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ html(lang='en')
57
57
span •
58
58
a( href ='https://auth0.com/web-terms' , target ="_blank" )
59
59
| 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' )
60
64
a( href ='https://auth0.com/developers/' , target ="_blank" )
61
65
| Supported by
62
66
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