Jinny commited on
Commit
b4dab9a
·
verified ·
1 Parent(s): 0e43d17

fix it - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +50 -11
index.html CHANGED
@@ -11,6 +11,22 @@
11
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M80,50c0,0-15,10-30,0S20,30,20,50s10,20,30,10S80,50,80,50z" fill="%23fbbf24" opacity="0.1"/></svg>');
12
  background-size: 200px;
13
  background-repeat: repeat;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  }
15
 
16
  .wave {
@@ -20,10 +36,10 @@
20
  .wave::after {
21
  content: "";
22
  position: absolute;
23
- bottom: -10px;
24
  left: 0;
25
  width: 100%;
26
- height: 20px;
27
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23fbbf24" fill-opacity="0.2" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
28
  background-size: cover;
29
  }
@@ -39,10 +55,12 @@
39
  }
40
 
41
  .bubble {
42
- position: absolute;
43
  background-color: rgba(255, 255, 255, 0.6);
44
  border-radius: 50%;
45
- animation: float 4s ease-in-out infinite;
 
 
46
  }
47
 
48
  @keyframes float {
@@ -50,9 +68,14 @@
50
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.8; }
51
  100% { transform: translateY(-40px) scale(1.2); opacity: 0; }
52
  }
 
 
 
 
 
53
  </style>
54
  </head>
55
- <body class="min-h-screen bg-amber-50 fish-bg flex flex-col items-center justify-center p-4">
56
  <div class="max-w-2xl w-full bg-white rounded-3xl shadow-xl overflow-hidden">
57
  <!-- Header with fish icon -->
58
  <div class="bg-amber-400 wave p-6 text-center relative">
@@ -70,11 +93,11 @@
70
  <div class="space-y-2">
71
  <label class="block text-amber-800 font-medium">Pet Type</label>
72
  <div class="flex space-x-4">
73
- <button id="dog-btn" class="pet-type-btn active bg-amber-100 border-amber-400 text-amber-800">
74
- <i class="fas fa-dog mr-2"></i> Dog
75
  </button>
76
- <button id="cat-btn" class="pet-type-btn bg-gray-100 border-gray-300 text-gray-700">
77
- <i class="fas fa-cat mr-2"></i> Cat
78
  </button>
79
  </div>
80
  </div>
@@ -116,7 +139,7 @@
116
  </div>
117
 
118
  <!-- Calculate button -->
119
- <button id="calculate-btn" class="w-full mt-8 py-4 bg-amber-500 hover:bg-amber-600 text-white font-bold rounded-xl shadow-md transition duration-300 flex items-center justify-center">
120
  <i class="fas fa-calculator mr-3"></i> Calculate Omega-3 Needs
121
  </button>
122
  </div>
@@ -199,7 +222,7 @@
199
  </div>
200
 
201
  <!-- Fun bubbles in the background -->
202
- <div id="bubbles-container" class="fixed top-0 left-0 w-full h-full pointer-events-none z-0"></div>
203
 
204
  <script>
205
  // Create bubbles
@@ -361,6 +384,22 @@
361
 
362
  // Initialize
363
  createBubbles();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  </script>
365
  <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=Jinny/omega3-needs-for-pets" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
366
  </html>
 
11
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M80,50c0,0-15,10-30,0S20,30,20,50s10,20,30,10S80,50,80,50z" fill="%23fbbf24" opacity="0.1"/></svg>');
12
  background-size: 200px;
13
  background-repeat: repeat;
14
+ position: relative;
15
+ overflow: hidden;
16
+ }
17
+
18
+ .floating-fish {
19
+ position: fixed;
20
+ opacity: 0.2;
21
+ animation: floatFish 25s linear infinite;
22
+ z-index: -1;
23
+ pointer-events: none;
24
+ }
25
+
26
+ @keyframes floatFish {
27
+ 0% { transform: translateX(-50px) translateY(0) rotate(0deg); }
28
+ 50% { transform: translateX(calc(100vw + 50px)) translateY(50px) rotate(360deg); }
29
+ 100% { transform: translateX(-50px) translateY(0) rotate(720deg); }
30
  }
31
 
32
  .wave {
 
36
  .wave::after {
37
  content: "";
38
  position: absolute;
39
+ bottom: -15px;
40
  left: 0;
41
  width: 100%;
42
+ height: 30px;
43
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23fbbf24" fill-opacity="0.2" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
44
  background-size: cover;
45
  }
 
55
  }
