blob: d1dac41f87e634bad800fc1931170f2de4da3a0b (
plain)
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
|
<!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="Luxury Detailing Maine provides mobile professional car cleaning services in the Portland Area"
/>
<title>Luxury Detailing Maine</title>
<link href="css/style.css" rel="stylesheet" />
<link href="css/dropdown.css" rel="stylesheet" />
<link href="css/hamburger.css" rel="stylesheet" />
<style>
html { scroll-behavior: smooth; }
main {
gap: 12rem;
}
/** landings are used to jump slightly above categories */
.landing { top: -5rem; position: relative; }
#categoryLinks {
display: flex;
justify-content: space-evenly;
align-items: center;
gap: 2rem;
margin-top: 2rem;
}
#categoryContainer {
width: 90%;
height: 100%;
}
.serviceContainer {
display: flex;
align-items: center;
justify-content: space-evenly;
margin: 3rem 0;
}
#tableOfContents {
width: 90%;
margin-top: 35vh;
margin-bottom: 25vh;
}
/** Service Card */
.card {
padding: 3rem;
border: 2px solid var(--gold);
border-radius: 1rem;
transition: 0.5s ease;
color: white;
width: 30%;
}
.card:hover {
border: 2px solid white;
}
.card-body {
display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
text-align: left;
}
.card-body span {
display: flex;
flex-direction: column;
align-self: stretch;
width: 50%;
}
.card-body span h3 {
text-align: center;
}
/** Booking Button */
.book-button {
background-color: var(--black);
color: var(--gold);
width: 50%;
height: 4rem;
border: 1px solid white;
border-radius: 5rem;
padding: .5rem 1rem;
font-size: 1rem;
font-weight: bold;
text-decoration: none;
transition: 0.5s ease;
}
.book-button:hover {
cursor: pointer;
box-shadow: 0px 0px 15px var(--gold);
}
.book-button:active {
background-color: var(--gold);
}
.book-link {
user-select: none;
}
/** mobile rules */
/** MOBILE */
@media screen and (max-width: 850px) {
section {
width: 100%;
}
h1 {
font-size: 1.75rem;
}
h2 {
font-size: 1.5rem;
}
}
</style>
</head>
<body>
<a href="#main-content" class="skipLink">Skip to main content</a>
<header>
<div class="banner" role="banner">
<a href="index.html" class="logo" aria-label="Company Logo">LUXURY DETAILING</a>
<button
id="hamburger"
aria-label="Toggle mobile navigation menu"
aria-expanded="false"
>
<span></span>
<span></span>
<span></span>
</button>
<nav>
<a class="navLink" role="navigation" href="ceramic-coating.html">Ceramic Coating</a>
<a class="navLink" role="navigation" href="services.html">Services</a>
<a class="navLink" role="navigation" href="reviews.html">Reviews</a>
<a class="navLink" role="navigation" href="contact.html">About</a>
</nav>
</div>
</header>
<main id="main-content">
<div id="tableOfContents">
<h1>Our Services</h1>
<div id="categoryLinks">
<h2><a href="#packagesJump">Service Packages</a></h2>
<h2><a href="#ceramicJump">Ceramic Coating</a></h2>
<h2><a href="#paintJump">Polish & Paint Correction</a></h2>
<h2><a href="#exteriorJump">Exterior Detailing</a></h2>
<h2><a href="#interiorJump">Interior Detailing</a></h2>
</div>
</div>
<div id="categoryContainer">
<span id="packagesJump" class="landing"></span>
<h1>Service Packages</h1>
<div id="packages" class="serviceContainer">
</div>
<span id="ceramicJump" class="landing"></span>
<h1>Ceramic Coating</h1>
<div id="ceramic" class="serviceContainer">
</div>
<span id="paintJump" class="landing"></span>
<h1>Paint & Polish Correction</h1>
<div id="paint" class="serviceContainer">
</div>
<span id="exteriorJump" class="landing"></span>
<h1>Exterior Detailing</h1>
<div id="exterior" class="serviceContainer">
</div>
<span id="interiorJump" class="landing"></span>
<h1>Interior Detailing</h1>
<div id="interior" class="serviceContainer">
</div>
</div>
</main>
<footer>
<div id="footer-left">
©Luxury Detailing Maine 2025<br />
All rights reserved<br />
Portland, ME
</div>
<div id="footer-right">
207-807-6770<br />
example@email.com<br />
<a
href="https://www.instagram.com/luxurydetailingmaine/"
target="_blank"
>@luxurydetailingmaine</a
>
</div>
</footer>
<script src="js/hamburger.js"></script>
<script>
// these categories must match the IDs of the serviceContainer <div>s above
const categories = ["packages", "ceramic", "paint", "exterior", "interior"];
const serviceData = {};
function insertServices(serviceData) {
for (const category of categories) {
console.log(category);
let target = document.getElementById(category);
target.insertAdjacentHTML(
"beforeend",
`
<div class="card" >
<div class="card-head">
<h2>Service Package One</h2>
</div>
<div class="card-body">
<span>
<h3>Interior</h3>
<ul>
<li>Vacuum & light carpet shampooing</li>
<li>Plastics, leather, and vinyls cleaning</li>
<li>Light seat shampooing</li>
<li>Interior & exterior window cleaning</li>
<li>Crack & crevice cleaning</li>
</ul>
</span>
<span>
<h3>Exterior</h3>
<ul>
<li>Hand wash & dry</li>
<li>Bug gut removal</li>
<li>Tire, wheel, and wheel well cleaning + tire shine</li>
<li>Window cleaning</li>
<li>Light door jam cleaning</li>
</ul>
</span>
</div>
</div>
`);
}
}
// insert services upon page load
window.onload = (event) => {
insertServices(serviceData);
}
</script>
</body>
</html>
|