-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
241 lines (234 loc) · 10.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home Smart</title>
</head>
<body class="max-w[2000px] mx-auto
text-neutral-900
dark:text-neutral-200
bg-white
dark:bg-neutral-800
">
<nav class="mx-auto p-4 bg-amber-400">
<div class="container mx-auto flex items-center justify-between">
<a href="/" aria-label="Go to homepage"
class="focus:outline-none focus-visible:ring-4
ring-neutral-900 rounded-sm ring-offset-4
ring-offset-amber-400 lg:absolute
lg:left-1/2
lg:-translate-x-1/2 lg:top-9 z-50
hover:opacity-75 transition-opacity">
<img src="./assets/logo.svg" alt="Home Smart Logo" width="200"
class="w-48 md:w-64 lg:w-72">
</a>
<button id="menu"
class="lg:hidden
focus:outline-none focus-visible:ring-4
ring-neutral-900 rounded-sm ring-offset-4
ring-offset-amber-400
text-neutral-900
hover:text-neutral-600
transition-colors" aria-expanded="false" aria-label="Open Menu">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>
<div role="menubar"
class="hidden flex-col gap-4 absolute z-40
right-0 left-0 top-16
bg-amber-400 shadow-xl text-center text-lg p-6
items-center lg:flex lg:flex-row lg:static lg:shadow-none
lg:justify-between lg:w-full">
<a role="menuitem"
class="py-1 px-6 dark:text-neutral-900
focus:outline-none focus-visible:ring-4
ring-neutral-900 rounded-sm ring-offset-4
ring-offset-amber-400
hover:text-neutral-600
transition-colors" href="/">Home</a>
<a role="menuitem"
class="py-1 px-6 dark:text-neutral-900
focus:outline-none focus-visible:ring-4
ring-neutral-900 rounded-sm ring-offset-4
ring-offset-amber-400
hover:text-neutral-600
transition-colors
lg:mr-auto
" href="/">Contact</a>
<a role="menuitem"
class="py-1 px-6 dark:text-neutral-900
focus:outline-none focus-visible:ring-4
ring-neutral-900 rounded-sm ring-offset-4
ring-offset-amber-400
hover:text-neutral-600
transition-colors" href="/">Login</a>
<a role="menuitem"
class="py-2 px-6 bg-teal-900 text-white
shadow-xl hover:shadow-none transition-shadow
focus:outline-none focus-visible:ring-4
ring-neutral-900 rounded-md ring-offset-4
ring-offset-amber-400" href="/">Sign Up</a>
</div>
</div>
</nav>
<header class="realative pt-16 md:pt-24 lg:pt-48">
<div
class="absolute inset-0 bottom-0
md:bottom-24 xl:bottom-32 -z-10
bg-gradient-to-b from-amber-400 to bg-amber-600">
</div>
<div class="container mx-auto grid grid-rows-1 place-items-end px-2">
<img src="./assets/couch.png" class="row-start-1 row-end-2 col-start-1 col-end-2 mx-auto " alt="Couch">
<img src="./assets/app.svg" class="row-start-1 row-end-2 col-start-1 col-end-2 mx-auto w-40 sm:w-52 md:w-64 lg:w-72" alt="app">
</div>
</header>
<main class="grid gap-12 sm:gap-16 md:gap-24 lg:gap-32 px-8 overflow-hidden">
<a href="#"
class="py-2 px-6 bg-amber-400 dark:text-neutral-900
mx-auto my-12 flex gap-2
shadow-xl hover:shadow-none transition-shadow
focus:outline-none focus-visible:ring-4
ring-neutral-900 rounded-md ring-offset-4
ring-offset-white dark:ring-offset-neutral-800">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm3.293-7.707a1 1 0 011.414 0L9 10.586V3a1 1 0 112 0v7.586l1.293-1.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z" clip-rule="evenodd" />
</svg>
<span>Download the app</span>
</a>
<section aria-labelledby="qualities" class="relative">
<img src="/assets/dots.svg" alt="dots" aria-hidden="true"
class="hidden lg:block absolute top-1/2 -translate-y-1/2 -left-24 xl:-left-7">
<img src="/assets/dots.svg" alt="dots" aria-hidden="true"
class="hidden lg:block absolute top-1/2 -translate-y-1/2 -right-24 xl:-right-7">
<h2 id="qualities" class="sr-only">Our Qualities</h2>
<div class="container mx-auto mx-w-5xl flex gap-12 flex-wrap items-start justify-center md:justify-between">
<div class="grid gap-4 justify-items-center md:flex-1">
<div class="rounded-full border-8 border-amber-400 p-4">
<svg xmlns="http://www.w3.org/2000/svg" class="h-14 w-14" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z" clip-rule="evenodd" />
</svg>
</div>
<h3 class="text-3xl font-bold">Safe</h3>
<p>Our products are secure and private out-of-the-box</p>
</div>
</div>
<div class="container mx-auto mx-w-5xl flex gap-12 flex-wrap items-start justify-center md:justify-between pt-5">
<div class="grid gap-4 justify-items-center md:flex-1">
<div class="rounded-full border-8 border-amber-400 p-4">
<svg xmlns="http://www.w3.org/2000/svg" class="h-14 w-14" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M11.3 1.046A1 1 0 0112 2v5h4a1 1 0 01.82 1.573l-7 10A1 1 0 018 18v-5H4a1 1 0 01-.82-1.573l7-10a1 1 0 011.12-.38z" clip-rule="evenodd" />
</svg>
</div>
<h3 class="text-3xl font-bold">Efficient</h3>
<p>Feel good about yourwallet and the environment</p>
</div>
</div>
<div class="container mx-auto mx-w-5xl flex gap-12 flex-wrap items-start justify-center md:justify-between pt-5">
<div class="grid gap-4 justify-items-center md:flex-1">
<div class="rounded-full border-8 border-amber-400 p-4">
<svg xmlns="http://www.w3.org/2000/svg" class="h-14 w-14" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
</svg>
</div>
<h3 class="text-3xl font-bold">Proven</h3>
<p>Leading the Smart Home world for 10 years</p>
</div>
</div>
</section>
<section aria-labelledby="partners" class="text-center grid gap-8 place-items-center">
<div class="grid gap-4">
<h2 id="partners" class="text-4xl font-bold text-amber-400">Our partners</h2>
<p class="w-full max-w-lg">We've partnered with hundreds of smart home brands to help you create a smart home that fits your needs and doesn't lock you in</p>
</div>
<div class="flex flex-wrap justify-center gap-8 md:gap-x-16 max-w-2xl mx-auto">
<div class="p-4 bg-white dark:bg-neutral-600 shadow-md dark:shadow-xl rounded-md">
<img src="./assets/partner1.svg" class="h-16 w-16">
</div>
<div class="p-4 bg-white dark:bg-neutral-600 shadow-md dark:shadow-xl rounded-md">
<img src="./assets/partner2.svg" class="h-16 w-16">
</div>
<div class="p-4 bg-white dark:bg-neutral-600 shadow-md dark:shadow-xl rounded-md">
<img src="./assets/partner3.svg" class="h-16 w-16">
</div>
<div class="p-4 bg-white dark:bg-neutral-600 shadow-md dark:shadow-xl rounded-md">
<img src="./assets/partner4.svg" class="h-16 w-16">
</div>
<div class="p-4 bg-white dark:bg-neutral-600 shadow-md dark:shadow-xl rounded-md">
<img src="./assets/partner5.svg" class="h-16 w-16">
</div>
<div class="p-4 bg-white dark:bg-neutral-600 shadow-md dark:shadow-xl rounded-md">
<img src="./assets/partner6.svg" class="h-16 w-16">
</div>
<div class="p-4 bg-white dark:bg-neutral-600 shadow-md dark:shadow-xl rounded-md">
<img src="./assets/partner7.svg" class="h-16 w-16">
</div>
</div>
</section>
<section aria-labelledby="home" class="relative">
<div class="flex flex-wrap-reverse gap-8 justify-center">
<div class="flex gap-6 flex-wrap flex-col items-start lg:justify-center">
<div class="flex flex-wrap flex-col items-start gap-2">
<h2 class="text-4xl font-bold">Relax, you’re home!</h2>
<p class="max-w-md">All our supported hardware includes traditional inputs so you can integrate our products into your house in a way that’s
best for everyone.</p>
</div>
<a href="#"
class="
py-2
px-6
bg-amber-400
dark:text-neutral-900
flex
gap-2
shadow-xl
hover:shadow-none
transition-shadow
focus:outline-none
focus-visible:ring-4
ring-neutral-900
rounded-md
ring-offset-4
ring-offset-white
dark:ring-amber-400
dark:ring-offset-neutral-800
">
Sign Up
</a>
</div>
<img src="./assets/table.png" alt="Table">
</div>
<div
class="
absolute
-bottom-6
-right-32
-z-10
aspect-square
md:border-8
border-amber-400
rounded-full
md:w-64
lg:w-96
xl:max-w-lg
"></div>
<div
class="
bg-teal-900
h-24
xl:h-48
-mx-8
mt-12
xl:mt-0
xl:absolute
w-screen
-bottom-8
-z-10
"></div>
</section>
</main>
<script type="module" src="/main.js"></script>
</body>
</html>