File size: 15,961 Bytes
4ea3c28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AIPHY | Giphy for Sound Clips</title>
<link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script>
      tailwind.config = {
        theme: {
          extend: {
            colors: {
              primary: '#6D4AFF',
              secondary: '#F3F4F6',
            }
          }
        }
      }
    </script>
</head>
<body class="bg-[#F8F8F8] font-sans antialiased">
    <custom-navbar></custom-navbar>

    <div class="container mx-auto px-6 max-w-6xl">
      <!-- Search Section -->
      <div class="flex justify-center py-12">
        <div class="relative w-full max-w-2xl">
          <input type="text" placeholder="Search sounds..." class="w-full px-6 py-4 rounded-2xl border border-gray-200 focus:outline-none focus:ring-2 focus:ring-[#5A5BEA] focus:border-transparent shadow-sm text-gray-900">
          <button class="absolute right-3 top-3.5 text-gray-500">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
              <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
            </svg>
          </button>
        </div>
      </div>

      <!-- Categories -->
      <section class="mb-10">
        <h2 class="text-xl font-semibold mb-4 text-[#1A1A1A]">Categories:</h2>
        <div class="flex flex-wrap gap-3">
          <a href="#" class="px-5 py-2 bg-[#5A5BEA] text-white rounded-full font-medium">All</a>
          <a href="#" class="px-5 py-2 bg-white border border-gray-200 rounded-full text-[#6B6B6B] hover:bg-gray-50 transition">Laughs</a>
          <a href="#" class="px-5 py-2 bg-white border border-gray-200 rounded-full text-[#6B6B6B] hover:bg-gray-50 transition">Shock</a>
          <a href="#" class="px-5 py-2 bg-white border border-gray-200 rounded-full text-[#6B6B6B] hover:bg-gray-50 transition">Hype</a>
          <a href="#" class="px-5 py-2 bg-white border border-gray-200 rounded-full text-[#6B6B6B] hover:bg-gray-50 transition">African</a>
        </div>
      </section>

      <!-- Sound Grid -->
      <section>
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
          <!-- Sound Card 1 -->
          <div class="bg-white rounded-2xl shadow-[0_4px_12px_rgba(0,0,0,0.05)] border border-gray-100 overflow-hidden hover:shadow-md transition-all">
            <div class="p-6 flex items-start gap-4">
              <button class="w-14 h-14 rounded-full bg-black text-white flex items-center justify-center hover:bg-opacity-90 transition">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z" />
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
                </svg>
              </button>
              <div class="flex-1">
                <h3 class="font-semibold text-[#1A1A1A]">Surprised Gasp</h3>
                <p class="text-sm text-[#6B6B6B] mt-1">Shock</p>
              </div>
            </div>
            <div class="px-6 pb-6 flex justify-end gap-3">
              <button class="px-4 py-2 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200 transition text-sm font-medium">
                Download
              </button>
              <button class="px-4 py-2 bg-[#1A1A1A] text-white rounded-lg hover:bg-opacity-90 transition text-sm font-medium">
                Share
              </button>
            </div>
          </div>

          <!-- Sound Card 2 -->
          <div class="bg-white rounded-2xl shadow-[0_4px_12px_rgba(0,0,0,0.05)] border border-gray-100 overflow-hidden hover:shadow-md transition-all">
            <div class="p-6 flex items-start gap-4">
              <button class="w-14 h-14 rounded-full bg-black text-white flex items-center justify-center hover:bg-opacity-90 transition">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z" />
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
                </svg>
              </button>
              <div class="flex-1">
                <h3 class="font-semibold text-[#1A1A1A]">Evil Laugh</h3>
                <p class="text-sm text-[#6B6B6B] mt-1">Laughs</p>
              </div>
            </div>
            <div class="px-6 pb-6 flex justify-end gap-3">
              <button class="px-4 py-2 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200 transition text-sm font-medium">
                Download
              </button>
              <button class="px-4 py-2 bg-[#1A1A1A] text-white rounded-lg hover:bg-opacity-90 transition text-sm font-medium">
                Share
              </button>
            </div>
          </div>

          <!-- Sound Card 3 -->
          <div class="bg-white rounded-2xl shadow-[0_4px_12px_rgba(0,0,0,0.05)] border border-gray-100 overflow-hidden hover:shadow-md transition-all">
            <div class="p-6 flex items-start gap-4">
              <button class="w-14 h-14 rounded-full bg-black text-white flex items-center justify-center hover:bg-opacity-90 transition">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z" />
                  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
                </svg>
              </button>
              <div class="flex-1">
                <h3 class="font-semibold text-[#1A1A1A]">Bass Drop</h3>
                <p class="text-sm text-[#6B6B6B] mt-1">Hype</p>
              </div>
            </div>
            <div class="px-6 pb-6 flex justify-end gap-3">
              <button class="px-4 py-2 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200 transition text-sm font-medium">
                Download
              </button>
              <button class="px-4 py-2 bg-[#1A1A1A] text-white rounded-lg hover:bg-opacity-90 transition text-sm font-medium">
                Share
              </button>
            </div>
          </div>
        </div>
      </section>
    </div>
