-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
177 lines (166 loc) · 7.11 KB
/
index.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<html>
<head>
<title>Grass Bandits</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<nav>
<img height="60px" width="60px" src="logo.png">
<div class="dropdown">
<button class="dropbtn"><b>Grass Bandits</b></button>
<div class="dropdown-content">
</div>
</div>
<div class="dropdown">
<a href="index.html"><button class="dropbtn" href="#"><b>Home</b></button></a>
<div class="dropdown-content">
</div>
</div>
<div class="dropdown">
<button class="dropbtn"><b>Services<b></button>
<div class="dropdown-content">
<a href="lawnmowing.html">Lawnmowing</a>
<a href="gardening.html">Gardening</a>
<a href="trimming.html">Trimming</a>
<a href="blowing.html">Blowing</a>
<a href="weeding.html">Weeding</a>
<a href="watering.html">Watering</a>
<a href="package.html">Full Package</a>
</div>
</div>
<div class="dropdown">
<a href="stands.html"><button class="dropbtn" href="#"><b>Stands</b></button></a>
<div class="dropdown-content">
</div>
</div>
<div class="dropdown">
<a href="about.html"><button class="dropbtn" href="#"><b>About</b></button></a>
<div class="dropdown-content">
</div>
</div>
</nav>
<h1>Grass Bandits</h1>
<h2>Anywhere in the Fairway Triangle</h2>
<h3>We have many cheap services. Click on this button to find out what they are! Cheap, Cheap, Cheap!</h3>
<h3>Please excuse the limited service due to lack of workers.
<button id="viewserv" class="button" onclick="services()">View Services</button>
<a class="button" href="mailto:[email protected]?subject=Buisness&body=I%20have%20a%20job%20for%20you%2E%0A%0AAddress%3A%20%0AJob%20Type%3A%0A%0AWe%20will%20reply%20to%20you%20with%20your%20estamated%20cost%2E%0AHave%20a%20nice%20day%21%0A%2DGrass%20Bandits">Email Us!</a>
<a class="button" href="tel:913-749-9002">Call Us!<a>
<div id="services"></div>
<script>
text = "<ul><li>Lawnmowing</li><li>Gardening</li><li>Trimming</li><li>Blowing</li><li>Weeding</li><li>Watering</li><li>Full Package<li>Rick Rolling (just kidding… or are we? Muwah Hah Hah Ha)</li></ul>";
function services() {
document.getElementById("services").innerHTML = text;
}
</script>
<br><img src="logo.png" width="200" height="170">
<!--DO NOT THE BLEEP EDIT THIS PAYPAL CODE-->
<!--What? I no Understand-->
<!--YOU UNDERSTAND THE BLEEP PERFECTLY WELL YOURE NOT AN IDIOT-->
<!--ACTUALY YOU ARE BECAUSE YOU CANT UNDERSTAND DIRECTIONS THAT SIMPLE STAY AWAY-->
<div id="smart-button-container">
<div style="text-align: center;">
<div style="margin-bottom: 1.25rem;">
<p>Lawn Services</p>
<select id="item-options"><option value="Lawnmowing" price="7">Lawnmowing - 7 USD</option><option value="Gardening" price="5">Gardening - 5 USD</option><option value="Trimming" price="5">Trimming - 5 USD</option><option value="Weeding" price="5">Weeding - 5 USD</option><option value="Blowing" price="4">Blowing - 4 USD</option><option value="Watering" price="2">Watering - 2 USD</option><option value="Seeding" price="2">Seeding - 2 USD</option><option value="Full Package" price="25">Full Package - 25 USD</option></select>
<select style="visibility: hidden" id="quantitySelect"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option></select>
</div>
<div id="paypal-button-container"></div>
</div>
</div>
<script src="https://www.paypal.com/sdk/js?client-id=sb&enable-funding=venmo¤cy=USD" data-sdk-integration-source="button-factory"></script>
<script>
function initPayPalButton() {
var shipping = 0;
var itemOptions = document.querySelector("#smart-button-container #item-options");
var quantity = parseInt(4);
var quantitySelect = document.querySelector("#smart-button-container #quantitySelect");
if (!isNaN(quantity)) {
quantitySelect.style.visibility = "visible";
}
var orderDescription = 'Lawn Services';
if(orderDescription === '') {
orderDescription = 'Item';
}
paypal.Buttons({
style: {
shape: 'rect',
color: 'blue',
layout: 'vertical',
label: 'paypal',
},
createOrder: function(data, actions) {
var selectedItemDescription = itemOptions.options[itemOptions.selectedIndex].value;
var selectedItemPrice = parseFloat(itemOptions.options[itemOptions.selectedIndex].getAttribute("price"));
var tax = (0 === 0 || false) ? 0 : (selectedItemPrice * (parseFloat(0)/100));
if(quantitySelect.options.length > 0) {
quantity = parseInt(quantitySelect.options[quantitySelect.selectedIndex].value);
} else {
quantity = 1;
}
tax *= quantity;
tax = Math.round(tax * 100) / 100;
var priceTotal = quantity * selectedItemPrice + parseFloat(shipping) + tax;
priceTotal = Math.round(priceTotal * 100) / 100;
var itemTotalValue = Math.round((selectedItemPrice * quantity) * 100) / 100;
return actions.order.create({
purchase_units: [{
description: orderDescription,
amount: {
currency_code: 'USD',
value: priceTotal,
breakdown: {
item_total: {
currency_code: 'USD',
value: itemTotalValue,
},
shipping: {
currency_code: 'USD',
value: shipping,
},
tax_total: {
currency_code: 'USD',
value: tax,
}
}
},
items: [{
name: selectedItemDescription,
unit_amount: {
currency_code: 'USD',
value: selectedItemPrice,
},
quantity: quantity
}]
}]
});
},
onApprove: function(data, actions) {
return actions.order.capture().then(function(orderData) {
// Full available details
console.log('Capture result', orderData, JSON.stringify(orderData, null, 2));
// Show a success message within this page, e.g.
const element = document.getElementById('paypal-button-container');
element.innerHTML = '';
element.innerHTML = '<h3>Thank you for your payment!</h3>';
// Or go to another URL: actions.redirect('thank_you.html');
});
},
onError: function(err) {
console.log(err);
},
}).render('#paypal-button-container');
}
initPayPalButton();
</script>
<!--END PAYPAL-->
<h1>Use this handy dandy map to pinpoint where you need our services!</h1>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d18909.24615760799!2d-94.63471429571321!3d39.02963525276926!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x87c0ee61141ff519%3A0x8c1852dd6184d151!2sFairway%2C%20KS%2066205!5e0!3m2!1sen!2sus!4v1649277249128!5m2!1sen!2sus" width="800" height="800" style="border:0;" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
<script src="contributors.js"></script>
<footer>
<p align="center">
<h5>Copyright © 2022 SirAlexBigBrain, TechnoDot. Built by: @SirAlexBigBrain, @TechnoDot.</h5>
</p>
</footer>
</body>
</html>