Spaces:
Running
Running
make it look 90% as this web page: https://leaflife.framer.website/
Browse files- README.md +7 -4
- components/footer.js +126 -0
- components/navbar.js +99 -0
- index.html +143 -19
- script.js +28 -0
- style.css +35 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Leafy Vibes Oasis
|
| 3 |
-
|
| 4 |
-
colorFrom: pink
|
| 5 |
colorTo: pink
|
|
|
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Leafy Vibes Oasis 🌿
|
| 3 |
+
colorFrom: green
|
|
|
|
| 4 |
colorTo: pink
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/footer.js
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
background-color: #166534;
|
| 9 |
+
color: white;
|
| 10 |
+
padding: 4rem 2rem;
|
| 11 |
+
}
|
| 12 |
+
.footer-container {
|
| 13 |
+
max-width: 1200px;
|
| 14 |
+
margin: 0 auto;
|
| 15 |
+
display: grid;
|
| 16 |
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
| 17 |
+
gap: 2rem;
|
| 18 |
+
}
|
| 19 |
+
.footer-logo {
|
| 20 |
+
font-size: 1.5rem;
|
| 21 |
+
font-weight: 700;
|
| 22 |
+
margin-bottom: 1rem;
|
| 23 |
+
display: flex;
|
| 24 |
+
align-items: center;
|
| 25 |
+
}
|
| 26 |
+
.footer-logo i {
|
| 27 |
+
margin-right: 0.5rem;
|
| 28 |
+
}
|
| 29 |
+
.footer-description {
|
| 30 |
+
margin-bottom: 1.5rem;
|
| 31 |
+
opacity: 0.8;
|
| 32 |
+
}
|
| 33 |
+
.social-links {
|
| 34 |
+
display: flex;
|
| 35 |
+
gap: 1rem;
|
| 36 |
+
}
|
| 37 |
+
.social-links a {
|
| 38 |
+
color: white;
|
| 39 |
+
opacity: 0.7;
|
| 40 |
+
transition: opacity 0.3s;
|
| 41 |
+
}
|
| 42 |
+
.social-links a:hover {
|
| 43 |
+
opacity: 1;
|
| 44 |
+
}
|
| 45 |
+
.footer-heading {
|
| 46 |
+
font-weight: 600;
|
| 47 |
+
margin-bottom: 1.5rem;
|
| 48 |
+
font-size: 1.1rem;
|
| 49 |
+
}
|
| 50 |
+
.footer-links {
|
| 51 |
+
display: flex;
|
| 52 |
+
flex-direction: column;
|
| 53 |
+
gap: 0.75rem;
|
| 54 |
+
}
|
| 55 |
+
.footer-links a {
|
| 56 |
+
color: white;
|
| 57 |
+
opacity: 0.7;
|
| 58 |
+
text-decoration: none;
|
| 59 |
+
transition: opacity 0.3s;
|
| 60 |
+
}
|
| 61 |
+
.footer-links a:hover {
|
| 62 |
+
opacity: 1;
|
| 63 |
+
}
|
| 64 |
+
.copyright {
|
| 65 |
+
margin-top: 3rem;
|
| 66 |
+
text-align: center;
|
| 67 |
+
opacity: 0.6;
|
| 68 |
+
font-size: 0.9rem;
|
| 69 |
+
}
|
| 70 |
+
@media (max-width: 768px) {
|
| 71 |
+
.footer-container {
|
| 72 |
+
grid-template-columns: 1fr;
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
</style>
|
| 76 |
+
<div class="footer-container">
|
| 77 |
+
<div class="footer-about">
|
| 78 |
+
<div class="footer-logo">
|
| 79 |
+
<i data-feather="leaf"></i>
|
| 80 |
+
Leafy Vibes
|
| 81 |
+
</div>
|
| 82 |
+
<p class="footer-description">
|
| 83 |
+
Bringing nature into your digital life through mindful design and sustainable technology.
|
| 84 |
+
</p>
|
| 85 |
+
<div class="social-links">
|
| 86 |
+
<a href="#"><i data-feather="twitter"></i></a>
|
| 87 |
+
<a href="#"><i data-feather="instagram"></i></a>
|
| 88 |
+
<a href="#"><i data-feather="facebook"></i></a>
|
| 89 |
+
<a href="#"><i data-feather="linkedin"></i></a>
|
| 90 |
+
</div>
|
| 91 |
+
</div>
|
| 92 |
+
<div class="footer-links-section">
|
| 93 |
+
<h3 class="footer-heading">Quick Links</h3>
|
| 94 |
+
<div class="footer-links">
|
| 95 |
+
<a href="#">Home</a>
|
| 96 |
+
<a href="#">Features</a>
|
| 97 |
+
<a href="#">Gallery</a>
|
| 98 |
+
<a href="#">Testimonials</a>
|
| 99 |
+
</div>
|
| 100 |
+
</div>
|
| 101 |
+
<div class="footer-links-section">
|
| 102 |
+
<h3 class="footer-heading">Resources</h3>
|
| 103 |
+
<div class="footer-links">
|
| 104 |
+
<a href="#">Blog</a>
|
| 105 |
+
<a href="#">Guides</a>
|
| 106 |
+
<a href="#">FAQ</a>
|
| 107 |
+
<a href="#">Support</a>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
<div class="footer-links-section">
|
| 111 |
+
<h3 class="footer-heading">Legal</h3>
|
| 112 |
+
<div class="footer-links">
|
| 113 |
+
<a href="#">Privacy Policy</a>
|
| 114 |
+
<a href="#">Terms of Service</a>
|
| 115 |
+
<a href="#">Cookie Policy</a>
|
| 116 |
+
</div>
|
| 117 |
+
</div>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="copyright">
|
| 120 |
+
© ${new Date().getFullYear()} Leafy Vibes Oasis. All rights reserved.
|
| 121 |
+
</div>
|
| 122 |
+
`;
|
| 123 |
+
}
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
width: 100%;
|
| 9 |
+
position: fixed;
|
| 10 |
+
top: 0;
|
| 11 |
+
left: 0;
|
| 12 |
+
z-index: 1000;
|
| 13 |
+
background-color: rgba(255, 255, 255, 0.95);
|
| 14 |
+
backdrop-filter: blur(10px);
|
| 15 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
|
| 16 |
+
}
|
| 17 |
+
nav {
|
| 18 |
+
max-width: 1200px;
|
| 19 |
+
margin: 0 auto;
|
| 20 |
+
padding: 1.5rem 2rem;
|
| 21 |
+
display: flex;
|
| 22 |
+
justify-content: space-between;
|
| 23 |
+
align-items: center;
|
| 24 |
+
}
|
| 25 |
+
.logo {
|
| 26 |
+
font-size: 1.5rem;
|
| 27 |
+
font-weight: 700;
|
| 28 |
+
color: #166534;
|
| 29 |
+
text-decoration: none;
|
| 30 |
+
display: flex;
|
| 31 |
+
align-items: center;
|
| 32 |
+
}
|
| 33 |
+
.logo i {
|
| 34 |
+
margin-right: 0.5rem;
|
| 35 |
+
}
|
| 36 |
+
.nav-links {
|
| 37 |
+
display: flex;
|
| 38 |
+
gap: 2rem;
|
| 39 |
+
}
|
| 40 |
+
.nav-links a {
|
| 41 |
+
color: #365314;
|
| 42 |
+
text-decoration: none;
|
| 43 |
+
font-weight: 500;
|
| 44 |
+
transition: color 0.3s;
|
| 45 |
+
position: relative;
|
| 46 |
+
}
|
| 47 |
+
.nav-links a:hover {
|
| 48 |
+
color: #166534;
|
| 49 |
+
}
|
| 50 |
+
.nav-links a::after {
|
| 51 |
+
content: '';
|
| 52 |
+
position: absolute;
|
| 53 |
+
width: 0;
|
| 54 |
+
height: 2px;
|
| 55 |
+
bottom: -4px;
|
| 56 |
+
left: 0;
|
| 57 |
+
background-color: #166534;
|
| 58 |
+
transition: width 0.3s;
|
| 59 |
+
}
|
| 60 |
+
.nav-links a:hover::after {
|
| 61 |
+
width: 100%;
|
| 62 |
+
}
|
| 63 |
+
.mobile-menu-btn {
|
| 64 |
+
display: none;
|
| 65 |
+
background: none;
|
| 66 |
+
border: none;
|
| 67 |
+
color: #166534;
|
| 68 |
+
font-size: 1.5rem;
|
| 69 |
+
cursor: pointer;
|
| 70 |
+
}
|
| 71 |
+
@media (max-width: 768px) {
|
| 72 |
+
.nav-links {
|
| 73 |
+
display: none;
|
| 74 |
+
}
|
| 75 |
+
.mobile-menu-btn {
|
| 76 |
+
display: block;
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
</style>
|
| 80 |
+
<nav>
|
| 81 |
+
<a href="/" class="logo">
|
| 82 |
+
<i data-feather="leaf"></i>
|
| 83 |
+
Leafy Vibes
|
| 84 |
+
</a>
|
| 85 |
+
<div class="nav-links">
|
| 86 |
+
<a href="#features">Features</a>
|
| 87 |
+
<a href="#gallery">Gallery</a>
|
| 88 |
+
<a href="#testimonials">Testimonials</a>
|
| 89 |
+
<a href="#contact">Contact</a>
|
| 90 |
+
</div>
|
| 91 |
+
<button class="mobile-menu-btn">
|
| 92 |
+
<i data-feather="menu"></i>
|
| 93 |
+
</button>
|
| 94 |
+
</nav>
|
| 95 |
+
`;
|
| 96 |
+
}
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,143 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Leafy Vibes Oasis</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="components/navbar.js"></script>
|
| 12 |
+
<script src="components/footer.js"></script>
|
| 13 |
+
</head>
|
| 14 |
+
<body class="bg-white text-gray-900 font-sans">
|
| 15 |
+
<custom-navbar></custom-navbar>
|
| 16 |
+
|
| 17 |
+
<main>
|
| 18 |
+
<!-- Hero Section -->
|
| 19 |
+
<section class="relative h-screen flex items-center justify-center overflow-hidden">
|
| 20 |
+
<div class="absolute inset-0 bg-gradient-to-b from-green-50 to-white z-0"></div>
|
| 21 |
+
<div class="container mx-auto px-6 z-10">
|
| 22 |
+
<div class="flex flex-col md:flex-row items-center">
|
| 23 |
+
<div class="md:w-1/2 mb-10 md:mb-0">
|
| 24 |
+
<h1 class="text-5xl md:text-7xl font-bold mb-6 text-green-900 leading-tight">Bring nature into your digital life</h1>
|
| 25 |
+
<p class="text-xl text-gray-700 mb-8 max-w-lg">A collection of plant-inspired digital experiences to help you stay grounded in the modern world.</p>
|
| 26 |
+
<div class="flex space-x-4">
|
| 27 |
+
<a href="#" class="px-8 py-4 bg-green-600 text-white rounded-full font-medium hover:bg-green-700 transition duration-300">Explore</a>
|
| 28 |
+
<a href="#" class="px-8 py-4 border-2 border-green-600 text-green-600 rounded-full font-medium hover:bg-green-50 transition duration-300">Learn more</a>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
<div class="md:w-1/2 relative">
|
| 32 |
+
<img src="http://static.photos/nature/640x360/42" alt="Leafy plant" class="rounded-3xl shadow-2xl w-full max-w-lg mx-auto">
|
| 33 |
+
<div class="absolute -bottom-10 -left-10 w-32 h-32 bg-green-100 rounded-full z-0"></div>
|
| 34 |
+
<div class="absolute -top-10 -right-10 w-24 h-24 bg-green-200 rounded-full z-0"></div>
|
| 35 |
+
</div>
|
| 36 |
+
</div>
|
| 37 |
+
</div>
|
| 38 |
+
</section>
|
| 39 |
+
|
| 40 |
+
<!-- Features Section -->
|
| 41 |
+
<section class="py-20 bg-white">
|
| 42 |
+
<div class="container mx-auto px-6">
|
| 43 |
+
<h2 class="text-3xl md:text-4xl font-bold text-center mb-16 text-green-900">What we offer</h2>
|
| 44 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-10">
|
| 45 |
+
<div class="bg-green-50 p-8 rounded-3xl hover:shadow-lg transition duration-300">
|
| 46 |
+
<div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-6">
|
| 47 |
+
<i data-feather="leaf" class="text-green-600 w-8 h-8"></i>
|
| 48 |
+
</div>
|
| 49 |
+
<h3 class="text-xl font-bold mb-4 text-green-900">Digital Wellness</h3>
|
| 50 |
+
<p class="text-gray-700">Tools to help you maintain balance between technology and nature.</p>
|
| 51 |
+
</div>
|
| 52 |
+
<div class="bg-green-50 p-8 rounded-3xl hover:shadow-lg transition duration-300">
|
| 53 |
+
<div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-6">
|
| 54 |
+
<i data-feather="droplet" class="text-green-600 w-8 h-8"></i>
|
| 55 |
+
</div>
|
| 56 |
+
<h3 class="text-xl font-bold mb-4 text-green-900">Mindful Design</h3>
|
| 57 |
+
<p class="text-gray-700">Interfaces that promote calm and focus through natural aesthetics.</p>
|
| 58 |
+
</div>
|
| 59 |
+
<div class="bg-green-50 p-8 rounded-3xl hover:shadow-lg transition duration-300">
|
| 60 |
+
<div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-6">
|
| 61 |
+
<i data-feather="sun" class="text-green-600 w-8 h-8"></i>
|
| 62 |
+
</div>
|
| 63 |
+
<h3 class="text-xl font-bold mb-4 text-green-900">Sustainable Tech</h3>
|
| 64 |
+
<p class="text-gray-700">Solutions that consider environmental impact and digital minimalism.</p>
|
| 65 |
+
</div>
|
| 66 |
+
</div>
|
| 67 |
+
</div>
|
| 68 |
+
</section>
|
| 69 |
+
|
| 70 |
+
<!-- Gallery Section -->
|
| 71 |
+
<section class="py-20 bg-green-50">
|
| 72 |
+
<div class="container mx-auto px-6">
|
| 73 |
+
<h2 class="text-3xl md:text-4xl font-bold text-center mb-16 text-green-900">Our Collection</h2>
|
| 74 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 75 |
+
<div class="bg-white rounded-3xl overflow-hidden shadow-md hover:shadow-xl transition duration-300">
|
| 76 |
+
<img src="http://static.photos/nature/640x360/1" alt="Plant 1" class="w-full h-64 object-cover">
|
| 77 |
+
<div class="p-6">
|
| 78 |
+
<h3 class="text-xl font-bold mb-2 text-green-900">Serene Spaces</h3>
|
| 79 |
+
<p class="text-gray-700 mb-4">Digital environments that mimic peaceful natural settings.</p>
|
| 80 |
+
<a href="#" class="text-green-600 font-medium hover:text-green-800 transition duration-300">View project →</a>
|
| 81 |
+
</div>
|
| 82 |
+
</div>
|
| 83 |
+
<div class="bg-white rounded-3xl overflow-hidden shadow-md hover:shadow-xl transition duration-300">
|
| 84 |
+
<img src="http://static.photos/nature/640x360/2" alt="Plant 2" class="w-full h-64 object-cover">
|
| 85 |
+
<div class="p-6">
|
| 86 |
+
<h3 class="text-xl font-bold mb-2 text-green-900">Botanical Sounds</h3>
|
| 87 |
+
<p class="text-gray-700 mb-4">Ambient nature sounds for focus and relaxation.</p>
|
| 88 |
+
<a href="#" class="text-green-600 font-medium hover:text-green-800 transition duration-300">View project →</a>
|
| 89 |
+
</div>
|
| 90 |
+
</div>
|
| 91 |
+
<div class="bg-white rounded-3xl overflow-hidden shadow-md hover:shadow-xl transition duration-300">
|
| 92 |
+
<img src="http://static.photos/nature/640x360/3" alt="Plant 3" class="w-full h-64 object-cover">
|
| 93 |
+
<div class="p-6">
|
| 94 |
+
<h3 class="text-xl font-bold mb-2 text-green-900">Growth Tracker</h3>
|
| 95 |
+
<p class="text-gray-700 mb-4">Visualize your personal development like a growing plant.</p>
|
| 96 |
+
<a href="#" class="text-green-600 font-medium hover:text-green-800 transition duration-300">View project →</a>
|
| 97 |
+
</div>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
</div>
|
| 101 |
+
</section>
|
| 102 |
+
|
| 103 |
+
<!-- Testimonials -->
|
| 104 |
+
<section class="py-20 bg-white">
|
| 105 |
+
<div class="container mx-auto px-6">
|
| 106 |
+
<h2 class="text-3xl md:text-4xl font-bold text-center mb-16 text-green-900">What people say</h2>
|
| 107 |
+
<div class="max-w-4xl mx-auto">
|
| 108 |
+
<div class="bg-green-50 p-10 rounded-3xl relative">
|
| 109 |
+
<div class="absolute -top-6 -left-6 w-16 h-16 bg-green-100 rounded-full flex items-center justify-center">
|
| 110 |
+
<i data-feather="quote" class="text-green-600"></i>
|
| 111 |
+
</div>
|
| 112 |
+
<p class="text-xl text-gray-700 mb-6">"Leafy Vibes Oasis has transformed how I interact with technology. The natural aesthetic makes my screen time feel more intentional and peaceful."</p>
|
| 113 |
+
<div class="flex items-center">
|
| 114 |
+
<img src="http://static.photos/people/200x200/1" alt="User" class="w-12 h-12 rounded-full mr-4">
|
| 115 |
+
<div>
|
| 116 |
+
<h4 class="font-bold text-green-900">Alex Morgan</h4>
|
| 117 |
+
<p class="text-gray-600">UX Designer</p>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
</section>
|
| 124 |
+
|
| 125 |
+
<!-- CTA Section -->
|
| 126 |
+
<section class="py-20 bg-gradient-to-b from-green-50 to-white">
|
| 127 |
+
<div class="container mx-auto px-6 text-center">
|
| 128 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-8 text-green-900">Ready to bring more nature into your digital life?</h2>
|
| 129 |
+
<p class="text-xl text-gray-700 mb-10 max-w-2xl mx-auto">Join our community of nature-inspired digital creators and find balance in your tech life.</p>
|
| 130 |
+
<a href="#" class="px-10 py-5 bg-green-600 text-white rounded-full font-medium hover:bg-green-700 transition duration-300 inline-block">Get Started</a>
|
| 131 |
+
</div>
|
| 132 |
+
</section>
|
| 133 |
+
</main>
|
| 134 |
+
|
| 135 |
+
<custom-footer></custom-footer>
|
| 136 |
+
|
| 137 |
+
<script>
|
| 138 |
+
feather.replace();
|
| 139 |
+
</script>
|
| 140 |
+
<script src="script.js"></script>
|
| 141 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 142 |
+
</body>
|
| 143 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 2 |
+
// Smooth scrolling for anchor links
|
| 3 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 4 |
+
anchor.addEventListener('click', function(e) {
|
| 5 |
+
e.preventDefault();
|
| 6 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 7 |
+
behavior: 'smooth'
|
| 8 |
+
});
|
| 9 |
+
});
|
| 10 |
+
});
|
| 11 |
+
|
| 12 |
+
// Animation on scroll
|
| 13 |
+
const observerOptions = {
|
| 14 |
+
threshold: 0.1
|
| 15 |
+
};
|
| 16 |
+
|
| 17 |
+
const observer = new IntersectionObserver((entries) => {
|
| 18 |
+
entries.forEach(entry => {
|
| 19 |
+
if (entry.isIntersecting) {
|
| 20 |
+
entry.target.classList.add('animate-fadeIn');
|
| 21 |
+
}
|
| 22 |
+
});
|
| 23 |
+
}, observerOptions);
|
| 24 |
+
|
| 25 |
+
document.querySelectorAll('.animate-on-scroll').forEach(el => {
|
| 26 |
+
observer.observe(el);
|
| 27 |
+
});
|
| 28 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,45 @@
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 2 |
+
|
| 3 |
body {
|
| 4 |
+
font-family: 'Inter', sans-serif;
|
| 5 |
+
scroll-behavior: smooth;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
/* Custom scrollbar */
|
| 9 |
+
::-webkit-scrollbar {
|
| 10 |
+
width: 8px;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
::-webkit-scrollbar-track {
|
| 14 |
+
background: #f1f1f1;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
::-webkit-scrollbar-thumb {
|
| 18 |
+
background: #16a34a;
|
| 19 |
+
border-radius: 4px;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
::-webkit-scrollbar-thumb:hover {
|
| 23 |
+
background: #15803d;
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
+
/* Animation for floating elements */
|
| 27 |
+
@keyframes float {
|
| 28 |
+
0% { transform: translateY(0px); }
|
| 29 |
+
50% { transform: translateY(-15px); }
|
| 30 |
+
100% { transform: translateY(0px); }
|
| 31 |
}
|
| 32 |
|
| 33 |
+
.floating {
|
| 34 |
+
animation: float 6s ease-in-out infinite;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
|
| 37 |
+
/* Hover effects for cards */
|
| 38 |
+
.card-hover {
|
| 39 |
+
transition: all 0.3s ease;
|
| 40 |
+
transform: translateY(0);
|
| 41 |
}
|
| 42 |
+
|
| 43 |
+
.card-hover:hover {
|
| 44 |
+
transform: translateY(-5px);
|
| 45 |
+
}
|