At the top left is a circular image of a cartoon prince standing confidently against a sky with clouds and balloons. In the center, there is a large, bold pink letter "A".
Browse filesBelow the letter, there are three circular buttons evenly spaced:
The left button features a blue refresh/repeat symbol.
The center button shows a microphone icon.
The right button has a blue arrow pointing to the right.
The background is light blue, contributing to a clear and child-friendly visual design.
- index.html +27 -3
- script.js +2 -2
- style.css +7 -0
index.html
CHANGED
|
@@ -12,10 +12,34 @@
|
|
| 12 |
</head>
|
| 13 |
<body class="bg-gray-100">
|
| 14 |
<custom-navbar></custom-navbar>
|
| 15 |
-
|
| 16 |
<main class="container mx-auto px-4 py-8">
|
| 17 |
-
<div class="flex flex-col
|
| 18 |
-
<!--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
<div class="md:w-1/3 bg-white rounded-xl shadow-lg overflow-hidden">
|
| 20 |
<div class="bg-indigo-600 p-4 text-white">
|
| 21 |
<h2 class="text-xl font-bold flex items-center gap-2">
|
|
|
|
| 12 |
</head>
|
| 13 |
<body class="bg-gray-100">
|
| 14 |
<custom-navbar></custom-navbar>
|
|
|
|
| 15 |
<main class="container mx-auto px-4 py-8">
|
| 16 |
+
<div class="flex flex-col items-center gap-8">
|
| 17 |
+
<!-- New Header Section -->
|
| 18 |
+
<div class="relative w-full max-w-md bg-blue-100 rounded-3xl p-8 flex flex-col items-center shadow-lg">
|
| 19 |
+
<!-- Prince Image -->
|
| 20 |
+
<div class="absolute -left-4 -top-4 w-20 h-20 rounded-full overflow-hidden border-4 border-white shadow-lg">
|
| 21 |
+
<img src="http://static.photos/blue/200x200/1" alt="Cartoon Prince" class="w-full h-full object-cover">
|
| 22 |
+
</div>
|
| 23 |
+
|
| 24 |
+
<!-- Large Pink A -->
|
| 25 |
+
<div class="text-pink-500 text-9xl font-bold mb-8">A</div>
|
| 26 |
+
|
| 27 |
+
<!-- Control Buttons -->
|
| 28 |
+
<div class="flex justify-center gap-6 w-full">
|
| 29 |
+
<button class="w-16 h-16 bg-blue-500 rounded-full flex items-center justify-center text-white shadow-md">
|
| 30 |
+
<i data-feather="refresh-cw" class="w-8 h-8"></i>
|
| 31 |
+
</button>
|
| 32 |
+
<button class="w-16 h-16 bg-pink-500 rounded-full flex items-center justify-center text-white shadow-md">
|
| 33 |
+
<i data-feather="mic" class="w-8 h-8"></i>
|
| 34 |
+
</button>
|
| 35 |
+
<button class="w-16 h-16 bg-blue-500 rounded-full flex items-center justify-center text-white shadow-md">
|
| 36 |
+
<i data-feather="arrow-right" class="w-8 h-8"></i>
|
| 37 |
+
</button>
|
| 38 |
+
</div>
|
| 39 |
+
</div>
|
| 40 |
+
|
| 41 |
+
<div class="flex flex-col md:flex-row gap-8 w-full">
|
| 42 |
+
<!-- Preview Section -->
|
| 43 |
<div class="md:w-1/3 bg-white rounded-xl shadow-lg overflow-hidden">
|
| 44 |
<div class="bg-indigo-600 p-4 text-white">
|
| 45 |
<h2 class="text-xl font-bold flex items-center gap-2">
|
script.js
CHANGED
|
@@ -91,8 +91,8 @@ function copyCode() {
|
|
| 91 |
feather.replace();
|
| 92 |
}, 2000);
|
| 93 |
}
|
| 94 |
-
|
| 95 |
// Initialize
|
| 96 |
document.addEventListener('DOMContentLoaded', () => {
|
| 97 |
updatePreview();
|
| 98 |
-
|
|
|
|
|
|
| 91 |
feather.replace();
|
| 92 |
}, 2000);
|
| 93 |
}
|
|
|
|
| 94 |
// Initialize
|
| 95 |
document.addEventListener('DOMContentLoaded', () => {
|
| 96 |
updatePreview();
|
| 97 |
+
feather.replace();
|
| 98 |
+
});
|
style.css
CHANGED
|
@@ -11,6 +11,13 @@ body {
|
|
| 11 |
#previewContent {
|
| 12 |
transition: all 0.3s ease;
|
| 13 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
/* Android-like shadows */
|
| 16 |
.shadow-android {
|
|
|
|
| 11 |
#previewContent {
|
| 12 |
transition: all 0.3s ease;
|
| 13 |
}
|
| 14 |
+
/* New color additions */
|
| 15 |
+
.text-pink-500 {
|
| 16 |
+
color: #ec4899;
|
| 17 |
+
}
|
| 18 |
+
.bg-pink-500 {
|
| 19 |
+
background-color: #ec4899;
|
| 20 |
+
}
|
| 21 |
|
| 22 |
/* Android-like shadows */
|
| 23 |
.shadow-android {
|