-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
77 lines (75 loc) · 3.17 KB
/
about.html
File metadata and controls
77 lines (75 loc) · 3.17 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
<!DOCTYPE html>
<html>
<head>
<title>About Us Page</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script>
$(document).ready(function () {
// Simulate fetching subscriber count
var subscriberCount = 105000; // Example count
$('#subscriberCount').text(subscriberCount);
// Handle form submission
$('#joinForm').submit(function (event) {
event.preventDefault();
var email = $('#email').val();
if (email) {
alert("Thank you for joining us, " + email + "!");
$('#joinForm')[0].reset();
} else {
alert("Please enter a valid email address.");
}
});
// Load additional content dynamically
$('#loadMore').click(function () {
$.ajax({
url: 'additional_content.html', // URL to load additional content
success: function (data) {
$('#additionalContent').html(data);
},
error: function () {
alert('Failed to load additional content.');
}
});
});
});
</script>
</head>
<body>
<div style="margin:6px;">
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<a class="navbar-brand" href="/">About DevOps Shack</a>
<ul class="nav navbar-nav">
<li>
<a href="/">Home</a>
</li>
<li class="active">
<a href="/about">About</a>
</li>
</ul>
</div>
</nav>
<div class="jumbotron" style="padding:40px;">
<h1>About Us</h1>
<strong>
<p>DevOps Shack is a YouTube Channel created to share DevOps implementations and guide on using best practices to build & deploy applications.</p>
</strong>
<p>Join our community and stay updated with the latest in DevOps!</p>
<p>Current Subscribers: <span id="subscriberCount"></span></p>
<form id="joinForm" class="form-inline">
<div class="form-group">
<label for="email">Email address:</label>
<input type="email" class="form-control" id="email" placeholder="Enter your email">
</div>
<button type="submit" class="btn btn-primary">Join us</button>
</form>
<br>
<button id="loadMore" class="btn btn-info">Load More Content</button>
<div id="additionalContent" style="margin-top:20px;"></div>
</div>
</div>
</body>
</html>