@shift72/core-template 1.9.5 → 1.9.7

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +138 -6
  2. package/kibble.json +4 -1
  3. package/package.json +1 -1
  4. package/site/ar_LB.all.json +4 -1
  5. package/site/ca_ES.all.json +4 -1
  6. package/site/da_DK.all.json +4 -1
  7. package/site/de_DE.all.json +4 -1
  8. package/site/el_EL.all.json +4 -1
  9. package/site/en_AU.all.json +4 -1
  10. package/site/es_ES.all.json +4 -1
  11. package/site/es_MX.all.json +4 -1
  12. package/site/et_ET.all.json +4 -1
  13. package/site/fi_FI.all.json +4 -1
  14. package/site/fr_FR.all.json +4 -1
  15. package/site/hr_HR.all.json +4 -1
  16. package/site/hu_HU.all.json +4 -1
  17. package/site/it_IT.all.json +4 -1
  18. package/site/ja_JP.all.json +4 -1
  19. package/site/lt_LT.all.json +4 -1
  20. package/site/nl_BE.all.json +4 -1
  21. package/site/no_NO.all.json +4 -1
  22. package/site/pl_PL.all.json +4 -1
  23. package/site/plans.html.jet +6 -7
  24. package/site/pt_BR.all.json +4 -1
  25. package/site/pt_PT.all.json +4 -1
  26. package/site/ru_RU.all.json +4 -1
  27. package/site/sr_SR.all.json +4 -1
  28. package/site/static/fonts/fa-s72.woff +0 -0
  29. package/site/static/images/icons/androidtv.svg +36 -0
  30. package/site/static/images/icons/google-play-badge.png +0 -0
  31. package/site/styles/_carousel.scss +1 -1
  32. package/site/styles/_footer.scss +7 -0
  33. package/site/styles/_plans.scss +44 -14
  34. package/site/styles/_variables.scss +8 -3
  35. package/site/templates/application/application.jet +14 -0
  36. package/site/templates/application/footer/app-badges.jet +5 -1
  37. package/site/templates/application/footer/social-media-buttons.jet +2 -2
  38. package/site/templates/application/pixel.jet +49 -0
  39. package/site/templates/common/cta_buttons.jet +1 -1
  40. package/site/tr_TR.all.json +4 -1
  41. package/site/uk_UA.all.json +4 -1
  42. package/site/zh_TW.all.json +4 -1
  43. package/site/static/images/icons/androidtv.png +0 -0
@@ -1658,5 +1658,8 @@
1658
1658
  },
1659
1659
  "wcag_aria_label_social_linkedin": {
1660
1660
  "other": "Visit us on LinkedIn"
1661
+ },
1662
+ "pricing_from": {
1663
+ "other": "Watch from"
1661
1664
  }
1662
- }
1665
+ }
@@ -1662,5 +1662,8 @@
1662
1662
  },
1663
1663
  "wcag_aria_label_social_linkedin": {
1664
1664
  "other": "Visítenos en LinkedIn"
1665
+ },
1666
+ "pricing_from": {
1667
+ "other": "Mirar desde"
1665
1668
  }
1666
- }
1669
+ }
@@ -1662,5 +1662,8 @@
1662
1662
  },
1663
1663
  "wcag_aria_label_social_linkedin": {
1664
1664
  "other": "Visítenos en LinkedIn"
1665
+ },
1666
+ "pricing_from": {
1667
+ "other": "Mirar desde"
1665
1668
  }
1666
- }
1669
+ }
@@ -1658,5 +1658,8 @@
1658
1658
  },
1659
1659
  "wcag_aria_label_social_linkedin": {
1660
1660
  "other": "Külastage meid LinkedInis"
1661
+ },
1662
+ "pricing_from": {
1663
+ "other": "Vaata alates"
1661
1664
  }
1662
- }
1665
+ }
@@ -1658,5 +1658,8 @@
1658
1658
  },
1659
1659
  "wcag_aria_label_social_linkedin": {
1660
1660
  "other": "Vieraile meillä LinkedInissä"
1661
+ },
1662
+ "pricing_from": {
1663
+ "other": "Katso alkaen"
1661
1664
  }
1662
- }
1665
+ }
@@ -1662,5 +1662,8 @@
1662
1662
  },
