File size: 15,261 Bytes
e774b7c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5bad1ac
e774b7c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>์Œ์•… ์—…๋กœ๋“œ - AI Music Hub</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
        tailwind.config = {
            darkMode: 'class',
            theme: {
                extend: {
                    colors: {
                        navy: '#0f172a',
                        charcoal: '#1e293b',
                        accent: {
                            from: '#a855f7',
                            to: '#ec4899'
                        }
                    },
                    backgroundImage: {
                        'glass': 'linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05))',
                        'neon-glow': 'linear-gradient(45deg, #a855f7, #ec4899, #a855f7)',
                    },
                    boxShadow: {
                        'neon': '0 0 5px #a855f7, 0 0 10px #ec4899, 0 0 15px #a855f7',
                        'neon-hover': '0 0 10px #a855f7, 0 0 20px #ec4899, 0 0 30px #a855f7'
                    }
                }
            }
        }
    </script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Noto Sans KR', sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #f8fafc;
            min-height: 100vh;
        }
        
        .glass-button {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .glass-button:hover {
            box-shadow: 0 0 10px #a855f7, 0 0 20px #ec4899, 0 0 30px #a855f7;
            transform: translateY(-2px);
        }
        
        .neon-border {
            border: 1px solid transparent;
            background: linear-gradient(#0f172a, #0f172a) padding-box,
                        linear-gradient(45deg, #a855f7, #ec4899) border-box;
        }
        
        .upload-area {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
            backdrop-filter: blur(10px);
            border: 2px dashed rgba(168, 85, 247, 0.3);
            transition: all 0.3s ease;
        }
        
        .upload-area:hover, .upload-area.dragover {
            border-color: #a855f7;
            box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
        }
        
        .form-input {
            background: rgba(30, 41, 59, 0.5);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }
        
        .form-input:focus {
            box-shadow: 0 0 5px #a855f7, 0 0 10px #ec4899;
            border-color: transparent;
        }
        
        .select-box {
            background: rgba(30, 41, 59, 0.5);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
    </style>
</head>
<body class="min-h-screen">
    <!-- Navigation -->
    <nav class="fixed w-full z-50 bg-navy/80 backdrop-blur-md border-b border-gray-800">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <a href="index.html" class="flex items-center space-x-2">
                <div class="w-8 h-8 rounded-full bg-gradient-to-r from-accent-from to-accent-to flex items-center justify-center">
                    <i data-feather="music" class="text-white"></i>
                </div>
                <span class="text-xl font-bold bg-gradient-to-r from-accent-from to-accent-to bg-clip-text text-transparent">AI Music Hub</span>
            </a>
            
            <div class="flex items-center space-x-4">
                <a href="index.html" class="text-gray-300 hover:text-white transition">ํ™ˆ์œผ๋กœ</a>
                <a href="collection.html" class="text-gray-300 hover:text-white transition">์ปฌ๋ ‰์…˜</a>
                <a href="mypage.html" class="text-gray-300 hover:text-white transition">๋งˆ์ดํŽ˜์ด์ง€</a>
                
                <div class="relative">
                    <a href="mypage.html" class="w-10 h-10 rounded-full bg-gradient-to-r from-accent-from to-accent-to flex items-center justify-center">
                        <i data-feather="user" class="text-white"></i>
                    </a>
                </div>
            </div>
        </div>
    </nav>

    <!-- Upload Section -->
    <section class="pt-32 pb-20 px-4">
        <div class="container mx-auto max-w-4xl">
            <h1 class="text-3xl md:text-4xl font-bold mb-2 text-center" data-aos="fade-up">AI ์Œ์•… ์—…๋กœ๋“œ</h1>
            <p class="text-gray-400 text-center mb-10" data-aos="fade-up" data-aos-delay="100">AI๋กœ ์ƒ์„ฑํ•œ ์Œ์•…์„ ์—…๋กœ๋“œํ•˜๊ณ  ์ปค๋ฎค๋‹ˆํ‹ฐ์™€ ๊ณต์œ ํ•˜์„ธ์š”</p>
            
            <div class="bg-charcoal/50 backdrop-blur-md rounded-2xl p-6 md:p-8" data-aos="fade-up" data-aos-delay="200">
                <!-- Upload Area -->
                <div class="upload-area rounded-xl p-8 text-center mb-8 cursor-pointer" id="dropArea">
                    <i data-feather="upload-cloud" class="w-12 h-12 mx-auto text-accent-from mb-4"></i>
                    <h3 class="text-xl font-semibold mb-2">์Œ์•… ํŒŒ์ผ ์—…๋กœ๋“œ</h3>
                    <p class="text-gray-400 mb-4">MP3, WAV, FLAC ํŒŒ์ผ์„ ๋“œ๋ž˜๊ทธ ์•ค ๋“œ๋กญํ•˜๊ฑฐ๋‚˜ ํด๋ฆญํ•˜์—ฌ ์„ ํƒํ•˜์„ธ์š”</p>
                    <button class="glass-button px-6 py-2 text-white mx-auto">ํŒŒ์ผ ์„ ํƒ</button>
                    <input type="file" class="hidden" id="fileInput" accept="audio/*">
                </div>
                
                <!-- Track Info Form -->
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
                    <div>
                        <label class="block text-sm font-medium mb-2">์Œ์•… ์ œ๋ชฉ</label>
                        <input type="text" class="form-input w-full px-4 py-3 rounded-lg focus:outline-none" placeholder="์ œ๋ชฉ์„ ์ž…๋ ฅํ•˜์„ธ์š”">
                    </div>
                    
                    <div>
                        <label class="block text-sm font-medium mb-2">์ปค๋ฒ„ ์•„ํŠธ</label>
                        <div class="flex items-center space-x-4">
                            <div class="w-16 h-16 bg-gray-700 rounded-lg flex items-center justify-center">
                                <i data-feather="image" class="text-gray-400"></i>
                            </div>
                            <button class="glass-button px-4 py-2 text-white">์ด๋ฏธ์ง€ ์—…๋กœ๋“œ</button>
                        </div>
                    </div>
                </div>
                
                <div class="mb-6">
                    <label class="block text-sm font-medium mb-2">์Œ์•… ์„ค๋ช…</label>
                    <textarea class="form-input w-full px-4 py-3 rounded-lg focus:outline-none h-32" placeholder="์Œ์•…์— ๋Œ€ํ•œ ์„ค๋ช…์„ ์ž…๋ ฅํ•˜์„ธ์š”"></textarea>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
                    <div>
                        <label class="block text-sm font-medium mb-2">ํƒœ๊ทธ</label>
                        <input type="text" class="form-input w-full px-4 py-3 rounded-lg focus:outline-none" placeholder="#์ผ๋ ‰ํŠธ๋กœ๋‹‰ #์•ฐ๋น„์–ธํŠธ #AI">
                        <p class="text-gray-400 text-xs mt-2">์‰ผํ‘œ๋กœ ๊ตฌ๋ถ„ํ•˜์—ฌ ์—ฌ๋Ÿฌ ํƒœ๊ทธ๋ฅผ ์ถ”๊ฐ€ํ•˜์„ธ์š”</p>
                    </div>
                    
                    <div>
                        <label class="block text-sm font-medium mb-2">์ƒ์„ฑ AI ๋„๊ตฌ</label>
                        <div class="relative">
                            <select class="select-box w-full px-4 py-3 rounded-lg appearance-none focus:outline-none">
                                <option>Soundful AI</option>
                                <option>AIVA</option>
                                <option>Amper Music</option>
                                <option>OpenAI MuseNet</option>
                                <option>Jukebox AI</option>
                                <option>Amadeus Code</option>
                                <option>Ecrett Music</option>
                                <option>๊ธฐํƒ€</option>
                            </select>
                            <i data-feather="chevron-down" class="absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none"></i>
                        </div>
                    </div>
                </div>
                
                <!-- Privacy Settings -->
                <div class="mb-8">
                    <label class="block text-sm font-medium mb-4">๊ณต๊ฐœ ์„ค์ •</label>
                    <div class="flex flex-wrap gap-4">
                        <label class="flex items-center space-x-2">
                            <input type="radio" name="privacy" checked>
                            <span>๊ณต๊ฐœ</span>
                        </label>
                        <label class="flex items-center space-x-2">
                            <input type="radio" name="privacy">
                            <span>๋น„๊ณต๊ฐœ</span>
                        </label>
                        <label class="flex items-center space-x-2">
                            <input type="radio" name="privacy">
                            <span>๋งํฌ ๊ณต์œ ๋งŒ</span>
                        </label>
                    </div>
                </div>
                
                <!-- Submit Button -->
                <button class="w-full glass-button py-4 text-white font-semibold rounded-lg flex items-center justify-center space-x-2">
                    <i data-feather="upload" class="w-5 h-5"></i>
                    <span>์Œ์•… ์—…๋กœ๋“œ</span>
                </button>
            </div>
            
            <!-- Tips -->
            <div class="mt-12 bg-charcoal/50 backdrop-blur-md rounded-2xl p-6" data-aos="fade-up" data-aos-delay="300">
                <h3 class="text-xl font-semibold mb-4 flex items-center">
                    <i data-feather="info" class="w-5 h-5 text-accent-from mr-2"></i>
                    ์—…๋กœ๋“œ ํŒ
                </h3>
                <ul class="space-y-2 text-gray-300">
                    <li class="flex items-start">
                        <i data-feather="check" class="w-4 h-4 text-green-400 mt-1 mr-2"></i>
                        <span>๊ณ ์Œ์งˆ ์˜ค๋””์˜ค ํŒŒ์ผ(320kbps MP3 ๋˜๋Š” ๋ฌด์†์‹ค ํ˜•์‹)์„ ์‚ฌ์šฉํ•˜์„ธ์š”</span>
                    </li>
                    <li class="flex items-start">
                        <i data-feather="check" class="w-4 h-4 text-green-400 mt-1 mr-2"></i>
                        <span>์ •ํ™•ํ•œ ํƒœ๊ทธ๋ฅผ ์ถ”๊ฐ€ํ•˜๋ฉด ๋” ๋งŽ์€ ์‚ฌ๋žŒ๋“ค์ด ์Œ์•…์„ ๋ฐœ๊ฒฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค</span>
                    </li>
                    <li class="flex items-start">
                        <i data-feather="check" class="w-4 h-4 text-green-400 mt-1 mr-2"></i>
                        <span>์ปค๋ฒ„ ์•„ํŠธ๋Š” ์ตœ์†Œ 1000x1000 ํ”ฝ์…€ ์ด์ƒ์˜ ์ •์‚ฌ๊ฐํ˜• ์ด๋ฏธ์ง€๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”</span>
                    </li>
                    <li class="flex items-start">
                        <i data-feather="check" class="w-4 h-4 text-green-400 mt-1 mr-2"></i>
                        <span>์Œ์•… ์ƒ์„ฑ์— ์‚ฌ์šฉํ•œ AI ๋„๊ตฌ๋ฅผ ์ •ํ™•ํ•˜๊ฒŒ ์„ ํƒํ•ด ์ฃผ์„ธ์š”</span>
                    </li>
                </ul>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="py-12 px-4 border-t border-gray-800">
        <div class="container mx-auto text-center">
            <div class="flex items-center justify-center space-x-2 mb-4">
                <div class="w-6 h-6 rounded-full bg-gradient-to-r from-accent-from to-accent-to flex items-center justify-center">
                    <i data-feather="music" class="text-white"></i>
                </div>
                <span class="text-lg font-bold">AI Music Hub</span>
            </div>
            <p class="text-gray-400 mb-6">AI ์ƒ์„ฑ ์Œ์•…์˜ ํ”„๋ฆฌ๋ฏธ์—„ ํ”Œ๋žซํผ</p>
            
            <div class="flex justify-center space-x-4 mb-6">
                <a href="#" class="text-gray-400 hover:text-white transition">์ด์šฉ์•ฝ๊ด€</a>
                <a href="#" class="text-gray-400 hover:text-white transition">๊ฐœ์ธ์ •๋ณด์ฒ˜๋ฆฌ๋ฐฉ์นจ</a>
                <a href="#" class="text-gray-400 hover:text-white transition">๋ฌธ์˜ํ•˜๊ธฐ</a>
            </div>
            
            <p class="text-gray-400">ยฉ 2023 AI Music Hub. All rights reserved.</p>
        </div>
    </footer>

    <script>
        AOS.init({
            duration: 800,
            easing: 'ease-in-out',
            once: true
        });
        
        feather.replace();
        
        // Drag and drop functionality
        const dropArea = document.getElementById('dropArea');
        const fileInput = document.getElementById('fileInput');
        
        ['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
            dropArea.addEventListener(eventName, preventDefaults, false);
        });
        
        function preventDefaults(e) {
            e.preventDefault();
            e.stopPropagation();
        }
        
        ['dragenter', 'dragover'].forEach(eventName => {
            dropArea.addEventListener(eventName, highlight, false);
        });
        
        ['dragleave', 'drop'].forEach(eventName => {
            dropArea.addEventListener(eventName, unhighlight, false);
        });
        
        function highlight() {
            dropArea.classList.add('dragover');
        }
        
        function unhighlight() {
            dropArea.classList.remove('dragover');
        }
        
        dropArea.addEventListener('drop', handleDrop, false);
        
        function handleDrop(e) {
            const dt = e.dataTransfer;
            const files = dt.files;
            handleFiles(files);
        }
        
        dropArea.addEventListener('click', () => {
            fileInput.click();
        });
        
        fileInput.addEventListener('change', () => {
            handleFiles(fileInput.files);
        });
        
        function handleFiles(files) {
            if (files.length > 0) {
                // Here you would handle the file upload
                console.log('File selected:', files[0].name);
                dropArea.querySelector('p').textContent = `์„ ํƒ๋œ ํŒŒ์ผ: ${files[0].name}`;
            }
        }
    </script>
</body>
</html>