<main class="container mx-auto px-4 py-8">
        <!-- Hero Section -->
        <section class="text-center mb-16">
            <h1 class="text-4xl md:text-5xl font-bold text-gray-900 mb-4">Discover & Share<br>Audio Reactions</h1>
            <p class="text-xl text-gray-600 max-w-2xl mx-auto mb-8">The best collection of short, expressive sound bites for any situation</p>
            
            <div class="max-w-xl mx-auto relative">
                <input type="text" placeholder="Search sounds..." class="w-full px-6 py-4 rounded-full border border-gray-200 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent shadow-sm">
                <button class="absolute right-2 top-2 bg-primary text-white p-2 rounded-full hover:bg-opacity-90 transition">
                    <i data-feather="search"></i>
                </button>
            </div>
        </section>

        <!-- Categories -->
        <section class="mb-12">
            <h2 class="text-2xl font-semibold mb-6 text-gray-800">Popular Categories</h2>
            <div class="flex flex-wrap gap-3">
                <a href="#" class="px-4 py-2 bg-secondary rounded-full text-gray-700 hover:bg-gray-200 transition">All</a>
                <a href="#" class="px-4 py-2 bg-secondary rounded-full text-gray-700 hover:bg-gray-200 transition">Laughs</a>
                <a href="#" class="px-4 py-2 bg-secondary rounded-full text-gray-700 hover:bg-gray-200 transition">Shock</a>
                <a href="#" class="px-4 py-2 bg-secondary rounded-full text-gray-700 hover:bg-gray-200 transition">Hype</a>
                <a href="#" class="px-4 py-2 bg-secondary rounded-full text-gray-700 hover:bg-gray-200 transition">Meme</a>
                <a href="#" class="px-4 py-2 bg-secondary rounded-full text-gray-700 hover:bg-gray-200 transition">Suspense</a>
            </div>
        </section>

        <!-- Sound Grid -->
        <section>
            <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6">
                <!-- Sound Card 1 -->
                <div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden hover:shadow-md transition">
                    <div class="p-4 flex items-start gap-4">
                        <button class="w-12 h-12 rounded-full bg-primary text-white flex items-center justify-center hover:bg-opacity-90 transition">
                            <i data-feather="play"></i>
                        </button>
                        <div class="flex-1">
                            <h3 class="font-medium text-gray-900">Surprised Gasp</h3>
                            <p class="text-sm text-gray-500">0.8s 路 Shock</p>
                        </div>
                    </div>
                    <div class="px-4 pb-4 flex justify-between">
                        <button class="text-gray-500 hover:text-primary transition">
                            <i data-feather="download"></i>
                        </button>
                        <button class="text-gray-500 hover:text-primary transition">
                            <i data-feather="share-2"></i>
                        </button>
                    </div>
                </div>

                <!-- Sound Card 2 -->
                <div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden hover:shadow-md transition">
                    <div class="p-4 flex items-start gap-4">
                        <button class="w-12 h-12 rounded-full bg-primary text-white flex items-center justify-center hover:bg-opacity-90 transition">
                            <i data-feather="play"></i>
                        </button>
                        <div class="flex-1">
                            <h3 class="font-medium text-gray-900">Evil Laugh</h3>
                            <p class="text-sm text-gray-500">2.1s 路 Laughs</p>
                        </div>
                    </div>
                    <div class="px-4 pb-4 flex justify-between">
                        <button class="text-gray-500 hover:text-primary transition">
                            <i data-feather="download"></i>
                        </button>
                        <button class="text-gray-500 hover:text-primary transition">
                            <i data-feather="share-2"></i>
                        </button>
                    </div>
                </div>

                <!-- Sound Card 3 -->
                <div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden hover:shadow-md transition">
                    <div class="p-4 flex items-start gap-4">
                        <button class="w-12 h-12 rounded-full bg-primary text-white flex items-center justify-center hover:bg-opacity-90 transition">
                            <i data-feather="play"></i>
                        </button>
                        <div class="flex-1">
                            <h3 class="font-medium text-gray-900">Dramatic Whoosh</h3>
                            <p class="text-sm text-gray-500">1.5s 路 Suspense</p>
                        </div>
                    </div>
                    <div class="px-4 pb-4 flex justify-between">
                        <button class="text-gray-500 hover:text-primary transition">
                            <i data-feather="download"></i>
                        </button>
                        <button class="text-gray-500 hover:text-primary transition">
                            <i data-feather="share-2"></i>
                        </button>
                    </div>
                </div>

                <!-- Sound Card 4 -->
                <div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden hover:shadow-md transition">
                    <div class="p-4 flex items-start gap-4">
                        <button class="w-12 h-12 rounded-full bg-primary text-white flex items-center justify-center hover:bg-opacity-90 transition">
                            <i data-feather="play"></i>
                        </button>
                        <div class="flex-1">
                            <h3 class="font-medium text-gray-900">Crowd Cheer</h3>
                            <p class="text-sm text-gray-500">3.2s 路 Hype</p>
                        </div>
                    </div>
                    <div class="px-4 pb-4 flex justify-between">
                        <button class="text-gray-500 hover:text-primary transition">
                            <i data-feather="download"></i>
                        </button>
                        <button class="text-gray-500 hover:text-primary transition">
                            <i data-feather="share-2"></i>
                        </button>
                    </div>
                </div>
            </div>
        </section>

        <!-- CTA Section -->
        <section class="mt-16 text-center">
            <h2 class="text-2xl font-semibold mb-4 text-gray-800">Got a great reaction sound?</h2>
            <p class="text-gray-600 mb-6 max-w-2xl mx-auto">Upload your own short audio clips to share with the community</p>
            <a href="/upload" class="inline-block bg-primary text-white px-6 py-3 rounded-lg hover:bg-opacity-90 transition font-medium">Upload a Reaction</a>
        </section>
    </main>

    <custom-footer></custom-footer>

    <!-- Audio Player (fixed at bottom) -->
    <div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-3 shadow-lg">
        <div class="container mx-auto flex items-center justify-between">
            <div class="flex items-center gap-3">
                <button class="w-10 h-10 rounded-full bg-primary text-white flex items-center justify-center hover:bg-opacity-90 transition">
                    <i data-feather="play"></i>
                </button>
                <div>
                    <p class="font-medium text-gray-900">Currently Playing</p>
                    <p class="text-sm text-gray-500">0:12 / 0:45</p>
                </div>
            </div>
            <div class="flex items-center gap-4">
                <button class="text-gray-500 hover:text-primary transition">
                    <i data-feather="download"></i>
                </button>
                <button class="text-gray-500 hover:text-primary transition">
                    <i data-feather="share-2"></i>
                </button>
            </div>
        </div>
    </div>

    <!-- Component Scripts -->
    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>