1663
1663
  "wcag_aria_label_social_linkedin": {
1664
1664
  "other": "Visitez-nous sur LinkedIn"
1665
+ },
1666
+ "pricing_from": {
1667
+ "other": "Regarder depuis"
1665
1668
  }
1666
- }
1669
+ }
@@ -1660,5 +1660,8 @@
1660
1660
  },
1661
1661
  "wcag_aria_label_social_linkedin": {
1662
1662
  "other": "Posjetite nas na LinkedInu"
1663
+ },
1664
+ "pricing_from": {
1665
+ "other": "Gledajte iz"
1663
1666
  }
1664
- }
1667
+ }
@@ -1658,5 +1658,8 @@
1658
1658
  },
1659
1659
  "wcag_aria_label_social_linkedin": {
1660
1660
  "other": "Látogasson el hozzánk a LinkedIn-en"
1661
+ },
1662
+ "pricing_from": {
1663
+ "other": "Nézd innen"
1661
1664
  }
1662
- }
1665
+ }
@@ -1662,5 +1662,8 @@
1662
1662
  },
1663
1663
  "wcag_aria_label_social_linkedin": {
1664
1664
  "other": "Visitaci su LinkedIn"
1665
+ },
1666
+ "pricing_from": {
1667
+ "other": "Guarda da"
1665
1668
  }
1666
- }
1669
+ }
@@ -1645,5 +1645,8 @@
1645
1645
  },
1646
1646
  "wcag_aria_label_social_linkedin": {
1647
1647
  "other": "LinkedIn にアクセスしてください"
1648
+ },
1649
+ "pricing_from": {
1650
+ "other": "から見る"
1648
1651
  }
1649
- }
1652
+ }
@@ -1690,5 +1690,8 @@
1690
1690
  },
1691
1691
  "wcag_aria_label_social_linkedin": {
1692
1692
  "other": "Aplankykite mus „LinkedIn“."
1693
+ },
1694
+ "pricing_from": {
1695
+ "other": "Žiūrėti iš"
1693
1696
  }
1694
- }
1697
+ }
@@ -1658,5 +1658,8 @@
1658
1658
  },
1659
1659
  "wcag_aria_label_social_linkedin": {
1660
1660
  "other": "Bezoek ons op LinkedIn"
1661
+ },
1662
+ "pricing_from": {
1663
+ "other": "Kijk vanaf"
1661
1664
  }
1662
- }
1665
+ }
@@ -1658,5 +1658,8 @@
1658
1658
  },
1659
1659
  "wcag_aria_label_social_linkedin": {
1660
1660
  "other": "Besøk oss på LinkedIn"
1661
+ },
1662
+ "pricing_from": {
1663
+ "other": "Se fra"
1661
1664
  }
1662
- }
1665
+ }
@@ -1735,5 +1735,8 @@
1735
1735
  },
1736
1736
  "wcag_aria_label_social_linkedin": {
1737
1737
  "other": "Odwiedź nas na LinkedInie"
1738
+ },
1739
+ "pricing_from": {
1740
+ "other": "Oglądaj od"
1738
1741
  }
1739
- }
1742
+ }
@@ -11,25 +11,24 @@
11
11
  <h1>{{ i18n("plans_page_header") }}</h1>
12
12
  </div>
13
13
 
14
- <div class="container-xxxl px-2 px-lg-5">
15
- <div class="row">
14
+ <div class="plans-container">
16
15
  {{ range _, p := site.Plans }}
17
- <div class="plan col-xs-6 col-lg-4 mb-3">
18
- <div class="card h-100">
16
+ <div class="plan">
17
+ <div class="plan-card">
19
18
  <div class="plan-container">
20
19
  {{ if isset(p.LandscapeImage) && p.LandscapeImage != ""}}
21
20
  <div class="poster poster-landscape">
22
21
  {{ if p.Page }}
23
22
  <a href="{{ routeToSlug(p.Page.Slug) }}">
24
23
  {{ end }}
25
- <s72-image src="{{p.LandscapeImage}}" alt="{{p.Name}}" class="plan-poster card-img-top" border="0"></s72-image>
24
+ <s72-image src="{{p.LandscapeImage}}" alt="{{p.Name}}" class="plan-poster"></s72-image>
26
25
  <s72-plan-label data-slug="{{p.Slug}}" data-title="{{p.Name}}"></s72-plan-label>
