-
Notifications
You must be signed in to change notification settings - Fork 123
/
contact.html
240 lines (213 loc) · 12 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Swap our for actual link-->
<link rel="canonical" href="https://www.company.com/contact">
<meta name="description" content="">
<meta name="keywords" content="">
<!--Social Media Display-->
<meta property="og:title" content=""/>
<meta property="og:description" content=""/>
<meta property="og:type" content="website" />
<meta property="og:url" content=""/>
<meta property="og:image" content="/images/social.jpg"/>
<meta property="og:image:secure_url" content="/images/social.jpg"/>
<!--Favicons-->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v1">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- Preload -->
<link rel="preload" as="image" href="/images/cabinets2-m.jpg">
<link rel="preload" as="font" type="font/woff2" href="fonts/roboto-v29-latin-regular.woff2" crossorigin>
<link rel="preload" as="font" type="font/woff2" href="fonts/roboto-v29-latin-700.woff2" crossorigin>
<link rel="stylesheet" href="/css/root.css">
<link rel="stylesheet" href="/css/contact.css">
<link rel="stylesheet" href="/css/dark.css">
<!--Put analytics tag here at the bottom to prevent it from render blocking-->
<title>Company Name | Contact Us | Town and State</title>
</head>
<body>
<!--Screen reader skip main nav-->
<a class="skip" aria-label="skip to main content" href="#main">Click To Skip To Main Content</a>
<!-- ============================================ -->
<!-- Navigation -->
<!-- ============================================ -->
<div id="navigation">
<div aria-hidden="true" class="background-color-div">
<!--This div is used to overcome a z-index issue where the open
#navbar-menu is on top of the #navigation. This bar places itself
the #navbar-menu so that menu appears behind the #navigation
-->
</div>
<div class="container">
<!--Logo - Get SVGs if you can. I use fiverr to get png's turned into SVGs. Highly recommend it, worth the $20 - get a light and dark version-->
<a class="logo" aria-label="click to go to home page" href="/index.html">
<!--Light Colored Logo, remove .dark image tag and the .light class if you don't have a dark and light version -->
<img class="light" aria-hidden="true" src="/images/logo-light.png" decoding="async" alt="logo" width="221" height="66">
<!--Dark Colored Logo-->
<img class="dark" aria-hidden="true" src="/images/logo-blue.png" decoding="async" loading="lazy" alt="logo" width="221" height="66">
</a>
<!--Main Nav-->
<nav id="navbar-menu">
<ul>
<li><a href="/index.html">Home</a></li>
<li><a href="/about.html">About Us</a></li>
<li><a href="/projects.html">Projects</a></li>
<li><a href="/reviews.html">Reviews</a></li>
<li><a class="active" href="/contact.html">Contact</a></li>
</ul>
</nav>
<!--Dark Mode toggle-->
<button id="dark-mode-toggle">
<!--Moon is an inline SVG so you can edit the color if needed-->
<svg class="moon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 480 480" style="enable-background:new 0 0 480 480" xml:space="preserve"><path d="M459.782 347.328c-4.288-5.28-11.488-7.232-17.824-4.96-17.76 6.368-37.024 9.632-57.312 9.632-97.056 0-176-78.976-176-176 0-58.4 28.832-112.768 77.12-145.472 5.472-3.712 8.096-10.4 6.624-16.832S285.638 2.4 279.078 1.44C271.59.352 264.134 0 256.646 0c-132.352 0-240 107.648-240 240s107.648 240 240 240c84 0 160.416-42.688 204.352-114.176 3.552-5.792 3.04-13.184-1.216-18.496z"/></svg>
<img class="sun" aria-hidden="true" src="/images/sun.svg" decoding="async" alt="moon" width="15" height="15">
</button>
<!--Mobile Nav toggle-->
<button class="hamburger-menu">
<span aria-hidden="true"></span>
</button>
</div>
</div>
<main id="main">
<!-- ============================================ -->
<!-- LANDING -->
<!-- ============================================ -->
<section id="int-hero">
<h1 id="home-h">Contact Us</h1>
<picture>
<source media="(max-width: 600px)" srcset="/images/cabinets2-m.jpg">
<source media="(min-width: 601px)" srcset="/images/cabinets2.jpg">
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/cabinets2.jpg" alt="" width="400" height="662">
</picture>
</section>
<!-- ============================================ -->
<!-- FORM -->
<!-- ============================================ -->
<section id="form">
<div class="left-section">
<h2 class="title">Send a Message</h2>
<p>If you have any questions or concerns please feel free to reach out to us. We respond to every call and email.</p>
<form id="contact" name="Contact Form2" method="post" data-netlify="true">
<div class="input-group">
<label for="name">Full Name</label>
<input id="name" aria-label="name" class="input1" name="name" placeholder="Full Name" type="text" tabindex="1" required>
<div aria-hidden="true" class="hover-box"></div>
</div>
<div class="input-group">
<label for="email">Email</label>
<input id="email" aria-label="email" class="input1 right" name="email" placeholder="Email Address" type="email" tabindex="2" required>
<div aria-hidden="true" class="hover-box"></div>
</div>
<div class="input-group">
<label for="phone">Phone</label>
<input id="phone" aria-label="phone number" class="input1" name="phone" placeholder="Phone Number" type="tel" tabindex="3" required>
<div aria-hidden="true" class="hover-box"></div>
</div>
<div class="input-group">
<label for="location">Location</label>
<input id="location" aria-label="location" class="input1 right" name="location" placeholder="Your Location" type="text" tabindex="4" required>
<div aria-hidden="true" class="hover-box"></div>
</div>
<div class="input-group">
<label for="how">How did you hear about us</label>
<input id="how" aria-label="how did you hear about us" name="hear" placeholder="How Did You Hear About Us" type="text" tabindex="5" required>
<div aria-hidden="true" class="hover-box"></div>
</div>
<div class="input-group textarea">
<label for="message">Message</label>
<textarea id="message" aria-label="write your message" name="message" placeholder="Tell us about what you need help with" tabindex="6" required></textarea>
<div aria-hidden="true" class="hover-box"></div>
</div>
<p class="form-submit">
<button name="submit" type="submit" id="contact-submit" class="button-solid" data-submit="...Sending">Submit</button>
</p>
</form>
</div>
<div class="contact-right">
<div class="info-group">
<span class="heading">Location</span>
<span class="info">Denver, CO</span>
</div>
<div class="info-group">
<span class="heading">Phone</span>
<a class="info" href="tel:555-779-4407">(555) 779-4407</a>
</div>
<div class="info-group">
<span class="heading">Email</span>
<a class="info" href="mailto:[email protected]">Click to Email</a>
</div>
<div class="info-group">
<span class="heading">Hours</span>
<span class="info last">Mon to Fri: 8am to 6pm</span>
</div>
</div>
</section>
</main>
<!-- ============================================ -->
<!-- Footer -->
<!-- ============================================ -->
<footer id="footer">
<div class="container">
<div class="left-section">
<a class="logo" href="/index.html"><img loading="lazy" decoding="async" src="/images/logo-light.png" alt="logo" width="264" height="78"></a>
<p>
Extra content if you need it, if not you can delete this whole p tag. I usually do.
</p>
</div>
<div class="right-section">
<div class="lists">
<ul>
<li><h2>Information</h2></li>
<li><a href="/index.html">Home</a></li>
<li><a href="/about.html">About Us</a></li>
<li><a href="/projects.html">Projects</a></li>
<li><a href="/testimonials.html">Reviews</a></li>
<li><a href="/contact.html">Contact</a></li>
</ul>
<ul>
<li><h2>Services</h2></li>
<li>Service1</li>
<li>Service2</li>
<li>Service4</li>
<li>Service5</li>
</ul>
<ul>
<li><h2>Contact</h2></li>
<li><a href="/contact.html">First Address Line<br>Denver CO 80206</a></li>
<li><a href="tel:555-779-4407">T: (555) 779-4407</a></li>
<li><a href="mailto:[email protected]">Click to Email</a></li>
</ul>
</div>
</div>
</div>
<div class="credit">
<span>Designed and Hand Coded by</span>
<a href="" target="_blank" rel="noopener">Your Company Name</a>
<span class="copyright"> Copyright 2021 - Present</span></div>
</footer>
<script defer src="/nav.js"></script>
<script defer src="/dark.js"></script>
<!--
This script adds a class to the body after scrolling 100px
and we used these body.scroll styles to create some on scroll
animations with the navbar
-->
<script defer>
document.addEventListener('scroll', (e) => {
const scroll = document.documentElement.scrollTop;
if(scroll >= 100){
document.querySelector('body').classList.add('scroll')
} else {
document.querySelector('body').classList.remove('scroll')
}
});
</script>
</body>
</html>