Skip to content

Commit 1f6fee6

Browse files
committed
docs: use pd sdk
1 parent 7cb2bd1 commit 1f6fee6

File tree

2 files changed

+21
-27
lines changed

2 files changed

+21
-27
lines changed

site/content/license/_index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ images: []
1212
<div class="pricing-list justify-content-center">
1313
<div class="pricing-list-item">
1414
<div class="pricing-type">Hobby</div>
15-
<div class="pricing-cost" data-pd-original-price="48">
16-
<span data-pd-updated-price-formatted>$48</span> <span class="pricing-cost-label">/ lifetime</span> <span class="pricing-original" data-pd-original-price-display="58" data-pd-original-price="48"><span data-pd-updated-price-formatted></span></span>
15+
<div class="pricing-cost" data-pd-original-price="48" data-pd-rel="hobby">
16+
<span data-pd-price-formatted>$48</span> <span class="pricing-cost-label">/ lifetime</span> <span class="pricing-original" data-pd-original-price-display="48" data-pd-rel="hobby"><span data-pd-price-formatted></span></span>
1717
</div>
1818
<div class="pricing-desc">
1919
For personal use.
2020
</div>
2121
<div class="d-grid pricing-btn-wrap">
22-
<a href="https://api.paritydeals.com/api/v1/lemon-squeezy-buy-now/?store_id=10718&variants=38778,38130,38780&pd_suite_id=801&success_url=https://www.lightgalleryjs.com/" target="_blank" class="btn btn-outline-primary">Purchase Now</a>
22+
<a href="https://sachin.lemonsqueezy.com/buy/8ed0fa81-9ff3-467b-9f01-cc5d2b0effd0" target="_blank" class="btn btn-outline-primary">Purchase Now</a>
2323
</div>
2424
<ul class="pricing-terms">
2525
<li>For <b>one</b> developer</li>
@@ -31,14 +31,14 @@ images: []
3131
</div>
3232
<div class="pricing-list-item">
3333
<div class="pricing-type">Team</div>
34-
<div class="pricing-cost" data-pd-original-price="118">
35-
<span data-pd-updated-price-formatted>$118</span> <span class="pricing-cost-label">/ lifetime <span class="pricing-original" data-pd-original-price-display="148" data-pd-original-price="118"><span data-pd-updated-price-formatted></span></span>
34+
<div class="pricing-cost" data-pd-original-price="118" data-pd-rel="standard">
35+
<span data-pd-price-formatted>$118</span> <span class="pricing-cost-label">/ lifetime <span class="pricing-original" data-pd-original-price-display="118" data-pd-rel="standard"><span data-pd-price-formatted></span></span>
3636
</div>
3737
<div class="pricing-desc">
3838
For small teams.
3939
</div>
4040
<div class="d-grid pricing-btn-wrap">
41-
<a href="https://api.paritydeals.com/api/v1/lemon-squeezy-buy-now/?store_id=10718&variants=38780,38778,38130&pd_suite_id=801&success_url=https://www.lightgalleryjs.com/" target="_blank" class="btn btn-outline-primary">Purchase Now</a>
41+
<a href="https://sachin.lemonsqueezy.com/buy/4fda7194-9958-4370-9a34-fa56146c29fe" target="_blank" class="btn btn-outline-primary">Purchase Now</a>
4242
</div>
4343
<ul class="pricing-terms">
4444
<li>For upto <b>8</b> developers</li>
@@ -50,14 +50,14 @@ images: []
5050
</div>
5151
<div class="pricing-list-item">
5252
<div class="pricing-type">Organization</div>
53-
<div class="pricing-cost" data-pd-original-price="188">
54-
<span data-pd-updated-price-formatted>$188</span> <span class="pricing-cost-label">/ lifetime <span class="pricing-original" data-pd-original-price-display="238" data-pd-original-price="188"><span data-pd-updated-price-formatted></span></span>
53+
<div class="pricing-cost" data-pd-rel="organization" data-pd-original-price="188">
54+
<span data-pd-price-formatted>$188</span> <span class="pricing-cost-label">/ lifetime <span class="pricing-original" data-pd-original-price-display="188" data-pd-rel="organization"><span data-pd-price-formatted></span></span>
5555
</div>
5656
<div class="pricing-desc">
5757
For large teams and organizations
5858
</div>
5959
<div class="d-grid pricing-btn-wrap">
60-
<a href="https://api.paritydeals.com/api/v1/lemon-squeezy-buy-now/?store_id=10718&variants=38130,38778,38780&pd_suite_id=801&success_url=https://www.lightgalleryjs.com/" target="_blank" class="btn btn-outline-primary">Purchase Now</a>
60+
<a href="https://sachin.lemonsqueezy.com/buy/dd865021-e705-4327-ae2f-8b835414b01b" target="_blank" class="btn btn-outline-primary">Purchase Now</a>
6161
</div>
6262
<ul class="pricing-terms">
6363
<li>For <b>unlimited</b> developers</li>
@@ -79,11 +79,11 @@ images: []
7979
<div class="pricing-list justify-content-center">
8080
<div class="pricing-list-item pricing-list-item-colored">
8181
<div class="pricing-type">Extended</div>
82-
<div class="pricing-cost" data-pd-original-price="239">
83-
<span data-pd-updated-price-formatted>$239</span> <span class="pricing-cost-label">/ lifetime <span class="pricing-original" data-pd-original-price-display="239" data-pd-original-price="239"><span data-pd-updated-price-formatted></span></span>
82+
<div class="pricing-cost" data-pd-original-price="239" data-pd-rel="extended">
83+
<span data-pd-price-formatted>$239</span> <span class="pricing-cost-label">/ lifetime <span class="pricing-original" data-pd-original-price-display="239" data-pd-rel="extended"><span data-pd-price-formatted></span></span>
8484
</div>
8585
<div class="d-grid pricing-btn-wrap">
86-
<a href="https://api.paritydeals.com/api/v1/lemon-squeezy-buy-now/?store_id=10718&variants=40321&pd_suite_id=801&success_url=https://www.lightgalleryjs.com/" target="_blank" class="btn btn-white">Purchase Now</a>
86+
<a href="https://sachin.lemonsqueezy.com/buy/2f129e78-4f58-4166-93af-3e13fedb9101" target="_blank" class="btn btn-white">Purchase Now</a>
8787
</div>
8888
<ul class="pricing-terms">
8989
<li>For <b>unlimited</b> developers</li>

