generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.html
191 lines (184 loc) · 11.2 KB
/
contact.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Information site about ghosts and hauntings">
<meta name="keywords" content="ghosts, hauntings, paranormal, ghost stories">
<meta name="author" content="Natalie Kate Alexander">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" />
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/style.css">
<title>Haunted-Ghosts and Hauntings</title>
</head>
<body>
<!-- Header and Nav, modified bootstrap nav -->
<div class="header-container">
<header>
<nav class="navbar navbar-expand-md">
<a class="navbar-brand" href="index.html" aria-label="Logo and link to home">Haunted</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navdropdownmenu"
aria-controls="navdropdownmenu" aria-expanded="false" aria-label="Toggle navigation">
<span><i class="fas fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="navdropdownmenu">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="index.html" id="navbardropdownmenu"
aria-label="dropdown menu for about page" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">About</a>
<div class="dropdown-menu" aria-labelledby="navbardropdownmenu">
<a class="dropdown-item" href="index.html#about"
aria-label="link to about section">About</a>
<a class="dropdown-item" href="index.html#introduction"
aria-label="link to introduction section">Introduction</a>
<a class="dropdown-item" href="index.html#hauntings"
aria-label="link to hauntings section">Hauntings</a>
<a class="dropdown-item" href="index.html#ghosts"
aria-label="link to ghosts section">Ghosts</a>
<a class="dropdown-item" href="index.html#theories"
aria-label="link to theories section">Theories</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="evidence.html" id="navbardropdownmenu2"
aria-label="dropdown menu for evidence page" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">Evidence <sup
class="badge badge-info">New</sup></a>
<div class="dropdown-menu" aria-labelledby="navbardropdownmenu2">
<a class="dropdown-item" href="evidence.html"
aria-label="link to evidence page">Evidence</a>
<a class="dropdown-item" href="evidence.html#true-stories"
aria-label="link to true stories section">True Stories <sup
class="badge badge-info">New</sup></a>
<a class="dropdown-item" href="evidence.html#pictures"
aria-label="link to picture evidence section">Pictures</a>
<a class="dropdown-item" href="evidence.html#videos"
aria-label="link to videos section">Videos</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="evidence.html#resources"
aria-label="link to resources section">Resources</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="contact.html">Contact<span class="sr-only">current
page</span></a>
</li>
</ul>
</div>
</nav>
</header>
</div>
<div class="container-fluid">
<!-- Contact form -->
<section>
<div class="row">
<div class="col-12 col-md-10 offset-md-1 col-lg-6 offset-lg-3 text-center">
<h2 class="text-center">Get in touch! <i class="fas fa-keyboard"></i></h2>
<p>We would love to hear your stories, comments and answer your questions. Please get in touch.
</p>
</div>
</div>
<form id="contactform">
<div class="row">
<div class="col-12 col-md-10 offset-md-1 col-lg-6 offset-lg-3">
<fieldset>
<legend>Personal details</legend>
<label for="firstname">First Name:</label><br>
<input id="firstname" type="text" name="first-name" placeholder="e.g Casper" required><br>
<label for="surname">Surname:</label><br>
<input id="surname" type="text" name="surname" placeholder="e.g Friendly" required><br>
<label for="email">Email Address:</label><br>
<input id="email" type="email" name="email" placeholder="e.g casperfriendly@fake.com"
required><br>
</fieldset>
<p>Would you like to be added into our mailing list so you can receive updates of new
content
and exciting new features?</p>
<input id="yes-button" type="radio" name="mailing-list" value="yes" checked required>
<label for="yes-button">Of Course!</label>
<input id="no-button" type="radio" name="mailing-list" value="no">
<label for="no-button">Not just now</label><br>
<label for="text-box">Your message:</label><br>
<textarea id="text-box" name="message" placeholder="Type here"></textarea><br>
<label for="file">Want to send us your own pictures or videos?</label><br>
<input id="file" type="file" name="file"><br>
</div>
</div>
<div class="row button text-center">
<div class="col-10 offset-1 col-md-6 offset-md-3 col-lg-4 offset-lg-4">
<button type="submit" class="btn my-btn btn-lg hover">Send message
<i class="fas fa-envelope"></i></button>
</div>
</div>
</form>
</section>
<!-- Successful submission Modal, mostly code from bootstrap -->
<div class="modal" id="sentmodal" role="dialog" tabindex="-1" aria-labelledby="sentmodaltitle"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title text-center" id="sentmodaltitle">Yaay its sent!</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<p>Thank you for contacting us.<br>We'll be in touch.<br>Watch out for those pesky ghosts!<br><i
class="fas fa-ghost" aria-hidden="true"></i></p>
<button type="button" class="btn my-btn" data-dismiss="modal">Close</button>
</div>
</div>
</div>
<!-- Footer -->
<footer>
<div class="row">
<div class="col-10 col-md-8 offset-md-2 footer-social">
<span class="social">Follow us on social media</span>
<div>
<a class="social" target="_blank" href="https://www.facebook.com/" rel="noopener">
<i class="fab fa-facebook" aria-hidden="true"></i>
<span class="sr-only">Link will open Facebook in a new page</span>
</a>
<a class="social" target="_blank" href="https://www.twitter.com" rel="noopener">
<i class="fab fa-twitter" aria-hidden="true"></i>
<span class="sr-only">Link will open Twitter in a new page</span>
</a>
<a class="social" target="_blank" href="https://www.youtube.com" rel="noopener">
<i class="fab fa-youtube" aria-hidden="true"></i>
<span class="sr-only">Link will open Youtube in a new page</span>
</a>
<a class="social" target="_blank" href="https://www.instagram.com" rel="noopener">
<i class="fab fa-instagram" aria-hidden="true"></i>
<span class="sr-only">Link will open Instagram in a new page</span>
</a>
</div>
</div>
<div class="col-2 footer-link">
<a href="contact.html" aria-label="Link back to top of page">Back To Top</a>
</div>
</div>
</footer>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js"
integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF"
crossorigin="anonymous"></script>
<!-- Davide Sanfilippo Codepen for modal to only appear when form submitted correctly -->
<script>$('#contactform').on('submit', function (e) {
$('#sentmodal').modal('show');
e.preventDefault();
});</script>
</body>
</html>