kevinsousa258gmailcom commited on
Commit
50e7e0d
·
verified ·
1 Parent(s): cb04dfe

Como que uso agora?

Browse files
Files changed (2) hide show
  1. help.html +96 -0
  2. index.html +17 -13
help.html ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Help - AvatarSync Studio</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ </head>
10
+ <body class="bg-gray-50 min-h-screen">
11
+ <div class="container mx-auto px-4 py-12 max-w-4xl">
12
+ <header class="text-center mb-12">
13
+ <h1 class="text-4xl font-bold text-gray-800 mb-2">How to Use AvatarSync Studio</h1>
14
+ <div class="flex justify-center mt-4">
15
+ <div class="w-16 h-1 bg-indigo-500 rounded-full"></div>
16
+ </div>
17
+ </header>
18
+
19
+ <div class="bg-white rounded-xl shadow-xl p-8 mb-8">
20
+ <div class="space-y-8">
21
+ <div class="flex items-start">
22
+ <div class="flex-shrink-0 bg-indigo-100 rounded-lg p-3 mr-4">
23
+ <i data-feather="upload" class="text-indigo-500 w-6 h-6"></i>
24
+ </div>
25
+ <div>
26
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">1. Upload Your Media</h3>
27
+ <p class="text-gray-600">Start by uploading an image file for your avatar and an audio file that you want to sync with. Supported formats: JPG, PNG for images; MP3, WAV for audio.</p>
28
+ </div>
29
+ </div>
30
+
31
+ <div class="flex items-start">
32
+ <div class="flex-shrink-0 bg-indigo-100 rounded-lg p-3 mr-4">
33
+ <i data-feather="sliders" class="text-indigo-500 w-6 h-6"></i>
34
+ </div>
35
+ <div>
36
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">2. Customize Your Animation</h3>
37
+ <p class="text-gray-600">Choose from different animation styles, adjust colors, and tweak motion intensity. Preview how your avatar will move in real-time.</p>
38
+ </div>
39
+ </div>
40
+
41
+ <div class="flex items-start">
42
+ <div class="flex-shrink-0 bg-indigo-100 rounded-lg p-3 mr-4">
43
+ <i data-feather="zap" class="text-indigo-500 w-6 h-6"></i>
44
+ </div>
45
+ <div>
46
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">3. Generate Your Avatar</h3>
47
+ <p class="text-gray-600">Click the generate button to create your animated avatar. Processing time depends on the length of your audio.</p>
48
+ </div>
49
+ </div>
50
+
51
+ <div class="flex items-start">
52
+ <div class="flex-shrink-0 bg-indigo-100 rounded-lg p-3 mr-4">
53
+ <i data-feather="download" class="text-indigo-500 w-6 h-6"></i>
54
+ </div>
55
+ <div>
56
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">4. Download & Share</h3>
57
+ <p class="text-gray-600">Once processed, download your animated avatar as a video or GIF, or share it directly to social media platforms.</p>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </div>
62
+
63
+ <div class="bg-white rounded-xl shadow-xl p-8">
64
+ <h2 class="text-2xl font-semibold text-gray-800 mb-4">Tips for Best Results</h2>
65
+ <ul class="space-y-3 text-gray-600">
66
+ <li class="flex items-start">
67
+ <i data-feather="check" class="text-green-500 w-4 h-4 mr-2 mt-1"></i>
68
+ <span>Use high-quality images (minimum 500x500 pixels) for clearer animations</span>
69
+ </li>
70
+ <li class="flex items-start">
71
+ <i data-feather="check" class="text-green-500 w-4 h-4 mr-2 mt-1"></i>
72
+ <span>For best lip-sync results, use clear vocal audio without background music</span>
73
+ </li>
74
+ <li class="flex items-start">
75
+ <i data-feather="check" class="text-green-500 w-4 h-4 mr-2 mt-1"></i>
76
+ <span>Experiment with different motion intensities to find your preferred style</span>
77
+ </li>
78
+ <li class="flex items-start">
79
+ <i data-feather="check" class="text-green-500 w-4 h-4 mr-2 mt-1"></i>
80
+ <span>Save your project if you want to make changes later</span>
81
+ </li>
82
+ </ul>
83
+ </div>
84
+
85
+ <div class="text-center mt-8">
86
+ <a href="index.html" class="inline-flex items-center text-indigo-500 hover:text-indigo-700 font-medium">
87
+ <i data-feather="arrow-left" class="w-4 h-4 mr-2"></i> Back to AvatarSync Studio
88
+ </a>
89
+ </div>
90
+ </div>
91
+
92
+ <script>
93
+ feather.replace();
94
+ </script>
95
+ </body>
96
+ </html>
index.html CHANGED
@@ -354,13 +354,15 @@
354
  </div>
