-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WCP-2562: bump cookie banner to 1.x (#223)
* wcp-000: bump cookie banner to 1.0.0 * wcp-000: revert change * wcp-000: remove old cookie-banner dep * wcp-000: remove old cookie-banner dep * wcp-000: fix yarn lock * fix: DSW-2562 update vite to fix cookie banner in vanilla-app * copy locales to dist * chore: DSW-2562 use latest webc snapshot version * fix turbo * update cookie-banner * update cookie-banner * update yarn.lock * update browserstack device version * update to latest cookie-banner version * revert vite --------- Co-authored-by: Ben Siggery <[email protected]>
- Loading branch information
Showing
9 changed files
with
2,075 additions
and
3,187 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 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
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
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,11 +1,11 @@ | ||
import '@justeattakeaway/pie-webc/components/cookie-banner.js'; | ||
import daDK from '@justeattakeaway/pie-cookie-banner/locales/da-dk.json'; | ||
import './utils/navigation.js'; | ||
import './shared.js'; | ||
|
||
document.querySelector('#app').innerHTML = ` | ||
<pie-cookie-banner | ||
locale='${JSON.stringify(daDK)}' | ||
language="da" | ||
country="dk" | ||
hasPrimaryActionsOnly | ||
cookieTechnologiesLink="https://justeattakeaway.com" | ||
cookieStatementLink="https://justeattakeaway.com"></pie-cookie-banner>`; |
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
Oops, something went wrong.