noisez commited on
Commit
852e052
·
verified ·
1 Parent(s): edfd8c0

Give it this style<html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Dark Mode Hero with Wave Animation</title> <script src="https://cdn.tailwindcss.com"></script> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet"> <style> .wave-container { position: relative; overflow: hidden; } .wave-container canvas { width: 100% !important; height: 100% !important; display: block; } </style> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Serif:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@300;400;500;600;700&family=Inter&display=swap" rel="stylesheet"> </head> <body class="bg-gray-900 font-['Inter'] overflow-x-hidden"> <!-- Navigation --> <nav class="absolute top-0 w-full z-30 p-6"> <div class="max-w-7xl mx-auto flex justify-between items-center"> <div class="text-xl font-medium text-white tracking-tighter">AURA</div> <div class="hidden md:flex space-x-8 text-gray-300"> <a href="#" class="hover:text-white transition-colors">Features</a> <a href="#" class="hover:text-white transition-colors">About</a> <a href="#" class="hover:text-white transition-colors">Contact</a> </div> <button class="md:hidden text-white"> <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path> </svg> </button> </div> </nav> <!-- Hero Section --> <section class="relative min-h-screen overflow-hidden bg-gray-900"> <!-- Wave Animation Background --> <div class="wave-container absolute inset-0"> <canvas id="canvas" class="w-full h-full" width="1113" height="1052"></canvas> </div> <!-- Dark overlay for better text readability --> <div class="absolute inset-0 bg-gray-900/40"></div> <!-- Hero Content --> <div class="relative z-20 flex items-center justify-center min-h-screen px-6"> <div class="max-w-5xl mx-auto text-center"> <!-- Badge --> <div class="inline-flex items-center text-xs text-gray-300 bg-gray-800/60 border-gray-700/50 border rounded-full mb-8 pt-1 pr-3 pb-1 pl-3 backdrop-blur-sm"> Now in Beta </div> <!-- Main Heading --> <h1 class="md:text-7xl lg:text-8xl leading-tight text-5xl font-bold text-white tracking-tighter mb-6 pt-0 pb-0">Create<span class="block bg-clip-text text-transparent bg-gradient-to-br from-pink-500 via-rose-500 to-cyan-500 pb-2">Beautiful Designs</span></h1> <!-- Subheading --> <p class="md:text-2xl max-w-3xl leading-relaxed text-xl text-gray-300 mr-auto mb-12 ml-auto"> Immerse yourself in a world where technology meets artistry. Create, collaborate, and innovate with tools that adapt to your vision. </p> <!-- CTA Buttons --> <div class="flex flex-col sm:flex-row gap-4 justify-center items-center mb-16"> <button class="transition-all duration-200 transform hover:scale-105 shadow-red-500/25 font-semibold text-white bg-gradient-to-br from-pink-500 via-rose-500 to-cyan-500 rounded-lg pt-4 pr-8 pb-4 pl-8 shadow-lg"> Start Free Trial </button> <button class="px-8 py-4 bg-gray-800/60 backdrop-blur-sm border border-gray-700/50 text-white font-semibold rounded-lg hover:bg-gray-700/60 transition-all duration-200"> Watch Demo </button> </div> <!-- Features Grid --> <div class="grid grid-cols-1 md:grid-cols-3 gap-6 max-w-4xl mx-auto"> <div class="hover:bg-gray-700/40 transition-all duration-300 text-center bg-gray-800/30 border-gray-700/30 border rounded-xl pt-6 pr-6 pb-6 pl-6 backdrop-blur-sm"> <div class="w-12 h-12 flex items-center justify-center bg-gradient-to-br from-blue-500 to-purple-600 rounded-lg mb-4 mx-auto"> <svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path> </svg> </div> <h3 class="text-white font-semibold text-lg mb-2">Lightning Fast</h3> <p class="text-gray-400 text-sm">Experience unprecedented speed with our optimized infrastructure.</p> </div> <div class="bg-gray-800/30 backdrop-blur-sm border border-gray-700/30 rounded-xl p-6 hover:bg-gray-700/40 transition-all duration-300"> <div class="w-12 h-12 bg-gradient-to-br from-purple-500 to-pink-600 rounded-lg mb-4 flex items-center justify-center mx-auto"> <svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path> </svg> </div> <h3 class="text-white font-semibold text-lg mb-2">Secure & Reliable</h3> <p class="text-gray-400 text-sm">Built with enterprise-grade security and 99.9% uptime guarantee.</p> </div> <div class="bg-gray-800/30 backdrop-blur-sm border border-gray-700/30 rounded-xl p-6 hover:bg-gray-700/40 transition-all duration-300"> <div class="w-12 h-12 bg-gradient-to-br from-cyan-500 to-blue-600 rounded-lg mb-4 flex items-center justify-center mx-auto"> <svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"></path> </svg> </div> <h3 class="text-white font-semibold text-lg mb-2">User Focused</h3> <p class="text-gray-400 text-sm">Designed with intuitive interfaces that users love to interact with.</p> </div> </div> </div> </div> <!-- Scroll Indicator --> <div class="absolute bottom-8 left-1/2 transform -translate-x-1/2 z-20"> <div class="flex flex-col items-center text-gray-400"> <span class="text-sm mb-2">Scroll to explore</span> <div class="w-6 h-10 border-2 border-gray-600 rounded-full flex justify-center"> <div class="w-1 h-3 bg-gray-400 rounded-full mt-2 animate-bounce"></div> </div> </div> </div> </section> <script> const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); let width, height, imageData, data; const SCALE = 2; function resizeCanvas() { canvas.width = window.innerWidth; canvas.height = window.innerHeight; width = Math.floor(canvas.width / SCALE); height = Math.floor(canvas.height / SCALE); imageData = ctx.createImageData(width, height); data = imageData.data; } window.addEventListener('resize', resizeCanvas); resizeCanvas(); let startTime = Date.now(); const SIN_TABLE = new Float32Array(1024); const COS_TABLE = new Float32Array(1024); for (let i = 0; i < 1024; i++) { const angle = (i / 1024) * Math.PI * 2; SIN_TABLE[i] = Math.sin(angle); COS_TABLE[i] = Math.cos(angle); } function fastSin(x) { const index = Math.floor(((x % (Math.PI * 2)) / (Math.PI * 2)) * 1024) & 1023; return SIN_TABLE[index]; } function fastCos(x) { const index = Math.floor(((x % (Math.PI * 2)) / (Math.PI * 2)) * 1024) & 1023; return COS_TABLE[index]; } function render() { const time = (Date.now() - startTime) * 0.001; for (let y = 0; y < height; y++) { for (let x = 0; x < width; x++) { const u_x = (2 * x - width) / height; const u_y = (2 * y - height) / height; let a = 0; let d = 0; for (let i = 0; i < 4; i++) { a += fastCos(i - d + time * 0.5 - a * u_x); d += fastSin(i * u_y + a); } // Dark theme color palette: deep blues, purples, and grays const wave = (fastSin(a) + fastCos(d)) * 0.5; const intensity = 0.3 + 0.4 * wave; // Dark base with blue/purple accents const baseVal = 0.1 + 0.15 * fastCos(u_x + u_y + time * 0.3); // Blue and purple wave accents const blueAccent = 0.2 * fastSin(a * 1.5 + time * 0.2); const purpleAccent = 0.15 * fastCos(d * 2 + time * 0.1); const r = Math.max(0, Math.min(1, baseVal + purpleAccent * 0.8)) * intensity; const g = Math.max(0, Math.min(1, baseVal + blueAccent * 0.6)) * intensity; const b = Math.max(0, Math.min(1, baseVal + blueAccent * 1.2 + purpleAccent * 0.4)) * intensity; const finalR = r * 255; const finalG = g * 255; const finalB = b * 255; const index = (y * width + x) * 4; data[index] = finalR; data[index + 1] = finalG; data[index + 2] = finalB; data[index + 3] = 255; } } ctx.putImageData(imageData, 0, 0); if (SCALE > 1) { ctx.imageSmoothingEnabled = false; ctx.drawImage(canvas, 0, 0, width, height, 0, 0, canvas.width, canvas.height); } requestAnimationFrame(render); } render(); </script> </body></html> Aura Logo Made in Aura Meng To Remix Preview Code - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +507 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Web Master
3
- emoji: 👁
4
- colorFrom: yellow
5
- colorTo: blue
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: web-master
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: green
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,507 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Synergy Plumbing | Top of the South NZ</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet">
10
+ <style>
11
+ .wave-container {
12
+ position: relative;
13
+ overflow: hidden;
14
+ }
15
+ .wave-container canvas {
16
+ width: 100% !important;
17
+ height: 100% !important;
18
+ display: block;
19
+ }
20
+ </style>
21
+ <style>
22
+ /* Custom CSS for animations and effects */
23
+ .hero-image {
24
+ background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://plumbing247.co.nz/wp-content/uploads/2021/05/plumbing.jpg');
25
+ background-size: cover;
26
+ background-position: center;
27
+ transition: all 0.3s ease;
28
+ }
29
+
30
+ .nav-link::after {
31
+ content: '';
32
+ display: block;
33
+ width: 0;
34
+ height: 2px;
35
+ background: #3b82f6;
36
+ transition: width 0.3s;
37
+ }
38
+
39
+ .nav-link:hover::after {
40
+ width: 100%;
41
+ }
42
+
43
+ .mobile-menu {
44
+ transform: translateX(100%);
45
+ transition: transform 0.3s ease-in-out;
46
+ }
47
+
48
+ .mobile-menu.open {
49
+ transform: translateX(0);
50
+ }
51
+
52
+ .info-card {
53
+ transition: all 0.3s ease;
54
+ }
55
+
56
+ .info-card:hover {
57
+ transform: translateY(-5px);
58
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
59
+ }
60
+ </style>
61
+ </head>
62
+ <body class="bg-gray-900 font-['Inter'] overflow-x-hidden">
63
+ <!-- Navigation -->
64
+ <nav class="absolute top-0 w-full z-30 p-6">
65
+ <div class="max-w-7xl mx-auto flex justify-between items-center">
66
+ <div class="text-xl font-medium text-white tracking-tighter">Synergy Plumbing</div>
67
+ <div class="hidden md:flex space-x-8 text-gray-300">
68
+ <a href="#" class="hover:text-white transition-colors">Home</a>
69
+ <a href="#services" class="hover:text-white transition-colors">Services</a>
70
+ <a href="#about" class="hover:text-white transition-colors">About</a>
71
+ <a href="#contact" class="hover:text-white transition-colors">Contact</a>
72
+ </div>
73
+ <button id="mobile-menu-button" class="md:hidden text-white">
74
+ <i class="fas fa-bars text-2xl"></i>
75
+ </button>
76
+ </div>
77
+
78
+ <!-- Desktop Navigation -->
79
+ <div class="hidden md:flex space-x-8">
80
+ <a href="#" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Home</a>
81
+ <a href="#services" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Services</a>
82
+ <a href="#about" class="nav-link text-gray-700 hover:text-blue-600 font-medium">About</a>
83
+ <a href="#contact" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Contact</a>
84
+ <a href="https://www.facebook.com/profile.php?id=100065306477842" target="_blank" class="text-blue-600 hover:text-blue-800 text-xl">
85
+ <i class="fab fa-facebook"></i>
86
+ </a>
87
+ </div>
88
+
89
+ <!-- Mobile Menu Button -->
90
+ <button id="mobile-menu-button" class="md:hidden text-gray-700 focus:outline-none">
91
+ <i class="fas fa-bars text-2xl"></i>
92
+ </button>
93
+ </div>
94
+
95
+ <!-- Mobile Menu -->
96
+ <div id="mobile-menu" class="mobile-menu fixed inset-y-0 right-0 w-64 bg-white shadow-lg z-50 p-6">
97
+ <div class="flex justify-between items-center mb-8">
98
+ <span class="text-xl font-bold text-blue-600">Menu</span>
99
+ <button id="close-menu-button" class="text-gray-700 focus:outline-none">
100
+ <i class="fas fa-times text-2xl"></i>
101
+ </button>
102
+ </div>
103
+ <div class="flex flex-col space-y-6">
104
+ <a href="#" class="text-gray-700 hover:text-blue-600 font-medium border-b pb-2">Home</a>
105
+ <a href="#services" class="text-gray-700 hover:text-blue-600 font-medium border-b pb-2">Services</a>
106
+ <a href="#about" class="text-gray-700 hover:text-blue-600 font-medium border-b pb-2">About</a>
107
+ <a href="#contact" class="text-gray-700 hover:text-blue-600 font-medium border-b pb-2">Contact</a>
108
+ <div class="pt-4">
109
+ <a href="https://www.facebook.com/profile.php?id=100065306477842" target="_blank" class="text-blue-600 hover:text-blue-800 text-xl">
110
+ <i class="fab fa-facebook mr-2"></i> Follow us on Facebook
111
+ </a>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ </nav>
116
+
117
+ <!-- Hero Section -->
118
+ <section class="relative min-h-screen overflow-hidden bg-gray-900">
119
+ <!-- Wave Animation Background -->
120
+ <div class="wave-container absolute inset-0">
121
+ <canvas id="canvas" class="w-full h-full" width="1113" height="1052"></canvas>
122
+ </div>
123
+
124
+ <!-- Dark overlay for better text readability -->
125
+ <div class="absolute inset-0 bg-gray-900/40"></div>
126
+
127
+ <!-- Hero Content -->
128
+ <div class="relative z-20 flex items-center justify-center min-h-screen px-6">
129
+ <div class="max-w-5xl mx-auto text-center">
130
+ <!-- Main Heading -->
131
+ <h1 class="md:text-7xl lg:text-8xl leading-tight text-5xl font-bold text-white tracking-tighter mb-6 pt-0 pb-0">Professional<span class="block bg-clip-text text-transparent bg-gradient-to-br from-pink-500 via-rose-500 to-cyan-500 pb-2">Plumbing Services</span></h1>
132
+
133
+ <!-- Subheading -->
134
+ <p class="md:text-2xl max-w-3xl leading-relaxed text-xl text-gray-300 mr-auto mb-12 ml-auto">
135
+ Quality plumbing solutions for the Top of the South, New Zealand. Licensed professionals serving residential and commercial clients.
136
+ </p>
137
+
138
+ <!-- CTA Buttons -->
139
+ <div class="flex flex-col sm:flex-row gap-4 justify-center items-center mb-16">
140
+ <a href="#contact" class="transition-all duration-200 transform hover:scale-105 shadow-red-500/25 font-semibold text-white bg-gradient-to-br from-pink-500 via-rose-500 to-cyan-500 rounded-lg pt-4 pr-8 pb-4 pl-8 shadow-lg">
141
+ Contact Us
142
+ </a>
143
+ <a href="#services" class="px-8 py-4 bg-gray-800/60 backdrop-blur-sm border border-gray-700/50 text-white font-semibold rounded-lg hover:bg-gray-700/60 transition-all duration-200">
144
+ Our Services
145
+ </a>
146
+ </div>
147
+ </div>
148
+ </div>
149
+
150
+ <!-- Scroll Indicator -->
151
+ <div class="absolute bottom-8 left-1/2 transform -translate-x-1/2 z-20">
152
+ <div class="flex flex-col items-center text-gray-400">
153
+ <span class="text-sm mb-2">Scroll to explore</span>
154
+ <div class="w-6 h-10 border-2 border-gray-600 rounded-full flex justify-center">
155
+ <div class="w-1 h-3 bg-gray-400 rounded-full mt-2 animate-bounce"></div>
156
+ </div>
157
+ </div>
158
+ </div>
159
+ </section>
160
+
161
+ <!-- Main Content -->
162
+ <main id="main-content" class="container mx-auto px-4 py-16">
163
+ <!-- Services Section -->
164
+ <section id="services" class="mb-20">
165
+ <div class="text-center mb-12">
166
+ <h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">Our Services</h2>
167
+ <div class="w-20 h-1 bg-blue-600 mx-auto"></div>
168
+ </div>
169
+
170
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
171
+ <!-- Service 1 -->
172
+ <div class="info-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl">
173
+ <div class="p-6">
174
+ <div class="text-blue-600 text-4xl mb-4">
175
+ <i class="fas fa-faucet"></i>
176
+ </div>
177
+ <h3 class="text-xl font-bold mb-3">Residential Plumbing</h3>
178
+ <p class="text-gray-600">Comprehensive plumbing solutions for your home including repairs, installations, and maintenance.</p>
179
+ </div>
180
+ </div>
181
+
182
+ <!-- Service 2 -->
183
+ <div class="info-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl">
184
+ <div class="p-6">
185
+ <div class="text-blue-600 text-4xl mb-4">
186
+ <i class="fas fa-building"></i>
187
+ </div>
188
+ <h3 class="text-xl font-bold mb-3">Commercial Plumbing</h3>
189
+ <p class="text-gray-600">Professional plumbing services tailored for businesses and commercial properties.</p>
190
+ </div>
191
+ </div>
192
+
193
+ <!-- Service 3 -->
194
+ <div class="info-card bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl">
195
+ <div class="p-6">
196
+ <div class="text-blue-600 text-4xl mb-4">
197
+ <i class="fas fa-tools"></i>
198
+ </div>
199
+ <h3 class="text-xl font-bold mb-3">Emergency Repairs</h3>
200
+ <p class="text-gray-600">24/7 emergency plumbing services to address urgent issues when you need them most.</p>
201
+ </div>
202
+ </div>
203
+ </div>
204
+ </section>
205
+
206
+ <!-- About Section -->
207
+ <section id="about" class="mb-20">
208
+ <div class="flex flex-col lg:flex-row items-center gap-12">
209
+ <div class="lg:w-1/2">
210
+ <img src="https://images.squarespace-cdn.com/content/v1/643cfdb6b8b57874b90eaf4a/eca8e199-758b-4d47-9149-00f0b4fa033c/IMG_0083.jpeg"
211
+ alt="Synergy Plumbing Team"
212
+ class="rounded-lg shadow-lg w-full h-auto object-cover">
213
+ </div>
214
+ <div class="lg:w-1/2">
215
+ <h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-6">About Synergy Plumbing</h2>
216
+ <p class="text-gray-600 mb-4">
217
+ Synergy Plumbing is a trusted plumbing service provider serving the Top of the South, New Zealand.
218
+ With years of experience and a commitment to quality, we deliver exceptional plumbing solutions
219
+ for both residential and commercial clients.
220
+ </p>
221
+ <p class="text-gray-600 mb-6">
222
+ Our team of licensed plumbers takes pride in their workmanship, ensuring every job is completed
223
+ to the highest standards. We believe in building lasting relationships with our clients through
224
+ reliability, transparency, and outstanding service.
225
+ </p>
226
+ <div class="flex flex-wrap gap-4">
227
+ <div class="flex items-center bg-blue-50 px-4 py-2 rounded-full">
228
+ <i class="fas fa-check-circle text-blue-600 mr-2"></i>
229
+ <span>Licensed Professionals</span>
230
+ </div>
231
+ <div class="flex items-center bg-blue-50 px-4 py-2 rounded-full">
232
+ <i class="fas fa-check-circle text-blue-600 mr-2"></i>
233
+ <span>Quality Workmanship</span>
234
+ </div>
235
+ <div class="flex items-center bg-blue-50 px-4 py-2 rounded-full">
236
+ <i class="fas fa-check-circle text-blue-600 mr-2"></i>
237
+ <span>Reliable Service</span>
238
+ </div>
239
+ </div>
240
+ </div>
241
+ </div>
242
+ </section>
243
+
244
+ <!-- Contact & Info Section -->
245
+ <section id="contact" class="mb-20">
246
+ <div class="text-center mb-12">
247
+ <h2 class="text-3xl md:text-4xl font-bold text-gray-800 mb-4">Contact Us</h2>
248
+ <div class="w-20 h-1 bg-blue-600 mx-auto"></div>
249
+ </div>
250
+
251
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
252
+ <!-- Location Card -->
253
+ <div class="info-card bg-white rounded-lg shadow-md p-6 text-center">
254
+ <div class="text-blue-600 text-4xl mb-4">
255
+ <i class="fas fa-map-marker-alt"></i>
256
+ </div>
257
+ <h3 class="text-xl font-bold mb-3">Location</h3>
258
+ <p class="text-gray-600 mb-2">Top of the South</p>
259
+ <p class="text-gray-600">New Zealand</p>
260
+ </div>
261
+
262
+ <!-- Hours Card -->
263
+ <div class="info-card bg-white rounded-lg shadow-md p-6 text-center">
264
+ <div class="text-blue-600 text-4xl mb-4">
265
+ <i class="fas fa-clock"></i>
266
+ </div>
267
+ <h3 class="text-xl font-bold mb-3">Hours</h3>
268
+ <p class="text-gray-600 mb-1">Monday — Friday</p>
269
+ <p class="text-gray-600 mb-1">7:30am — 4:30pm</p>
270
+ <p class="text-gray-600 text-sm mt-2">After-hours service available</p>
271
+ </div>
272
+
273
+ <!-- Contact Card -->
274
+ <div class="info-card bg-white rounded-lg shadow-md p-6 text-center">
275
+ <div class="text-blue-600 text-4xl mb-4">
276
+ <i class="fas fa-envelope"></i>
277
+ </div>
278
+ <h3 class="text-xl font-bold mb-3">Contact</h3>
279
+ <p class="text-gray-600 mb-2">
280
+ <a href="mailto:info@synergyplumbing.co.nz" class="hover:text-blue-600">info@synergyplumbing.co.nz</a>
281
+ </p>
282
+ <p class="text-gray-600">
283
+ <a href="tel:0273457746" class="hover:text-blue-600">027 345 7746</a>
284
+ </p>
285
+ </div>
286
+ </div>
287
+
288
+ <!-- Contact Form -->
289
+ <div class="mt-16 bg-white rounded-lg shadow-md p-8 max-w-3xl mx-auto">
290
+ <h3 class="text-2xl font-bold text-center mb-6">Send Us a Message</h3>
291
+ <form id="contact-form" class="space-y-6">
292
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
293
+ <div>
294
+ <label for="name" class="block text-gray-700 mb-2">Name</label>
295
+ <input type="text" id="name" name="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-600">
296
+ </div>
297
+ <div>
298
+ <label for="email" class="block text-gray-700 mb-2">Email</label>
299
+ <input type="email" id="email" name="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-600">
300
+ </div>
301
+ </div>
302
+ <div>
303
+ <label for="phone" class="block text-gray-700 mb-2">Phone</label>
304
+ <input type="tel" id="phone" name="phone" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-600">
305
+ </div>
306
+ <div>
307
+ <label for="message" class="block text-gray-700 mb-2">Message</label>
308
+ <textarea id="message" name="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-600"></textarea>
309
+ </div>
310
+ <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-lg transition duration-300">
311
+ Send Message
312
+ </button>
313
+ </form>
314
+ </div>
315
+ </section>
316
+ </main>
317
+
318
+ <!-- Footer -->
319
+ <footer class="bg-gray-800 text-white py-12">
320
+ <div class="container mx-auto px-4">
321
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
322
+ <div>
323
+ <h3 class="text-xl font-bold mb-4">Synergy Plumbing</h3>
324
+ <p class="text-gray-400">Professional plumbing services for the Top of the South, New Zealand.</p>
325
+ </div>
326
+ <div>
327
+ <h3 class="text-xl font-bold mb-4">Quick Links</h3>
328
+ <ul class="space-y-2">
329
+ <li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
330
+ <li><a href="#services" class="text-gray-400 hover:text-white">Services</a></li>
331
+ <li><a href="#about" class="text-gray-400 hover:text-white">About</a></li>
332
+ <li><a href="#contact" class="text-gray-400 hover:text-white">Contact</a></li>
333
+ </ul>
334
+ </div>
335
+ <div>
336
+ <h3 class="text-xl font-bold mb-4">Connect With Us</h3>
337
+ <div class="flex space-x-4">
338
+ <a href="https://www.facebook.com/profile.php?id=100065306477842" target="_blank" class="text-gray-400 hover:text-white text-2xl">
339
+ <i class="fab fa-facebook"></i>
340
+ </a>
341
+ </div>
342
+ <div class="mt-4">
343
+ <p class="text-gray-400">Email: info@synergyplumbing.co.nz</p>
344
+ <p class="text-gray-400">Phone: 027 345 7746</p>
345
+ </div>
346
+ </div>
347
+ </div>
348
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
349
+ <p>&copy; 2023 Synergy Plumbing. All rights reserved.</p>
350
+ </div>
351
+ </div>
352
+ </footer>
353
+
354
+ <script>
355
+ // Wave Animation
356
+ const canvas = document.getElementById('canvas');
357
+ const ctx = canvas.getContext('2d');
358
+
359
+ let width, height, imageData, data;
360
+ const SCALE = 2;
361
+
362
+ function resizeCanvas() {
363
+ canvas.width = window.innerWidth;
364
+ canvas.height = window.innerHeight;
365
+ width = Math.floor(canvas.width / SCALE);
366
+ height = Math.floor(canvas.height / SCALE);
367
+ imageData = ctx.createImageData(width, height);
368
+ data = imageData.data;
369
+ }
370
+
371
+ window.addEventListener('resize', resizeCanvas);
372
+ resizeCanvas();
373
+
374
+ let startTime = Date.now();
375
+
376
+ const SIN_TABLE = new Float32Array(1024);
377
+ const COS_TABLE = new Float32Array(1024);
378
+ for (let i = 0; i < 1024; i++) {
379
+ const angle = (i / 1024) * Math.PI * 2;
380
+ SIN_TABLE[i] = Math.sin(angle);
381
+ COS_TABLE[i] = Math.cos(angle);
382
+ }
383
+
384
+ function fastSin(x) {
385
+ const index = Math.floor(((x % (Math.PI * 2)) / (Math.PI * 2)) * 1024) & 1023;
386
+ return SIN_TABLE[index];
387
+ }
388
+
389
+ function fastCos(x) {
390
+ const index = Math.floor(((x % (Math.PI * 2)) / (Math.PI * 2)) * 1024) & 1023;
391
+ return COS_TABLE[index];
392
+ }
393
+
394
+ function render() {
395
+ const time = (Date.now() - startTime) * 0.001;
396
+
397
+ for (let y = 0; y < height; y++) {
398
+ for (let x = 0; x < width; x++) {
399
+ const u_x = (2 * x - width) / height;
400
+ const u_y = (2 * y - height) / height;
401
+
402
+ let a = 0;
403
+ let d = 0;
404
+
405
+ for (let i = 0; i < 4; i++) {
406
+ a += fastCos(i - d + time * 0.5 - a * u_x);
407
+ d += fastSin(i * u_y + a);
408
+ }
409
+
410
+ // Dark theme color palette: deep blues, purples, and grays
411
+ const wave = (fastSin(a) + fastCos(d)) * 0.5;
412
+ const intensity = 0.3 + 0.4 * wave;
413
+
414
+ // Dark base with blue/purple accents
415
+ const baseVal = 0.1 + 0.15 * fastCos(u_x + u_y + time * 0.3);
416
+
417
+ // Blue and purple wave accents
418
+ const blueAccent = 0.2 * fastSin(a * 1.5 + time * 0.2);
419
+ const purpleAccent = 0.15 * fastCos(d * 2 + time * 0.1);
420
+
421
+ const r = Math.max(0, Math.min(1, baseVal + purpleAccent * 0.8)) * intensity;
422
+ const g = Math.max(0, Math.min(1, baseVal + blueAccent * 0.6)) * intensity;
423
+ const b = Math.max(0, Math.min(1, baseVal + blueAccent * 1.2 + purpleAccent * 0.4)) * intensity;
424
+
425
+ const finalR = r * 255;
426
+ const finalG = g * 255;
427
+ const finalB = b * 255;
428
+
429
+ const index = (y * width + x) * 4;
430
+ data[index] = finalR;
431
+ data[index + 1] = finalG;
432
+ data[index + 2] = finalB;
433
+ data[index + 3] = 255;
434
+ }
435
+ }
436
+
437
+ ctx.putImageData(imageData, 0, 0);
438
+ if (SCALE > 1) {
439
+ ctx.imageSmoothingEnabled = false;
440
+ ctx.drawImage(canvas, 0, 0, width, height, 0, 0, canvas.width, canvas.height);
441
+ }
442
+
443
+ requestAnimationFrame(render);
444
+ }
445
+
446
+ render();
447
+
448
+ // Mobile Menu Toggle
449
+ const mobileMenuButton = document.getElementById('mobile-menu-button');
450
+ const closeMenuButton = document.getElementById('close-menu-button');
451
+ const mobileMenu = document.getElementById('mobile-menu');
452
+
453
+ mobileMenuButton.addEventListener('click', () => {
454
+ mobileMenu.classList.add('open');
455
+ document.body.style.overflow = 'hidden';
456
+ });
457
+
458
+ closeMenuButton.addEventListener('click', () => {
459
+ mobileMenu.classList.remove('open');
460
+ document.body.style.overflow = '';
461
+ });
462
+
463
+ // Close menu when clicking outside
464
+ document.addEventListener('click', (e) => {
465
+ if (!mobileMenu.contains(e.target) && e.target !== mobileMenuButton) {
466
+ mobileMenu.classList.remove('open');
467
+ document.body.style.overflow = '';
468
+ }
469
+ });
470
+
471
+ // Smooth scrolling for anchor links
472
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
473
+ anchor.addEventListener('click', function (e) {
474
+ e.preventDefault();
475
+
476
+ const targetId = this.getAttribute('href');
477
+ if (targetId === '#') return;
478
+
479
+ const targetElement = document.querySelector(targetId);
480
+ if (targetElement) {
481
+ window.scrollTo({
482
+ top: targetElement.offsetTop - 80,
483
+ behavior: 'smooth'
484
+ });
485
+
486
+ // Close mobile menu if open
487
+ mobileMenu.classList.remove('open');
488
+ document.body.style.overflow = '';
489
+ }
490
+ });
491
+ });
492
+
493
+ // Form submission
494
+ const contactForm = document.getElementById('contact-form');
495
+ if (contactForm) {
496
+ contactForm.addEventListener('submit', function(e) {
497
+ e.preventDefault();
498
+
499
+ // Here you would typically send the form data to a server
500
+ // For this example, we'll just show an alert
501
+ alert('Thank you for your message! We will get back to you soon.');
502
+ this.reset();
503
+ });
504
+ }
505
+ </script>
506
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=noisez/web-master" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
507
+ </html>