27
26
  {{ if p.Page }}
28
27
  </a>
29
28
  {{ end }}
30
29
  </div>
31
30
  {{ end }}
32
- <div class="card-body d-flex flex-column justify-content-between">
31
+ <div class="plan-caption-details-container">
33
32
  <div class="plan-caption-details">
34
33
 
35
34
  {{ if !isset(p.LandscapeImage) || p.LandscapeImage == "" }}
@@ -97,7 +96,7 @@
97
96
  </div>
98
97
  </div>
99
98
  {{ end }}
100
- </div>
99
+
101
100
  </div>
102
101
 
103
102
  </main>
@@ -1662,5 +1662,8 @@
1662
1662
  },
1663
1663
  "wcag_aria_label_social_linkedin": {
1664
1664
  "other": "Visite-nos no LinkedIn"
1665
+ },
1666
+ "pricing_from": {
1667
+ "other": "Assista à partir"
1665
1668
  }
1666
- }
1669
+ }
@@ -1662,5 +1662,8 @@
1662
1662
  },
1663
1663
  "wcag_aria_label_social_linkedin": {
1664
1664
  "other": "Visite-nos no LinkedIn"
1665
+ },
1666
+ "pricing_from": {
1667
+ "other": "Assista à partir"
1665
1668
  }
1666
- }
1669
+ }
@@ -1712,5 +1712,8 @@
1712
1712
  },
1713
1713
  "wcag_aria_label_social_linkedin": {
1714
1714
  "other": "Посетите нас на LinkedIn"
1715
+ },
1716
+ "pricing_from": {
1717
+ "other": "Смотреть из"
1715
1718
  }
1716
- }
1719
+ }
@@ -1674,5 +1674,8 @@
1674
1674
  },
1675
1675
  "wcag_aria_label_social_linkedin": {
1676
1676
  "other": "Посетите нас на ЛинкедИн-у"
1677
+ },
1678
+ "pricing_from": {
1679
+ "other": "Гледајте из"
1677
1680
  }