56
 
57
  .bubble {
58
+ position: fixed;
59
  background-color: rgba(255, 255, 255, 0.6);
60
  border-radius: 50%;
61
+ animation: float 6s ease-in-out infinite;
62
+ z-index: -1;
63
+ pointer-events: none;
64
  }
65
 
66
  @keyframes float {
 
68
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.8; }
69
  100% { transform: translateY(-40px) scale(1.2); opacity: 0; }
70
  }
71
+
72
+ @keyframes bounce {
73
+ from { transform: translateY(0); }
74
+ to { transform: translateY(-5px); }
75
+ }
76
  </style>
77
  </head>
78
+ <body class="min-h-screen bg-amber-50 fish-bg flex flex-col items-center justify-center p-4" style="cursor: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path fill=\"%23f59e0b\" d=\"M12 2c2.21 0 4 1.79 4 4 0 1.07-.43 2.03-1.12 2.73-.69.7-1.66 1.12-2.73 1.12-1.07 0-2.03-.43-2.73-1.12C8.43 8.03 8 7.07 8 6c0-2.21 1.79-4 4-4zm-6 7c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm12 0c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm-6 7c1.38 0 2.5-1.12 2.5-2.5S13.38 11 12 11s-2.5 1.12-2.5 2.5S10.62 16 12 16z\"/></svg>'), auto;">
79
  <div class="max-w-2xl w-full bg-white rounded-3xl shadow-xl overflow-hidden">
80
  <!-- Header with fish icon -->
81
  <div class="bg-amber-400 wave p-6 text-center relative">
 
93
  <div class="space-y-2">
94
  <label class="block text-amber-800 font-medium">Pet Type</label>
95
  <div class="flex space-x-4">
96
+ <button id="dog-btn" class="pet-type-btn active bg-amber-100 border-amber-400 text-amber-800 transform hover:scale-105 transition">
97
+ <i class="fas fa-dog mr-2 bounce" style="animation: bounce 0.5s infinite alternate;"></i> Dog
98
  </button>
99
+ <button id="cat-btn" class="pet-type-btn bg-gray-100 border-gray-300 text-gray-700 transform hover:scale-105 transition">
100
+ <i class="fas fa-cat mr-2 bounce" style="animation: bounce 0.5s infinite alternate;"></i> Cat
101
  </button>
102
  </div>
103
  </div>
 
139
  </div>
140
 
141
  <!-- Calculate button -->
142
+ <button id="calculate-btn" class="w-full mt-8 py-4 bg-amber-500 hover:bg-amber-600 text-white font-bold rounded-xl shadow-md transition duration-300 flex items-center justify-center transform hover:scale-105 active:scale-95 hover:rotate-1">
143
  <i class="fas fa-calculator mr-3"></i> Calculate Omega-3 Needs
144
  </button>
145
  </div>
 
222
  </div>
223
 
224
  <!-- Fun bubbles in the background -->
225
+ <div id="bubbles-container" class="fixed top-0 left-0 w-full h-full pointer-events-none z-10"></div>
226
 
227
  <script>
228
  // Create bubbles
 
384
 
385
  // Initialize
386
  createBubbles();
387
+ createFloatingFish();
388
+
389
+ // Create floating fish elements
390
+ function createFloatingFish() {
391
+ const colors = ['#fbbf24', '#f59e0b', '#f97316', '#ef4444'];
392
+ for (let i = 0; i < 8; i++) {
393
+ const fish = document.createElement('div');
394
+ fish.className = 'floating-fish';
395
+ fish.innerHTML = `<i class="fas fa-fish" style="color: ${colors[i%4]}; font-size: ${Math.random() * 30 + 20}px;"></i>`;
396
+ fish.style.top = `${Math.random() * 100}%`;
397
+ fish.style.left = `${Math.random() * 100}%`;
398
+ fish.style.animationDuration = `${Math.random() * 10 + 10}s`;
399
+ fish.style.animationDelay = `${Math.random() * 5}s`;
400
+ document.body.appendChild(fish);
401
+ }
402
+ }
403
  </script>
404
  <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=Jinny/omega3-needs-for-pets" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
405
  </html>