@shift72/core-template 0.3.8 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +40 -3
- package/kibble.json +1 -1
- package/package.json +2 -2
- package/site/404.html.jet +1 -1
- package/site/acceptinvite.html.jet +1 -1
- package/site/account.html.jet +1 -1
- package/site/ar_LB.all.json +82 -3
- package/site/ca_ES.all.json +81 -2
- package/site/da_DK.all.json +82 -2
- package/site/de_DE.all.json +80 -1
- package/site/devices.html.jet +1 -1
- package/site/ee_EE.all.json +82 -4
- package/site/el_EL.all.json +80 -2
- package/site/en_AU.all.json +54 -14
- package/site/es_ES.all.json +81 -2
- package/site/es_MX.all.json +10 -1
- package/site/fi_FI.all.json +81 -2
- package/site/forgotpassword.html.jet +1 -1
- package/site/fr_FR.all.json +80 -2
- package/site/genres.html.jet +1 -1
- package/site/hr_HR.all.json +481 -403
- package/site/hu_HU.all.json +82 -4
- package/site/it_IT.all.json +80 -2
- package/site/ja_JP.all.json +81 -3
- package/site/library.html.jet +1 -1
- package/site/lt_LT.all.json +81 -3
- package/site/nl_BE.all.json +82 -3
- package/site/no_NO.all.json +82 -4
- package/site/pin.html.jet +1 -1
- package/site/pl_PL.all.json +81 -3
- package/site/plans.html.jet +94 -0
- package/site/pt_BR.all.json +81 -2
- package/site/pt_PT.all.json +81 -3
- package/site/resetpassword.html.jet +1 -1
- package/site/ru_RU.all.json +81 -3
- package/site/se_SE.all.json +81 -3
- package/site/search.html.jet +1 -1
- package/site/signin.html.jet +1 -1
- package/site/signup.html.jet +1 -1
- package/site/static/images/common/sponsors-md.png +0 -0
- package/site/static/images/common/sponsors-xs.png +0 -0
- package/site/static/images/common/sponsors-xxxs.png +0 -0
- package/site/styles/_awards.scss +39 -0
- package/site/styles/_buttons.scss +13 -0
- package/site/styles/_card.scss +3 -0
- package/site/styles/_footer.scss +43 -0
- package/site/styles/_forms.scss +1 -1
- package/site/styles/_globals.scss +7 -0
- package/site/styles/_icons.scss +4 -0
- package/site/styles/_meta-detail.scss +1 -2
- package/site/styles/_pages.scss +13 -3
- package/site/styles/_plans.scss +87 -0
- package/site/styles/_poster.scss +25 -1
- package/site/styles/_shift72.scss +19 -0
- package/site/styles/_shopping.scss +6 -0
- package/site/styles/_variables.scss +14 -0
- package/site/styles/_wishlist.scss +2 -2
- package/site/styles/main.scss +6 -1
- package/site/templates/{application.jet → application/application.jet} +5 -5
- package/site/templates/{footer → application/footer}/app-badges.jet +3 -3
- package/site/templates/{footer → application/footer}/brand.jet +0 -0
- package/site/templates/{footer → application/footer}/copyright-statement.jet +0 -0
- package/site/templates/{footer → application/footer}/footer.jet +3 -0
- package/site/templates/{footer → application/footer}/info.jet +0 -0
- package/site/templates/{footer → application/footer}/nav.jet +0 -0
- package/site/templates/{footer → application/footer}/powered-by.jet +0 -0
- package/site/templates/application/footer/sponsor-banner.jet +9 -0
- package/site/{google.jet → templates/application/google.jet} +0 -0
- package/site/templates/application/head/font.jet +4 -0
- package/site/templates/{seo.jet → application/head/seo.jet} +0 -0
- package/site/templates/{header-banner.jet → application/nav/header-banner.jet} +0 -0
- package/site/templates/{nav.jet → application/nav/nav.jet} +2 -2
- package/site/templates/{nav → application/nav}/user_logged_in.jet +0 -0
- package/site/templates/{nav → application/nav}/user_logged_out.jet +0 -0
- package/site/templates/bundle/item.jet +1 -1
- package/site/templates/collection/carousel_item.jet +3 -1
- package/site/templates/collection/index.jet +1 -1
- package/site/templates/collection/item.jet +1 -1
- package/site/templates/collection/list.jet +4 -4
- package/site/templates/collection/page_collection.jet +8 -8
- package/site/templates/common/awards/carousel.jet +10 -0
- package/site/templates/common/awards/item.jet +12 -0
- package/site/templates/common/awards/partial.jet +7 -0
- package/site/templates/common/social-media-buttons.jet +1 -1
- package/site/templates/film/item.jet +5 -1
- package/site/templates/items/meta_item.jet +7 -2
- package/site/templates/items/tagline.jet +11 -11
- package/site/templates/page/content.jet +4 -1
- package/site/templates/page/curated.jet +25 -6
- package/site/templates/page/homepage.jet +1 -1
- package/site/templates/page/landing.jet +1 -1
- package/site/templates/page/page-content.jet +24 -2
- package/site/templates/page/page-header.jet +21 -2
- package/site/templates/tv/detail.jet +1 -1
- package/site/tr_TR.all.json +82 -4
- package/site/uk_UA.all.json +81 -2
- package/site/wishlist.html.jet +1 -1
- package/site/zh_TW.all.json +79 -1
- package/site/static/styles/main.css.map +0 -1
@@ -0,0 +1,39 @@
|
|
1
|
+
.meta-awards {
|
2
|
+
@extend .d-flex;
|
3
|
+
@extend .align-items-center;
|
4
|
+
|
5
|
+
&.meta-awards-all {
|
6
|
+
@extend .align-items-start;
|
7
|
+
}
|
8
|
+
|
9
|
+
.meta-award-nomination {
|
10
|
+
@extend .d-flex;
|
11
|
+
}
|
12
|
+
|
13
|
+
.meta-award-nomination-icon {
|
14
|
+
@extend .fa;
|
15
|
+
@extend .fa-star; // for now
|
16
|
+
font-size: 1.25rem;
|
17
|
+
line-height: 1.5rem;
|
18
|
+
padding-right: .5rem;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.meta-awards-icon-overlay {
|
23
|
+
@extend .text-center;
|
24
|
+
|
25
|
+
border-radius: $meta-item-border-radius;
|
26
|
+
background: rgba(0, 0, 0, 0.8);
|
27
|
+
|
28
|
+
padding-right: 3px;
|
29
|
+
padding-left: 3px;
|
30
|
+
width: 16px + (3px * 2);
|
31
|
+
height: 16px + (3px * 2);
|
32
|
+
|
33
|
+
.meta-award-nomination-icon {
|
34
|
+
@extend .fa;
|
35
|
+
@extend .fa-star;
|
36
|
+
|
37
|
+
font-size: 1rem;
|
38
|
+
}
|
39
|
+
}
|
@@ -230,3 +230,16 @@
|
|
230
230
|
margin-right: 5px;
|
231
231
|
}
|
232
232
|
}
|
233
|
+
|
234
|
+
.btn-block .s72-btn {
|
235
|
+
@extend .btn-block;
|
236
|
+
}
|
237
|
+
|
238
|
+
.btn-light {
|
239
|
+
background-color: $gray-300;
|
240
|
+
border-color: $gray-300;
|
241
|
+
@include hover-focus {
|
242
|
+
background-color: $gray-200;
|
243
|
+
border-color: $gray-200;
|
244
|
+
}
|
245
|
+
}
|
package/site/styles/_footer.scss
CHANGED
@@ -111,3 +111,46 @@ footer {
|
|
111
111
|
height: 40px;
|
112
112
|
}
|
113
113
|
}
|
114
|
+
|
115
|
+
.sponsor-banner {
|
116
|
+
display: flex;
|
117
|
+
justify-content: center;
|
118
|
+
padding: 60px 20px 0 20px;
|
119
|
+
@include media-breakpoint-up(lg) {
|
120
|
+
padding: 60px 50px 0 50px;
|
121
|
+
}
|
122
|
+
|
123
|
+
img {
|
124
|
+
max-width: max-content;
|
125
|
+
}
|
126
|
+
|
127
|
+
.sponsors-xxxs {
|
128
|
+
width: 100%;
|
129
|
+
|
130
|
+
@include media-breakpoint-up(xs) {
|
131
|
+
display: none;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
.sponsors-xs {
|
136
|
+
display: none;
|
137
|
+
width: 100%;
|
138
|
+
|
139
|
+
@include media-breakpoint-up(xs) {
|
140
|
+
display: block;
|
141
|
+
}
|
142
|
+
|
143
|
+
@include media-breakpoint-up(md) {
|
144
|
+
display: none;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
.sponsors-md {
|
149
|
+
display: none;
|
150
|
+
width: 100%;
|
151
|
+
|
152
|
+
@include media-breakpoint-up(md) {
|
153
|
+
display: block;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
package/site/styles/_forms.scss
CHANGED
package/site/styles/_icons.scss
CHANGED
@@ -150,7 +150,7 @@
|
|
150
150
|
width: 563px;
|
151
151
|
}
|
152
152
|
@include media-breakpoint-up(xl) {
|
153
|
-
width:
|
153
|
+
width: 1100px;
|
154
154
|
}
|
155
155
|
|
156
156
|
h1 {
|
@@ -358,7 +358,6 @@
|
|
358
358
|
top: 50%;
|
359
359
|
transform: translateX(-50%) translateY(-50%);
|
360
360
|
z-index: 2;
|
361
|
-
|
362
361
|
.verb {
|
363
362
|
display: none;
|
364
363
|
}
|
package/site/styles/_pages.scss
CHANGED
@@ -68,6 +68,7 @@
|
|
68
68
|
.search-page,
|
69
69
|
.collection-page,
|
70
70
|
.devices-page,
|
71
|
+
.plans-page,
|
71
72
|
.carousel-len-0 {
|
72
73
|
padding-top: $page-padding-top;
|
73
74
|
@include media-breakpoint-up(md) {
|
@@ -124,12 +125,19 @@
|
|
124
125
|
font-weight: $font-weight-bold;
|
125
126
|
}
|
126
127
|
|
127
|
-
a {
|
128
|
+
a:not(.signup-link) {
|
128
129
|
@include a;
|
129
130
|
}
|
130
131
|
}
|
131
132
|
}
|
132
133
|
|
134
|
+
// Curated pages with at least one collection shouldn't have a minimum height which forces a gap before the collection(s)
|
135
|
+
.curated-collection-page {
|
136
|
+
.page-content {
|
137
|
+
min-height: auto;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
133
141
|
.content-page p img,
|
134
142
|
.page-header p img {
|
135
143
|
width: auto;
|
@@ -188,13 +196,15 @@
|
|
188
196
|
.wishlist-page,
|
189
197
|
.library-page,
|
190
198
|
.search-page,
|
191
|
-
.devices-page
|
199
|
+
.devices-page,
|
200
|
+
.plans-page {
|
192
201
|
.page-header {
|
193
202
|
h1 {
|
194
203
|
margin-bottom: $headings-margin-bottom;
|
195
204
|
}
|
196
205
|
}
|
197
206
|
|
207
|
+
.s72-plans,
|
198
208
|
.s72-userwishlist-items,
|
199
209
|
.s72-userlibrary-items,
|
200
210
|
.s72-searchresults-results,
|
@@ -312,4 +322,4 @@
|
|
312
322
|
}
|
313
323
|
}
|
314
324
|
}
|
315
|
-
}
|
325
|
+
}
|
@@ -0,0 +1,87 @@
|
|
1
|
+
.plan-page-link {
|
2
|
+
@extend .s72-btn-purchase;
|
3
|
+
}
|
4
|
+
|
5
|
+
s72-plan-label {
|
6
|
+
.s72-plan-owned {
|
7
|
+
@extend .availability-state;
|
8
|
+
@extend .d-inline;
|
9
|
+
color: $button-text-color;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
/* stylelint-disable selector-max-compound-selectors, max-nesting-depth */
|
14
|
+
.plans-page {
|
15
|
+
// Add some spacing to the heading
|
16
|
+
.page-header h1 {
|
17
|
+
@extend .mb-3;
|
18
|
+
}
|
19
|
+
|
20
|
+
.plan {
|
21
|
+
.card {
|
22
|
+
@extend .bg-transparent;
|
23
|
+
@extend .border-0;
|
24
|
+
|
25
|
+
.plan-container {
|
26
|
+
@extend .bg-white;
|
27
|
+
@include border-radius($border-radius);
|
28
|
+
|
29
|
+
.plan-caption-details {
|
30
|
+
p {
|
31
|
+
@extend .mb-p75;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.poster {
|
36
|
+
s72-plan-label {
|
37
|
+
@extend .position-absolute;
|
38
|
+
@extend .mx-auto;
|
39
|
+
left: 5px !important;
|
40
|
+
top: 5px;
|
41
|
+
|
42
|
+
z-index: 99;
|
43
|
+
|
44
|
+
.s72-plan-owned {
|
45
|
+
@extend .availability-bg;
|
46
|
+
|
47
|
+
background-color: $button-background;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
s72-pricing-buttons:not(.s72-show) {
|
53
|
+
@extend .m-0;
|
54
|
+
}
|
55
|
+
|
56
|
+
.plan-caption-details .s72-plan-owned {
|
57
|
+
@extend .d-inline-block;
|
58
|
+
@extend .availability-bg;
|
59
|
+
@extend .mb-p5;
|
60
|
+
|
61
|
+
background-color: $button-background;
|
62
|
+
}
|
63
|
+
|
64
|
+
s72-user-anon a {
|
65
|
+
margin-top: 0.5rem;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.curated-plan-page {
|
73
|
+
// Hide the separator if this is a curated collection page
|
74
|
+
+ .separator {
|
75
|
+
@extend .border-0;
|
76
|
+
}
|
77
|
+
|
78
|
+
// Hide the titles of any collections
|
79
|
+
.page-collection-list-title,
|
80
|
+
.swiper-title {
|
81
|
+
display: none;
|
82
|
+
}
|
83
|
+
|
84
|
+
.signup-link {
|
85
|
+
display: inline !important;
|
86
|
+
}
|
87
|
+
}
|
package/site/styles/_poster.scss
CHANGED
@@ -15,6 +15,30 @@
|
|
15
15
|
bottom: $meta-item-availability-tag-margin;
|
16
16
|
left: $meta-item-availability-tag-margin;
|
17
17
|
}
|
18
|
+
|
19
|
+
.poster-overlay-top {
|
20
|
+
@extend .d-flex;
|
21
|
+
@extend .justify-content-between;
|
22
|
+
@extend .position-absolute;
|
23
|
+
|
24
|
+
@extend .p-p5;
|
25
|
+
@extend .mw-100;
|
26
|
+
|
27
|
+
z-index: 99;
|
28
|
+
width: 100%;
|
29
|
+
|
30
|
+
s72-availability-status {
|
31
|
+
position: unset; z-index: unset;
|
32
|
+
min-width: 0px;
|
33
|
+
@extend .pr-p5;
|
34
|
+
|
35
|
+
/* stylelint-disable selector-max-compound-selectors */
|
36
|
+
.availability-bg {
|
37
|
+
@extend .text-truncate;
|
38
|
+
}
|
39
|
+
/* stylelint-enable selector-max-compound-selectors */
|
40
|
+
}
|
41
|
+
}
|
18
42
|
}
|
19
43
|
|
20
44
|
.poster-image {
|
@@ -22,4 +46,4 @@
|
|
22
46
|
max-width: 100%;
|
23
47
|
position: relative;
|
24
48
|
width: 100%;
|
25
|
-
}
|
49
|
+
}
|
@@ -317,3 +317,22 @@ s72-cant-be-watched {
|
|
317
317
|
@include a;
|
318
318
|
}
|
319
319
|
}
|
320
|
+
|
321
|
+
.s72-divider-bottom {
|
322
|
+
@extend .position-relative;
|
323
|
+
&::after {
|
324
|
+
@extend .position-absolute;
|
325
|
+
background-color: $primary;
|
326
|
+
bottom: 0 !important;
|
327
|
+
content: '';
|
328
|
+
height: 3px;
|
329
|
+
left: 50% !important;
|
330
|
+
transform: translateX(-50%) !important;
|
331
|
+
width: 40px;
|
332
|
+
}
|
333
|
+
}
|
334
|
+
|
335
|
+
.s72-view-all-passes {
|
336
|
+
@extend .py-4;
|
337
|
+
background-color: mix(invert($body-bg), $body-bg, 4.5%);
|
338
|
+
}
|
@@ -167,6 +167,12 @@
|
|
167
167
|
font-size: 12px;
|
168
168
|
}
|
169
169
|
}
|
170
|
+
|
171
|
+
/* stylelint-disable selector-no-qualifying-type */
|
172
|
+
ul.s72-shopping-info-plan {
|
173
|
+
text-align: left;
|
174
|
+
}
|
175
|
+
/* stylelint-enable selector-no-qualifying-type */
|
170
176
|
}
|
171
177
|
|
172
178
|
.s72-shopping-info-credit {
|
@@ -32,6 +32,20 @@ $container-max-widths: (
|
|
32
32
|
xxxl: 1600px,
|
33
33
|
) !default;
|
34
34
|
|
35
|
+
$spacer: math.div(5, 8) * 1rem; // 10px
|
36
|
+
|
37
|
+
$spacers: (
|
38
|
+
'0': 0,
|
39
|
+
'p5': ($spacer * 0.5), // 5px
|
40
|
+
'p75': ($spacer * 0.75), // 7.5px
|
41
|
+
'1': $spacer, // 10px
|
42
|
+
'2': ($spacer * 2), // 20px
|
43
|
+
'2p5': ($spacer * 2.5), // 25px
|
44
|
+
'3': ($spacer * 3), // 30px
|
45
|
+
'4': ($spacer * 4), // 40px
|
46
|
+
'5': ($spacer * 5), // 50px
|
47
|
+
);
|
48
|
+
|
35
49
|
// Body / Core
|
36
50
|
// ------------------------------------
|
37
51
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
@extend .btn;
|
29
29
|
font-size: 12px;
|
30
30
|
font-weight: $font-weight-bold;
|
31
|
-
margin-right: 10px
|
31
|
+
margin-right: 32px; // was 10px before awards needed some space
|
32
32
|
padding-bottom: 3px;
|
33
33
|
padding-left: 0;
|
34
34
|
padding-top: 3px;
|
@@ -50,4 +50,4 @@
|
|
50
50
|
.poster .s72-userwishlist-buttons .s72-btn-wishlist {
|
51
51
|
margin: 0;
|
52
52
|
padding: 0;
|
53
|
-
}
|
53
|
+
}
|
package/site/styles/main.scss
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
@import '_bootstrap4';
|
6
6
|
@import '_mixins';
|
7
|
+
@import '_globals';
|
7
8
|
@import '_shift72';
|
8
9
|
@import 'font-awesome/scss/font-awesome';
|
9
10
|
|
@@ -11,6 +12,7 @@
|
|
11
12
|
@import '_buttons';
|
12
13
|
@import '_pages';
|
13
14
|
@import '_forms';
|
15
|
+
@import '_card';
|
14
16
|
|
15
17
|
@import '_nav';
|
16
18
|
|
@@ -42,10 +44,13 @@
|
|
42
44
|
@import '_language-selector';
|
43
45
|
|
44
46
|
@import '_can-be-watched-button';
|
47
|
+
@import '_plans';
|
48
|
+
|
49
|
+
@import '_awards';
|
45
50
|
|
46
51
|
@import '_legacy';
|
47
52
|
|
48
53
|
// @import local must be last in this file.
|
49
54
|
@import 'local/local';
|
50
55
|
|
51
|
-
// DO NOT PUT ANYTHING IN THIS FILE.
|
56
|
+
// DO NOT PUT ANYTHING IN THIS FILE.
|
@@ -1,7 +1,8 @@
|
|
1
|
-
{{import "./
|
2
|
-
{{import "./seo.jet" }}
|
3
|
-
{{import "./
|
1
|
+
{{import "./head/font.jet" }}
|
2
|
+
{{import "./head/seo.jet" }}
|
3
|
+
{{import "./nav/nav.jet"}}
|
4
4
|
{{import "./google.jet" }}
|
5
|
+
{{import "./footer/footer.jet" }}
|
5
6
|
{{CDN := "//cdn.shift72.com/1.3"}}
|
6
7
|
{*{CDN := "//localhost:3000"}*}
|
7
8
|
<!DOCTYPE html>
|
@@ -18,8 +19,7 @@
|
|
18
19
|
<link rel="stylesheet" href="{{CDN}}/s72.transactional.css">
|
19
20
|
<link rel="stylesheet" href="/styles/swiper.css">
|
20
21
|
|
21
|
-
|
22
|
-
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap" rel="stylesheet">
|
22
|
+
{{yield font()}}
|
23
23
|
<link rel="stylesheet" href="/styles/main.css">
|
24
24
|
|
25
25
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
File without changes
|
File without changes
|
@@ -2,11 +2,14 @@
|
|
2
2
|
{{import "./info.jet"}}
|
3
3
|
{{import "./nav.jet"}}
|
4
4
|
{{import "./app-badges.jet"}}
|
5
|
+
{{import "./sponsor-banner.jet"}}
|
5
6
|
|
6
7
|
{{block footer()}}
|
7
8
|
|
8
9
|
{{yield appBadges()}}
|
9
10
|
|
11
|
+
{{yield sponsorBanner()}}
|
12
|
+
|
10
13
|
{*{ID is used for skip links.}*}
|
11
14
|
<footer id="footer">
|
12
15
|
{{yield footerBrand()}}
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{{block sponsorBanner()}}
|
2
|
+
{{if config("show_sponsor_banner") == "true"}}
|
3
|
+
<div class="sponsor-banner">
|
4
|
+
<s72-image class="sponsors-xxxs" src="/images/common/sponsors-xxxs.png"></s72-image>
|
5
|
+
<s72-image class="sponsors-xs" src="/images/common/sponsors-xs.png"></s72-image>
|
6
|
+
<s72-image class="sponsors-md" src="/images/common/sponsors-md.png"></s72-image>
|
7
|
+
</div>
|
8
|
+
{{end}}
|
9
|
+
{{end}}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,4 +1,5 @@
|
|
1
1
|
{{import "../items/tagline.jet"}}
|
2
|
+
{{import "../common/awards/carousel.jet"}}
|
2
3
|
|
3
4
|
{{block carouselItem(item)}}
|
4
5
|
{{ trailer := "" }}
|
@@ -54,6 +55,7 @@
|
|
54
55
|
<s72-userwishlist-button data-slug="{{item.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
|
55
56
|
<s72-share-buttons item="::item.meta" class="hidden-sm hidden-xs pull-right"></s72-share-buttons>
|
56
57
|
</div>
|
58
|
+
{{yield awardsCarousel() item.InnerItem}}
|
57
59
|
</div>
|
58
60
|
</div>
|
59
61
|
{{end}}
|
@@ -62,4 +64,4 @@
|
|
62
64
|
<div class="bottom-gradient"></div>
|
63
65
|
</a>
|
64
66
|
</div>
|
65
|
-
{{end}}
|
67
|
+
{{end}}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
{{import "./page_collection_item.jet"}}
|
2
2
|
|
3
|
-
{{block pageCollectionList()}}
|
3
|
+
{{block pageCollectionList(showTitle=true)}}
|
4
4
|
{{if len(.Items) > 0}}
|
5
5
|
<section class="page-collection page-collection-list page-collection-list-{{.ItemsPerRow}} page-collection-list-{{.ItemLayout}} list-{{.ItemsPerRow}} list-{{.ItemLayout}} page-collection-{{.ItemsPerRow}}-list" aria-label="{{i18n("wcag_aria_label_collection_list")}}">
|
6
6
|
|
7
|
+
{{ if showTitle }}
|
7
8
|
<div class="page-collection-list-title">
|
8
|
-
|
9
9
|
<h3>{{.DisplayName}}</h3>
|
10
|
-
|
11
10
|
</div>
|
11
|
+
{{ end }}
|
12
12
|
|
13
13
|
<div class="page-collection-items collection-items">
|
14
14
|
{{range item := .Items}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
|
21
21
|
</section>
|
22
22
|
{{end}}
|
23
|
-
{{end}}
|
23
|
+
{{end}}
|
@@ -2,12 +2,12 @@
|
|
2
2
|
{{import "./slider.jet"}}
|
3
3
|
{{import "./list.jet"}}
|
4
4
|
|
5
|
-
{{block pageCollection()}}
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
{{block pageCollection(showTitle=true)}}
|
6
|
+
{{if .Layout == "carousel"}}
|
7
|
+
{{yield pageCollectionCarousel()}}
|
8
|
+
{{else if .Layout == "slider"}}
|
9
|
+
{{yield pageCollectionSlider()}}
|
10
|
+
{{else}}
|
11
|
+
{{yield pageCollectionList(showTitle=showTitle)}}
|
12
|
+
{{end}}
|
13
13
|
{{end}}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{{block awardsCarousel()}}
|
2
|
+
{{ if isset(.AwardCategories) && (len(.AwardCategories) > 0) }}
|
3
|
+
<div class="meta-awards">
|
4
|
+
<div class="meta-award-nomination">
|
5
|
+
<span><i class="meta-award-nomination-icon"></i></span>
|
6
|
+
<span class="font-weight-bold">{{ i18n("awards_in_competition") }}</span>
|
7
|
+
</div>
|
8
|
+
</div>
|
9
|
+
{{ end }}
|
10
|
+
{{end}}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{{block awardNominations()}}
|
2
|
+
{{ if isset(.AwardCategories) && (len(.AwardCategories) > 0) }}
|
3
|
+
<div class="meta-awards row mt-2p5 meta-awards-all">
|
4
|
+
{{ range .AwardCategories }}
|
5
|
+
<div class="meta-award-nomination mb-2p5 col-12 col-sm-8 col-lg-6 col-xl-4">
|
6
|
+
<span><i class="meta-award-nomination-icon"></i></span>
|
7
|
+
<span class="font-weight-bold">{{ i18n("awards_nominated_for") }} {{ .DisplayLabel }}</span>
|
8
|
+
</div>
|
9
|
+
{{ end }}
|
10
|
+
</div>
|
11
|
+
{{ end }}
|
12
|
+
{{end}}
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<i class="fa fa-linkedin" title="Share on LinkedIn" aria-hidden="true"></i>
|
27
27
|
</a>
|
28
28
|
{{end}}
|
29
|
-
|
29
|
+
|
30
30
|
{{if letterboxdID}}
|
31
31
|
<a class="btn btn-social btn-social-letterboxd" aria-label="{{i18n("wcag_aria_label_letterboxd")}}" href="https://boxd.it/{{letterboxdID}}" target="_blank">
|
32
32
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="28px" height="28px" viewBox="0 0 334.79999 128" version="1.1">
|