-
Notifications
You must be signed in to change notification settings - Fork 7
/
services.html
341 lines (310 loc) · 9.34 KB
/
services.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Explore Services | NELTY LLC</title>
<link rel="stylesheet" href="styles.css" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"
rel="stylesheet"
/>
<style>
body {
font-family: "Roboto", sans-serif;
margin: 0;
padding: 0;
background-color: #f8f9fa;
color: #343a40;
}
header {
background-color: #563d7c; /* Dark Purple */
color: white;
padding: 15px 0;
text-align: center;
}
header a {
color: white;
text-decoration: none;
margin: 0 15px;
}
.section {
padding: 60px 20px;
max-width: 800px;
margin: auto;
}
.section h1 {
color: #563d7c; /* Dark Purple */
text-align: center;
margin-bottom: 20px;
}
.service-cards {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 20px;
}
.card {
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
width: calc(50% - 40px);
text-align: center;
transition: transform 0.3s;
}
.card:hover {
transform: translateY(-5px);
}
.service-button {
background-color: #563d7c; /* Dark Purple */
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.service-button:hover {
background-color: #452a5b; /* Lighter Purple */
}
form {
margin-top: 40px;
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
form label {
display: block;
margin: 10px 0 5px;
}
form input,
form select {
width: calc(100% - 20px);
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
}
form button {
background-color: #563d7c; /* Dark Purple */
color: white;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
width: 100%;
}
form button:hover {
background-color: #452a5b; /* Lighter Purple */
}
footer {
text-align: center;
padding: 15px 0;
background-color: #563d7c; /* Dark Purple */
color: white;
position: relative;
bottom: 0;
width: 100%;
}
#backToTop {
position: fixed;
bottom: 50px;
right: 20px;
z-index: 100;
}
.back-to-top-btn {
background-color: #563d7c;
color: white;
padding: 10px 20px;
border-radius: 15px;
text-decoration: none;
font-weight: bold;
display: block;
}
</style>
</head>
<body id="top">
<header>
<div class="logo-container">
<a href="/">
<img
src="images/nelty-logo.png"
alt="NELTY Logo"
style="max-width: 200px"
/>
</a>
</div>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<section id="services" class="section">
<div class="container">
<h1>Our Services</h1>
<p style="text-align: center">
At NELTY LLC, we provide a range of IT solutions designed to meet your
business needs.
</p>
<div class="service-cards">
<div class="card">
<h3>IT Consulting</h3>
<p>
Expert guidance to help you navigate your IT strategy and
infrastructure needs.
</p>
<button
class="service-button"
onclick="scheduleAppointment('IT Consulting')"
>
Schedule Appointment
</button>
</div>
<div class="card">
<h3>Data Management</h3>
<p>
End-to-end data solutions to manage, analyze, and secure your
business data.
</p>
<button
class="service-button"
onclick="scheduleAppointment('Data Management')"
>
Schedule Appointment
</button>
</div>
<div class="card">
<h3>AI & ML</h3>
<p>
Innovative AI and machine learning solutions to automate and
optimize your processes.
</p>
<button
class="service-button"
onclick="scheduleAppointment('AI & ML')"
>
Schedule Appointment
</button>
</div>
<div class="card">
<h3>Software Development</h3>
<p>
Custom software development services to turn your ideas into
reality.
</p>
<button
class="service-button"
onclick="scheduleAppointment('Software Development')"
>
Schedule Appointment
</button>
</div>
</div>
<h2 style="text-align: center">Payment Options</h2>
<p style="text-align: center">
Select your preferred payment method below:
</p>
<form id="payment-form" style="max-width: 400px; margin: auto">
<label for="payment-method">Choose a payment method:</label>
<select id="payment-method" name="payment-method">
<option value="credit-card">Credit Card</option>
<option value="paypal">PayPal</option>
<option value="bank-transfer">Bank Transfer</option>
</select>
<button type="submit">Proceed to Payment</button>
</form>
<h2 style="text-align: center">Schedule an Appointment</h2>
<p style="text-align: center">
Fill out the form below to schedule an appointment with us:
</p>
<form id="appointment-form" style="max-width: 400px; margin: auto">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required />
<label for="email">Email:</label>
<input type="email" id="email" name="email" required />
<label for="service">Select Service:</label>
<select id="service" name="service">
<option value="IT Consulting">IT Consulting</option>
<option value="Data Management">Data Management</option>
<option value="AI & ML">AI & ML</option>
<option value="Software Development">Software Development</option>
</select>
<label for="date">Preferred Date:</label>
<input type="date" id="date" name="date" required />
<label for="time">Preferred Time:</label>
<input type="time" id="time" name="time" required />
<button type="submit">Schedule Appointment</button>
</form>
</div>
</section>
<footer>
<p>© 2024 NELTY LLC. All Rights Reserved.</p>
</footer>
<div id="backToTop" style="display: none">
<a href="#top" class="back-to-top-btn">Back To Top</a>
</div>
<script>
// Schedule appointment function
function scheduleAppointment(service) {
document
.getElementById("appointment-form")
.querySelector('select[name="service"]').value = service;
document
.getElementById("appointment-form")
.scrollIntoView({ behavior: "smooth" });
}
// Handle form submissions
document
.getElementById("payment-form")
.addEventListener("submit", function (event) {
event.preventDefault();
alert("Payment processed for " + this.payment - method.value);
});
document
.getElementById("appointment-form")
.addEventListener("submit", function (event) {
event.preventDefault();
alert(
"Appointment scheduled for " +
this.name.value +
" on " +
this.date.value +
" at " +
this.time.value
);
});
</script>
</body>
<script>
window.onscroll = function () {
scrollFunction();
};
function scrollFunction() {
const backToTop = document.getElementById("backToTop");
// Trigger the button when scrolled down 100px from the top of the document
if (window.pageYOffset > 100) {
backToTop.style.display = "block";
} else {
backToTop.style.display = "none";
}
}
// Smooth scroll to the top when clicking on the button
document
.querySelector(".back-to-top-btn")
.addEventListener("click", function (e) {
e.preventDefault();
window.scrollTo({
top: 0,
behavior: "smooth",
});
});
</script>
</html>