-
Notifications
You must be signed in to change notification settings - Fork 4
/
BuyJost.html
67 lines (65 loc) · 3.29 KB
/
BuyJost.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<title>indestructible type*</title>
<meta name="robots" content="index, nofollow">
<link rel="shortcut icon" href="assets/Favicon.png">
<link rel="icon" type="image/png" href="assets/Favicon.png">
<link rel="stylesheet" href="fonts/fonts.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<div id="head">
<h1><a href="Home.html">indestructible type<span>*</span></a></h1>
<h2><a href="About.html">about</a> <a href="Contact.html">contact</a>
</div>
<div id="body">
<h1>Download Jost*</h1>
Jost* is licensed under the <span class="Red"><a href="http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web" target="_blank">SIL open font license</a></span>. This allows for both personal and commercial use, without a different licence. It also makes Jost* available for free for both.
<br><br>To get the variable font version of Jost*, simply pay an amount of at least ten dollers. The variable font version will be included automatically in your download.
<br><br><b class="Red">Make sure to click on the <q>return to merchant</q> button after checkout to proceed to download!</b>
</p><br>
<!-- COPYPASTA-->
<script>
function validate() {
var n1 = document.getElementsByName('amount')[0].value;
if (n1*100 == 0) {
document.getElementById("my-form-id").method = "none";
document.getElementById("my-form-id").action = "https://indestructibletype.com/JostCheckout.html";
return true;
} else if (n1 >= 10) {
document.getElementById("my-form-id").method = "post";
document.getElementById("checkout").value = "http://indestructibletype.com/JostCheckoutVF.html";
document.getElementById("my-form-id").action = "https://www.paypal.com/us/cgi-bin/webscr";
return true;
} else if (n1 > 0) {
document.getElementById("my-form-id").method = "post";
document.getElementById("my-form-id").action = "https://www.paypal.com/us/cgi-bin/webscr";
return true;
} else {
alert("That doesn't look like a valid amount!");
return false;
}
}
</script>
<form id="my-form-id" name="_xclick" action="" method="none" onsubmit="return validate();">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="[email protected]" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="item_name" value="Jost*" />
<input type="hidden" name="no_shipping" value="1" />
<input id="checkout" type="hidden" name="return" value="https://indestructibletype.com/JostCheckout.html" />
<input type="hidden" name="cancel_return" value="https://indestructibletype.com/BuyJost.html" />
<label for="mce-EMAIL">Amount (in USD)</label><br>
<label style="font-size: 1.5em;">$</label><input type="text" name="amount" value="10" placeholder="Enter Amount Here" /><br><br><br>
<input id="mc-embedded-subscribe" type="submit" value="Proceed to Download" name="submit" style="color: white;">
</form>
<!-- COPYPASTA-->
</div>
<div id="footer">
<h1>*</h1>
<p>Made with love by <a href="https://ewonrael.github.io/">Owen Earl</a></p>
</div>
</body>
</body>
</html>