-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
10 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="icon" href="/gdpr/favicon.ico"/><title>@magic-modules/gdpr</title><meta name="description" content="adds a gdpr compliant information popup with minimal intrusion and complexity to your page."/><script type="application/ld+json">{"@context":"http://schema.org","@type":"website","name":"@magic-modules/gdpr"}</script><link rel="stylesheet" href="/gdpr/magic.css?ItKY+zKOKy" integrity="sha384-ItKY+zKOKyP25cTVHrrKBDo/axT99JtKnP01YYBHV2Xa3yylu2WG9qVGGRjiZ5Sc" crossorigin="anonymous"/></head><body><a class="SkipLink" href="/gdpr/#page">Skip to Content</a><main id="Magic"><div class="Wrapper"><header class="Header"><a class="Logo" href="/gdpr/"><span>Gdpr</span></a><nav class="Menu"><ul><li><a href="/gdpr/#installation">installation</a></li><li><a href="/gdpr/#usage">usage</a></li><li><a href="/gdpr/#source">source</a></li></ul></nav></header><div class="Page" id="page"><div>404 - not found</div></div><footer class="Footer"><div class="Container"><div class="Credits">made with a few bits of <a target="_blank" rel="noopener" href="https://github.com/magic/core">magic</a></div></div></footer></div></main><script src="/gdpr/magic.js?YY5eSmCQMi" integrity="sha384-YY5eSmCQMiBkowiZzqdH+OlzBxfNQou6R7+jD2RPGihbqWfcud6LJbsf5ely9ctl" crossorigin="anonymous"></script></body></html> | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="icon" href="/gdpr/favicon.ico"/><title>@magic-modules/gdpr</title><meta name="description" content="adds a gdpr compliant information popup with minimal intrusion and complexity to your page."/><script type="application/ld+json">{"@context":"http://schema.org","@type":"website","name":"@magic-modules/gdpr"}</script><link rel="stylesheet" href="/gdpr/magic.css?ItKY+zKOKy" integrity="sha384-ItKY+zKOKyP25cTVHrrKBDo/axT99JtKnP01YYBHV2Xa3yylu2WG9qVGGRjiZ5Sc" crossorigin="anonymous"/></head><body><a class="SkipLink" href="/gdpr/#page">Skip to Content</a><main id="Magic"><div class="Wrapper"><header class="Header"><a class="Logo" href="/gdpr/"><span>Gdpr</span></a><nav class="Menu"><ul><li><a href="/gdpr/#installation">installation</a></li><li><a href="/gdpr/#usage">usage</a></li><li><a href="/gdpr/#source">source</a></li></ul></nav></header><div class="Page" id="page"><div>404 - not found</div></div><footer class="Footer"><div class="Container"><div class="Credits">made with a few bits of <a target="_blank" rel="noopener" href="https://github.com/magic/core">magic</a></div></div></footer></div></main><script src="/gdpr/magic.js?pVrbPNKzbm" integrity="sha384-pVrbPNKzbmZbhot1tWn/NXGy/h6qnqPCYDfUaQoApi8QXKOTx8APxDM2eCO+TA2G" crossorigin="anonymous"></script></body></html> |
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,6 +1,6 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="icon" href="/gdpr/favicon.ico"/><title>@magic-modules/gdpr</title><meta name="description" content="adds a gdpr compliant information popup with minimal intrusion and complexity to your page."/><script type="application/ld+json">{"@context":"http://schema.org","@type":"website","name":"@magic-modules/gdpr"}</script><link rel="stylesheet" href="/gdpr/magic.css?ItKY+zKOKy" integrity="sha384-ItKY+zKOKyP25cTVHrrKBDo/axT99JtKnP01YYBHV2Xa3yylu2WG9qVGGRjiZ5Sc" crossorigin="anonymous"/></head><body><a class="SkipLink" href="/gdpr/#page">Skip to Content</a><main id="Magic"><div class="Wrapper"><header class="Header"><a class="Logo" href="/gdpr/"><span>Gdpr</span></a><nav class="Menu"><ul><li><a href="/gdpr/#installation">installation</a></li><li><a href="/gdpr/#usage">usage</a></li><li><a href="/gdpr/#source">source</a></li></ul></nav></header><div class="Page" id="page"><h1 id="magic-modulesgdpr">@magic-modules/gdpr</h1><p>this is the | ||
<a href="https://github.com/magic-modules" target="_blank" rel="noopener">@magic-modules</a> | ||
Gdpr component.</p><p>adds a gdpr compliant information popup with minimal intrusion and complexity to your page.</p><ul class="GitBadges"><li><a href="https://www.npmjs.com/package/@magic-modules/gdpr" target="_blank" rel="noopener"></a><img src="https://img.shields.io/npm/v/@magic-modules/gdpr.svg" height="23" role="presentation" alt=""/></li><li><img src="https://img.shields.io/node/v/@magic/core" height="23" role="presentation" alt=""/></li><li><a href="https://travis-ci.com/magic-modules/gdpr" target="_blank" rel="noopener"></a><img src="https://img.shields.io/travis/com/magic-modules/gdpr/master" height="23" role="presentation" alt=""/></li><li><a href="https://ci.appveyor.com/project/magicmodules/gdpr/branch/master" target="_blank" rel="noopener"></a><img src="https://img.shields.io/appveyor/ci/magicmodules/gdpr/master.svg" height="23" role="presentation" alt=""/></li><li><a href="https://coveralls.io/github/magic-modules/gdpr" target="_blank" rel="noopener"></a><img src="https://img.shields.io/coveralls/github/magic-modules/gdpr/master.svg" height="23" role="presentation" alt=""/></li><li><a href="https://greenkeeper.io" target="_blank" rel="noopener"></a><img src="https://badges.greenkeeper.io/magic-modules/gdpr.svg" height="23" role="presentation" alt=""/></li><li><a href="https://snyk.io/test/github/magic-modules/gdpr" target="_blank" rel="noopener"></a><img src="https://img.shields.io/snyk/vulnerabilities/github/magic-modules/gdpr.svg" height="23" role="presentation" alt=""/></li></ul><h2 id="installation">installation:</h2><div class="Pre"><div class="menu"><button>copy</button></div><pre><code class="line">npm install --save-exact @magic-modules/gdpr</code></pre></div><h2 id="usage">usage</h2><h3 id="activate">activate</h3><p>to activate Gdpr, add it to the list of hoisted modules</p><div class="Pre lines"><div class="menu"><button>copy</button></div><pre><code class="line"><span class="comment">// src/<span class="object">config</span>.<span class="property">mjs</span> </span></code><code class="line"><span class="keyword">export</span> <span class="keyword">default</span> {</code><code class="line"> <span class="comment">// ... other config variables </span></code><code class="line"></code><code class="line"> <span class="colon">HOIST</span>: [<span class="string">'Gdpr'</span>],</code><code class="line">}</code></pre></div><p>after doing this, the gdpr module will show up.'),</p><h3 id="change-contents-add-cookies">change contents, add cookies</h3><div class="Pre lines"><div class="menu"><button>copy</button></div><pre><code class="line"><span class="comment">// /src/<span class="object">app</span>.<span class="property">mjs</span> </span></code><code class="line"><span class="keyword">export</span> <span class="keyword">const</span> <span class="state">state</span> = {</code><code class="line"> <span class="colon">gdpr</span>: {</code><code class="line"> <span class="colon">allowAllText</span>: <span class="string">'button text <span class="keyword">for</span> allow all data'</span>,</code><code class="line"> <span class="colon">allowText</span>: <span class="string">'button text <span class="keyword">for</span> allow selected data'</span>,</code><code class="line"> <span class="colon">allowTitle</span>: <span class="string">'Title above the three cookie buttons'</span>,</code><code class="line"> <span class="colon">content</span>: <span class="string">'<span class="builtin">String</span> or <span class="builtin">Array</span> of Magic modules'</span>,</code><code class="line"> <span class="colon">denyText</span>: <span class="string">'button text <span class="keyword">for</span> no data allowed'</span>,</code><code class="line"> <span class="colon">noDataText</span>: <span class="string">'Button text <span class="keyword">if</span> no cookies are defined'</span>,</code><code class="line"> <span class="colon">title</span>: <span class="string">'Title text <span class="keyword">for</span> the gdpr popup'</span>,</code><code class="line"> },</code><code class="line"> <span class="colon">cookies</span>: [</code><code class="line"> [<span class="string">'name'</span>, { <span class="colon">title</span>: <span class="string">'cookie1 title'</span>, <span class="colon">content</span>: <span class="string">'cookie description'</span> }],</code><code class="line"> [<span class="string">'cookie 2'</span>, { <span class="colon">title</span>: <span class="string">'cookie title'</span>, <span class="colon">content</span>: <span class="string">'cookie content'</span> }],</code><code class="line"> ],</code><code class="line">})</code></pre></div><h2 id="source">source</h2><p>the source for this page is in the | ||
Gdpr component.</p><p>adds a gdpr compliant information popup with minimal intrusion and complexity to your page.</p><ul class="GitBadges"><li><a href="https://www.npmjs.com/package/@magic-modules/gdpr" target="_blank" rel="noopener"></a><img src="https://img.shields.io/npm/v/@magic-modules/gdpr.svg" height="23" role="presentation" alt=""/></li><li><img src="https://img.shields.io/node/v/@magic/core" height="23" role="presentation" alt=""/></li><li><a href="https://travis-ci.com/magic-modules/gdpr" target="_blank" rel="noopener"></a><img src="https://img.shields.io/travis/com/magic-modules/gdpr/master" height="23" role="presentation" alt=""/></li><li><a href="https://ci.appveyor.com/project/magicmodules/gdpr/branch/master" target="_blank" rel="noopener"></a><img src="https://img.shields.io/appveyor/ci/magicmodules/gdpr/master.svg" height="23" role="presentation" alt=""/></li><li><a href="https://coveralls.io/github/magic-modules/gdpr" target="_blank" rel="noopener"></a><img src="https://img.shields.io/coveralls/github/magic-modules/gdpr/master.svg" height="23" role="presentation" alt=""/></li><li><a href="https://greenkeeper.io" target="_blank" rel="noopener"></a><img src="https://badges.greenkeeper.io/magic-modules/gdpr.svg" height="23" role="presentation" alt=""/></li><li><a href="https://snyk.io/test/github/magic-modules/gdpr" target="_blank" rel="noopener"></a><img src="https://img.shields.io/snyk/vulnerabilities/github/magic-modules/gdpr.svg" height="23" role="presentation" alt=""/></li></ul><h2 id="installation">installation:</h2><div class="Pre"><div class="menu"><button>copy</button></div><pre><code class="line"><span class="keyword">npm</span> <span class="keyword">install</span> --save-exact @magic-modules/gdpr</code></pre></div><h2 id="usage">usage</h2><h3 id="activate">activate</h3><p>to activate Gdpr, add it to the list of hoisted modules</p><div class="Pre lines"><div class="menu"><button>copy</button></div><pre><code class="line"><span class="comment">// src/config.mjs</span></code><code class="line"><span class="keyword">export</span> <span class="keyword">default</span> {</code><code class="line"> <span class="comment">// ... other config variables</span></code><code class="line"></code><code class="line"> HOIST: [<span class="string">'Gdpr'</span>],</code><code class="line">}</code></pre></div><p>after doing this, the gdpr module will show up.'),</p><h3 id="change-contents-add-cookies">change contents, add cookies</h3><div class="Pre lines"><div class="menu"><button>copy</button></div><pre><code class="line"><span class="comment">// /src/app.mjs</span></code><code class="line"><span class="keyword">export</span> <span class="keyword">const</span> <span class="state">state</span> = {</code><code class="line"> gdpr: {</code><code class="line"> allowAllText: <span class="string">'button text for allow all data'</span>,</code><code class="line"> allowText: <span class="string">'button text for allow selected data'</span>,</code><code class="line"> allowTitle: <span class="string">'Title above the three cookie buttons'</span>,</code><code class="line"> content: <span class="string">'String or Array of Magic modules'</span>,</code><code class="line"> denyText: <span class="string">'button text for no data allowed'</span>,</code><code class="line"> noDataText: <span class="string">'Button text if no cookies are defined'</span>,</code><code class="line"> title: <span class="string">'Title text for the gdpr popup'</span>,</code><code class="line"> },</code><code class="line"> cookies: [</code><code class="line"> [<span class="string">'name'</span>, { title: <span class="string">'cookie1 title'</span>, content: <span class="string">'cookie description'</span> }],</code><code class="line"> [<span class="string">'cookie 2'</span>, { title: <span class="string">'cookie title'</span>, content: <span class="string">'cookie content'</span> }],</code><code class="line"> ],</code><code class="line">})</code></pre></div><h2 id="source">source</h2><p>the source for this page is in the | ||
<a href="https://github.com/magic-modules/gdpr/tree/master/example" target="_blank" rel="noopener">example directory</a>, | ||
and gets built and published to github using | ||
<a href="https://github.com/magic/core" target="_blank" rel="noopener">@magic/core</a></p></div><footer class="Footer"><div class="Container"><div class="Credits">made with a few bits of <a target="_blank" rel="noopener" href="https://github.com/magic/core">magic</a></div></div></footer></div></main><script src="/gdpr/magic.js?YY5eSmCQMi" integrity="sha384-YY5eSmCQMiBkowiZzqdH+OlzBxfNQou6R7+jD2RPGihbqWfcud6LJbsf5ely9ctl" crossorigin="anonymous"></script></body></html> | ||
<a href="https://github.com/magic/core" target="_blank" rel="noopener">@magic/core</a></p></div><footer class="Footer"><div class="Container"><div class="Credits">made with a few bits of <a target="_blank" rel="noopener" href="https://github.com/magic/core">magic</a></div></div></footer></div></main><script src="/gdpr/magic.js?pVrbPNKzbm" integrity="sha384-pVrbPNKzbmZbhot1tWn/NXGy/h6qnqPCYDfUaQoApi8QXKOTx8APxDM2eCO+TA2G" crossorigin="anonymous"></script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
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,13 +1,13 @@ | ||
{ | ||
"css": "sha384-ItKY+zKOKyP25cTVHrrKBDo/axT99JtKnP01YYBHV2Xa3yylu2WG9qVGGRjiZ5Sc", | ||
"js": "sha384-YY5eSmCQMiBkowiZzqdH+OlzBxfNQou6R7+jD2RPGihbqWfcud6LJbsf5ely9ctl", | ||
"js": "sha384-pVrbPNKzbmZbhot1tWn/NXGy/h6qnqPCYDfUaQoApi8QXKOTx8APxDM2eCO+TA2G", | ||
"pages": { | ||
"/gdpr/": "sha384-T604oH+0OSA/ODfMxYJR4qqyi1BRaxk2T5r0k4IN0AOtazRcDYNzElQB48FM/5Sn", | ||
"/gdpr/404/": "sha384-S7DYbnsdfEPL5hJZmYCvnrJ/4+sQY7C2OJVnFWMPXtW5UbLQvX5MbAS0SFP6c2nX" | ||
"/gdpr/": "sha384-au7bSnMRaqvuU6PmZvaJXKQy4HocCgHjizBgLUxAKVZi4ToN+WS1OMYd2QdF0TTl", | ||
"/gdpr/404/": "sha384-B6WRNHEEEteYUvzu9WH69P7BHAD4FNZh+EoKbsHSbZRV6yfkiFkn/TamBL6E/XXk" | ||
}, | ||
"static": { | ||
"/favicon.ico": "sha384-pf51ay6pZCj3+XlVCPmCKLDFpLj7QP+2heR+/n08WgS7Bve7JMkgubHOkwLzaTr+", | ||
"/robots.txt": "sha384-ecOQzusX3in/IhiCS3OVe/lCOk5j8t0L3tCGM57ZnutJq8rNVX846mJIxNCl57wB", | ||
"/sitemap.xml": "sha384-Tl5V64iPZ+NgR92mB7Cd0MvaHtmNkpi4cAdZ0yFn4KeDJ3WlhQ8kRE8Kc5WkdXff" | ||
"/sitemap.xml": "sha384-StZcOrkLIpKpOuPa0KAVtizZvWISGn0lDFqjR4DzgvLXNTZ20clfg0EQRIfpIi2l" | ||
} | ||
} |