-
Notifications
You must be signed in to change notification settings - Fork 123
/
index.html
342 lines (311 loc) · 17.8 KB
/
index.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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!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">
<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-->
<!--Use https://realfavicongenerator.net/ to generate and download your 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/landing-m.webp">
<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/critical.css"> <!-- Only above the fold css-->
<link rel="stylesheet" href="/css/root.css">
<link rel="stylesheet" href="/css/dark.css">
<!--Defer loading the whole page css-->
<link rel="stylesheet" href="/css/local.css" media="print" onload="this.media='all'; this.onload=null;">
<!--If the user has javascript disbaled, load this stylesheet-->
<noscript>
<link rel="stylesheet" href="/css/local.css">
</noscript>
<title>Company Name | What They Do | 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 class="active" 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 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="hero">
<div class="hero-content">
<div class="heroText">
<h1 id="home-h">Main Keywords of What They Do, And Location If Needed</h1>
<p>
Talk about the other services they do with keywords and locations where they serve. Try to make this 2-3 lines tall.
</p>
<a class="button-solid" href="/contact.html" target="_blank" rel="noopener">
Main Call To Action
</a>
</div>
</div>
<picture>
<source media="(max-width: 600px)" srcset="/images/landing-m.webp">
<source media="(min-width: 601px)" srcset="/images/landing.jpg">
<img aria-hidden="true" decoding="async" src="/images/landing.jpg" alt="new home" width="275" height="132">
</picture>
</section>
<!-- ============================================ -->
<!-- Services -->
<!-- ============================================ -->
<section id="services" class="services">
<!-- Get Icons From flaticon.com -->
<div class="card">
<picture>
<img aria-hidden="true" decoding="async" src="/images/service1.svg" alt="appliance" width="48" height="48">
</picture>
<h2>Service 1</h2>
<p>
Talk about the service with keywords people will be searching for it by. Keep it 1-2 sentences.
</p>
</div>
<div class="card">
<picture>
<img aria-hidden="true" decoding="async" src="/images/service2.svg" alt="appliance" width="48" height="48">
</picture>
<h2>Service 2</h2>
<p>
Talk about the service with keywords people will be searching for it by. Keep it 1-2 sentences.
</p>
</div>
<div class="card">
<picture>
<img aria-hidden="true" decoding="async" src="/images/service3.svg" alt="appliance" width="48" height="48">
</picture>
<h2>Service 3</h2>
<p>
Talk about the service with keywords people will be searching for it by. Keep it 1-2 sentences.
</p>
</div>
</section>
<!-- ============================================ -->
<!-- About -->
<!-- ============================================ -->
<section id="sidebyside" class="sidebyside">
<div class="container">
<div class="content">
<h2 class="title">Trusted home builders for (main city) for over 20 years</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quibusdam debitis dolor consectetur dolorem inventore modi tenetur ex odit, amet beatae ad, doloribus tempora quae ab nulla minus temporibus at veritatis!
</p>
<p>
<strong>A list if you need it:</strong>
</p>
<ul>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something, this one is going to two lines so you can see what it looks like</span>
</li>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something</span>
</li>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something</span>
</li>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something</span>
</li>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something</span>
</li>
</ul>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusantium saepe laborum nam consequuntur porro inventore odio? Quod autem alias ratione cum reiciendis qui quaerat, sequi voluptatum voluptatibus, iusto itaque sed ullam. Quis, maiores corrupti. Rerum quo laudantium vero magnam tempora!
</p>
<a class="button-solid" href="/about.html">More About Us</a>
</div>
<picture class="image-box">
<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="cabinets" width="400" height="662">
</picture>
</div>
</section>
<!-- ============================================ -->
<!-- Extra Content For Ranking -->
<!-- ============================================ -->
<section id="sidebyside-reverse">
<div class="container">
<div class="content">
<h2 class="title">Extra content, maybe talk about a main service</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quibusdam debitis dolor consectetur dolorem inventore modi tenetur ex odit, amet beatae ad, doloribus tempora quae ab nulla minus temporibus at veritatis!
</p>
<p>
<strong>A list if you need it:</strong>
</p>
<ul>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something</span>
</li>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something</span>
</li>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something</span>
</li>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something</span>
</li>
<li>
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/check.svg" alt="check mark" width="20" height="20">
<span>List item about something</span>
</li>
</ul>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusantium saepe laborum nam consequuntur porro inventore odio? Quod autem alias ratione cum reiciendis qui quaerat, sequi voluptatum voluptatibus, iusto itaque sed ullam. Quis, maiores corrupti. Rerum quo laudantium vero magnam tempora!
</p>
<a class="button-solid" href="/contact.html">Get Free Quote</a>
</div>
<picture class="image-box">
<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="cabinets" width="400" height="662">
</picture>
</div>
</section>
<!-- ============================================ -->
<!-- Final Call to Action -->
<!-- ============================================ -->
<section id="cta">
<div class="container">
<h2 class="title">Get It Done <br> With Us Today</h2>
<p>
Say something catchy, informative, and encouraging to click the button to go to the contact page. I like to add these to the bottom of all pages.
</p>
<a href="/contact.html" class="button-solid">Get an Estimate Now</a>
</div>
<picture>
<source media="(max-width: 600px)" srcset="/images/cabinets2-m.webp">
<source media="(min-width: 601px)" srcset="/images/cabinets2.jpg">
<img aria-hidden="true" loading="lazy" decoding="async" src="/images/cabinets2.jpg" alt="kitchen cabinets" width="1920" height="1280">
</picture>
</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@email.com">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>