swedbank-pay-design-guide-jekyll-theme 1.5.2.pre.conversion.pre.to.pre.gem.pre.theme009 → 1.6.1.pre.PullRequest0137.pre.0038

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 889877530df393ba3ffe2857e5bbb1866a7dc66fcde97d44a9afe0385c0e80d8
4
- data.tar.gz: d99f09685dc9a9b0c11fe60579584437cf5f82d303c3227d02c79c7f75cc9c81
3
+ metadata.gz: bea679310380770b238499d99d68e6629916975c873e7589d7d1b141d6681ac1
4
+ data.tar.gz: 97c6b7e450f5bb969ae5c9b47279b1f93de42d90145d083b2bab1b06770684cd
5
5
  SHA512:
6
- metadata.gz: 55cbd420a543f80e3be170f24f1f1f488577fd19e027d5eb313536fc8b53acfb364ba29350f75adf03838cb1a67a3605626c9117d3659db1bf88cf9d335e7057
7
- data.tar.gz: 86a3d7590b4e73f51ae9ca5efd6ccb1e320648fb8834050ff7cb1792d255dc60fa71d31be8739e5148395940c1fdb394905457d261842f92f5eeffcb4808f26d
6
+ metadata.gz: 922a7b1ec212602c927e68fecac3a6ddb946f66c516a92e048bf0cb4b6d8454d4d5059b3473642673e3c8fe3911190c6a25551215c6f288f1601d1008e252e60
7
+ data.tar.gz: 771721f7eda8afd83e5e42db11755a47f684bfb3a0680d96536c506f935735b97ced152ce8d7ee60d5b5ccf6558cc7ddcec0978121a87f12a040498a1e68bf31
@@ -1,9 +1,8 @@
1
-
2
1
  {%- comment -%}
3
2
  **Parameters
4
3
  card_col_class: Grid column class the cards should be wrapped in
5
4
  num_dates: Amount of rows (based on dates in release_notes) should be displayed
6
- in release-notes
5
+ in release-notes
7
6
  {%- endcomment -%}
8
7
 
9
8
  {% assign card_col_class = include.card_col_class | default: "col-xxl-3 col-xl-6 col-lg-6" %}
@@ -15,7 +14,7 @@ num_dates: Amount of rows (based on dates in release_notes) should be displayed
15
14
  <div class="front-page-hero">
16
15
  <h3>Welcome to the Swedbank Pay</h3>
17
16
  <div class="front-page-hero-name">
18
- {<span>developer portal</span>}
17
+ {<span>developer portal</span>}
19
18
  </div>
20
19
  <p>
21
20
  Our developer portal gives you the full tool box for integrating
@@ -24,7 +23,7 @@ num_dates: Amount of rows (based on dates in release_notes) should be displayed
24
23
  </p>
25
24
  </div>
26
25
  <div class="front-page-intro-cards">
27
- <h2 id="front-page-start" class="heading-line heading-line-white" >Start your integration</h2>
26
+ <h2 id="front-page-start" class="heading-line heading-line-white">Start your integration</h2>
28
27
  <div class="row mt-4">
29
28
  <div class="{{ card_col_class }}">
30
29
  {% include card.html title='Checkout'
@@ -47,19 +46,10 @@ num_dates: Amount of rows (based on dates in release_notes) should be displayed
47
46
  to='/payments'
48
47
  %}
49
48
  </div>
50
- <div class="{{ card_col_class }}">
51
- {% include card.html title='Gift Cards'
52
- title_type="h2"
53
- text='Our Gift Cards API allows your customers to pay with
54
- prepaid gift cards issued by Swedbank Pay in your Checkout.'
55
- icon_content='card_giftcard'
56
- to='/gift-cards'
57
- %}
58
- </div>
59
49
  </div>
60
50
  </div>
61
51
  </div>
62
-
52
+
63
53
  <div class="front-page-merchants">
64
54
  <h6>Trusted by</h6>
65
55
  <div class="merchants-container justify-content-xxl-between">
@@ -87,35 +77,29 @@ num_dates: Amount of rows (based on dates in release_notes) should be displayed
87
77
  </div>
88
78
  </div>
89
79
  </div>
90
-
91
- <a href="https://ecom.externalintegration.payex.com/pspdemoshop" class="front-page-demoshop">
92
- <span class="front-page-demoshop-text">
93
- <span class="h2">Try our Demoshop<span>.</span></span>
94
- <span class="demoshop-text-description">
95
- Unsure about how it all works? See how our checkout and payment methods are used
96
- in practice!
97
- </span>
80
+
81
+ <a href="https://ecom.externalintegration.payex.com/pspdemoshop" class="front-page-demoshop">
82
+ <span class="front-page-demoshop-text">
83
+ <span class="h2">Try our Demoshop<span>.</span></span>
84
+ <span class="demoshop-text-description">
85
+ Unsure about how it all works? See how our checkout and payment methods are used
86
+ in practice!
98
87
  </span>
