File size: 10,038 Bytes
fa31380
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Free Animations - Create Baby Singing Animations</title>
    <link rel="icon" type="image/x-icon" href="https://static.photos/technology/200x200/42">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
    <style>
        .animation-container {
            width: 300px;
            height: 300px;
            position: relative;
            margin: 0 auto;
        }
        .baby-face {
            width: 150px;
            height: 180px;
            background-color: #FFD6C0;
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        .eye {
            width: 30px;
            height: 30px;
            background: white;
            border-radius: 50%;
            position: absolute;
            top: 60px;
        }
        .eye.left { left: 35px; }
        .eye.right { right: 35px; }
        .pupil {
            width: 15px;
            height: 15px;
            background: #000;
            border-radius: 50%;
            position: absolute;
            top: 7px;
            left: 7px;
        }
        .mouth {
            width: 60px;
            height: 30px;
            border-bottom: 4px solid #000;
            border-radius: 0 0 50% 50%;
            position: absolute;
            bottom: 50px;
            left: 45px;
        }
        .controls {
            background: rgba(255,255,255,0.9);
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
        }
    </style>
</head>
<body class="min-h-screen bg-gradient-to-br from-pink-100 to-purple-100">
    <div class="relative z-10">
        <nav class="bg-white bg-opacity-90 shadow-sm">
            <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                <div class="flex justify-between h-16">
                    <div class="flex items-center">
                        <i data-feather="film" class="text-purple-600 mr-2"></i>
                        <span class="text-xl font-bold text-gray-800">FreeAnimations</span>
                    </div>
                    <div class="flex items-center space-x-4">
                        <a href="index.html" class="text-gray-600 hover:text-purple-600">Home</a>
                        <a href="dropshipping.html" class="text-gray-600 hover:text-purple-600">Dropshipping</a>
                        <a href="animations.html" class="text-purple-600 font-medium">Animations</a>
                        <a href="#" class="text-gray-600 hover:text-purple-600">FAQs</a>
                    </div>
                </div>
            </div>
        </nav>

        <section class="py-20 px-4 text-center">
            <div class="max-w-4xl mx-auto">
                <h1 class="text-5xl font-bold text-gray-800 mb-6">Create <span class="text-purple-600">Baby Singing</span> Animations</h1>
                <p class="text-xl text-gray-600 mb-10">Free online tool to create cute baby animations with singing effects.</p>
                
                <div class="animation-container">
                    <div class="baby-face" id="baby">
                        <div class="eye left"><div class="pupil"></div></div>
                        <div class="eye right"><div class="pupil"></div></div>
                        <div class="mouth" id="mouth"></div>
                    </div>
                </div>

                <div class="controls max-w-md mx-auto">
                    <h3 class="text-xl font-semibold mb-4">Animation Controls</h3>
                    <div class="space-y-4">
                        <button onclick="startSinging()" class="bg-purple-600 text-white px-6 py-3 rounded-md hover:bg-purple-700 transition w-full">
                            Start Singing
                        </button>
                        <button onclick="stopSinging()" class="bg-gray-200 text-gray-800 px-6 py-3 rounded-md hover:bg-gray-300 transition w-full">
                            Stop Animation
                        </button>
                    </div>
                </div>
            </div>
        </section>

        <section class="py-16 px-4 bg-white bg-opacity-90">
            <div class="max-w-7xl mx-auto">
                <h2 class="text-3xl font-bold text-center text-gray-800 mb-12">How It Works</h2>
                
                <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                    <div class="bg-white p-6 rounded-lg shadow-md text-center">
                        <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
                            <i data-feather="play" class="text-purple-600 w-8 h-8"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-2">Create Animation</h3>
                        <p class="text-gray-600">Click "Start Singing" to see the baby animation come to life.</p>
                    </div>
                    
                    <div class="bg-white p-6 rounded-lg shadow-md text-center">
                        <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
                            <i data-feather="download" class="text-purple-600 w-8 h-8"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-2">Export</h3>
                        <p class="text-gray-600">Right click to save your animation as a GIF or video.</p>
                    </div>
                    
                    <div class="bg-white p-6 rounded-lg shadow-md text-center">
                        <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
                            <i data-feather="share-2" class="text-purple-600 w-8 h-8"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-2">Share</h3>
                        <p class="text-gray-600">Share your cute baby animations on social media.</p>
                    </div>
                </div>
            </div>
        </section>

        <footer class="bg-gray-800 text-white py-12 px-4">
            <div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-xl font-bold mb-4">FreeDomainFinder</h3>
                    <p class="text-gray-400">Helping you create animations and find domains since 2023.</p>
                </div>
                <div>
                    <h4 class="text-lg font-semibold mb-4">Quick Links</h4>
                    <ul class="space-y-2">
                        <li><a href="index.html" class="text-gray-400 hover:text-white">Home</a></li>
                        <li><a href="dropshipping.html" class="text-gray-400 hover:text-white">Dropshipping</a></li>
                        <li><a href="animations.html" class="text-gray-400 hover:text-white">Animations</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-lg font-semibold mb-4">Resources</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">Tutorials</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Support</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-lg font-semibold mb-4">Connect</h4>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white"><i data-feather="twitter"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white"><i data-feather="facebook"></i></a>
                    </div>
                </div>
            </div>
            <div class="max-w-7xl mx-auto mt-12 pt-6 border-t border-gray-700 text-center text-gray-400">
                <p>&copy; 2023 FreeDomainFinder. All rights reserved.</p>
            </div>
        </footer>
    </div>

    <script>
        let singingAnimation;
        
        function startSinging() {
            const mouth = document.getElementById('mouth');
            const baby = document.getElementById('baby');
            
            // Reset any existing animations
            gsap.killTweensOf(mouth);
            gsap.killTweensOf(baby);
            
            // Singing mouth animation
            singingAnimation = gsap.to(mouth, {
                duration: 0.2,
                height: 10,
                borderBottom: "4px solid #000",
                borderRadius: "50% 50% 50% 50% / 60% 60% 40% 40%",
                repeat: -1,
                yoyo: true,
                ease: "power1.inOut"
            });
            
            // Head bobbing animation
            gsap.to(baby, {
                duration: 0.5,
                y: "-=10",
                repeat: -1,
                yoyo: true,
                ease: "sine.inOut"
            });
        }
        
        function stopSinging() {
            const mouth = document.getElementById('mouth');
            const baby = document.getElementById('baby');
            
            gsap.killTweensOf(mouth);
            gsap.killTweensOf(baby);
            
            // Reset to initial state
            gsap.to(mouth, {
                duration: 0.3,
                height: 30,
                borderBottom: "4px solid #000",
                borderRadius: "0 0 50% 50%"
            });
            
            gsap.to(baby, {
                duration: 0.3,
                y: 0
            });
        }
        
        feather.replace();
    </script>
</body>
</html>