-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
264 lines (241 loc) · 14.5 KB
/
index.html
File metadata and controls
264 lines (241 loc) · 14.5 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Computer Anything - Play Build Develop</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css" rel="stylesheet" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
<link rel="stylesheet" href="./css/z.css" />
</head>
<body class="d-flex flex-column h-100">
<main class="flex-shrink-0">
<!-- Navigation-->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top">
<div class="container px-5">
<button id="theme-toggle" class="theme-toggle-btn" aria-label="Toggle Dark Theme"></button>
<a class="navbar-brand" href="https://dmurchison.github.io/portfolio_site/#page-top" target="_blank">About the Developer</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
<span class="navbar-toggler-icon"></span>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<li class="nav-item"><a class="nav-link" href="#">Home</a></li>
<li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
<li class="nav-item"><a class="nav-link" href="#testimonials">Testimonials</a></li>
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
<!-- Header-->
<header class="bg-dark py-5">
<div class="container px-5">
<div class="row gx-5 align-items-center justify-content-center">
<div class="col-lg-8 col-xl-7 col-xxl-6">
<div class="my-5 text-center text-xl-start">
<h1 class="display-5 fw-bolder text-white mb-2">All your computer software and hardware needs, in one place.</h1>
<p class="lead fw-normal text-white-50 mb-4">Build your dream website, application, or personal computer! From software engineering and database management, to custom PC builds, we do it all!</p>
<div class="d-grid gap-3 d-sm-flex justify-content-sm-center justify-content-xl-start">
<a class="btn custom-btn btn-lg px-4 me-sm-3" href="#contact">Contact Directly for any Questions</a>
<a class="btn custom-btn btn-lg px-4 me-sm-3" href="https://dmurchison.github.io/portfolio_site/#page-top" target="_blank">Visit Personal Developer Site</a>
</div>
</div>
</div>
<div class="col-xl-5 col-xxl-6 d-none d-xl-block text-center">
<img class="img-fluid rounded-3 my-5" src="img/cpt_anything_box.jpg" alt="..." />
</div>
</div>
</div>
</header>
<!-- Features section-->
<section class="py-5" id="features">
<div class="container px-5 my-5">
<div class="row gx-5">
<div class="col-lg-4 mb-5 mb-lg-0">
<h2 class="fw-bolder mb-0">A better way to start technology.</h2>
</div>
<div class="col-lg-8">
<div class="row gx-5 row-cols-1 row-cols-md-2">
<div class="col mb-5 h-100">
<div class="feature bg-primary bg-gradient text-white rounded-3 mb-3">
<i class="bi bi-collection"></i>
</div>
<h2 class="h5">Software Development</h2>
<p class="mb-0">Building, maintaining and updated fully dynamic sites and apps. Teams dedicated strictly to software.</p>
</div>
<div class="col mb-5 h-100">
<div class="feature bg-primary bg-gradient text-white rounded-3 mb-3">
<i class="bi bi-building"></i>
</div>
<h2 class="h5">Custom Builds</h2>
<p class="mb-0">Gaming, Developing, AI, or just fun personal projects. Computer Anything can be the one stop shop to it all!</p>
</div>
</div>
</div>
</div>
</div>
<!-- Testimonial section-->
<section id="testimonials">
<!-- Test1 -->
<div class="py-5">
<div class="container px-5 my-5">
<div class="row gx-5 justify-content-center">
<div class="col-lg-10 col-xl-7">
<div class="text-center">
<div class="fs-4 mb-4 fst-italic">"Working with Computer Anything has saved me tons of development time Duncan is an excellent Software Engineer and has the ability to see your vision through with you while still getting things done in a surprisingly quick manner."</div>
<div class="d-flex align-items-center justify-content-center">
<!-- <img class="rounded-circle me-3" src="https://dummyimage.com/40x40/ced4da/6c757d" alt="..." /> -->
<div class="fw-bold">
Tulla Contracting
<span class="fw-bold text-primary mx-1">/</span>
Personal Client of Computer Anything LLC
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Test2 -->
<div class="py-5">
<div class="container px-5 my-5">
<div class="row gx-5 justify-content-center">
<div class="col-lg-10 col-xl-7">
<div class="text-center">
<div class="fs-4 mb-4 fst-italic">"When my computer was broken Duncan came over about 10 minutes before I made my decision to buy a new one, he replaced some pieces inside my motherboard with extra computer parts he had. My computer was up and running in about 45 minutes."</div>
<div class="d-flex align-items-center justify-content-center">
<!-- <img class="rounded-circle me-3" src="https://dummyimage.com/40x40/ced4da/6c757d" alt="..." /> -->
<div class="fw-bold">
Easy East
<span class="fw-bold text-primary mx-1">/</span>
Personal Client of Computer Anything LLC
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section class="py-5" id="contact">
<div class="container px-5">
<div class="bg-dark rounded-3 py-5 px-4 px-md-5 mb-5">
<div class="text-center mb-5">
<h1 class="text-white">Contact Us</h1>
<p class="lead fw-normal text-muted mb-0">There's no time like the present to get started on a new project. We're easy to get in touch with and we'll help you figure it out. Just reach out and let's get started! If you can imagine it, we can build it!</p>
</div>
</div>
<!-- Contact Form -->
<div class="row gx-5 justify-content-center">
<div class="col-lg-8">
<form action="/php/contact.php" method="post">
<div class="mb-3">
<label for="name" class="form-label">Full Name</label>
<input type="text" class="form-control" name="name" id="name" placeholder="Enter your name" required />
</div>
<div class="mb-3">
<label for="email" class="form-label">Email Address</label>
<input type="email" class="form-control" name="email" id="email" placeholder="Enter your email" required />
</div>
<div class="mb-3">
<label for="attachment" class="form-label">Attachment</label>
<input type="file" class="form-control" name="attachment" id="attachment" />
</div>
<div class="mb-3">
<label for="message" class="form-label">Message</label>
<textarea class="form-control" name="message" id="message" rows="5" placeholder="Enter your message" required></textarea>
</div>
<div class="g-recaptcha" data-sitekey="6LccOBYrAAAAABkg2TE_N7bccmpBXAFK4ZKZa3xg"></div>
<div class="d-grid">
<button type="submit" class="btn btn-primary btn-lg">Send Message</button>
</div>
</form>
</div>
</div>
<!-- Contact cards-->
<div class="row gx-5 row-cols-2 row-cols-lg-4 py-5">
<div class="col">
<div class="feature bg-primary bg-gradient text-white rounded-3 mb-3">
<i class="bi bi-envelope"></i></div>
<div class="h5">Email us</div>
<p class="text-muted mb-0">send an email to cpt.anything@gmail.com by filling out the form above!</p>
</div>
<div class="col">
<div class="feature bg-primary bg-gradient text-white rounded-3 mb-3">
<i class="bi bi-discord"></i></div>
<div class="h5 mb-2">Chat with us</div>
<p class="text-muted mb-0">Join our <a href="https://discord.gg/QXs6p75pcS">Discord</a> channel and chat with us live.</p>
</div>
<div class="col">
<div class="feature bg-primary bg-gradient text-white rounded-3 mb-3">
<i class="bi bi-facebook"></i></div>
<div class="h5">Ask the community</div>
<p class="text-muted mb-0">Follow us on <a href="https://www.facebook.com/people/Computer-Anything/61567372806344/">Facebook</a> and find out more about us.</p>
</div>
<div class="col">
<div class="feature bg-primary bg-gradient text-white rounded-3 mb-3">
<i class="bi bi-youtube"></i></div>
<div class="h5">Checkout our videos</div>
<p class="text-muted mb-0">Visit our <a href="https://www.youtube.com/@cpt_anything">YouTube channel</a> for coding tutorials and more!</p>
</div>
</div>
</div>
</section>
</main>
<!-- Scripts -->
<!-- Bootstrap core JS-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
const form = document.querySelector("form");
const submitButton = form.querySelector("button[type='submit']");
const messageContainer = document.createElement("div");
messageContainer.style.marginTop = "1rem";
form.appendChild(messageContainer);
form.addEventListener("submit", async function (event) {
event.preventDefault(); // Prevent the default form submission
// Disable the submit button to prevent multiple submissions
submitButton.disabled = true;
submitButton.textContent = "Sending...";
// Collect form data
const formData = new FormData(form);
try {
// Send the form data using fetch
const response = await fetch("/php/contact-form.php", {
method: "POST",
body: formData,
});
const result = await response.json();
// Handle the response
if (result.success) {
messageContainer.innerHTML = `<div class="alert alert-success">${result.message}</div>`;
form.reset(); // Clear the form
} else {
messageContainer.innerHTML = `<div class="alert alert-danger">${result.message}</div>`;
}
} catch (error) {
// Handle any errors
messageContainer.innerHTML = `<div class="alert alert-danger">An error occurred while sending the message. Please try again later.</div>`;
} finally {
// Re-enable the submit button
submitButton.disabled = false;
submitButton.textContent = "Send Message";
}
});
});
</script>
</body>
</html>