1678
- }
1681
+ }
Binary file
@@ -0,0 +1,36 @@
1
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
2
+ xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
3
+ width="122px" height="44px" viewBox="0 0 800 138" enable-background="new 0 0 800 138"
4
+ xml:space="preserve">
5
+ <g>
6
+ <path d="M43.714,44.202c12.974,0,23.79,6.668,28.827,13.874V46.002h19.816v90.08H78.899c-3.511,0-6.358-2.842-6.358-6.357v-5.705
7
+ c-5.037,7.2-15.853,13.863-28.827,13.863c-24.674,0-43.417-21.074-43.417-46.838S19.04,44.202,43.714,44.202 M47.319,62.221
8
+ c-16.037,0-26.848,12.608-26.848,28.824c0,16.211,10.811,28.827,26.848,28.827c16.032,0,26.848-12.616,26.848-28.827
9
+ C74.167,74.829,63.352,62.221,47.319,62.221" fill="currentColor"/>
10
+ <path d="M114.863,46.005h19.821v12.25c5.4-9.005,15.674-14.05,27.385-14.05c20.895,0,34.411,14.773,34.411,37.655v54.222h-13.463
11
+ c-3.51,0-6.358-2.847-6.358-6.357V85.103c0-14.231-7.21-22.879-18.732-22.879c-13.153,0-23.242,10.269-23.242,29.542v44.316
12
+ h-13.469c-3.505,0-6.353-2.847-6.353-6.357V46.005z" fill="currentColor"/>
13
+ <path d="M255.575,44.202c12.969,0,23.785,6.668,28.827,13.874V0.967h19.811v135.115h-13.458c-3.505,0-6.353-2.842-6.353-6.357
14
+ v-5.705c-5.042,7.2-15.858,13.863-28.827,13.863c-24.685,0-43.421-21.074-43.421-46.838S230.891,44.202,255.575,44.202
15
+ M259.181,62.221c-16.032,0-26.843,12.608-26.843,28.824c0,16.211,10.811,28.827,26.843,28.827
16
+ c16.026,0,26.837-12.616,26.837-28.827C286.018,74.829,275.207,62.221,259.181,62.221" fill="currentColor"/>
17
+ <path d="M326.724,46.005h19.816v16.034c3.421-10.269,13.511-16.934,23.784-16.934c2.516,0,5.047,0.182,7.748,0.721v20.356
18
+ c-3.432-1.082-6.305-1.621-9.905-1.621c-11.353,0-21.626,9.553-21.626,27.568v43.953h-13.463c-3.505,0-6.353-2.847-6.353-6.357
19
+ V46.005z" fill="currentColor"/>
20
+ <path d="M431.504,137.883c-26.658,0-47.2-20.722-47.2-46.833c0-26.124,20.542-46.848,47.2-46.848
21
+ c26.669,0,47.201,20.719,47.201,46.848C478.705,117.161,458.173,137.883,431.504,137.883 M431.504,119.514
22
+ c15.854,0,27.027-12.437,27.027-28.464c0-16.031-11.174-28.468-27.027-28.468c-16.031,0-27.2,12.437-27.2,28.468
23
+ C404.304,107.077,415.473,119.514,431.504,119.514" fill="currentColor"/>
24
+ <path d="M504.674,26.37c-7.205,0-13.332-5.939-13.332-13.334c0-7.206,6.127-13.15,13.332-13.15c7.384,0,13.152,5.945,13.152,13.15
25
+ C517.826,20.431,512.058,26.37,504.674,26.37 M494.773,46.002h19.811v90.08h-13.458c-3.511,0-6.353-2.853-6.353-6.357V46.002z" fill="currentColor"/>
26
+ <path d="M574.285,44.202c12.974,0,23.785,6.668,28.832,13.874V0.967h19.816v135.115h-13.458c-3.517,0-6.358-2.842-6.358-6.357
27
+ v-5.705c-5.047,7.2-15.858,13.863-28.832,13.863c-24.674,0-43.411-21.074-43.411-46.838S549.611,44.202,574.285,44.202
28
+ M577.891,62.221c-16.026,0-26.837,12.608-26.837,28.824c0,16.211,10.811,28.827,26.837,28.827
29
+ c16.037,0,26.848-12.616,26.848-28.827C604.738,74.829,593.928,62.221,577.891,62.221" fill="currentColor"/>
30
+ <path d="M657.387,57.463h-19.39V45.51h19.39V20.323h12.679V45.51h26.453v11.953h-26.453v52.361
31
+ c0,11.048,4.896,15.395,15.037,15.395c3.621,0,8.517-0.726,11.416-1.989v11.411c-4.174,1.632-8.516,2.357-13.41,2.357
32
+ c-15.396,0-25.722-8.884-25.722-26.095V57.463z" fill="currentColor"/>
33
+ <polygon points="799.604,45.507 757.215,136.093 747.251,136.093 704.855,45.507 718.987,45.507 752.141,117.43 785.294,45.507
34
+ " fill="currentColor"/>
35
+ </g>
36
+ </svg>
@@ -29,7 +29,7 @@ s72-carousel {
29
29
  width: 100%;
30
30
 
31
31
  @include media-breakpoint-up(sm) {
32
- margin-bottom: 40px;
32
+ margin-bottom: 32px;
33
33
  }
34
34
  }
35
35
 
@@ -164,6 +164,13 @@ footer {
164
164
  display: flex;
165
165
  height: 45px;
166
166
  }
167
+ .app-badge-android-tv {
168
+ background-color: var(--footer-app-badge-android-tv);
169
+ height: 44px;
170
+ mask: url('/images/icons/androidtv.svg') no-repeat center / contain;
171
+ mask: url('/images/icons/androidtv.svg') no-repeat center / contain;
172
+ width: 122px;
173
+ }
167
174
  }
168
175
 
169
176
  .app-badge-title,
@@ -5,30 +5,51 @@
5
5
  s72-plan-label {
6
6
  .s72-plan-owned {
7
7
  @extend .availability-state;
8
- @extend .d-inline;
9
8
  color: $button-text-color;
9
+ display: inline;
10
10
  }
11
11
  }
12
12
 
13
13
  /* stylelint-disable selector-max-compound-selectors, max-nesting-depth */
