-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates Cookie banner to Cookie consent
- Loading branch information
Showing
15 changed files
with
46 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: Cookie consent | ||
page: true | ||
model: | ||
cookie-consent-1: json/cookie-consent-1.json | ||
cookie-consent-2: json/cookie-consent-2.json | ||
cookie-consent-3: json/cookie-consent-3.json | ||
--- | ||
|
||
{{>_cookie-consent model.cookie-consent-1}} | ||
{{>_cookie-consent model.cookie-consent-2}} | ||
{{>_cookie-consent model.cookie-consent-3}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
src/components/cookie-banner/index.hbs → src/components/cookie-consent/index.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
--- | ||
title: Cookie banner | ||
title: Cookie consent | ||
tabs: true | ||
theme: true | ||
directory: cookie-banner | ||
directory: cookie-consent | ||
intro: Global alerts display across the top of an entire site to show important information to users. | ||
figma: https://www.figma.com/file/PVrERKnckLTlJSPk12gbtS/NSW-Digital-Design-System?node-id=21298%3A24823 | ||
meta-description: Global alerts display across the top of an entire site to show important information to users. | ||
meta-index: true | ||
model: | ||
cookie-banner-1: json/cookie-banner-1.json | ||
cookie-banner-2: json/cookie-banner-2.json | ||
cookie-banner-3: json/cookie-banner-3.json | ||
cookie-consent-1: json/cookie-consent-1.json | ||
cookie-consent-2: json/cookie-consent-2.json | ||
cookie-consent-3: json/cookie-consent-3.json | ||
--- | ||
|
||
<h3>Auto opt-in</h3> | ||
{{#>_docs-example}}{{>_cookie-banner model.cookie-banner-1}}{{/_docs-example}} | ||
{{#>_docs-example}}{{>_cookie-consent model.cookie-consent-1}}{{/_docs-example}} | ||
|
||
<h3>Opt-in</h3> | ||
{{#>_docs-example}}{{>_cookie-banner model.cookie-banner-3}}{{/_docs-example}} | ||
{{#>_docs-example}}{{>_cookie-consent model.cookie-consent-3}}{{/_docs-example}} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Cookie consent | ||
page: true | ||
model: | ||
cookie-consent-1: json/cookie-consent-1.json | ||
cookie-consent-2: json/cookie-consent-2.json | ||
cookie-consent-3: json/cookie-consent-3.json | ||
--- | ||
|
||
{{#>_theme}} | ||
{{>_cookie-consent model.cookie-consent-1}} | ||
{{>_cookie-consent model.cookie-consent-1 type="light"}} | ||
{{>_cookie-consent model type="critical"}} | ||
{{>_cookie-consent model link="true"}} | ||
{{>_cookie-consent model link="true" type="light"}} | ||
{{>_cookie-consent model link="true" type="critical"}} | ||
{{/_theme}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters