@titelmedia/bricks-age-gate
Advanced tools
Comparing version 1.11.19 to 1.11.21
@@ -6,2 +6,8 @@ # Change Log | ||
## [1.11.21](https://github.com/titel-media/bricks-lerna/compare/v1.11.20...v1.11.21) (2023-05-24) | ||
### Features | ||
- added redirectLink to Age gate ([b31d06c](https://github.com/titel-media/bricks-lerna/commit/b31d06ce3d418ded437bf8833e6d397469ff7e5e)) | ||
## [1.11.19](https://github.com/titel-media/bricks-lerna/compare/v1.11.18...v1.11.19) (2023-05-16) | ||
@@ -8,0 +14,0 @@ |
@@ -19,2 +19,3 @@ "use strict"; | ||
noMessage, | ||
redirectLink, | ||
colorMode, | ||
@@ -41,3 +42,3 @@ backgroundColor | ||
function redirectToHomepage() { | ||
window.location.href = 'https://www.highsnobiety.com'; | ||
window.location.href = redirectLink || 'https://www.highsnobiety.com'; | ||
} | ||
@@ -44,0 +45,0 @@ function closeAgeGate() { |
@@ -18,2 +18,3 @@ import React, { useEffect, useRef, useState } from 'react'; | ||
noMessage, | ||
redirectLink, | ||
colorMode, | ||
@@ -43,3 +44,3 @@ backgroundColor, | ||
function redirectToHomepage() { | ||
window.location.href = 'https://www.highsnobiety.com'; | ||
window.location.href = redirectLink || 'https://www.highsnobiety.com'; | ||
} | ||
@@ -46,0 +47,0 @@ |
{ | ||
"name": "@titelmedia/bricks-age-gate", | ||
"version": "1.11.19", | ||
"version": "1.11.21", | ||
"description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM", | ||
@@ -28,7 +28,7 @@ "keywords": [], | ||
"dependencies": { | ||
"@titelmedia/bricks-theme": "^1.11.19", | ||
"@titelmedia/bricks-theme": "^1.11.21", | ||
"@titelmedia/bricks-utils": "^1.11.19" | ||
}, | ||
"homepage": "https://github.com/titel-media/bricks-lerna#readme", | ||
"gitHead": "da668fbb001a6de2672a17e74c59a05e1e0896e3" | ||
"gitHead": "51990c87de391f2f5b0eba69de60ec2a304ad4e0" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38828
344