-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
454 lines (399 loc) · 13.5 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
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GardenVision | 3D Garden Planner</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', system-ui, sans-serif;
}
:root {
--primary: #2ecc71;
--primary-dark: #27ae60;
--text-dark: #2c3e50;
--text-light: #34495e;
--background: #f8fafc;
}
body {
background: var(--background);
min-height: 100vh;
overflow-x: hidden;
}
.nav {
padding: 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
z-index: 1000;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.logo {
font-size: 1.5rem;
font-weight: 700;
color: var(--text-dark);
display: flex;
align-items: center;
gap: 0.5rem;
}
.logo i {
color: var(--primary);
}
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 6rem 2rem 2rem;
position: relative;
background: linear-gradient(135deg, #e0f4ff 0%, #ffffff 100%);
}
.content {
max-width: 600px;
z-index: 1;
padding: 2rem;
}
h1 {
font-size: 3.5rem;
color: var(--text-dark);
margin-bottom: 1.5rem;
line-height: 1.2;
}
.hero p {
font-size: 1.25rem;
color: var(--text-light);
margin-bottom: 2rem;
line-height: 1.6;
}
.cta-button {
display: inline-block;
padding: 1rem 2rem;
font-size: 1.25rem;
background: var(--primary);
color: white;
text-decoration: none;
border-radius: 8px;
transition: all 0.3s ease;
font-weight: 600;
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}
.features {
padding: 6rem 2rem;
background: white;
}
.section-title {
text-align: center;
font-size: 2.5rem;
color: var(--text-dark);
margin-bottom: 3rem;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
.feature-card {
background: white;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-icon {
font-size: 2.5rem;
color: var(--primary);
margin-bottom: 1rem;
}
.feature-title {
font-size: 1.5rem;
color: var(--text-dark);
margin-bottom: 1rem;
}
.feature-description {
color: var(--text-light);
line-height: 1.6;
}
.news {
padding: 6rem 2rem;
background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}
.news-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
.news-card {
background: white;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.news-card:hover {
transform: translateY(-5px);
}
.news-image {
width: 100%;
height: 200px;
background: var(--primary);
position: relative;
overflow: hidden;
}
.news-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.news-content {
padding: 1.5rem;
}
.news-date {
color: var(--primary);
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
.news-title {
font-size: 1.25rem;
color: var(--text-dark);
margin-bottom: 1rem;
}
.news-excerpt {
color: var(--text-light);
line-height: 1.6;
margin-bottom: 1rem;
}
.read-more {
color: var(--primary);
text-decoration: none;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.read-more:hover {
color: var(--primary-dark);
}
footer {
background: var(--text-dark);
color: white;
padding: 4rem 2rem;
text-align: center;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
}
.social-links {
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 2rem;
}
.social-link {
color: white;
font-size: 1.5rem;
transition: transform 0.3s ease;
}
.social-link:hover {
transform: translateY(-3px);
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
.scroll-to-top {
position: fixed;
bottom: 2rem;
right: 2rem;
background: var(--primary);
color: white;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
opacity: 0;
transition: all 0.3s ease;
z-index: 1000;
}
.scroll-to-top.visible {
opacity: 1;
}
@media (max-width: 768px) {
h1 {
font-size: 2.5rem;
}
.content {
text-align: center;
padding: 1rem;
}
.features, .news {
padding: 4rem 1rem;
}
.section-title {
font-size: 2rem;
}
}
</style>
</head>
<body>
<nav class="nav">
<div class="logo">
<i class="fas fa-leaf"></i>
GardenVision
</div>
</nav>
<main>
<section class="hero">
<div class="content">
<h1>Design Your Dream Garden in 3D</h1>
<p>Transform your outdoor space with our intuitive 3D garden planner. Visualize, arrange, and perfect your garden design before bringing it to life.</p>
<a href="3d-view/gpt-planner.html" class="cta-button">Start Planning <i class="fas fa-arrow-right"></i></a>
</div>
</section>
<section class="features">
<h2 class="section-title">Powerful Features</h2>
<div class="features-grid">
<div class="feature-card">
<i class="fas fa-cube feature-icon"></i>
<h3 class="feature-title">3D Visualization</h3>
<p class="feature-description">See your garden come to life with 3D rendering and real-time preview of your designs.</p>
</div>
<div class="feature-card">
<i class="fas fa-seedling feature-icon"></i>
<h3 class="feature-title">Plant Library</h3>
<p class="feature-description">Access a variety of plants with detailed information about growth requirements and maintenance.</p>
</div>
<div class="feature-card">
<i class="fas fa-cloud-sun feature-icon"></i>
<h3 class="feature-title">AI Analysis</h3>
<p class="feature-description">Get a personalised analysis of your creation by a state of the art AI.</p>
</div>
</div>
</section>
<section class="news">
<h2 class="section-title">Latest Updates</h2>
<div class="news-grid">
<div class="news-card">
<div class="news-image">
<img src="/api/placeholder/400/320" alt="New Features Release">
</div>
<div class="news-content">
<div class="news-date">November 14, 2024</div>
<h3 class="news-title">New Features Release</h3>
<p class="news-excerpt">Explore our latest update with enhanced 3D rendering and new plant varieties.</p>
<a href="#" class="read-more">Read More <i class="fas fa-arrow-right"></i></a>
</div>
</div>
<div class="news-card">
<div class="news-image">
<img src="/api/placeholder/400/320" alt="Community Showcase">
</div>
<div class="news-content">
<div class="news-date">November 12, 2024</div>
<h3 class="news-title">Community Showcase</h3>
<p class="news-excerpt">Check out amazing garden designs created by our community members.</p>
<a href="#" class="read-more">Read More <i class="fas fa-arrow-right"></i></a>
</div>
</div>
<div class="news-card">
<div class="news-image">
<img src="/api/placeholder/400/320" alt="Seasonal Tips">
</div>
<div class="news-content">
<div class="news-date">November 10, 2024</div>
<h3 class="news-title">Winter Planning Guide</h3>
<p class="news-excerpt">Get ready for spring with our comprehensive winter planning guide.</p>
<a href="#" class="read-more">Read More <i class="fas fa-arrow-right"></i></a>
</div>
</div>
</div>
</section>
<footer>
<div class="footer-content">
<div class="logo">
<i class="fas fa-leaf"></i>
<span style="color:white;">GardenVision</span>
</div>
<div class="social-links">
<a href="#" class="social-link"><i class="fab fa-twitter"></i></a>
<a href="#" class="social-link"><i class="fab fa-facebook"></i></a>
<a href="#" class="social-link"><i class="fab fa-instagram"></i></a>
<a href="#" class="social-link"><i class="fab fa-youtube"></i></a>
</div>
</div>
</footer>
<div class="scroll-to-top">
<i class="fas fa-arrow-up"></i>
</div>
</main>
<script>
// Smooth scroll to top
const scrollToTop = document.querySelector('.scroll-to-top');
window.addEventListener('scroll', () => {
if (window.pageYOffset > 100) {
scrollToTop.classList.add('visible');
} else {
scrollToTop.classList.remove('visible');
}
});
scrollToTop.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Smooth scroll for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Animate cards on scroll
const cards = document.querySelectorAll('.feature-card, .news-card');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = 1;
entry.target.style.transform = 'translateY(0)';
}
});
}, {
threshold: 0.1
});
cards.forEach(card => {
card.style.opacity = 0;
card.style.transform = 'translateY(20px)';
card.style.transition = 'all 0.6s ease';
observer.observe(card);
});
</script>
</body>
</html>