14
14
  .plans-page {
15
- // Add some spacing to the heading
16
- .page-header h1 {
17
- @extend .mb-3;
15
+ .plans-container {
16
+ display: grid;
17
+ gap: 20px;
18
+ grid-template-columns: 1fr;
19
+ max-width: 1920px;
20
+ padding: 0 20px;
21
+ width: 100%;
22
+ @include media-breakpoint-up(sm) {
23
+ grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
24
+ }
25
+ @include media-breakpoint-up(lg) {
26
+ padding: 0 50px;
27
+ }
18
28
  }
19
29
 
20
30
  .plan {
21
- .card {
22
- @extend .bg-transparent;
23
- @extend .border-0;
31
+ .plan-card {
32
+ border: 0;
33
+ box-shadow: 0 3px 6px 1px rgba(0, 0, 0, 0.1);
34
+ color: #343a40;
35
+ height: 100%;
36
+ max-width: 580px;
24
37
 
25
38
  .plan-container {
26
- @extend .bg-white;
27
39
  @include border-radius($border-radius);
40
+ background-color: rgb(255, 255, 255);
41
+
42
+ display: flex;
43
+ flex-direction: column;
44
+ height: 100%;
45
+
46
+ .plan-poster {
47
+ width: 100%;
48
+ }
28
49
 
29
50
  .plan-caption-details {
30
51
  p {
31
- @extend .mb-p75;
52
+ margin-bottom: 10px;
32
53
  }
33
54
 
34
55
  h2 {
@@ -36,24 +57,33 @@ s72-plan-label {
36
57
  }
37
58
  }
38
59
 
60
+ .plan-caption-details-container {
61
+ display: flex;
62
+ flex: 1 1 auto;
63
+ flex-direction: column;
64
+ justify-content: space-between;
65
+ min-height: 1px;
66
+ padding: 20px;
67
+ }
68
+
39
69
  s72-plan-label {
40
- @extend .position-absolute;
41
- @extend .mx-auto;
42
70
 
43
71
  left: 0;
72
+ margin: 0 auto;
73
+ position: absolute;
44
74
  top: 0;
45
75
  z-index: 99;
46
76
  }
47
77
 
48
78
  s72-pricing-buttons:not(.s72-show) {
49
- @extend .m-0;
79
+ margin: 0;
50
80
  }
51
81
 
52
82
  .plan-caption-details .s72-plan-owned {
53
- @extend .d-inline-block;
54
83
 
55
84
  background-color: var(--primary);
56
85
  border-radius: $border-radius 0 $border-radius 0;
86
+ display: inline-block;
57
87
  line-height: 20px;
58
88
  padding: 0 5px;
59
89
  }
@@ -74,7 +104,7 @@ s72-plan-label {
74
104
 
75
105
  // Hide the separator if this is a curated collection page
76
106
  + .separator {
77
- @extend .border-0;
107
+ border: 0;
78
108
  }
79
109
 
80
110
  // Hide the titles of any collections
@@ -76,6 +76,9 @@
76
76
  --navbar-brand-height: 50px;
77
77
 
78
78
  --footer-brand-height: 50px;
79
+ --footer-app-badge-android-tv: var(
80
+ --body-color
81
+ ); // AndroidTV brand guidelines state this must be black or white
79
82
  --footer-social-bg: var(--body-bg-accent);
80
83
  --footer-social-bg-hover: var(--primary);
81
84
  --footer-social-icon: var(--body-color);
@@ -107,9 +110,10 @@
107
110
  --signin-sso-btn-background-color: var(--button-background);
108
111
  --signin-sso-btn-background-hover-color: var(--button-background-hover);
109
112
 
110
- --carousel-height: 75vh;
111
- --carousel-height-sm: 75vh;
112
- --carousel-height-lg: 75vh;
113
+ // Carousel
114
+ --carousel-height: 88vh;
115
+ --carousel-height-sm: 88vh;
116
+ --carousel-height-lg: 88vh;
113
117
  --carousel-bottom-gradient-height: 200px; // Increase this to 300px for light theme.
114
118
  --carousel-bottom-gradient-height-sm: 200px; // Increase this to 300px for light theme.
115
119
  --carousel-bottom-gradient-height-lg: 200px; // Increase this to 600px for light theme.
@@ -117,6 +121,7 @@
117
121
  --carousel-image-object-position-sm: center;
118
122
  --carousel-image-object-position-lg: center;
119
123
 
124
+ // Pages
120
125
  --collection-padding-bottom: 40px;
121
126
 
122
127
  --page-padding-top: 120px;
@@ -2,6 +2,7 @@
2
2
  {{import "./head/seo.jet" }}
3
3
  {{import "./nav/nav.jet"}}
4
4
  {{import "./google.jet" }}
5
+ {{import "./pixel.jet"}}
5
6
  {{import "./footer/footer.jet" }}
6
7
 
7
8
  {{CDN := "//cdn.shift72.com/1.4"}}
@@ -10,6 +11,9 @@
10
11
  {{CSSFileURL := site.SiteBrand.GetLink("css", "")}}
11
12
  {*{CSSFileURL := "/styles/local.css"}*}
12
13
 
14
+ {{checkoutDevMode := false}}
15
+ {{useCheckout := site.Toggles["use_checkout"] || checkoutDevMode}}
16
+
13
17
  <!DOCTYPE html>
14
18
  <html lang="{{lang.Code}}">
15
19
  <head>
@@ -50,6 +54,14 @@
50
54
  <script src="/scripts/main.js" defer></script>
51
55
 
52
56
  <script src="{{CDN}}/s72.transactional.js" defer></script>
57
+
58
+ {{if checkoutDevMode}}
59
+ <script>window.S72_CHECKOUT_OVERRIDE_URL = 'http://localhost:4072'</script>
60
+ <script src="http://localhost:4072/s72.checkout.js" defer></script>
61
+ {{else if useCheckout}}
62
+ <script src="/checkout/s72.checkout.js" defer></script>
63
+ {{end}}
64
+
53
65
  <script src="https://js.stripe.com/v3/" defer></script>
54
66
 
55
67
  {* get default language from site record or kibble.json depening on if db translations is enabled *}
@@ -76,6 +88,7 @@
76
88
  <s72-cookie-consent></s72-cookie-consent>
77
89
 
78
90
  {{yield googleTagManagerNoScript()}}
91
+ {{yield pixelNoScript()}}
79
92
 
80
93
  {{block navigation()}}
81
94
  {{yield nav() }}
@@ -86,6 +99,7 @@
86
99
  {{yield footer()}}
87
100
 
88
101
  {{yield googleScripts()}}
102
+ {{yield pixelScripts()}}
89
103
  <s72-donate-button></s72-donate-button>
90
104
  </body>
91
105
  </html>
@@ -26,7 +26,11 @@
26
26
 
27
27
  <div class="tv-app-badge-container">
28
28
  {{yield appBadge(href=app_link_fire_tv, image="/images/icons/amazonfiretv.png", altKey="app_badge_fire_tv", imgClass="tv-badge-image")}}
29
- {{yield appBadge(href=app_link_android_tv, image="/images/icons/androidtv.png", altKey="app_badge_android_tv", imgClass="tv-badge-image")}}
29
+ {{ if app_link_android_tv != "" }}
30
+ <a class="app-badge-link" href="{{app_link_android_tv}}" target="_blank">
31
+ <div class="app-badge-android-tv"></div>
32
+ </a>
33
+ {{ end }}
30
34
  {{yield appBadge(href=app_link_apple_tv_enabled, image="/images/icons/appletv.png", altKey="app_badge_apple_tv", imgClass="tv-badge-image")}}
31
35
  </div>
32
36
  </div>
@@ -78,8 +78,8 @@
78
78
  {{ end }}
79
79
 
80
80
  {{ block twitterIcon() }}
81
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
82
- <path d="M8.7 18.939c6.315 0 9.77-5.23 9.77-9.769 0-.148 0-.297-.011-.446a7.382 7.382 0 0 0 1.721-1.775 6.883 6.883 0 0 1-1.977.531 3.424 3.424 0 0 0 1.51-1.892 6.758 6.758 0 0 1-2.18.83 3.425 3.425 0 0 0-2.508-1.085 3.432 3.432 0 0 0-3.433 3.434c0 .265.032.531.085.786a9.759 9.759 0 0 1-7.08-3.593 3.408 3.408 0 0 0-.467 1.733 3.43 3.43 0 0 0 1.53 2.86 3.459 3.459 0 0 1-1.551-.437v.043c0 1.669 1.18 3.05 2.753 3.37a3.63 3.63 0 0 1-.904.116c-.223 0-.435-.02-.648-.053a3.44 3.44 0 0 0 3.21 2.381 6.875 6.875 0 0 1-4.262 1.467c-.287 0-.553-.01-.83-.043a9.702 9.702 0 0 0 5.273 1.542z" fill="currentColor"/>
81
+ <svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512">
82
+ <path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z" fill="currentColor"/>
83
83
  </svg>
84
84
  {{ end }}
85
85
 
@@ -0,0 +1,49 @@
1
+ {{block pixelScripts(pixelID=config("meta_pixel_id"))}}
2
+ <!-- Meta Pixel Code -->
3
+ {{if pixelID != ""}}
4
+ <script>
5
+ function loadPixelScripts(messagebus) {
6
+ !function(f,b,e,v,n,t,s)
7
+ {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
8
+ n.callMethod.apply(n,arguments):n.queue.push(arguments)};
9
+ if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
10
+ n.queue=[];t=b.createElement(e);t.async=!0;
11
+ t.src=v;s=b.getElementsByTagName(e)[0];
12
+ s.parentNode.insertBefore(t,s)}(window, document,'script',
13
+ 'https://connect.facebook.net/en_US/fbevents.js');
14
+
15
+ messagebus.publish('loaded-pixel-script', {{pixelID}});
16
+ };
17
+ </script>
18
+ <!-- End Meta Pixel Code -->
19
+
20
+ <script>
21
+ // Only send message to load Pixel if a/ the frontend cookie consent isn't required or b/ they've agreed to the cookie consent
22
+ var cookieConsentRequired = {{ isEnabled("frontend_cookie_consent") }};
23
+
24
+ document.addEventListener('s72loaded', function(event) {
25
+ let messagebus = event.detail.app.messagebus;
26
+ if(!cookieConsentRequired || event.detail.app.hasCookieConsent()) {
27
+ loadPixelScripts(messagebus);
28
+ }
29
+ else {
30
+ // Listen for an 'accept' of the cookie consent, in which case send message to load Pixel
31
+ messagebus.subscribe('cookie-consent-set', function(event) {
32
+ loadPixelScripts(messagebus);
33
+ });
34
+ }
35
+ });
36
+ </script>
37
+ {{end}}
38
+ {{end}}
39
+
40
+ {{block pixelNoScript(pixelID=config("meta_pixel_id"))}}
41
+ {{if len(pixelID) > 0}}
42
+ {{if !isEnabled("frontend_cookie_consent")}};
43
+ <!-- Start Pixel (noscript) -->
44
+ <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id={{pixelID}}&ev=PageView&noscript=1"/></noscript>
45
+ <!-- End Pixel (noscript) -->
46
+ {{end}}
47
+ {{end}}
48
+ {{end}}
49
+
@@ -62,7 +62,7 @@
62
62
  {{end}}
63
63
 
64
64
  {{if showShareButton}}
65
- {{letterboxdID := isFilm ? .Refs.LetterboxdID : ""}}
65
+ {{letterboxdID := isFilm && config("show_letterboxd_share", "true") == "true" ? .Refs.LetterboxdID : ""}}
66
66
  {{shareURL := site.SiteConfig.SiteURL + routeToSlug(slug)}}
67
67
  {{yield socialMediaButtons(url=shareURL, letterboxdID=letterboxdID)}}
68
68
  {{end}}
@@ -1658,5 +1658,8 @@
1658
1658
  },
1659
1659
  "wcag_aria_label_social_linkedin": {
1660
1660
  "other": "Bizi LinkedIn'de ziyaret edin"
1661
+ },
1662
+ "pricing_from": {
1663
+ "other": "Şuradan izle:"
1661
1664
  }
1662
- }
1665
+ }
@@ -1718,5 +1718,8 @@
1718
1718
  },
1719
1719
  "wcag_aria_label_social_linkedin": {
1720
1720
  "other": "Відвідайте нас на LinkedIn"
1721
+ },
1722
+ "pricing_from": {
1723
+ "other": "Дивитися з"
1721
1724
  }
1722
- }
1725
+ }
@@ -1645,5 +1645,8 @@
1645
1645
  },
1646
1646
  "wcag_aria_label_social_linkedin": {
1647
1647
  "other": "在 LinkedIn 上訪問我們"
1648
+ },
1649
+ "pricing_from": {
1650
+ "other": "觀看來自"
1648
1651
  }
1649
- }
1652
+ }