355
  </div>
356
  </div>
357
-
358
- <div class="flex justify-center">
359
  <button id="newProjectBtn" class="bg-white border border-indigo-500 text-indigo-500 hover:bg-indigo-50 px-6 py-2 rounded-lg flex items-center">
360
  <i data-feather="plus" class="w-4 h-4 mr-2"></i> Create New
361
  </button>
 
 
 
362
  </div>
363
- </div>
364
  </div>
365
  </div>
366
  </div>
@@ -471,14 +473,13 @@
471
  // Clear buttons
472
  clearImageBtn.addEventListener('click', clearImage);
473
  clearAudioBtn.addEventListener('click', clearAudio);
474
-
475
- // Navigation between steps
476
- nextStep1Btn.addEventListener('click', goToStep2);
477
- document.getElementById('backStep2Btn').addEventListener('click', goToStep1);
478
- document.getElementById('nextStep2Btn').addEventListener('click', goToStep3);
479
- document.getElementById('newProjectBtn').addEventListener('click', resetAll);
480
-
481
- function preventDefaults(e) {
482
  e.preventDefault();
483
  e.stopPropagation();
484
  }
@@ -648,9 +649,12 @@
648
  }
649
  }, 200);
650
  }
651
-
 
 
 
652
  function resetAll() {
653
- document.getElementById('step3').classList.add('hidden');
654
  document.getElementById('step1').classList.remove('hidden');
655
  document.getElementById('processingAnimation').classList.remove('hidden');
656
  document.getElementById('resultSection').classList.add('hidden');
 
354
  </div>
355
  </div>
356
  </div>
357
+ <div class="flex justify-center space-x-4">
 
358
  <button id="newProjectBtn" class="bg-white border border-indigo-500 text-indigo-500 hover:bg-indigo-50 px-6 py-2 rounded-lg flex items-center">
359
  <i data-feather="plus" class="w-4 h-4 mr-2"></i> Create New
360
  </button>
361
+ <button id="helpBtn" class="bg-indigo-500 hover:bg-indigo-600 text-white px-6 py-2 rounded-lg flex items-center">
362
+ <i data-feather="help-circle" class="w-4 h-4 mr-2"></i> How to Use
363
+ </button>
364
  </div>
365
+ </div>
366
  </div>
367
  </div>
368
  </div>
 
473
  // Clear buttons
474
  clearImageBtn.addEventListener('click', clearImage);
475
  clearAudioBtn.addEventListener('click', clearAudio);
476
+ // Navigation between steps
477
+ nextStep1Btn.addEventListener('click', goToStep2);
478
+ document.getElementById('backStep2Btn').addEventListener('click', goToStep1);
479
+ document.getElementById('nextStep2Btn').addEventListener('click', goToStep3);
480
+ document.getElementById('newProjectBtn').addEventListener('click', resetAll);
481
+ document.getElementById('helpBtn').addEventListener('click', showHelp);
482
+ function preventDefaults(e) {
 
483
  e.preventDefault();
484
  e.stopPropagation();
485
  }
 
649
  }
650
  }, 200);
651
  }
652
+ function showHelp() {
653
+ alert("How to use AvatarSync Studio:\n\n1. Upload an image (your avatar) and an audio file\n2. Customize the animation style and colors\n3. Generate your animated avatar\n4. Download or share your creation!");
654
+ }
655
+
656
  function resetAll() {
657
+ document.getElementById('step3').classList.add('hidden');
658
  document.getElementById('step1').classList.remove('hidden');
659
  document.getElementById('processingAnimation').classList.remove('hidden');
660
  document.getElementById('resultSection').classList.add('hidden');