swedbank-pay-design-guide-jekyll-theme 2.1.10 → 2.1.12.pre.beta.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7f94701cfc275404310694cf31400719b7d700e5b2ffc8e6a27af6595f4a70f
4
- data.tar.gz: 1171572c4e843e76e9c355881c2fad7bc6b6d31278930298a0a22f566028ab85
3
+ metadata.gz: 198ed0f461e75463725684161e3134b058ce585e969ea8d9a28bced462239378
4
+ data.tar.gz: a89208f577daf5fb6993b2acce4a8b8ce21c35869bcf2beb9b229979784aea1b
5
5
  SHA512:
6
- metadata.gz: 8f146b4885dc0181f37df8f1fd867f1291b9bf3148c424762f45d5d04f04140f5ae838faf9ad109c140b990b456215abfb3698532896a29b2087c9ac4673506b
7
- data.tar.gz: 89a7d029c4dd9f72451df7361e02a55d5bd852a95952b85bd54d2dac4eee55380c5e029e29931674063709e0d6ae64f05eb5bef0aa0439970fcc49e0e365a01a
6
+ metadata.gz: 749c4f066b2b5c4ec240baf106fe8c3a602faa0ab8f8f2d0bef7de6ff32faa9d3a26b1bb1beb485d65d451b7dc9826f9fcfaba61bafd28fbd308df20c297865e
7
+ data.tar.gz: 0b1c506da36263629c881c0ab22b72c6201c47589e2b79e5862a2fbb051a694004c51b60164bc2d04848208fc1c46f735e2046580a42266881f4c84a08f89d40
@@ -54,6 +54,7 @@
54
54
  <script src="{{ "/assets/tipuesearch/tipuesearch_set.js" | relative_url }}"></script>
55
55
  <script src="{{ "/assets/tipuesearch/tipuesearch.min.js" | relative_url }}"></script>
56
56
  {%- endif %}
57
+ <script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="77c777e5-115a-4e3d-81ec-cc857a4ac846"></script>
57
58
  </head>
58
59
 
59
60
  <body>
@@ -111,6 +112,7 @@
111
112
  </div>
112
113
  <script src="{{ design_guide_url }}/scripts/dg.js" global="true" autoload="true"></script>
113
114
  <script src="{{ '/assets/js/swedbank-pay-design-guide-theme.js' | relative_url }}"></script>
115
+ <script src="{{ '/assets/js/cookie-consent.js' | relative_url }}"></script>
114
116
  {%- if site.google_analytics.tracking_id %}
115
117
  {% include google_analytics.html %}
116
118
  {%- endif %}
@@ -6,6 +6,7 @@ layout: default
6
6
  {% assign front_page_title = page.front_page.title | default: 'developer portal' %}
7
7
  {% assign front_page_hero1 = page.front_page.hero1 | default: "Welcome to the" %}
8
8
  {% assign front_page_hero2 = page.front_page.hero2 | default: "Swedbank Pay" %}
9
+ {% assign front_page_ingress = page.front_page.ingress | default: "The complete toolbox for integrating our easy and safe omnichannel payment solutions" %}
9
10
 
10
11
  <div class="front-page">
11
12
  {% include github.html %}
@@ -0,0 +1,40 @@
1
+ function OptanonWrapper() { }
2
+
3
+ function activateClarity() {
4
+ // Clarity script - do not change
5
+ (function(c,l,a,r,i,t,y){
6
+ c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
7
+ t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
8
+ y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
9
+ })(window, document, "clarity", "script", "jd3awxna38");
10
+ // End of Clarity script
11
+ }
12
+
13
+ function getCookie(name) {
14
+ if (document.cookie.split(";").some((c) => c.trim().startsWith(name + "="))) {
15
+ return document.cookie.split(";").find((c) => c.trim().startsWith(name + "="));
16
+ }
17
+ else {
18
+ return false;
19
+ }
20
+ }
21
+
22
+ function deleteCookie(name) {
23
+ if (getCookie(name)) {
24
+ document.cookie = name + "=;domain=.swedbankpay.com;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT";
25
+ }
26
+ }
27
+
28
+ function inactivateClarityCookies() {
29
+ deleteCookie("_clck");
30
+ deleteCookie("_clsk");
31
+ }
32
+
33
+ window.addEventListener("OneTrustGroupsUpdated", (event) => {
34
+ if (event.detail.indexOf("C0002") !== -1) {
35
+ activateClarity();
36
+ }
37
+ else {
38
+ inactivateClarityCookies();
39
+ }
40
+ });
data/lib/gem_version.rb CHANGED
@@ -4,7 +4,7 @@ module Gem
4
4
  # Gem Specification
5
5
  class Specification
6
6
  def self.gem_version
7
- '2.1.10'
7
+ '2.1.12-beta.1'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swedbank-pay-design-guide-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.10
4
+ version: 2.1.12.pre.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-20 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -429,6 +429,7 @@ files:
429
429
  - assets/img/demoshop.svg
430
430
  - assets/img/external-url-dark-bg.svg
431
431
  - assets/img/external-url.svg
432
+ - assets/js/cookie-consent.js
432
433
  - assets/js/mermaid.min.js
433
434
  - assets/js/swedbank-pay-design-guide-theme.js
434
435
  - assets/puml-theme-swedbankpay.puml
@@ -472,9 +473,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
472
473
  version: 2.5.0
473
474
  required_rubygems_version: !ruby/object:Gem::Requirement
474
475
  requirements:
475
- - - ">="
476
+ - - ">"
476
477
  - !ruby/object:Gem::Version
477
- version: '0'
478
+ version: 1.3.1
478
479
  requirements: []
479
480
  rubygems_version: 3.1.6
480
481
  signing_key: