Redesign
Browse files- README.md +8 -5
- components/footer.js +215 -0
- components/navbar.js +221 -0
- index.html +219 -19
- script.js +216 -0
- style.css +173 -19
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Modern Redesign Studio
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Modern Redesign Studio 🎨
|
| 3 |
+
colorFrom: purple
|
| 4 |
+
colorTo: yellow
|
| 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,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: linear-gradient(135deg, #1F2937 0%, #111827 100%);
|
| 9 |
+
color: white;
|
| 10 |
+
padding: 3rem 0 1rem;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
.footer-container {
|
| 14 |
+
max-width: 1200px;
|
| 15 |
+
margin: 0 auto;
|
| 16 |
+
padding: 0 2rem;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.footer-content {
|
| 20 |
+
display: grid;
|
| 21 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 22 |
+
gap: 2rem;
|
| 23 |
+
margin-bottom: 2rem;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
.footer-section h3 {
|
| 27 |
+
font-size: 1.25rem;
|
| 28 |
+
font-weight: bold;
|
| 29 |
+
margin-bottom: 1rem;
|
| 30 |
+
background: linear-gradient(135deg, #3B82F6, #8B5CF6);
|
| 31 |
+
-webkit-background-clip: text;
|
| 32 |
+
-webkit-text-fill-color: transparent;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.footer-section p,
|
| 36 |
+
.footer-section ul {
|
| 37 |
+
color: #9CA3AF;
|
| 38 |
+
line-height: 1.8;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.footer-section ul {
|
| 42 |
+
list-style: none;
|
| 43 |
+
padding: 0;
|
| 44 |
+
margin: 0;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.footer-section ul li {
|
| 48 |
+
margin-bottom: 0.5rem;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.footer-section a {
|
| 52 |
+
color: #9CA3AF;
|
| 53 |
+
text-decoration: none;
|
| 54 |
+
transition: color 0.3s ease;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.footer-section a:hover {
|
| 58 |
+
color: #3B82F6;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.social-links {
|
| 62 |
+
display: flex;
|
| 63 |
+
gap: 1rem;
|
| 64 |
+
margin-top: 1rem;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.social-links a {
|
| 68 |
+
display: flex;
|
| 69 |
+
align-items: center;
|
| 70 |
+
justify-content: center;
|
| 71 |
+
width: 40px;
|
| 72 |
+
height: 40px;
|
| 73 |
+
background: rgba(59, 130, 246, 0.1);
|
| 74 |
+
border-radius: 50%;
|
| 75 |
+
transition: all 0.3s ease;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.social-links a:hover {
|
| 79 |
+
background: #3B82F6;
|
| 80 |
+
transform: translateY(-3px);
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
.social-links svg {
|
| 84 |
+
width: 20px;
|
| 85 |
+
height: 20px;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.footer-bottom {
|
| 89 |
+
border-top: 1px solid #374151;
|
| 90 |
+
padding-top: 2rem;
|
| 91 |
+
text-align: center;
|
| 92 |
+
color: #9CA3AF;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.newsletter-form {
|
| 96 |
+
display: flex;
|
| 97 |
+
gap: 0.5rem;
|
| 98 |
+
margin-top: 1rem;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.newsletter-form input {
|
| 102 |
+
flex: 1;
|
| 103 |
+
padding: 0.75rem;
|
| 104 |
+
border: 1px solid #374151;
|
| 105 |
+
background: #1F2937;
|
| 106 |
+
border-radius: 0.5rem;
|
| 107 |
+
color: white;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.newsletter-form input::placeholder {
|
| 111 |
+
color: #6B7280;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.newsletter-form button {
|
| 115 |
+
padding: 0.75rem 1.5rem;
|
| 116 |
+
background: linear-gradient(135deg, #3B82F6, #8B5CF6);
|
| 117 |
+
color: white;
|
| 118 |
+
border: none;
|
| 119 |
+
border-radius: 0.5rem;
|
| 120 |
+
font-weight: 600;
|
| 121 |
+
cursor: pointer;
|
| 122 |
+
transition: transform 0.3s ease;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
.newsletter-form button:hover {
|
| 126 |
+
transform: translateY(-2px);
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
@media (max-width: 768px) {
|
| 130 |
+
.footer-container {
|
| 131 |
+
padding: 0 1rem;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
.newsletter-form {
|
| 135 |
+
flex-direction: column;
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
</style>
|
| 139 |
+
|
| 140 |
+
<div class="footer-container">
|
| 141 |
+
<div class="footer-content">
|
| 142 |
+
<div class="footer-section">
|
| 143 |
+
<h3>About Us</h3>
|
| 144 |
+
<p>Modern Redesign Studio is your premier partner for creating stunning digital experiences that captivate audiences and drive results.</p>
|
| 145 |
+
<div class="social-links">
|
| 146 |
+
<a href="#" aria-label="Facebook">
|
| 147 |
+
<svg fill="currentColor" viewBox="0 0 24 24">
|
| 148 |
+
<path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/>
|
| 149 |
+
</svg>
|
| 150 |
+
</a>
|
| 151 |
+
<a href="#" aria-label="Twitter">
|
| 152 |
+
<svg fill="currentColor" viewBox="0 0 24 24">
|
| 153 |
+
<path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/>
|
| 154 |
+
</svg>
|
| 155 |
+
</a>
|
| 156 |
+
<a href="#" aria-label="LinkedIn">
|
| 157 |
+
<svg fill="currentColor" viewBox="0 0 24 24">
|
| 158 |
+
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>
|
| 159 |
+
</svg>
|
| 160 |
+
</a>
|
| 161 |
+
<a href="#" aria-label="Instagram">
|
| 162 |
+
<svg fill="currentColor" viewBox="0 0 24 24">
|
| 163 |
+
<path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zM5.838 12a6.162 6.162 0 1112.324 0 6.162 6.162 0 01-12.324 0zM12 16a4 4 0 110-8 4 4 0 010 8zm4.965-10.405a1.44 1.44 0 112.881.001 1.44 1.44 0 01-2.881-.001z"/>
|
| 164 |
+
</svg>
|
| 165 |
+
</a>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
|
| 169 |
+
<div class="footer-section">
|
| 170 |
+
<h3>Quick Links</h3>
|
| 171 |
+
<ul>
|
| 172 |
+
<li><a href="#home">Home</a></li>
|
| 173 |
+
<li><a href="#features">Features</a></li>
|
| 174 |
+
<li><a href="#portfolio">Portfolio</a></li>
|
| 175 |
+
<li><a href="#testimonials">Testimonials</a></li>
|
| 176 |
+
<li><a href="#contact">Contact</a></li>
|
| 177 |
+
</ul>
|
| 178 |
+
</div>
|
| 179 |
+
|
| 180 |
+
<div class="footer-section">
|
| 181 |
+
<h3>Services</h3>
|
| 182 |
+
<ul>
|
| 183 |
+
<li><a href="#">Web Design</a></li>
|
| 184 |
+
<li><a href="#">UI/UX Design</a></li>
|
| 185 |
+
<li><a href="#">Mobile Apps</a></li>
|
| 186 |
+
<li><a href="#">Brand Identity</a></li>
|
| 187 |
+
<li><a href="#">Consulting</a></li>
|
| 188 |
+
</ul>
|
| 189 |
+
</div>
|
| 190 |
+
|
| 191 |
+
<div class="footer-section">
|
| 192 |
+
<h3>Newsletter</h3>
|
| 193 |
+
<p>Subscribe to our newsletter for the latest updates and design trends.</p>
|
| 194 |
+
<form class="newsletter-form" onsubmit="event.preventDefault(); alert('Thank you for subscribing!')">
|
| 195 |
+
<input type="email" placeholder="Your email" required>
|
| 196 |
+
<button type="submit">Subscribe</button>
|
| 197 |
+
</form>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
|
| 201 |
+
<div class="footer-bottom">
|
| 202 |
+
<p>© <span data-year></span> Modern Redesign Studio. All rights reserved.</p>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
`;
|
| 206 |
+
|
| 207 |
+
// Set current year
|
| 208 |
+
const yearElement = this.shadowRoot.querySelector('[data-year]');
|
| 209 |
+
if (yearElement) {
|
| 210 |
+
yearElement.textContent = new Date().getFullYear();
|
| 211 |
+
}
|
| 212 |
+
}
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
position: fixed;
|
| 8 |
+
top: 0;
|
| 9 |
+
left: 0;
|
| 10 |
+
right: 0;
|
| 11 |
+
z-index: 1000;
|
| 12 |
+
transition: all 0.3s ease;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
nav {
|
| 16 |
+
background: rgba(255, 255, 255, 0.95);
|
| 17 |
+
backdrop-filter: blur(10px);
|
| 18 |
+
-webkit-backdrop-filter: blur(10px);
|
| 19 |
+
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.nav-container {
|
| 23 |
+
max-width: 1200px;
|
| 24 |
+
margin: 0 auto;
|
| 25 |
+
padding: 1rem 2rem;
|
| 26 |
+
display: flex;
|
| 27 |
+
justify-content: space-between;
|
| 28 |
+
align-items: center;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.logo {
|
| 32 |
+
font-size: 1.5rem;
|
| 33 |
+
font-weight: bold;
|
| 34 |
+
background: linear-gradient(135deg, #3B82F6, #8B5CF6);
|
| 35 |
+
-webkit-background-clip: text;
|
| 36 |
+
-webkit-text-fill-color: transparent;
|
| 37 |
+
text-decoration: none;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.nav-links {
|
| 41 |
+
display: flex;
|
| 42 |
+
gap: 2rem;
|
| 43 |
+
align-items: center;
|
| 44 |
+
list-style: none;
|
| 45 |
+
margin: 0;
|
| 46 |
+
padding: 0;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.nav-links a {
|
| 50 |
+
color: #4B5563;
|
| 51 |
+
text-decoration: none;
|
| 52 |
+
font-weight: 500;
|
| 53 |
+
transition: color 0.3s ease;
|
| 54 |
+
position: relative;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.nav-links a:hover {
|
| 58 |
+
color: #3B82F6;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.nav-links a::after {
|
| 62 |
+
content: '';
|
| 63 |
+
position: absolute;
|
| 64 |
+
bottom: -5px;
|
| 65 |
+
left: 0;
|
| 66 |
+
width: 0;
|
| 67 |
+
height: 2px;
|
| 68 |
+
background: #3B82F6;
|
| 69 |
+
transition: width 0.3s ease;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.nav-links a:hover::after {
|
| 73 |
+
width: 100%;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.cta-button {
|
| 77 |
+
background: linear-gradient(135deg, #3B82F6, #8B5CF6);
|
| 78 |
+
color: white;
|
| 79 |
+
padding: 0.5rem 1.5rem;
|
| 80 |
+
border-radius: 2rem;
|
| 81 |
+
text-decoration: none;
|
| 82 |
+
font-weight: 600;
|
| 83 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.cta-button:hover {
|
| 87 |
+
transform: translateY(-2px);
|
| 88 |
+
box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.mobile-menu-toggle {
|
| 92 |
+
display: none;
|
| 93 |
+
background: none;
|
| 94 |
+
border: none;
|
| 95 |
+
cursor: pointer;
|
| 96 |
+
padding: 0.5rem;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.mobile-menu {
|
| 100 |
+
display: none;
|
| 101 |
+
position: absolute;
|
| 102 |
+
top: 100%;
|
| 103 |
+
left: 0;
|
| 104 |
+
right: 0;
|
| 105 |
+
background: white;
|
| 106 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
| 107 |
+
padding: 1rem;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.mobile-menu.active {
|
| 111 |
+
display: block;
|
| 112 |
+
animation: slideIn 0.3s ease-out;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
.mobile-menu-links {
|
| 116 |
+
list-style: none;
|
| 117 |
+
padding: 0;
|
| 118 |
+
margin: 0;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.mobile-menu-links li {
|
| 122 |
+
padding: 0.75rem 0;
|
| 123 |
+
border-bottom: 1px solid #E5E7EB;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.mobile-menu-links li:last-child {
|
| 127 |
+
border-bottom: none;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.mobile-menu-links a {
|
| 131 |
+
color: #4B5563;
|
| 132 |
+
text-decoration: none;
|
| 133 |
+
font-weight: 500;
|
| 134 |
+
display: block;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
@keyframes slideIn {
|
| 138 |
+
from {
|
| 139 |
+
transform: translateY(-20px);
|
| 140 |
+
opacity: 0;
|
| 141 |
+
}
|
| 142 |
+
to {
|
| 143 |
+
transform: translateY(0);
|
| 144 |
+
opacity: 1;
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
@media (max-width: 768px) {
|
| 149 |
+
.nav-links {
|
| 150 |
+
display: none;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.mobile-menu-toggle {
|
| 154 |
+
display: block;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
.nav-container {
|
| 158 |
+
padding: 1rem;
|
| 159 |
+
}
|
| 160 |
+
}
|
| 161 |
+
</style>
|
| 162 |
+
|
| 163 |
+
<nav>
|
| 164 |
+
<div class="nav-container">
|
| 165 |
+
<a href="#" class="logo">Redesign Studio</a>
|
| 166 |
+
|
| 167 |
+
<ul class="nav-links">
|
| 168 |
+
<li><a href="#home">Home</a></li>
|
| 169 |
+
<li><a href="#features">Features</a></li>
|
| 170 |
+
<li><a href="#portfolio">Portfolio</a></li>
|
| 171 |
+
<li><a href="#testimonials">Testimonials</a></li>
|
| 172 |
+
<li><a href="#contact" class="cta-button">Get Started</a></li>
|
| 173 |
+
</ul>
|
| 174 |
+
|
| 175 |
+
<button class="mobile-menu-toggle">
|
| 176 |
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
| 177 |
+
<line x1="3" y1="12" x2="21" y2="12"></line>
|
| 178 |
+
<line x1="3" y1="6" x2="21" y2="6"></line>
|
| 179 |
+
<line x1="3" y1="18" x2="21" y2="18"></line>
|
| 180 |
+
</svg>
|
| 181 |
+
</button>
|
| 182 |
+
|
| 183 |
+
<div class="mobile-menu">
|
| 184 |
+
<ul class="mobile-menu-links">
|
| 185 |
+
<li><a href="#home">Home</a></li>
|
| 186 |
+
<li><a href="#features">Features</a></li>
|
| 187 |
+
<li><a href="#portfolio">Portfolio</a></li>
|
| 188 |
+
<li><a href="#testimonials">Testimonials</a></li>
|
| 189 |
+
<li><a href="#contact" class="cta-button">Get Started</a></li>
|
| 190 |
+
</ul>
|
| 191 |
+
</div>
|
| 192 |
+
</div>
|
| 193 |
+
</nav>
|
| 194 |
+
`;
|
| 195 |
+
|
| 196 |
+
const mobileToggle = this.shadowRoot.querySelector('.mobile-menu-toggle');
|
| 197 |
+
const mobileMenu = this.shadowRoot.querySelector('.mobile-menu');
|
| 198 |
+
|
| 199 |
+
mobileToggle.addEventListener('click', () => {
|
| 200 |
+
mobileMenu.classList.toggle('active');
|
| 201 |
+
});
|
| 202 |
+
|
| 203 |
+
// Close mobile menu when clicking outside
|
| 204 |
+
document.addEventListener('click', (e) => {
|
| 205 |
+
if (!this.contains(e.target)) {
|
| 206 |
+
mobileMenu.classList.remove('active');
|
| 207 |
+
}
|
| 208 |
+
});
|
| 209 |
+
|
| 210 |
+
// Add scroll effect
|
| 211 |
+
window.addEventListener('scroll', () => {
|
| 212 |
+
if (window.scrollY > 50) {
|
| 213 |
+
this.shadowRoot.querySelector('nav').style.boxShadow = '0 4px 30px rgba(0, 0, 0, 0.1)';
|
| 214 |
+
} else {
|
| 215 |
+
this.shadowRoot.querySelector('nav').style.boxShadow = '0 2px 20px rgba(0, 0, 0, 0.1)';
|
| 216 |
+
}
|
| 217 |
+
});
|
| 218 |
+
}
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,219 @@
|
|
| 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>Modern Redesign Studio</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<link rel="stylesheet" href="style.css">
|
| 9 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
colors: {
|
| 16 |
+
primary: '#3B82F6',
|
| 17 |
+
secondary: '#6B7280'
|
| 18 |
+
},
|
| 19 |
+
animation: {
|
| 20 |
+
'float': 'float 6s ease-in-out infinite',
|
| 21 |
+
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
</script>
|
| 27 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 28 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 29 |
+
</head>
|
| 30 |
+
<body class="bg-gray-50 text-gray-900">
|
| 31 |
+
<!-- Navigation Component -->
|
| 32 |
+
<custom-navbar></custom-navbar>
|
| 33 |
+
|
| 34 |
+
<!-- Hero Section -->
|
| 35 |
+
<section class="relative min-h-screen flex items-center justify-center overflow-hidden bg-gradient-to-br from-blue-50 via-white to-indigo-50">
|
| 36 |
+
<div class="absolute inset-0 bg-grid-pattern opacity-5"></div>
|
| 37 |
+
<div class="container mx-auto px-6 relative z-10">
|
| 38 |
+
<div class="text-center">
|
| 39 |
+
<h1 class="text-5xl md:text-7xl font-bold mb-6 bg-gradient-to-r from-blue-600 to-indigo-600 bg-clip-text text-transparent animate-pulse-slow">
|
| 40 |
+
Modern Redesign Studio
|
| 41 |
+
</h1>
|
| 42 |
+
<p class="text-xl md:text-2xl text-gray-600 mb-8 max-w-3xl mx-auto">
|
| 43 |
+
Transform your digital presence with stunning, responsive designs that captivate and convert.
|
| 44 |
+
</p>
|
| 45 |
+
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
| 46 |
+
<button class="px-8 py-4 bg-blue-600 text-white rounded-full font-semibold hover:bg-blue-700 transform hover:scale-105 transition-all duration-300 shadow-lg hover:shadow-xl">
|
| 47 |
+
Start Your Project
|
| 48 |
+
</button>
|
| 49 |
+
<button class="px-8 py-4 border-2 border-blue-600 text-blue-600 rounded-full font-semibold hover:bg-blue-600 hover:text-white transform hover:scale-105 transition-all duration-300">
|
| 50 |
+
View Portfolio
|
| 51 |
+
</button>
|
| 52 |
+
</div>
|
| 53 |
+
</div>
|
| 54 |
+
<div class="mt-20 flex justify-center space-x-8 animate-float">
|
| 55 |
+
<div class="w-20 h-20 bg-blue-200 rounded-full blur-xl"></div>
|
| 56 |
+
<div class="w-32 h-32 bg-indigo-200 rounded-full blur-2xl"></div>
|
| 57 |
+
<div class="w-24 h-24 bg-purple-200 rounded-full blur-xl"></div>
|
| 58 |
+
</div>
|
| 59 |
+
</div>
|
| 60 |
+
</section>
|
| 61 |
+
|
| 62 |
+
<!-- Features Section -->
|
| 63 |
+
<section class="py-20 bg-white">
|
| 64 |
+
<div class="container mx-auto px-6">
|
| 65 |
+
<div class="text-center mb-16">
|
| 66 |
+
<h2 class="text-4xl font-bold mb-4">Why Choose Us</h2>
|
| 67 |
+
<p class="text-xl text-gray-600">We deliver excellence in every pixel</p>
|
| 68 |
+
</div>
|
| 69 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 70 |
+
<div class="group p-8 rounded-2xl bg-gradient-to-br from-blue-50 to-indigo-50 hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2">
|
| 71 |
+
<div class="w-16 h-16 bg-blue-600 rounded-full flex items-center justify-center mb-6 group-hover:rotate-12 transition-transform">
|
| 72 |
+
<i data-feather="zap" class="text-white w-8 h-8"></i>
|
| 73 |
+
</div>
|
| 74 |
+
<h3 class="text-2xl font-bold mb-3">Lightning Fast</h3>
|
| 75 |
+
<p class="text-gray-600">Optimized performance that keeps your users engaged and satisfied.</p>
|
| 76 |
+
</div>
|
| 77 |
+
<div class="group p-8 rounded-2xl bg-gradient-to-br from-purple-50 to-pink-50 hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2">
|
| 78 |
+
<div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mb-6 group-hover:rotate-12 transition-transform">
|
| 79 |
+
<i data-feather="smartphone" class="text-white w-8 h-8"></i>
|
| 80 |
+
</div>
|
| 81 |
+
<h3 class="text-2xl font-bold mb-3">Fully Responsive</h3>
|
| 82 |
+
<p class="text-gray-600">Perfect on every device, from mobile phones to desktop screens.</p>
|
| 83 |
+
</div>
|
| 84 |
+
<div class="group p-8 rounded-2xl bg-gradient-to-br from-green-50 to-emerald-50 hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2">
|
| 85 |
+
<div class="w-16 h-16 bg-green-600 rounded-full flex items-center justify-center mb-6 group-hover:rotate-12 transition-transform">
|
| 86 |
+
<i data-feather="award" class="text-white w-8 h-8"></i>
|
| 87 |
+
</div>
|
| 88 |
+
<h3 class="text-2xl font-bold mb-3">Award Winning</h3>
|
| 89 |
+
<p class="text-gray-600">Recognized for exceptional design and user experience.</p>
|
| 90 |
+
</div>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
</section>
|
| 94 |
+
|
| 95 |
+
<!-- Portfolio Section -->
|
| 96 |
+
<section class="py-20 bg-gray-50">
|
| 97 |
+
<div class="container mx-auto px-6">
|
| 98 |
+
<div class="text-center mb-16">
|
| 99 |
+
<h2 class="text-4xl font-bold mb-4">Recent Projects</h2>
|
| 100 |
+
<p class="text-xl text-gray-600">Explore our latest design masterpieces</p>
|
| 101 |
+
</div>
|
| 102 |
+
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 103 |
+
<div class="group relative overflow-hidden rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-300">
|
| 104 |
+
<img src="http://static.photos/technology/640x360/123" alt="Project 1" class="w-full h-64 object-cover group-hover:scale-110 transition-transform duration-500">
|
| 105 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end">
|
| 106 |
+
<div class="p-6 text-white">
|
| 107 |
+
<h3 class="text-xl font-bold mb-2">Tech Dashboard</h3>
|
| 108 |
+
<p class="text-sm">Modern analytics platform</p>
|
| 109 |
+
</div>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
+
<div class="group relative overflow-hidden rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-300">
|
| 113 |
+
<img src="http://static.photos/office/640x360/456" alt="Project 2" class="w-full h-64 object-cover group-hover:scale-110 transition-transform duration-500">
|
| 114 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end">
|
| 115 |
+
<div class="p-6 text-white">
|
| 116 |
+
<h3 class="text-xl font-bold mb-2">Corporate Website</h3>
|
| 117 |
+
<p class="text-sm">Professional business design</p>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
<div class="group relative overflow-hidden rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-300">
|
| 122 |
+
<img src="http://static.photos/food/640x360/789" alt="Project 3" class="w-full h-64 object-cover group-hover:scale-110 transition-transform duration-500">
|
| 123 |
+
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end">
|
| 124 |
+
<div class="p-6 text-white">
|
| 125 |
+
<h3 class="text-xl font-bold mb-2">Food Delivery App</h3>
|
| 126 |
+
<p class="text-sm">Delicious user experience</p>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
</div>
|
| 132 |
+
</section>
|
| 133 |
+
|
| 134 |
+
<!-- Testimonials Section -->
|
| 135 |
+
<section class="py-20 bg-white">
|
| 136 |
+
<div class="container mx-auto px-6">
|
| 137 |
+
<div class="text-center mb-16">
|
| 138 |
+
<h2 class="text-4xl font-bold mb-4">Client Testimonials</h2>
|
| 139 |
+
<p class="text-xl text-gray-600">What our clients say about us</p>
|
| 140 |
+
</div>
|
| 141 |
+
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 142 |
+
<div class="p-8 bg-gradient-to-br from-blue-50 to-indigo-50 rounded-2xl">
|
| 143 |
+
<div class="flex items-center mb-4">
|
| 144 |
+
<img src="http://static.photos/people/100x100/111" alt="Client 1" class="w-12 h-12 rounded-full mr-4">
|
| 145 |
+
<div>
|
| 146 |
+
<h4 class="font-bold">Sarah Johnson</h4>
|
| 147 |
+
<p class="text-sm text-gray-600">CEO, TechStart</p>
|
| 148 |
+
</div>
|
| 149 |
+
</div>
|
| 150 |
+
<p class="text-gray-700">"Absolutely transformed our online presence. The design is stunning and our conversion rates have skyrocketed!"</p>
|
| 151 |
+
<div class="flex mt-4 text-yellow-500">
|
| 152 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 153 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 154 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 155 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 156 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
<div class="p-8 bg-gradient-to-br from-purple-50 to-pink-50 rounded-2xl">
|
| 160 |
+
<div class="flex items-center mb-4">
|
| 161 |
+
<img src="http://static.photos/people/100x100/222" alt="Client 2" class="w-12 h-12 rounded-full mr-4">
|
| 162 |
+
<div>
|
| 163 |
+
<h4 class="font-bold">Mike Chen</h4>
|
| 164 |
+
<p class="text-sm text-gray-600">Founder, InnovateCo</p>
|
| 165 |
+
</div>
|
| 166 |
+
</div>
|
| 167 |
+
<p class="text-gray-700">"Professional, creative, and always delivers on time. Our new website has exceeded all expectations!"</p>
|
| 168 |
+
<div class="flex mt-4 text-yellow-500">
|
| 169 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 170 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 171 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 172 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 173 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 174 |
+
</div>
|
| 175 |
+
</div>
|
| 176 |
+
<div class="p-8 bg-gradient-to-br from-green-50 to-emerald-50 rounded-2xl">
|
| 177 |
+
<div class="flex items-center mb-4">
|
| 178 |
+
<img src="http://static.photos/people/100x100/333" alt="Client 3" class="w-12 h-12 rounded-full mr-4">
|
| 179 |
+
<div>
|
| 180 |
+
<h4 class="font-bold">Emily Davis</h4>
|
| 181 |
+
<p class="text-sm text-gray-600">Marketing Director, BrandUp</p>
|
| 182 |
+
</div>
|
| 183 |
+
</div>
|
| 184 |
+
<p class="text-gray-700">"The attention to detail and user experience is unmatched. Highly recommend for any serious business!"</p>
|
| 185 |
+
<div class="flex mt-4 text-yellow-500">
|
| 186 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 187 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 188 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 189 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 190 |
+
<i data-feather="star" class="w-5 h-5 fill-current"></i>
|
| 191 |
+
</div>
|
| 192 |
+
</div>
|
| 193 |
+
</div>
|
| 194 |
+
</div>
|
| 195 |
+
</section>
|
| 196 |
+
|
| 197 |
+
<!-- Contact Section -->
|
| 198 |
+
<section class="py-20 bg-gradient-to-br from-blue-600 to-indigo-600">
|
| 199 |
+
<div class="container mx-auto px-6">
|
| 200 |
+
<div class="text-center text-white">
|
| 201 |
+
<h2 class="text-4xl font-bold mb-4">Ready to Get Started?</h2>
|
| 202 |
+
<p class="text-xl mb-8">Let's create something amazing together</p>
|
| 203 |
+
<button class="px-12 py-4 bg-white text-blue-600 rounded-full font-semibold hover:bg-gray-100 transform hover:scale-105 transition-all duration-300 shadow-xl">
|
| 204 |
+
Contact Us Today
|
| 205 |
+
</button>
|
| 206 |
+
</div>
|
| 207 |
+
</div>
|
| 208 |
+
</section>
|
| 209 |
+
|
| 210 |
+
<!-- Footer Component -->
|
| 211 |
+
<custom-footer></custom-footer>
|
| 212 |
+
|
| 213 |
+
<script src="components/navbar.js"></script>
|
| 214 |
+
<script src="components/footer.js"></script>
|
| 215 |
+
<script src="script.js"></script>
|
| 216 |
+
<script>feather.replace();</script>
|
| 217 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 218 |
+
</body>
|
| 219 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Initialize animations and interactions
|
| 2 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 3 |
+
// Reveal animations on scroll
|
| 4 |
+
const reveals = document.querySelectorAll('.reveal');
|
| 5 |
+
|
| 6 |
+
function checkReveal() {
|
| 7 |
+
reveals.forEach(element => {
|
| 8 |
+
const windowHeight = window.innerHeight;
|
| 9 |
+
const elementTop = element.getBoundingClientRect().top;
|
| 10 |
+
const elementVisible = 150;
|
| 11 |
+
|
| 12 |
+
if (elementTop < windowHeight - elementVisible) {
|
| 13 |
+
element.classList.add('active');
|
| 14 |
+
}
|
| 15 |
+
});
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
window.addEventListener('scroll', checkReveal);
|
| 19 |
+
checkReveal();
|
| 20 |
+
|
| 21 |
+
// Smooth scroll for anchor links
|
| 22 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 23 |
+
anchor.addEventListener('click', function(e) {
|
| 24 |
+
e.preventDefault();
|
| 25 |
+
const target = document.querySelector(this.getAttribute('href'));
|
| 26 |
+
if (target) {
|
| 27 |
+
target.scrollIntoView({
|
| 28 |
+
behavior: 'smooth',
|
| 29 |
+
block: 'start'
|
| 30 |
+
});
|
| 31 |
+
}
|
| 32 |
+
});
|
| 33 |
+
});
|
| 34 |
+
|
| 35 |
+
// Parallax effect
|
| 36 |
+
const parallaxElements = document.querySelectorAll('.parallax');
|
| 37 |
+
|
| 38 |
+
window.addEventListener('scroll', () => {
|
| 39 |
+
const scrolled = window.pageYOffset;
|
| 40 |
+
|
| 41 |
+
parallaxElements.forEach(element => {
|
| 42 |
+
const speed = element.dataset.speed || 0.5;
|
| 43 |
+
element.style.transform = `translateY(${scrolled * speed}px)`;
|
| 44 |
+
});
|
| 45 |
+
});
|
| 46 |
+
|
| 47 |
+
// Counter animation
|
| 48 |
+
const counters = document.querySelectorAll('[data-counter]');
|
| 49 |
+
const speed = 200;
|
| 50 |
+
|
| 51 |
+
const countUp = () => {
|
| 52 |
+
counters.forEach(counter => {
|
| 53 |
+
const updateCount = () => {
|
| 54 |
+
const target = +counter.getAttribute('data-counter');
|
| 55 |
+
const count = +counter.innerText;
|
| 56 |
+
const inc = target / speed;
|
| 57 |
+
|
| 58 |
+
if (count < target) {
|
| 59 |
+
counter.innerText = Math.ceil(count + inc);
|
| 60 |
+
setTimeout(updateCount, 1);
|
| 61 |
+
} else {
|
| 62 |
+
counter.innerText = target;
|
| 63 |
+
}
|
| 64 |
+
};
|
| 65 |
+
|
| 66 |
+
updateCount();
|
| 67 |
+
});
|
| 68 |
+
};
|
| 69 |
+
|
| 70 |
+
// Trigger counter animation when in view
|
| 71 |
+
const observerOptions = {
|
| 72 |
+
threshold: 0.5
|
| 73 |
+
};
|
| 74 |
+
|
| 75 |
+
const observer = new IntersectionObserver((entries) => {
|
| 76 |
+
entries.forEach(entry => {
|
| 77 |
+
if (entry.isIntersecting) {
|
| 78 |
+
countUp();
|
| 79 |
+
observer.unobserve(entry.target);
|
| 80 |
+
}
|
| 81 |
+
});
|
| 82 |
+
}, observerOptions);
|
| 83 |
+
|
| 84 |
+
counters.forEach(counter => {
|
| 85 |
+
observer.observe(counter);
|
| 86 |
+
});
|
| 87 |
+
|
| 88 |
+
// Interactive hover effects
|
| 89 |
+
const cards = document.querySelectorAll('.card-hover');
|
| 90 |
+
|
| 91 |
+
cards.forEach(card => {
|
| 92 |
+
card.addEventListener('mousemove', (e) => {
|
| 93 |
+
const rect = card.getBoundingClientRect();
|
| 94 |
+
const x = e.clientX - rect.left;
|
| 95 |
+
const y = e.clientY - rect.top;
|
| 96 |
+
|
| 97 |
+
const centerX = rect.width / 2;
|
| 98 |
+
const centerY = rect.height / 2;
|
| 99 |
+
|
| 100 |
+
const rotateX = (y - centerY) / 10;
|
| 101 |
+
const rotateY = (centerX - x) / 10;
|
| 102 |
+
|
| 103 |
+
card.style.transform = `perspective(1000px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) scale3d(1.05, 1.05, 1.05)`;
|
| 104 |
+
});
|
| 105 |
+
|
| 106 |
+
card.addEventListener('mouseleave', () => {
|
| 107 |
+
card.style.transform = 'perspective(1000px) rotateX(0) rotateY(0) scale3d(1, 1, 1)';
|
| 108 |
+
});
|
| 109 |
+
});
|
| 110 |
+
|
| 111 |
+
// Form validation
|
| 112 |
+
const forms = document.querySelectorAll('form');
|
| 113 |
+
|
| 114 |
+
forms.forEach(form => {
|
| 115 |
+
form.addEventListener('submit', (e) => {
|
| 116 |
+
e.preventDefault();
|
| 117 |
+
|
| 118 |
+
const formData = new FormData(form);
|
| 119 |
+
const data = Object.fromEntries(formData);
|
| 120 |
+
|
| 121 |
+
// Basic validation
|
| 122 |
+
let isValid = true;
|
| 123 |
+
const requiredFields = form.querySelectorAll('[required]');
|
| 124 |
+
|
| 125 |
+
requiredFields.forEach(field => {
|
| 126 |
+
if (!field.value.trim()) {
|
| 127 |
+
field.classList.add('border-red-500');
|
| 128 |
+
isValid = false;
|
| 129 |
+
} else {
|
| 130 |
+
field.classList.remove('border-red-500');
|
| 131 |
+
}
|
| 132 |
+
});
|
| 133 |
+
|
| 134 |
+
if (isValid) {
|
| 135 |
+
// Show success message
|
| 136 |
+
const successMessage = document.createElement('div');
|
| 137 |
+
successMessage.className = 'fixed top-4 right-4 bg-green-500 text-white px-6 py-3 rounded-lg shadow-lg z-50';
|
| 138 |
+
successMessage.textContent = 'Form submitted successfully!';
|
| 139 |
+
document.body.appendChild(successMessage);
|
| 140 |
+
|
| 141 |
+
setTimeout(() => {
|
| 142 |
+
successMessage.remove();
|
| 143 |
+
}, 3000);
|
| 144 |
+
|
| 145 |
+
form.reset();
|
| 146 |
+
}
|
| 147 |
+
});
|
| 148 |
+
});
|
| 149 |
+
|
| 150 |
+
// Dynamic year in footer
|
| 151 |
+
const yearElements = document.querySelectorAll('[data-year]');
|
| 152 |
+
const currentYear = new Date().getFullYear();
|
| 153 |
+
|
| 154 |
+
yearElements.forEach(element => {
|
| 155 |
+
element.textContent = currentYear;
|
| 156 |
+
});
|
| 157 |
+
|
| 158 |
+
// Theme switcher
|
| 159 |
+
const themeToggle = document.querySelector('[data-theme-toggle]');
|
| 160 |
+
|
| 161 |
+
if (themeToggle) {
|
| 162 |
+
themeToggle.addEventListener('click', () => {
|
| 163 |
+
document.body.classList.toggle('dark');
|
| 164 |
+
const isDark = document.body.classList.contains('dark');
|
| 165 |
+
localStorage.setItem('theme', isDark ? 'dark' : 'light');
|
| 166 |
+
});
|
| 167 |
+
|
| 168 |
+
// Load saved theme
|
| 169 |
+
const savedTheme = localStorage.getItem('theme');
|
| 170 |
+
if (savedTheme === 'dark') {
|
| 171 |
+
document.body.classList.add('dark');
|
| 172 |
+
}
|
| 173 |
+
}
|
| 174 |
+
});
|
| 175 |
+
|
| 176 |
+
// Utility functions
|
| 177 |
+
const utils = {
|
| 178 |
+
debounce: (func, wait) => {
|
| 179 |
+
let timeout;
|
| 180 |
+
return function executedFunction(...args) {
|
| 181 |
+
const later = () => {
|
| 182 |
+
clearTimeout(timeout);
|
| 183 |
+
func(...args);
|
| 184 |
+
};
|
| 185 |
+
clearTimeout(timeout);
|
| 186 |
+
timeout = setTimeout(later, wait);
|
| 187 |
+
};
|
| 188 |
+
},
|
| 189 |
+
|
| 190 |
+
throttle: (func, limit) => {
|
| 191 |
+
let inThrottle;
|
| 192 |
+
return function(...args) {
|
| 193 |
+
if (!inThrottle) {
|
| 194 |
+
func.apply(this, args);
|
| 195 |
+
inThrottle = true;
|
| 196 |
+
setTimeout(() => inThrottle = false, limit);
|
| 197 |
+
}
|
| 198 |
+
};
|
| 199 |
+
},
|
| 200 |
+
|
| 201 |
+
animateValue: (element, start, end, duration) => {
|
| 202 |
+
let startTimestamp = null;
|
| 203 |
+
const step = (timestamp) => {
|
| 204 |
+
if (!startTimestamp) startTimestamp = timestamp;
|
| 205 |
+
const progress = Math.min((timestamp - startTimestamp) / duration, 1);
|
| 206 |
+
element.textContent = Math.floor(progress * (end - start) + start);
|
| 207 |
+
if (progress < 1) {
|
| 208 |
+
window.requestAnimationFrame(step);
|
| 209 |
+
}
|
| 210 |
+
};
|
| 211 |
+
window.requestAnimationFrame(step);
|
| 212 |
+
}
|
| 213 |
+
};
|
| 214 |
+
|
| 215 |
+
// Export utilities for use in components
|
| 216 |
+
window.utils = utils;
|
style.css
CHANGED
|
@@ -1,28 +1,182 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 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;800;900&display=swap');
|
| 2 |
+
|
| 3 |
+
* {
|
| 4 |
+
font-family: 'Inter', sans-serif;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
.bg-grid-pattern {
|
| 8 |
+
background-image:
|
| 9 |
+
linear-gradient(to right, #e5e7eb 1px, transparent 1px),
|
| 10 |
+
linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
|
| 11 |
+
background-size: 50px 50px;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
@keyframes float {
|
| 15 |
+
0%, 100% {
|
| 16 |
+
transform: translateY(0px);
|
| 17 |
+
}
|
| 18 |
+
50% {
|
| 19 |
+
transform: translateY(-20px);
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.animate-float {
|
| 24 |
+
animation: float 6s ease-in-out infinite;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
/* Smooth scrolling */
|
| 28 |
+
html {
|
| 29 |
+
scroll-behavior: smooth;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
/* Custom scrollbar */
|
| 33 |
+
::-webkit-scrollbar {
|
| 34 |
+
width: 10px;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
::-webkit-scrollbar-track {
|
| 38 |
+
background: #f1f1f1;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
::-webkit-scrollbar-thumb {
|
| 42 |
+
background: #3B82F6;
|
| 43 |
+
border-radius: 5px;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
::-webkit-scrollbar-thumb:hover {
|
| 47 |
+
background: #2563EB;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/* Glassmorphism effect */
|
| 51 |
+
.glass {
|
| 52 |
+
background: rgba(255, 255, 255, 0.95);
|
| 53 |
+
backdrop-filter: blur(10px);
|
| 54 |
+
-webkit-backdrop-filter: blur(10px);
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
/* Gradient text animation */
|
| 58 |
+
.gradient-animate {
|
| 59 |
+
background: linear-gradient(-45deg, #3B82F6, #8B5CF6, #EC4899, #10B981);
|
| 60 |
+
background-size: 400% 400%;
|
| 61 |
+
-webkit-background-clip: text;
|
| 62 |
+
-webkit-text-fill-color: transparent;
|
| 63 |
+
animation: gradient 15s ease infinite;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
@keyframes gradient {
|
| 67 |
+
0% {
|
| 68 |
+
background-position: 0% 50%;
|
| 69 |
+
}
|
| 70 |
+
50% {
|
| 71 |
+
background-position: 100% 50%;
|
| 72 |
+
}
|
| 73 |
+
100% {
|
| 74 |
+
background-position: 0% 50%;
|
| 75 |
+
}
|
| 76 |
}
|
| 77 |
|
| 78 |
+
/* Hover effects */
|
| 79 |
+
.hover-lift {
|
| 80 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 81 |
}
|
| 82 |
|
| 83 |
+
.hover-lift:hover {
|
| 84 |
+
transform: translateY(-10px);
|
| 85 |
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
|
| 86 |
}
|
| 87 |
|
| 88 |
+
/* Button animations */
|
| 89 |
+
.btn-primary {
|
| 90 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 91 |
+
transition: all 0.3s ease;
|
|
|
|
|
|
|
| 92 |
}
|
| 93 |
|
| 94 |
+
.btn-primary:hover {
|
| 95 |
+
transform: translateY(-2px);
|
| 96 |
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
| 97 |
}
|
| 98 |
+
|
| 99 |
+
/* Card animations */
|
| 100 |
+
.card-hover {
|
| 101 |
+
transition: all 0.3s ease;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.card-hover:hover {
|
| 105 |
+
transform: scale(1.05);
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
/* Navigation styles */
|
| 109 |
+
.nav-scrolled {
|
| 110 |
+
background: rgba(255, 255, 255, 0.95);
|
| 111 |
+
backdrop-filter: blur(10px);
|
| 112 |
+
-webkit-backdrop-filter: blur(10px);
|
| 113 |
+
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
/* Mobile menu animation */
|
| 117 |
+
.mobile-menu-enter {
|
| 118 |
+
animation: slideIn 0.3s ease-out;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
@keyframes slideIn {
|
| 122 |
+
from {
|
| 123 |
+
transform: translateX(100%);
|
| 124 |
+
opacity: 0;
|
| 125 |
+
}
|
| 126 |
+
to {
|
| 127 |
+
transform: translateX(0);
|
| 128 |
+
opacity: 1;
|
| 129 |
+
}
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
/* Parallax effect */
|
| 133 |
+
.parallax {
|
| 134 |
+
transform: translateZ(0);
|
| 135 |
+
will-change: transform;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
/* Text reveal animation */
|
| 139 |
+
.reveal {
|
| 140 |
+
opacity: 0;
|
| 141 |
+
transform: translateY(30px);
|
| 142 |
+
transition: all 0.8s ease;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.reveal.active {
|
| 146 |
+
opacity: 1;
|
| 147 |
+
transform: translateY(0);
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
/* Loading animation */
|
| 151 |
+
.loading {
|
| 152 |
+
display: inline-block;
|
| 153 |
+
width: 20px;
|
| 154 |
+
height: 20px;
|
| 155 |
+
border: 3px solid rgba(0, 0, 0, 0.1);
|
| 156 |
+
border-radius: 50%;
|
| 157 |
+
border-top-color: #3B82F6;
|
| 158 |
+
animation: spin 1s ease-in-out infinite;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
@keyframes spin {
|
| 162 |
+
to {
|
| 163 |
+
transform: rotate(360deg);
|
| 164 |
+
}
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
/* Pulse animation for notification */
|
| 168 |
+
.notification-pulse {
|
| 169 |
+
animation: pulse 2s infinite;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
@keyframes pulse {
|
| 173 |
+
0% {
|
| 174 |
+
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
|
| 175 |
+
}
|
| 176 |
+
70% {
|
| 177 |
+
box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
|
| 178 |
+
}
|
| 179 |
+
100% {
|
| 180 |
+
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
|
| 181 |
+
}
|
| 182 |
+
}
|