Repository navigation
Expand file tree
/
Copy pathsubscribe.html
More file actions
137 lines (118 loc) · 4.11 KB
/
Copy pathsubscribe.html
File metadata and controls
137 lines (118 loc) · 4.11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Newsletter Subscription - OnTrack</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
font-family: Arial, sans-serif;
background-color: #c0f72b;
}
.hero {
background: url("a5.jpg") no-repeat center center/cover;
height: 300px;
color: rgb(237, 253, 4);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.hero h1 {
font-size: 3rem;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}
.content-section {
padding: 40px 0;
}
.content-section h2 {
font-size: 2rem;
margin-bottom: 20px;
}
.content-section p {
font-size: 1.2rem;
line-height: 1.6;
}
.email_text {
width: 100%;
padding: 12px;
font-size: 1rem;
border-radius: 5px;
border: 1px solid #ddd;
}
.subscribr_bt {
margin-top: 10px;
padding: 12px 20px;
font-size: 1rem;
background-color: #ee5417;
border: none;
color: #fff;
cursor: pointer;
}
.subscribr_bt:hover {
background-color: #e1c02b;
}
.footer-section {
background-color: #343a40;
color: white;
padding: 20px;
}
.footer-section a {
color: white;
text-decoration: none;
}
.footer-section a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<!-- Header -->
<header class="bg-dark text-white">
<div class="container d-flex justify-content-between py-3">
<h1>OnTrack</h1>
<nav>
<a href="index.html" class="text-white me-3">Home</a>
<a href="about.html" class="text-white me-3">About</a>
<a href="booking.html" class="text-white">Book Now</a>
</nav>
</div>
</header>
<!-- Hero Section -->
<section class="hero">
<h1>Subscribe to Our Newsletter</h1>
</section>
<!-- Content Section -->
<section class="content-section container">
<h2>Stay Updated with OnTrack</h2>
<p>Sign up for our newsletter to receive the latest news, exclusive offers, and updates about OnTrack services. We promise not to spam you—only the most relevant and exciting information.</p>
<form action="/subscribe" method="POST" class="newsletter-form">
<div class="form-group">
<input type="email" class="email_text form-control" placeholder="Enter Your Email" name="email" required>
</div>
<button type="submit" class="subscribr_bt btn btn-primary">SUBSCRIBE</button>
</form>
</section>
<!-- Footer Section -->
<footer class="footer-section">
<div class="container">
<div class="row">
<div class="col-md-6">
<h5>Contact Us</h5>
<p>Email: info@ontrack.com</p>
<p>Phone: 1-800-123-4567</p>
</div>
<div class="col-md-6">
<h5>Follow Us</h5>
<a href="https://facebook.com/YourPage" class="me-3">Facebook</a>
<a href="https://twitter.com/YourHandle" class="me-3">Twitter</a>
<a href="https://instagram.com/YourHandle">Instagram</a>
</div>
</div>
</div>
</footer>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>