Skip to content

Commit 6b01f1e

Browse files
Updated JNLP runner docs for new release
1 parent 2190329 commit 6b01f1e

File tree

18 files changed

+195
-35
lines changed

18 files changed

+195
-35
lines changed
225 KB
Loading
32.5 KB
Loading
222 KB
Loading
94.8 KB
Loading
224 KB
Loading
98 KB
Loading
180 KB
Loading
367 KB
Loading
219 KB
Loading
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
import Shell from "@leaningtech/astro-theme/layouts/Shell.astro";
3+
import { products } from "@leaningtech/astro-theme/products";
4+
import { Image } from "astro:assets";
5+
import { type Product } from "../../../../packages/astro-theme/lib/nav.ts";
6+
7+
interface Props {
8+
productId: Product;
9+
formUrl: string;
10+
}
11+
12+
const { productId, formUrl } = Astro.props;
13+
const product = products[productId];
14+
---
15+
16+
<Shell title=`${product.name} Payment`>
17+
<main
18+
class="flex flex-col justify-center items-center flex-grow w-full max-w-screen-2xl mx-auto px-6 py-10 overflow-hidden"
19+
>
20+
<div class="flex justify-between items-center w-4/5 max-w-6xl p-4">
21+
<div class="w-1/2 p-4 box-border">
22+
<div class="mb-6">
23+
<a href={product.href} target="_blank">
24+
<Image src={product.logotype} alt={product.name} class="w-4/5" />
25+
</a>
26+
</div>
27+
<h2 class="text-3xl font-bold mb-4">Purchase Your License</h2>
28+
<p class="text-base">
29+
Complete the purchase to get your license key. Once you have completed
30+
the purchase, you will receive an email with the license key.
31+
</p>
32+
<br />
33+
<p class="text-base">
34+
Activate your license key by entering it in the "Manage License"
35+
section of the installed JNLPRunner extension. For more information on
36+
how to activate a license, please visit our <a
37+
href="/cheerpj-jnlp-runner/getting-started/activate-license"
38+
target="_blank"
39+
class="text-white hover:text-gray-300 font-bold underline"
40+
>licensing page</a
41+
>.
42+
</p>
43+
</div>
44+
<div class="w-1/2 p-4 box-border">
45+
<script
46+
id="fsc-api"
47+
src="https://sbl.onfastspring.com/sbl/1.0.1/fastspring-builder.min.js"
48+
type="text/javascript"
49+
data-storefront={formUrl.toString()}></script>
50+
<div id="fsc-embedded-checkout-container"></div>
51+
<script type="text/javascript">
52+
fastspring.builder.add("cheerpj-jnlp-runner");
53+
</script>
54+
</div>
55+
</div>
56+
</main>
57+
</Shell>

0 commit comments

Comments
 (0)