99
- <span class="front-page-demoshop-link">
100
- <span class="h3">Go to the demoshop</span>
101
- <i class="material-icons">arrow_forward</i>
102
- <span class="demoshop-link-img">
103
- <img class="demoshop-link-img-mobile d-md-none d-lg-flex d-xl-none d-xxl-flex"
104
- src="/assets/img/demoshop-mobile.svg"
105
- alt="demoshop-mobile"
106
- />
107
- <img class="demoshop-link-img-mobile d-none d-md-none d-lg-flex d-xl-none"
108
- src="/assets/img/demoshop-mobile2.svg"
109
- alt="demoshop-mobile2"
110
- />
111
- <img class="demoshop-link-img-web d-none d-sm-none d-md-flex d-lg-none d-xl-flex"
112
- src="/assets/img/demoshop-web.svg"
113
- alt="demoshop-web"
114
- />
115
- </span>
88
+ </span>
89
+ <span class="front-page-demoshop-link">
90
+ <span class="h3">Go to the demoshop</span>
91
+ <i class="material-icons">arrow_forward</i>
92
+ <span class="demoshop-link-img">
93
+ <img class="demoshop-link-img-mobile d-md-none d-lg-flex d-xl-none d-xxl-flex"
94
+ src="/assets/img/demoshop-mobile.svg" alt="demoshop-mobile" />
95
+ <img class="demoshop-link-img-mobile d-none d-md-none d-lg-flex d-xl-none"
96
+ src="/assets/img/demoshop-mobile2.svg" alt="demoshop-mobile2" />
97
+ <img class="demoshop-link-img-web d-none d-sm-none d-md-flex d-lg-none d-xl-flex"
98
+ src="/assets/img/demoshop-web.svg" alt="demoshop-web" />
116
99
  </span>
117
- </a>
118
-
100
+ </span>
101
+ </a>
102
+
119
103
  <div class="front-page-container">
120
104
  <div class="front-page-cards-sdk">
121
105
  <h2 id="front-page-sdk" class="heading-line heading-line-sdk">Looking for SDKs?</h2>
@@ -158,7 +142,7 @@ num_dates: Amount of rows (based on dates in release_notes) should be displayed
158
142
  </div>
159
143
  </div>
160
144
  </div>
161
-
145
+
162
146
  <div class="front-page-cards-module">
163
147
  <h2 id="front-page-module" class="heading-line heading-line-module">Or perhaps modules?</h2>
164
148
  <div class="row mt-4">
@@ -191,13 +175,14 @@ num_dates: Amount of rows (based on dates in release_notes) should be displayed
191
175
  </div>
192
176
  </div>
193
177
  </div>
194
-
178
+
195
179
  <div class="front-page-release-notes">
196
- <h2 id="front-page-release-notes" class="heading-line heading-line-green">What's new in the documentation</h2>
180
+ <h2 id="front-page-release-notes" class="heading-line heading-line-green">What's new in the documentation
181
+ </h2>
197
182
  {% include release_notes.html num_dates=num_dates %}
198
183
  <a href="/resources/release-notes">See full release notes</a>
199
184
  </div>
200
-
185
+
201
186
  <div class="front-page-cards-extra">
202
187
  <h2 id="front-page-extra-resources" class="heading-line">Extra resources</h2>
203
188
  <div class="row mt-4">
@@ -232,12 +217,13 @@ num_dates: Amount of rows (based on dates in release_notes) should be displayed
232
217
  </div>
233
218
  </div>
234
219
  </div>
235
-
220
+
236
221
  <div class="front-page-contact">
237
222
  <div class="front-page-contact-content">
238
223
  <div class="row">
239
224
  <div class="col-xl-7">
240
- <h2 id="front-page-contact" class="heading-line heading-line-long">Can't find what you are looking for?</h2>
225
+ <h2 id="front-page-contact" class="heading-line heading-line-long">Can't find what you are
226
+ looking for?</h2>
241
227
  <p>
242
228
  We are always trying to make the developer portal as
243
229
  good as it can be please don’t hesitate to contact us.
@@ -249,7 +235,6 @@ num_dates: Amount of rows (based on dates in release_notes) should be displayed
249
235
  </div>
250
236
  </div>
251
237
  </div>
252
-
253
- </div>
254
- </div>
255
238
 
239
+ </div>
240
+ </div>
@@ -41,20 +41,8 @@
41
41
  <meta property="og:image" value="{{ image }}" />{% endif %}
42
42
  <title>{{ title }}</title>
43
43
  <link rel="stylesheet" href="{{ design_guide_url }}/styles/dg-style.css" />
