Spaces:
Running
Running
Migliora il sito, rendilo un pochino più estetico,
Browse files- index.html +58 -29
index.html
CHANGED
|
@@ -14,14 +14,24 @@
|
|
| 14 |
font-family: 'Poppins', sans-serif;
|
| 15 |
scroll-behavior: smooth;
|
| 16 |
}
|
| 17 |
-
|
| 18 |
.gradient-bg {
|
| 19 |
-
background: linear-gradient(135deg, #
|
| 20 |
animation: gradientShift 15s ease infinite;
|
| 21 |
background-size: 200% 200%;
|
|
|
|
|
|
|
| 22 |
}
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
0% { background-position: 0% 50%; }
|
| 26 |
50% { background-position: 100% 50%; }
|
| 27 |
100% { background-position: 0% 50%; }
|
|
@@ -31,12 +41,26 @@
|
|
| 31 |
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
| 32 |
transform: perspective(1000px) rotateX(0deg);
|
| 33 |
backface-visibility: hidden;
|
|
|
|
|
|
|
|
|
|
| 34 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
.prompt-card:hover {
|
| 36 |
transform: perspective(1000px) rotateX(5deg) translateY(-10px);
|
| 37 |
-
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.
|
| 38 |
}
|
| 39 |
-
|
| 40 |
border-right: 3px solid;
|
| 41 |
white-space: nowrap;
|
| 42 |
overflow: hidden;
|
|
@@ -89,16 +113,22 @@
|
|
| 89 |
.btn-glow:hover::after {
|
| 90 |
opacity: 0.6;
|
| 91 |
}
|
| 92 |
-
|
| 93 |
.text-gradient {
|
| 94 |
-
background: linear-gradient(90deg, #
|
| 95 |
-webkit-background-clip: text;
|
| 96 |
background-clip: text;
|
| 97 |
color: transparent;
|
| 98 |
display: inline;
|
|
|
|
|
|
|
| 99 |
}
|
| 100 |
|
| 101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
animation: appear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
|
| 103 |
opacity: 0;
|
| 104 |
transform: translateY(20px);
|
|
@@ -114,14 +144,14 @@
|
|
| 114 |
</head>
|
| 115 |
<body class="min-h-screen bg-gray-50">
|
| 116 |
<!-- Hero Section -->
|
| 117 |
-
<div class="gradient-bg text-white py-
|
| 118 |
-
|
| 119 |
-
<h1 class="text-
|
| 120 |
<span class="text-gradient floating inline-block">PromptGenius Wizard</span>
|
| 121 |
</h1>
|
| 122 |
-
<p class="text-xl md:text-2xl mb-8 typewriter">The magical tool to craft perfect AI prompts ✨</p>
|
| 123 |
-
|
| 124 |
-
<button id="startBtn" class="bg-white text-purple-600 font-bold py-3 px-8 rounded-full text-lg hover:bg-purple-100 transition duration-300 flex items-center btn-glow shadow-lg">
|
| 125 |
<i data-feather="wand" class="mr-2"></i> Start the Magic
|
| 126 |
</button>
|
| 127 |
</div>
|
|
@@ -164,22 +194,22 @@
|
|
| 164 |
|
| 165 |
<div id="resultSection" class="hidden mt-8">
|
| 166 |
<h3 class="text-xl font-bold text-gray-800 mb-4">✨ Your Perfect Prompt:</h3>
|
| 167 |
-
|
| 168 |
-
|
| 169 |
<button id="copyPromptBtn" class="mt-4 bg-gray-200 hover:bg-gray-300 text-gray-800 py-2 px-4 rounded-lg transition duration-300 flex items-center">
|
| 170 |
<i data-feather="copy" class="mr-2"></i> Copy Prompt
|
| 171 |
</button>
|
| 172 |
</div>
|
| 173 |
|
| 174 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 175 |
-
<div class="bg-blue-50 p-5 rounded-lg">
|
| 176 |
-
|
| 177 |
<i data-feather="settings" class="mr-2"></i> Recommended Settings
|
| 178 |
</h4>
|
| 179 |
<div id="recommendedSettings" class="text-gray-700"></div>
|
| 180 |
</div>
|
| 181 |
-
<div class="bg-green-50 p-5 rounded-lg">
|
| 182 |
-
|
| 183 |
<i data-feather="tool" class="mr-2"></i> Suggested Tools
|
| 184 |
</h4>
|
| 185 |
<div id="suggestedTools" class="text-gray-700"></div>
|
|
@@ -188,10 +218,9 @@
|
|
| 188 |
</div>
|
| 189 |
</div>
|
| 190 |
</div>
|
| 191 |
-
|
| 192 |
<!-- Examples Section -->
|
| 193 |
-
<div class="container mx-auto max-w-4xl px-4 py-
|
| 194 |
-
|
| 195 |
|
| 196 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 197 |
<div class="prompt-card bg-white p-6 rounded-xl">
|
|
@@ -220,19 +249,19 @@
|
|
| 220 |
</div>
|
| 221 |
</div>
|
| 222 |
<!-- Footer -->
|
| 223 |
-
<footer class="bg-gray-900 text-white py-
|
| 224 |
-
|
| 225 |
<div class="absolute top-1/4 left-1/4 w-64 h-64 rounded-full bg-purple-500 mix-blend-screen filter blur-3xl animate-pulse"></div>
|
| 226 |
<div class="absolute top-3/4 right-1/4 w-64 h-64 rounded-full bg-blue-500 mix-blend-screen filter blur-3xl animate-pulse delay-500"></div>
|
| 227 |
</div>
|
| 228 |
<div class="container mx-auto max-w-6xl">
|
| 229 |
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 230 |
-
<div class="mb-
|
| 231 |
-
|
| 232 |
<p class="text-gray-300">Crafting perfect AI prompts since 2023</p>
|
| 233 |
</div>
|
| 234 |
-
<div class="flex space-x-
|
| 235 |
-
|
| 236 |
<i data-feather="github" class="w-6 h-6 hover:text-purple-400"></i>
|
| 237 |
</a>
|
| 238 |
<a href="#" class="text-gray-300 hover:text-white transition duration-300 hover:-translate-y-1 transform">
|
|
|
|
| 14 |
font-family: 'Poppins', sans-serif;
|
| 15 |
scroll-behavior: smooth;
|
| 16 |
}
|
|
|
|
| 17 |
.gradient-bg {
|
| 18 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 19 |
animation: gradientShift 15s ease infinite;
|
| 20 |
background-size: 200% 200%;
|
| 21 |
+
position: relative;
|
| 22 |
+
overflow: hidden;
|
| 23 |
}
|
| 24 |
|
| 25 |
+
.gradient-bg::before {
|
| 26 |
+
content: '';
|
| 27 |
+
position: absolute;
|
| 28 |
+
top: 0;
|
| 29 |
+
left: 0;
|
| 30 |
+
right: 0;
|
| 31 |
+
bottom: 0;
|
| 32 |
+
background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
|
| 33 |
+
}
|
| 34 |
+
@keyframes gradientShift {
|
| 35 |
0% { background-position: 0% 50%; }
|
| 36 |
50% { background-position: 100% 50%; }
|
| 37 |
100% { background-position: 0% 50%; }
|
|
|
|
| 41 |
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
| 42 |
transform: perspective(1000px) rotateX(0deg);
|
| 43 |
backface-visibility: hidden;
|
| 44 |
+
border: 1px solid rgba(0,0,0,0.05);
|
| 45 |
+
position: relative;
|
| 46 |
+
overflow: hidden;
|
| 47 |
}
|
| 48 |
+
|
| 49 |
+
.prompt-card::before {
|
| 50 |
+
content: '';
|
| 51 |
+
position: absolute;
|
| 52 |
+
top: 0;
|
| 53 |
+
left: 0;
|
| 54 |
+
width: 100%;
|
| 55 |
+
height: 4px;
|
| 56 |
+
background: linear-gradient(90deg, #667eea, #764ba2);
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
.prompt-card:hover {
|
| 60 |
transform: perspective(1000px) rotateX(5deg) translateY(-10px);
|
| 61 |
+
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
|
| 62 |
}
|
| 63 |
+
.typewriter {
|
| 64 |
border-right: 3px solid;
|
| 65 |
white-space: nowrap;
|
| 66 |
overflow: hidden;
|
|
|
|
| 113 |
.btn-glow:hover::after {
|
| 114 |
opacity: 0.6;
|
| 115 |
}
|
|
|
|
| 116 |
.text-gradient {
|
| 117 |
+
background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
|
| 118 |
-webkit-background-clip: text;
|
| 119 |
background-clip: text;
|
| 120 |
color: transparent;
|
| 121 |
display: inline;
|
| 122 |
+
background-size: 200% auto;
|
| 123 |
+
animation: shine 3s linear infinite;
|
| 124 |
}
|
| 125 |
|
| 126 |
+
@keyframes shine {
|
| 127 |
+
to {
|
| 128 |
+
background-position: 200% center;
|
| 129 |
+
}
|
| 130 |
+
}
|
| 131 |
+
.result-appear {
|
| 132 |
animation: appear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
|
| 133 |
opacity: 0;
|
| 134 |
transform: translateY(20px);
|
|
|
|
| 144 |
</head>
|
| 145 |
<body class="min-h-screen bg-gray-50">
|
| 146 |
<!-- Hero Section -->
|
| 147 |
+
<div class="gradient-bg text-white py-24 px-4">
|
| 148 |
+
<div class="container mx-auto max-w-6xl text-center">
|
| 149 |
+
<h1 class="text-5xl md:text-7xl font-bold mb-6">
|
| 150 |
<span class="text-gradient floating inline-block">PromptGenius Wizard</span>
|
| 151 |
</h1>
|
| 152 |
+
<p class="text-xl md:text-2xl mb-8 typewriter font-light">The magical tool to craft perfect AI prompts ✨</p>
|
| 153 |
+
<div class="flex justify-center">
|
| 154 |
+
<button id="startBtn" class="bg-white text-purple-600 font-bold py-3 px-8 rounded-full text-lg hover:bg-purple-100 transition duration-300 flex items-center btn-glow shadow-lg hover:shadow-xl">
|
| 155 |
<i data-feather="wand" class="mr-2"></i> Start the Magic
|
| 156 |
</button>
|
| 157 |
</div>
|
|
|
|
| 194 |
|
| 195 |
<div id="resultSection" class="hidden mt-8">
|
| 196 |
<h3 class="text-xl font-bold text-gray-800 mb-4">✨ Your Perfect Prompt:</h3>
|
| 197 |
+
<div class="bg-gray-50 p-6 rounded-lg mb-6 border border-gray-100">
|
| 198 |
+
<div id="generatedPrompt" class="text-gray-700 font-medium text-lg leading-relaxed"></div>
|
| 199 |
<button id="copyPromptBtn" class="mt-4 bg-gray-200 hover:bg-gray-300 text-gray-800 py-2 px-4 rounded-lg transition duration-300 flex items-center">
|
| 200 |
<i data-feather="copy" class="mr-2"></i> Copy Prompt
|
| 201 |
</button>
|
| 202 |
</div>
|
| 203 |
|
| 204 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 205 |
+
<div class="bg-blue-50 p-5 rounded-lg border border-blue-100">
|
| 206 |
+
<h4 class="font-bold text-blue-800 mb-3 flex items-center">
|
| 207 |
<i data-feather="settings" class="mr-2"></i> Recommended Settings
|
| 208 |
</h4>
|
| 209 |
<div id="recommendedSettings" class="text-gray-700"></div>
|
| 210 |
</div>
|
| 211 |
+
<div class="bg-green-50 p-5 rounded-lg border border-green-100">
|
| 212 |
+
<h4 class="font-bold text-green-800 mb-3 flex items-center">
|
| 213 |
<i data-feather="tool" class="mr-2"></i> Suggested Tools
|
| 214 |
</h4>
|
| 215 |
<div id="suggestedTools" class="text-gray-700"></div>
|
|
|
|
| 218 |
</div>
|
| 219 |
</div>
|
| 220 |
</div>
|
|
|
|
| 221 |
<!-- Examples Section -->
|
| 222 |
+
<div class="container mx-auto max-w-4xl px-4 py-20">
|
| 223 |
+
<h2 class="text-2xl md:text-3xl font-bold text-center text-gray-800 mb-12">Prompt Examples</h2>
|
| 224 |
|
| 225 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 226 |
<div class="prompt-card bg-white p-6 rounded-xl">
|
|
|
|
| 249 |
</div>
|
| 250 |
</div>
|
| 251 |
<!-- Footer -->
|
| 252 |
+
<footer class="bg-gray-900 text-white py-16 px-4 relative overflow-hidden">
|
| 253 |
+
<div class="absolute top-0 left-0 w-full h-full opacity-10">
|
| 254 |
<div class="absolute top-1/4 left-1/4 w-64 h-64 rounded-full bg-purple-500 mix-blend-screen filter blur-3xl animate-pulse"></div>
|
| 255 |
<div class="absolute top-3/4 right-1/4 w-64 h-64 rounded-full bg-blue-500 mix-blend-screen filter blur-3xl animate-pulse delay-500"></div>
|
| 256 |
</div>
|
| 257 |
<div class="container mx-auto max-w-6xl">
|
| 258 |
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 259 |
+
<div class="mb-8 md:mb-0">
|
| 260 |
+
<h3 class="text-2xl font-bold mb-2">PromptGenius Wizard</h3>
|
| 261 |
<p class="text-gray-300">Crafting perfect AI prompts since 2023</p>
|
| 262 |
</div>
|
| 263 |
+
<div class="flex space-x-8">
|
| 264 |
+
<a href="#" class="text-gray-300 hover:text-white transition duration-300 hover:-translate-y-1 transform">
|
| 265 |
<i data-feather="github" class="w-6 h-6 hover:text-purple-400"></i>
|
| 266 |
</a>
|
| 267 |
<a href="#" class="text-gray-300 hover:text-white transition duration-300 hover:-translate-y-1 transform">
|