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

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: 5bd988f41f7427f8380abfcf1e1394464a06f55a5f0cbd6b14a6de92f7ac4f62
4
- data.tar.gz: 5e53552dc65634a3ff4e196509e158bf8f97bcaef96d4136717a43bd811d25c3
3
+ metadata.gz: 63bb7d87a2d516c66cf635c6d2d4e5109e1b8b5f2feae9e233d5013287000478
4
+ data.tar.gz: eed4dcc9551945885a07a9d84ddd832e20d50fe5a7455142620845a8225c4a2a
5
5
  SHA512:
6
- metadata.gz: 53da3235f9323248933031a7282326c115cf7c24c9966266f9574c5f6995531f60df6db4f8c4f7c4f35e42193b9945817f1b1cc29f13f33166b5dbfbccb88ac8
7
- data.tar.gz: 75c5f3d7b0ecd1fa7f89e39246c02a6cdc5b4098df994794d80de478332d9b8923194bba4bb844ab9e4316d319fe0b4f53531cfe0976eca50fb79af02e45eed6
6
+ metadata.gz: 1777f45d25135734a64dd4868436df4ddc1c31325a3a0fac20dbcc0de77ccaf6974563b0cde021026f9db6ba5417d7cb6594c54bc1f0e8d1f7f280153cb420e5
7
+ data.tar.gz: a15afef6bb8dc336695565b3ff9a4b07af97a170145b8aec959c92f9f80683d10f1fba08da27d00480580c684e64e310b401d7c3412cfbc005084ba059ec7601
@@ -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.theme008
4
+ version: 1.6.1.pre.PullRequest0137.pre.0037
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
@@ -72,20 +72,6 @@ dependencies:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  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
75
  - !ruby/object:Gem::Dependency
90
76
  name: jemoji
91
77
  requirement: !ruby/object:Gem::Requirement
@@ -200,14 +186,13 @@ dependencies:
200
186
  version: '0'
201
187
  description:
202
188
  email:
203
- - asbjorn@ulsberg.no
189
+ - opensource@swedbankpay.com
204
190
  executables: []
205
191
  extensions: []
206
192
  extra_rdoc_files: []
207
193
  files:
208
194
  - LICENSE
209
195
  - README.md
210
- - _assets/css/pygments-autumn.css
211
196
  - _includes/alert.html
212
197
  - _includes/anchor_headings.html
213
198
  - _includes/apple-mobile-headers.html
@@ -243,7 +228,6 @@ files:
243
228
  - _includes/sidebar.html
244
229
  - _includes/toc.html
245
230
  - _layouts/default.html
246
- - _plugins/jekyll_asset_pipeline.rb
247
231
  - _plugins/sidebar.rb
248
232
  - _sass/card.scss
249
233
  - _sass/code-view.scss
@@ -256,6 +240,8 @@ files:
256
240
  - _sass/swedbank-pay-design-guide-theme.scss
257
241
  - _sass/title-header.scss
258
242
  - _sass/variables.scss
243
+ - assets/css/pygments-autumn.css
244
+ - assets/css/style.scss
259
245
  - assets/img/demoshop-mobile.svg
260
246
  - assets/img/demoshop-mobile2.svg
261
247
  - 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