44
- {% css_asset_tag theme %}
45
- - _sass/card.scss
46
- - _sass/code-view.scss
47
- - _sass/colors.scss
48
- - _sass/fonts.scss
49
- - _sass/front-page.scss
50
- - _sass/heading.scss
51
- - _sass/paragraph-highlight.scss
52
- - _sass/sidebar.scss
53
- - _sass/swedbank-pay-design-guide-theme.scss
54
- - _sass/title-header.scss
55
- - _sass/variables.scss
56
- - _assets/css/pygments-autumn.css
57
- {% endcss_asset_tag %}
44
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
45
+ <link rel="stylesheet" href="{{ "/assets/css/pygments-autumn.css" | relative_url }}">
58
46
  <link rel="shortcut icon" href="{{ design_guide_url }}/icons/favicon.ico">
59
47
  <link rel="icon" type="image/png" sizes="16x16" href="{{ design_guide_url }}/icons/favicon-16x16.png">
60
48
  <link rel="icon" type="image/png" sizes="32x32" href="{{ design_guide_url }}/icons/favicon-32x32.png">
@@ -142,4 +130,4 @@
142
130
  {%- endif %}
143
131
  </body>
144
132
 
145
- </html>
133
+ </html>
@@ -4,6 +4,11 @@ require 'jekyll'
4
4
  require 'nokogiri'
5
5
  require 'json'
6
6
 
7
+ ###
8
+ # This plugin works only if used as a remote-theme
9
+ # If included as a theme or gem this plugin must be copied over
10
+ ###
11
+
7
12
  module Jekyll
8
13
  class Sidebar
9
14
  attr_accessor :hash_pre_render
@@ -0,0 +1,5 @@
1
+ ---
2
+ # Only the main Sass file needs front matter
3
+ ---
4
+
5
+ @import "swedbank-pay-design-guide-theme";
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: 1.5.2.pre.conversion.pre.to.pre.gem.pre.theme009
4
+ version: 1.6.1.pre.PullRequest0137.pre.0038
5
5
  platform: ruby
6
6
  authors:
7
- - Asbjørn Ulsberg
7
+ - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-15 00:00:00.000000000 Z
11
+ date: 2020-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -30,20 +30,6 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '5.0'
33
- - !ruby/object:Gem::Dependency
34
- name: jekyll-assets
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: '0'
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: '0'
47
33
  - !ruby/object:Gem::Dependency
48
34
  name: jekyll-github-metadata
49
35
  requirement: !ruby/object:Gem::Requirement
@@ -72,20 +58,6 @@ dependencies:
72
58
  - - ">="
73
59
  - !ruby/object:Gem::Version
74
60
  version: '0'
75
- - !ruby/object:Gem::Dependency
76
- name: jekyll_asset_pipeline
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- version: '0'
82
- type: :runtime
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: '0'
89
61
  - !ruby/object:Gem::Dependency
90
62
  name: jemoji
91
63
  requirement: !ruby/object:Gem::Requirement
@@ -200,14 +172,13 @@ dependencies:
200
172
  version: '0'
201
173
  description:
202
174
  email:
203
- - asbjorn@ulsberg.no
175
+ - opensource@swedbankpay.com
204
176
  executables: []
205
177
  extensions: []
206
178
  extra_rdoc_files: []
207
179
  files:
208
180
  - LICENSE
209
181
  - README.md
210
- - _assets/css/pygments-autumn.css
211
182
  - _includes/alert.html
212
183
  - _includes/anchor_headings.html
213
184
  - _includes/apple-mobile-headers.html
@@ -243,7 +214,6 @@ files:
243
214
  - _includes/sidebar.html
244
215
  - _includes/toc.html
245
216
  - _layouts/default.html
246
- - _plugins/jekyll_asset_pipeline.rb
247
217
  - _plugins/sidebar.rb
248
218
  - _sass/card.scss
249
219
  - _sass/code-view.scss
@@ -256,6 +226,8 @@ files:
256
226
  - _sass/swedbank-pay-design-guide-theme.scss
257
227
  - _sass/title-header.scss
258
228
  - _sass/variables.scss
229
+ - assets/css/pygments-autumn.css
230
+ - assets/css/style.scss
259
231
  - assets/img/demoshop-mobile.svg
260
232
  - assets/img/demoshop-mobile2.svg
261
233
  - assets/img/demoshop-web.svg
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'jekyll_asset_pipeline'
4
-
5
- module JekyllAssetPipeline
6
- # Converts .scss files to CSS.
7
- class SassConverter < JekyllAssetPipeline::Converter
8
- require 'sass'
9
-
10
- def self.filetype
11
- '.scss'
12
- end
13
-
14
- def convert
15
- load_paths = [
16
- @dirname,
17
- File.join(__dir__, '_sass'),
18
- File.join(__dir__, '..', '_sass')
19
- ]
20
- Sass::Engine.new(@content, syntax: :scss, load_paths: load_paths).render
21
- end
22
- end
23
- end