site/layouts/partials/head/head.html

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,15 @@
1010

1111
{{ if or (eq .Title "Pricing") (eq .Title "WordPress") -}}
1212
<script>
13-
(function(w,d,s,o,f,js,fjs){
14-
w[o]=w[o]||function(){(w[o].q=w[o].q||[]).push(Array.prototype.slice.call(arguments))};
15-
js=d.createElement(s),fjs=d.getElementsByTagName(s)[0];
16-
js.id='parity-deals-sdk';js.async=1;js.src=f;
17-
fjs.parentNode.insertBefore(js,fjs);
18-
}(window,document,'script','ParityDeals','https://cdn.paritydeals.com/sdk.js'));
19-
20-
// Initialize ParityDeals
21-
ParityDeals('init', {
22-
convertToLocal: true,
23-
showDecimal: false,
24-
bar: {
25-
container: '.price-container'
26-
}
27-
});
13+
!function(e,t,i,n,a,c,r){e[n]=e[n]||function(){(e[n].q=e[n].q||[]).push(Array.prototype.slice.call(arguments))},c=t.createElement(i),r=t.getElementsByTagName(i)[0],c.id="parity-deals-sdk",c.async=1,c.src=a,r.parentNode.insertBefore(c,r)}(window,document,"script","ParityDealsSDK","https://cdn.paritydeals.com/sdk.js"),window.ParityDeals={init:function(e){ParityDealsSDK("init",e)},getUpdatedPrice:function(e){return new Promise((t,i)=>{!function n(){window.ParityDealsSDK&&"function"==typeof window.ParityDealsSDK.getUpdatedPrice?ParityDealsSDK.getUpdatedPrice(e).then(t).catch(i):setTimeout(()=>n(),100)}()})}};
14+
15+
ParityDeals.init({
16+
convertToLocal: true,
17+
showDecimal: false,
18+
bar: {
19+
container: '.price-container'
20+
}
21+
});
2822
</script>
2923

3024
{{ end -}}

0 commit comments

Comments
 (0)