diff --git a/docs/404.html b/docs/404.html index cb94ee8..ddb9626 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1 +1 @@ -
this is the +
this is the @magic-modules Gdpr component.
adds a gdpr compliant information popup with minimal intrusion and complexity to your page.
npm install --save-exact @magic-modules/gdpr
to activate Gdpr, add it to the list of hoisted modules
// src/config.mjs
export default {
// ... other config variables
HOIST: ['Gdpr'],
}
after doing this, the gdpr module will show up.'),
// /src/app.mjs
export const state = {
gdpr: {
allowAllText: 'button text for allow all data',
allowText: 'button text for allow selected data',
allowTitle: 'Title above the three cookie buttons',
content: 'String or Array of Magic modules',
denyText: 'button text for no data allowed',
noDataText: 'Button text if no cookies are defined',
title: 'Title text for the gdpr popup',
},
cookies: [
['name', { title: 'cookie1 title', content: 'cookie description' }],
['cookie 2', { title: 'cookie title', content: 'cookie content' }],
],
})
the source for this page is in the example directory, and gets built and published to github using -@magic/core