Add 3 files
Browse files- README.md +7 -5
- index.html +899 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: deflook
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,899 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Deflook Academy - Basketball Training</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Poppins', sans-serif;
|
| 14 |
+
background-color: #f8f9fa;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.basketball-bg {
|
| 18 |
+
background: linear-gradient(135deg, #6b21a8 0%, #1e1b4b 100%);
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.basketball-icon {
|
| 22 |
+
color: #f59e0b;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.video-thumbnail {
|
| 26 |
+
position: relative;
|
| 27 |
+
padding-bottom: 56.25%; /* 16:9 aspect ratio */
|
| 28 |
+
background-color: #000;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.video-thumbnail::before {
|
| 32 |
+
content: "";
|
| 33 |
+
position: absolute;
|
| 34 |
+
top: 50%;
|
| 35 |
+
left: 50%;
|
| 36 |
+
transform: translate(-50%, -50%);
|
| 37 |
+
width: 60px;
|
| 38 |
+
height: 60px;
|
| 39 |
+
background-color: rgba(255, 255, 255, 0.8);
|
| 40 |
+
border-radius: 50%;
|
| 41 |
+
z-index: 1;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.video-thumbnail::after {
|
| 45 |
+
content: "\f144";
|
| 46 |
+
font-family: "Font Awesome 6 Free";
|
| 47 |
+
font-weight: 900;
|
| 48 |
+
position: absolute;
|
| 49 |
+
top: 50%;
|
| 50 |
+
left: 50%;
|
| 51 |
+
transform: translate(-50%, -50%);
|
| 52 |
+
color: #6b21a8;
|
| 53 |
+
font-size: 24px;
|
| 54 |
+
z-index: 2;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.progress-ring {
|
| 58 |
+
transform: rotate(-90deg);
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.progress-ring__circle {
|
| 62 |
+
transition: stroke-dashoffset 0.5s;
|
| 63 |
+
stroke-linecap: round;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.chat-bubble {
|
| 67 |
+
max-width: 80%;
|
| 68 |
+
border-radius: 1rem;
|
| 69 |
+
padding: 0.75rem;
|
| 70 |
+
margin-bottom: 0.5rem;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.chat-bubble.user {
|
| 74 |
+
background-color: #6b21a8;
|
| 75 |
+
color: white;
|
| 76 |
+
margin-left: auto;
|
| 77 |
+
border-bottom-right-radius: 0.25rem;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.chat-bubble.coach {
|
| 81 |
+
background-color: #e9d5ff;
|
| 82 |
+
color: #4c1d95;
|
| 83 |
+
margin-right: auto;
|
| 84 |
+
border-bottom-left-radius: 0.25rem;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.tab-active {
|
| 88 |
+
border-bottom: 3px solid #6b21a8;
|
| 89 |
+
color: #6b21a8;
|
| 90 |
+
font-weight: 600;
|
| 91 |
+
}
|
| 92 |
+
</style>
|
| 93 |
+
</head>
|
| 94 |
+
<body class="min-h-screen">
|
| 95 |
+
<!-- Auth Screens -->
|
| 96 |
+
<div id="auth-screen" class="fixed inset-0 z-50 flex flex-col items-center justify-center basketball-bg text-white transition-all duration-300">
|
| 97 |
+
<div class="w-full max-w-md px-6 py-8">
|
| 98 |
+
<div class="flex flex-col items-center mb-8">
|
| 99 |
+
<div class="w-20 h-20 rounded-full bg-white flex items-center justify-center mb-4">
|
| 100 |
+
<i class="fas fa-basketball-ball text-4xl basketball-icon"></i>
|
| 101 |
+
</div>
|
| 102 |
+
<h1 class="text-3xl font-bold">Deflook Academy</h1>
|
| 103 |
+
<p class="text-purple-200 mt-2">Elevate your basketball skills</p>
|
| 104 |
+
</div>
|
| 105 |
+
|
| 106 |
+
<!-- Login Form -->
|
| 107 |
+
<div id="login-form">
|
| 108 |
+
<div class="mb-4">
|
| 109 |
+
<label class="block text-purple-100 mb-2">Email</label>
|
| 110 |
+
<input type="email" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 111 |
+
</div>
|
| 112 |
+
<div class="mb-6">
|
| 113 |
+
<label class="block text-purple-100 mb-2">Password</label>
|
| 114 |
+
<input type="password" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 115 |
+
</div>
|
| 116 |
+
<button class="w-full bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-4 rounded-lg transition duration-200 mb-4">
|
| 117 |
+
Sign In
|
| 118 |
+
</button>
|
| 119 |
+
<div class="flex justify-between items-center mb-6">
|
| 120 |
+
<div class="flex items-center">
|
| 121 |
+
<input type="checkbox" id="remember" class="mr-2">
|
| 122 |
+
<label for="remember" class="text-purple-200 text-sm">Remember me</label>
|
| 123 |
+
</div>
|
| 124 |
+
<button id="forgot-password" class="text-purple-300 text-sm hover:text-white">Forgot password?</button>
|
| 125 |
+
</div>
|
| 126 |
+
<div class="relative mb-6">
|
| 127 |
+
<div class="absolute inset-0 flex items-center">
|
| 128 |
+
<div class="w-full border-t border-purple-700"></div>
|
| 129 |
+
</div>
|
| 130 |
+
<div class="relative flex justify-center text-sm">
|
| 131 |
+
<span class="px-2 bg-purple-900 text-purple-300">Or continue with</span>
|
| 132 |
+
</div>
|
| 133 |
+
</div>
|
| 134 |
+
<div class="flex justify-center space-x-4 mb-6">
|
| 135 |
+
<button class="w-12 h-12 rounded-full bg-white flex items-center justify-center text-gray-800 hover:bg-gray-100 transition">
|
| 136 |
+
<i class="fab fa-google text-xl"></i>
|
| 137 |
+
</button>
|
| 138 |
+
<button class="w-12 h-12 rounded-full bg-white flex items-center justify-center text-gray-800 hover:bg-gray-100 transition">
|
| 139 |
+
<i class="fab fa-apple text-xl"></i>
|
| 140 |
+
</button>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="text-center">
|
| 143 |
+
<p class="text-purple-200">Don't have an account? <button id="show-register" class="text-white font-medium hover:underline">Sign up</button></p>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
|
| 147 |
+
<!-- Register Form (hidden by default) -->
|
| 148 |
+
<div id="register-form" class="hidden">
|
| 149 |
+
<div class="mb-4">
|
| 150 |
+
<label class="block text-purple-100 mb-2">Full Name</label>
|
| 151 |
+
<input type="text" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 152 |
+
</div>
|
| 153 |
+
<div class="mb-4">
|
| 154 |
+
<label class="block text-purple-100 mb-2">Email</label>
|
| 155 |
+
<input type="email" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 156 |
+
</div>
|
| 157 |
+
<div class="mb-4">
|
| 158 |
+
<label class="block text-purple-100 mb-2">Password</label>
|
| 159 |
+
<input type="password" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 160 |
+
</div>
|
| 161 |
+
<div class="mb-6">
|
| 162 |
+
<label class="block text-purple-100 mb-2">Account Type</label>
|
| 163 |
+
<div class="flex space-x-4">
|
| 164 |
+
<label class="flex items-center">
|
| 165 |
+
<input type="radio" name="account-type" value="student" class="mr-2" checked>
|
| 166 |
+
<span class="text-purple-200">Student</span>
|
| 167 |
+
</label>
|
| 168 |
+
<label class="flex items-center">
|
| 169 |
+
<input type="radio" name="account-type" value="coach" class="mr-2">
|
| 170 |
+
<span class="text-purple-200">Coach</span>
|
| 171 |
+
</label>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
<button class="w-full bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-4 rounded-lg transition duration-200 mb-4">
|
| 175 |
+
Create Account
|
| 176 |
+
</button>
|
| 177 |
+
<div class="text-center">
|
| 178 |
+
<p class="text-purple-200">Already have an account? <button id="show-login" class="text-white font-medium hover:underline">Sign in</button></p>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
|
| 182 |
+
<!-- Forgot Password Form (hidden by default) -->
|
| 183 |
+
<div id="forgot-password-form" class="hidden">
|
| 184 |
+
<div class="mb-6 text-center">
|
| 185 |
+
<h2 class="text-2xl font-bold mb-2">Forgot Password?</h2>
|
| 186 |
+
<p class="text-purple-200">Enter your email to receive a reset link</p>
|
| 187 |
+
</div>
|
| 188 |
+
<div class="mb-6">
|
| 189 |
+
<label class="block text-purple-100 mb-2">Email</label>
|
| 190 |
+
<input type="email" class="w-full px-4 py-3 rounded-lg bg-purple-900 bg-opacity-50 border border-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 191 |
+
</div>
|
| 192 |
+
<button class="w-full bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-4 rounded-lg transition duration-200 mb-4">
|
| 193 |
+
Send Reset Link
|
| 194 |
+
</button>
|
| 195 |
+
<div class="text-center">
|
| 196 |
+
<button id="back-to-login" class="text-white font-medium hover:underline">Back to Sign In</button>
|
| 197 |
+
</div>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
</div>
|
| 201 |
+
|
| 202 |
+
<!-- Main App (hidden until login) -->
|
| 203 |
+
<div id="app-container" class="hidden">
|
| 204 |
+
<!-- Header -->
|
| 205 |
+
<header class="basketball-bg text-white p-4 shadow-md">
|
| 206 |
+
<div class="flex justify-between items-center">
|
| 207 |
+
<div class="flex items-center space-x-3">
|
| 208 |
+
<i class="fas fa-basketball-ball text-xl basketball-icon"></i>
|
| 209 |
+
<h1 class="text-xl font-bold">Deflook Academy</h1>
|
| 210 |
+
</div>
|
| 211 |
+
<div class="flex items-center space-x-4">
|
| 212 |
+
<button class="relative">
|
| 213 |
+
<i class="fas fa-bell text-xl"></i>
|
| 214 |
+
<span class="absolute -top-1 -right-1 w-4 h-4 bg-red-500 rounded-full text-xs flex items-center justify-center">3</span>
|
| 215 |
+
</button>
|
| 216 |
+
<button id="logout-btn">
|
| 217 |
+
<i class="fas fa-sign-out-alt text-xl"></i>
|
| 218 |
+
</button>
|
| 219 |
+
</div>
|
| 220 |
+
</div>
|
| 221 |
+
</header>
|
| 222 |
+
|
| 223 |
+
<!-- Main Content -->
|
| 224 |
+
<main class="pb-20">
|
| 225 |
+
<!-- Student Dashboard -->
|
| 226 |
+
<div id="student-dashboard">
|
| 227 |
+
<!-- Stats Overview -->
|
| 228 |
+
<div class="p-4 bg-white shadow-sm">
|
| 229 |
+
<h2 class="text-xl font-bold mb-4 text-gray-800">My Progress</h2>
|
| 230 |
+
<div class="grid grid-cols-3 gap-4">
|
| 231 |
+
<div class="bg-purple-50 rounded-lg p-3 text-center">
|
| 232 |
+
<div class="relative w-16 h-16 mx-auto mb-2">
|
| 233 |
+
<svg class="w-full h-full" viewBox="0 0 36 36">
|
| 234 |
+
<path
|
| 235 |
+
d="M18 2.0845
|
| 236 |
+
a 15.9155 15.9155 0 0 1 0 31.831
|
| 237 |
+
a 15.9155 15.9155 0 0 1 0 -31.831"
|
| 238 |
+
fill="none"
|
| 239 |
+
stroke="#e9d5ff"
|
| 240 |
+
stroke-width="3"
|
| 241 |
+
stroke-dasharray="100, 100"
|
| 242 |
+
/>
|
| 243 |
+
<path
|
| 244 |
+
d="M18 2.0845
|
| 245 |
+
a 15.9155 15.9155 0 0 1 0 31.831
|
| 246 |
+
a 15.9155 15.9155 0 0 1 0 -31.831"
|
| 247 |
+
fill="none"
|
| 248 |
+
stroke="#6b21a8"
|
| 249 |
+
stroke-width="3"
|
| 250 |
+
stroke-dasharray="75, 100"
|
| 251 |
+
class="progress-ring__circle"
|
| 252 |
+
/>
|
| 253 |
+
<text x="18" y="20.5" text-anchor="middle" fill="#6b21a8" font-size="8" font-weight="bold">75%</text>
|
| 254 |
+
</svg>
|
| 255 |
+
</div>
|
| 256 |
+
<p class="text-sm font-medium text-gray-700">Shooting</p>
|
| 257 |
+
</div>
|
| 258 |
+
<div class="bg-purple-50 rounded-lg p-3 text-center">
|
| 259 |
+
<div class="relative w-16 h-16 mx-auto mb-2">
|
| 260 |
+
<svg class="w-full h-full" viewBox="0 0 36 36">
|
| 261 |
+
<path
|
| 262 |
+
d="M18 2.0845
|
| 263 |
+
a 15.9155 15.9155 0 0 1 0 31.831
|
| 264 |
+
a 15.9155 15.9155 0 0 1 0 -31.831"
|
| 265 |
+
fill="none"
|
| 266 |
+
stroke="#e9d5ff"
|
| 267 |
+
stroke-width="3"
|
| 268 |
+
stroke-dasharray="100, 100"
|
| 269 |
+
/>
|
| 270 |
+
<path
|
| 271 |
+
d="M18 2.0845
|
| 272 |
+
a 15.9155 15.9155 0 0 1 0 31.831
|
| 273 |
+
a 15.9155 15.9155 0 0 1 0 -31.831"
|
| 274 |
+
fill="none"
|
| 275 |
+
stroke="#6b21a8"
|
| 276 |
+
stroke-width="3"
|
| 277 |
+
stroke-dasharray="60, 100"
|
| 278 |
+
class="progress-ring__circle"
|
| 279 |
+
/>
|
| 280 |
+
<text x="18" y="20.5" text-anchor="middle" fill="#6b21a8" font-size="8" font-weight="bold">60%</text>
|
| 281 |
+
</svg>
|
| 282 |
+
</div>
|
| 283 |
+
<p class="text-sm font-medium text-gray-700">Dribbling</p>
|
| 284 |
+
</div>
|
| 285 |
+
<div class="bg-purple-50 rounded-lg p-3 text-center">
|
| 286 |
+
<div class="relative w-16 h-16 mx-auto mb-2">
|
| 287 |
+
<svg class="w-full h-full" viewBox="0 0 36 36">
|
| 288 |
+
<path
|
| 289 |
+
d="M18 2.0845
|
| 290 |
+
a 15.9155 15.9155 0 0 1 0 31.831
|
| 291 |
+
a 15.9155 15.9155 0 0 1 0 -31.831"
|
| 292 |
+
fill="none"
|
| 293 |
+
stroke="#e9d5ff"
|
| 294 |
+
stroke-width="3"
|
| 295 |
+
stroke-dasharray="100, 100"
|
| 296 |
+
/>
|
| 297 |
+
<path
|
| 298 |
+
d="M18 2.0845
|
| 299 |
+
a 15.9155 15.9155 0 0 1 0 31.831
|
| 300 |
+
a 15.9155 15.9155 0 0 1 0 -31.831"
|
| 301 |
+
fill="none"
|
| 302 |
+
stroke="#6b21a8"
|
| 303 |
+
stroke-width="3"
|
| 304 |
+
stroke-dasharray="45, 100"
|
| 305 |
+
class="progress-ring__circle"
|
| 306 |
+
/>
|
| 307 |
+
<text x="18" y="20.5" text-anchor="middle" fill="#6b21a8" font-size="8" font-weight="bold">45%</text>
|
| 308 |
+
</svg>
|
| 309 |
+
</div>
|
| 310 |
+
<p class="text-sm font-medium text-gray-700">Defense</p>
|
| 311 |
+
</div>
|
| 312 |
+
</div>
|
| 313 |
+
</div>
|
| 314 |
+
|
| 315 |
+
<!-- Video Feed -->
|
| 316 |
+
<div class="p-4">
|
| 317 |
+
<div class="flex justify-between items-center mb-4">
|
| 318 |
+
<h2 class="text-xl font-bold text-gray-800">Recent Videos</h2>
|
| 319 |
+
<button id="upload-video-btn" class="bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded-lg text-sm font-medium flex items-center">
|
| 320 |
+
<i class="fas fa-plus mr-2"></i> New Video
|
| 321 |
+
</button>
|
| 322 |
+
</div>
|
| 323 |
+
|
| 324 |
+
<div class="space-y-4">
|
| 325 |
+
<!-- Video Item 1 -->
|
| 326 |
+
<div class="bg-white rounded-lg shadow overflow-hidden">
|
| 327 |
+
<div class="video-thumbnail">
|
| 328 |
+
<!-- Thumbnail would be here -->
|
| 329 |
+
</div>
|
| 330 |
+
<div class="p-3">
|
| 331 |
+
<div class="flex justify-between items-start">
|
| 332 |
+
<div>
|
| 333 |
+
<h3 class="font-medium text-gray-800">Shooting Drills - 3 Pointers</h3>
|
| 334 |
+
<p class="text-sm text-gray-500">Uploaded 2 days ago</p>
|
| 335 |
+
</div>
|
| 336 |
+
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">Shooting</span>
|
| 337 |
+
</div>
|
| 338 |
+
<div class="mt-3 flex items-center">
|
| 339 |
+
<div class="flex items-center mr-4">
|
| 340 |
+
<i class="fas fa-star text-yellow-400 mr-1"></i>
|
| 341 |
+
<span class="text-sm font-medium">4.5</span>
|
| 342 |
+
</div>
|
| 343 |
+
<button class="text-purple-600 text-sm font-medium flex items-center">
|
| 344 |
+
<i class="fas fa-comment-alt mr-1"></i> View Feedback
|
| 345 |
+
</button>
|
| 346 |
+
</div>
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
|
| 350 |
+
<!-- Video Item 2 -->
|
| 351 |
+
<div class="bg-white rounded-lg shadow overflow-hidden">
|
| 352 |
+
<div class="video-thumbnail">
|
| 353 |
+
<!-- Thumbnail would be here -->
|
| 354 |
+
</div>
|
| 355 |
+
<div class="p-3">
|
| 356 |
+
<div class="flex justify-between items-start">
|
| 357 |
+
<div>
|
| 358 |
+
<h3 class="font-medium text-gray-800">Crossover Practice</h3>
|
| 359 |
+
<p class="text-sm text-gray-500">Uploaded 5 days ago</p>
|
| 360 |
+
</div>
|
| 361 |
+
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">Dribbling</span>
|
| 362 |
+
</div>
|
| 363 |
+
<div class="mt-3 flex items-center">
|
| 364 |
+
<div class="flex items-center mr-4">
|
| 365 |
+
<i class="fas fa-star text-yellow-400 mr-1"></i>
|
| 366 |
+
<span class="text-sm font-medium">3.8</span>
|
| 367 |
+
</div>
|
| 368 |
+
<button class="text-purple-600 text-sm font-medium flex items-center">
|
| 369 |
+
<i class="fas fa-comment-alt mr-1"></i> View Feedback
|
| 370 |
+
</button>
|
| 371 |
+
</div>
|
| 372 |
+
</div>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
</div>
|
| 376 |
+
</div>
|
| 377 |
+
|
| 378 |
+
<!-- Coach Dashboard (hidden by default) -->
|
| 379 |
+
<div id="coach-dashboard" class="hidden">
|
| 380 |
+
<!-- Students List -->
|
| 381 |
+
<div class="p-4">
|
| 382 |
+
<h2 class="text-xl font-bold mb-4 text-gray-800">My Students</h2>
|
| 383 |
+
<div class="bg-white rounded-lg shadow overflow-hidden">
|
| 384 |
+
<!-- Student 1 -->
|
| 385 |
+
<div class="p-3 border-b border-gray-100 flex items-center">
|
| 386 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
|
| 387 |
+
<span class="text-purple-800 font-medium">JD</span>
|
| 388 |
+
</div>
|
| 389 |
+
<div class="flex-1">
|
| 390 |
+
<h3 class="font-medium text-gray-800">John Doe</h3>
|
| 391 |
+
<p class="text-sm text-gray-500">3 new videos</p>
|
| 392 |
+
</div>
|
| 393 |
+
<button class="text-purple-600">
|
| 394 |
+
<i class="fas fa-chevron-right"></i>
|
| 395 |
+
</button>
|
| 396 |
+
</div>
|
| 397 |
+
|
| 398 |
+
<!-- Student 2 -->
|
| 399 |
+
<div class="p-3 border-b border-gray-100 flex items-center">
|
| 400 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
|
| 401 |
+
<span class="text-purple-800 font-medium">AS</span>
|
| 402 |
+
</div>
|
| 403 |
+
<div class="flex-1">
|
| 404 |
+
<h3 class="font-medium text-gray-800">Alex Smith</h3>
|
| 405 |
+
<p class="text-sm text-gray-500">1 new video</p>
|
| 406 |
+
</div>
|
| 407 |
+
<button class="text-purple-600">
|
| 408 |
+
<i class="fas fa-chevron-right"></i>
|
| 409 |
+
</button>
|
| 410 |
+
</div>
|
| 411 |
+
|
| 412 |
+
<!-- Student 3 -->
|
| 413 |
+
<div class="p-3 flex items-center">
|
| 414 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
|
| 415 |
+
<span class="text-purple-800 font-medium">MJ</span>
|
| 416 |
+
</div>
|
| 417 |
+
<div class="flex-1">
|
| 418 |
+
<h3 class="font-medium text-gray-800">Mike Johnson</h3>
|
| 419 |
+
<p class="text-sm text-gray-500">No new videos</p>
|
| 420 |
+
</div>
|
| 421 |
+
<button class="text-purple-600">
|
| 422 |
+
<i class="fas fa-chevron-right"></i>
|
| 423 |
+
</button>
|
| 424 |
+
</div>
|
| 425 |
+
</div>
|
| 426 |
+
</div>
|
| 427 |
+
|
| 428 |
+
<!-- Recent Videos -->
|
| 429 |
+
<div class="p-4">
|
| 430 |
+
<h2 class="text-xl font-bold mb-4 text-gray-800">Recent Videos to Review</h2>
|
| 431 |
+
|
| 432 |
+
<div class="space-y-4">
|
| 433 |
+
<!-- Video Item 1 -->
|
| 434 |
+
<div class="bg-white rounded-lg shadow overflow-hidden">
|
| 435 |
+
<div class="video-thumbnail">
|
| 436 |
+
<!-- Thumbnail would be here -->
|
| 437 |
+
</div>
|
| 438 |
+
<div class="p-3">
|
| 439 |
+
<div class="flex justify-between items-start mb-2">
|
| 440 |
+
<h3 class="font-medium text-gray-800">Shooting Drills - 3 Pointers</h3>
|
| 441 |
+
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">Shooting</span>
|
| 442 |
+
</div>
|
| 443 |
+
<div class="flex items-center text-sm text-gray-500 mb-3">
|
| 444 |
+
<span>John Doe</span>
|
| 445 |
+
<span class="mx-2">•</span>
|
| 446 |
+
<span>2 days ago</span>
|
| 447 |
+
</div>
|
| 448 |
+
<div class="flex space-x-2">
|
| 449 |
+
<button class="flex-1 bg-purple-600 hover:bg-purple-700 text-white py-2 rounded-lg text-sm font-medium">
|
| 450 |
+
<i class="fas fa-play mr-1"></i> Watch
|
| 451 |
+
</button>
|
| 452 |
+
<button class="flex-1 bg-white border border-purple-600 text-purple-600 py-2 rounded-lg text-sm font-medium">
|
| 453 |
+
<i class="fas fa-comment-alt mr-1"></i> Feedback
|
| 454 |
+
</button>
|
| 455 |
+
</div>
|
| 456 |
+
</div>
|
| 457 |
+
</div>
|
| 458 |
+
</div>
|
| 459 |
+
</div>
|
| 460 |
+
</div>
|
| 461 |
+
|
| 462 |
+
<!-- Video Upload Modal (hidden by default) -->
|
| 463 |
+
<div id="upload-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
|
| 464 |
+
<div class="bg-white rounded-lg w-full max-w-md mx-4">
|
| 465 |
+
<div class="p-4 border-b border-gray-200">
|
| 466 |
+
<h3 class="text-lg font-medium text-gray-800">Upload New Video</h3>
|
| 467 |
+
</div>
|
| 468 |
+
<div class="p-4">
|
| 469 |
+
<div class="mb-4">
|
| 470 |
+
<label class="block text-gray-700 mb-2">Video Title</label>
|
| 471 |
+
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 472 |
+
</div>
|
| 473 |
+
<div class="mb-4">
|
| 474 |
+
<label class="block text-gray-700 mb-2">Category</label>
|
| 475 |
+
<select class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 476 |
+
<option>Shooting</option>
|
| 477 |
+
<option>Dribbling</option>
|
| 478 |
+
<option>Defense</option>
|
| 479 |
+
<option>Footwork</option>
|
| 480 |
+
<option>Passing</option>
|
| 481 |
+
</select>
|
| 482 |
+
</div>
|
| 483 |
+
<div class="mb-6">
|
| 484 |
+
<label class="block text-gray-700 mb-2">Upload Video</label>
|
| 485 |
+
<div class="border-2 border-dashed border-gray-300 rounded-lg p-8 text-center cursor-pointer hover:bg-gray-50 transition">
|
| 486 |
+
<i class="fas fa-video text-3xl text-gray-400 mb-2"></i>
|
| 487 |
+
<p class="text-gray-500">Click to browse or drag & drop</p>
|
| 488 |
+
<p class="text-sm text-gray-400 mt-1">MP4, MOV or AVI (max 100MB)</p>
|
| 489 |
+
</div>
|
| 490 |
+
</div>
|
| 491 |
+
<div class="flex space-x-3">
|
| 492 |
+
<button id="cancel-upload" class="flex-1 bg-gray-200 hover:bg-gray-300 text-gray-800 py-2 rounded-lg font-medium">
|
| 493 |
+
Cancel
|
| 494 |
+
</button>
|
| 495 |
+
<button class="flex-1 bg-purple-600 hover:bg-purple-700 text-white py-2 rounded-lg font-medium">
|
| 496 |
+
Upload
|
| 497 |
+
</button>
|
| 498 |
+
</div>
|
| 499 |
+
</div>
|
| 500 |
+
</div>
|
| 501 |
+
</div>
|
| 502 |
+
|
| 503 |
+
<!-- Feedback Modal (hidden by default) -->
|
| 504 |
+
<div id="feedback-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
|
| 505 |
+
<div class="bg-white rounded-lg w-full max-w-md mx-4 max-h-[80vh] overflow-y-auto">
|
| 506 |
+
<div class="p-4 border-b border-gray-200 sticky top-0 bg-white">
|
| 507 |
+
<h3 class="text-lg font-medium text-gray-800">Video Feedback</h3>
|
| 508 |
+
</div>
|
| 509 |
+
<div class="p-4">
|
| 510 |
+
<div class="mb-6">
|
| 511 |
+
<h4 class="font-medium text-gray-800 mb-2">Shooting Drills - 3 Pointers</h4>
|
| 512 |
+
<div class="flex items-center text-sm text-gray-500 mb-4">
|
| 513 |
+
<span>Coach Smith</span>
|
| 514 |
+
<span class="mx-2">•</span>
|
| 515 |
+
<span>2 days ago</span>
|
| 516 |
+
</div>
|
| 517 |
+
<div class="flex items-center mb-3">
|
| 518 |
+
<div class="flex mr-2">
|
| 519 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 520 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 521 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 522 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 523 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 524 |
+
</div>
|
| 525 |
+
<span class="text-sm font-medium">5.0</span>
|
| 526 |
+
</div>
|
| 527 |
+
<div class="bg-purple-50 p-3 rounded-lg">
|
| 528 |
+
<p class="text-gray-800">Great improvement on your shooting form! Your elbow is now properly aligned under the ball. Next focus on maintaining consistent follow-through on every shot. Also, try to jump straight up and down to improve accuracy.</p>
|
| 529 |
+
</div>
|
| 530 |
+
</div>
|
| 531 |
+
|
| 532 |
+
<div class="mb-6">
|
| 533 |
+
<h4 class="font-medium text-gray-800 mb-2">Demonstration Video</h4>
|
| 534 |
+
<div class="video-thumbnail mb-3 rounded-lg overflow-hidden">
|
| 535 |
+
<!-- Thumbnail would be here -->
|
| 536 |
+
</div>
|
| 537 |
+
<div class="bg-purple-50 p-3 rounded-lg">
|
| 538 |
+
<p class="text-gray-800">Here's a demonstration of proper shooting technique. Notice how I hold the follow-through until the ball reaches the basket. This helps with consistency.</p>
|
| 539 |
+
</div>
|
| 540 |
+
</div>
|
| 541 |
+
|
| 542 |
+
<div class="border-t border-gray-200 pt-4">
|
| 543 |
+
<h5 class="font-medium text-gray-800 mb-3">Reply to Coach</h5>
|
| 544 |
+
<div class="flex space-x-2">
|
| 545 |
+
<input type="text" placeholder="Type your message..." class="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 546 |
+
<button class="bg-purple-600 hover:bg-purple-700 text-white px-4 py-2 rounded-lg">
|
| 547 |
+
<i class="fas fa-paper-plane"></i>
|
| 548 |
+
</button>
|
| 549 |
+
</div>
|
| 550 |
+
</div>
|
| 551 |
+
</div>
|
| 552 |
+
</div>
|
| 553 |
+
</div>
|
| 554 |
+
|
| 555 |
+
<!-- Chat Interface (hidden by default) -->
|
| 556 |
+
<div id="chat-interface" class="fixed inset-0 bg-white z-50 hidden flex flex-col">
|
| 557 |
+
<div class="p-4 border-b border-gray-200 flex items-center">
|
| 558 |
+
<button id="back-from-chat" class="mr-3">
|
| 559 |
+
<i class="fas fa-arrow-left text-lg"></i>
|
| 560 |
+
</button>
|
| 561 |
+
<div class="flex items-center">
|
| 562 |
+
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
|
| 563 |
+
<span class="text-purple-800 font-medium">CS</span>
|
| 564 |
+
</div>
|
| 565 |
+
<div>
|
| 566 |
+
<h3 class="font-medium">Coach Smith</h3>
|
| 567 |
+
<p class="text-xs text-gray-500">Online</p>
|
| 568 |
+
</div>
|
| 569 |
+
</div>
|
| 570 |
+
</div>
|
| 571 |
+
|
| 572 |
+
<div class="flex-1 p-4 overflow-y-auto">
|
| 573 |
+
<div class="space-y-3">
|
| 574 |
+
<!-- Date separator -->
|
| 575 |
+
<div class="text-center text-xs text-gray-500 my-4">
|
| 576 |
+
<span class="bg-gray-100 px-2 py-1 rounded">Today</span>
|
| 577 |
+
</div>
|
| 578 |
+
|
| 579 |
+
<!-- Coach message -->
|
| 580 |
+
<div class="chat-bubble coach">
|
| 581 |
+
<p>Hi John! How's the shooting practice going?</p>
|
| 582 |
+
<p class="text-xs text-purple-800 mt-1">10:30 AM</p>
|
| 583 |
+
</div>
|
| 584 |
+
|
| 585 |
+
<!-- User message -->
|
| 586 |
+
<div class="chat-bubble user">
|
| 587 |
+
<p>Going well! I've been working on my follow-through like you suggested.</p>
|
| 588 |
+
<p class="text-xs text-purple-200 mt-1">10:32 AM</p>
|
| 589 |
+
</div>
|
| 590 |
+
|
| 591 |
+
<!-- Coach message with video -->
|
| 592 |
+
<div class="chat-bubble coach">
|
| 593 |
+
<div class="video-thumbnail mb-2 rounded-lg overflow-hidden">
|
| 594 |
+
<!-- Thumbnail would be here -->
|
| 595 |
+
</div>
|
| 596 |
+
<p>Check out this video I made showing the proper technique. Notice the wrist position.</p>
|
| 597 |
+
<p class="text-xs text-purple-800 mt-1">10:35 AM</p>
|
| 598 |
+
</div>
|
| 599 |
+
</div>
|
| 600 |
+
</div>
|
| 601 |
+
|
| 602 |
+
<div class="p-3 border-t border-gray-200 bg-white">
|
| 603 |
+
<div class="flex items-center space-x-2">
|
| 604 |
+
<button class="text-gray-500 hover:text-gray-700">
|
| 605 |
+
<i class="fas fa-paperclip text-lg"></i>
|
| 606 |
+
</button>
|
| 607 |
+
<input type="text" placeholder="Type a message..." class="flex-1 px-3 py-2 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 608 |
+
<button class="text-purple-600 hover:text-purple-800">
|
| 609 |
+
<i class="fas fa-paper-plane text-lg"></i>
|
| 610 |
+
</button>
|
| 611 |
+
</div>
|
| 612 |
+
</div>
|
| 613 |
+
</div>
|
| 614 |
+
</main>
|
| 615 |
+
|
| 616 |
+
<!-- Bottom Navigation -->
|
| 617 |
+
<nav class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200">
|
| 618 |
+
<div class="flex justify-around">
|
| 619 |
+
<button class="tab-active py-3 px-6 flex flex-col items-center text-xs">
|
| 620 |
+
<i class="fas fa-home text-lg mb-1"></i>
|
| 621 |
+
<span>Home</span>
|
| 622 |
+
</button>
|
| 623 |
+
<button class="py-3 px-6 flex flex-col items-center text-gray-500 text-xs">
|
| 624 |
+
<i class="fas fa-video text-lg mb-1"></i>
|
| 625 |
+
<span>Videos</span>
|
| 626 |
+
</button>
|
| 627 |
+
<button id="open-chat-btn" class="py-3 px-6 flex flex-col items-center text-gray-500 text-xs">
|
| 628 |
+
<i class="fas fa-comments text-lg mb-1"></i>
|
| 629 |
+
<span>Chat</span>
|
| 630 |
+
</button>
|
| 631 |
+
<button class="py-3 px-6 flex flex-col items-center text-gray-500 text-xs">
|
| 632 |
+
<i class="fas fa-calendar text-lg mb-1"></i>
|
| 633 |
+
<span>Schedule</span>
|
| 634 |
+
</button>
|
| 635 |
+
<button class="py-3 px-6 flex flex-col items-center text-gray-500 text-xs">
|
| 636 |
+
<i class="fas fa-user text-lg mb-1"></i>
|
| 637 |
+
<span>Profile</span>
|
| 638 |
+
</button>
|
| 639 |
+
</div>
|
| 640 |
+
</nav>
|
| 641 |
+
</div>
|
| 642 |
+
|
| 643 |
+
<script>
|
| 644 |
+
// Auth screen toggle functionality
|
| 645 |
+
document.getElementById('show-register').addEventListener('click', function() {
|
| 646 |
+
document.getElementById('login-form').classList.add('hidden');
|
| 647 |
+
document.getElementById('register-form').classList.remove('hidden');
|
| 648 |
+
document.getElementById('forgot-password-form').classList.add('hidden');
|
| 649 |
+
});
|
| 650 |
+
|
| 651 |
+
document.getElementById('show-login').addEventListener('click', function() {
|
| 652 |
+
document.getElementById('register-form').classList.add('hidden');
|
| 653 |
+
document.getElementById('login-form').classList.remove('hidden');
|
| 654 |
+
document.getElementById('forgot-password-form').classList.add('hidden');
|
| 655 |
+
});
|
| 656 |
+
|
| 657 |
+
document.getElementById('forgot-password').addEventListener('click', function() {
|
| 658 |
+
document.getElementById('login-form').classList.add('hidden');
|
| 659 |
+
document.getElementById('register-form').classList.add('hidden');
|
| 660 |
+
document.getElementById('forgot-password-form').classList.remove('hidden');
|
| 661 |
+
});
|
| 662 |
+
|
| 663 |
+
document.getElementById('back-to-login').addEventListener('click', function() {
|
| 664 |
+
document.getElementById('login-form').classList.remove('hidden');
|
| 665 |
+
document.getElementById('forgot-password-form').classList.add('hidden');
|
| 666 |
+
});
|
| 667 |
+
|
| 668 |
+
// Login simulation
|
| 669 |
+
document.querySelector('#login-form button').addEventListener('click', function(e) {
|
| 670 |
+
e.preventDefault();
|
| 671 |
+
// Simulate login
|
| 672 |
+
document.getElementById('auth-screen').classList.add('hidden');
|
| 673 |
+
document.getElementById('app-container').classList.remove('hidden');
|
| 674 |
+
|
| 675 |
+
// Show student dashboard by default
|
| 676 |
+
document.getElementById('student-dashboard').classList.remove('hidden');
|
| 677 |
+
document.getElementById('coach-dashboard').classList.add('hidden');
|
| 678 |
+
});
|
| 679 |
+
|
| 680 |
+
// Register simulation
|
| 681 |
+
document.querySelector('#register-form button').addEventListener('click', function(e) {
|
| 682 |
+
e.preventDefault();
|
| 683 |
+
const accountType = document.querySelector('input[name="account-type"]:checked').value;
|
| 684 |
+
|
| 685 |
+
// Simulate registration
|
| 686 |
+
document.getElementById('auth-screen').classList.add('hidden');
|
| 687 |
+
document.getElementById('app-container').classList.remove('hidden');
|
| 688 |
+
|
| 689 |
+
// Show appropriate dashboard based on account type
|
| 690 |
+
if (accountType === 'coach') {
|
| 691 |
+
document.getElementById('student-dashboard').classList.add('hidden');
|
| 692 |
+
document.getElementById('coach-dashboard').classList.remove('hidden');
|
| 693 |
+
} else {
|
| 694 |
+
document.getElementById('student-dashboard').classList.remove('hidden');
|
| 695 |
+
document.getElementById('coach-dashboard').classList.add('hidden');
|
| 696 |
+
}
|
| 697 |
+
});
|
| 698 |
+
|
| 699 |
+
// Logout functionality
|
| 700 |
+
document.getElementById('logout-btn').addEventListener('click', function() {
|
| 701 |
+
document.getElementById('auth-screen').classList.remove('hidden');
|
| 702 |
+
document.getElementById('app-container').classList.add('hidden');
|
| 703 |
+
document.getElementById('login-form').classList.remove('hidden');
|
| 704 |
+
document.getElementById('register-form').classList.add('hidden');
|
| 705 |
+
document.getElementById('forgot-password-form').classList.add('hidden');
|
| 706 |
+
});
|
| 707 |
+
|
| 708 |
+
// Video upload modal
|
| 709 |
+
document.getElementById('upload-video-btn').addEventListener('click', function() {
|
| 710 |
+
document.getElementById('upload-modal').classList.remove('hidden');
|
| 711 |
+
});
|
| 712 |
+
|
| 713 |
+
document.getElementById('cancel-upload').addEventListener('click', function() {
|
| 714 |
+
document.getElementById('upload-modal').classList.add('hidden');
|
| 715 |
+
});
|
| 716 |
+
|
| 717 |
+
// Close modals when clicking outside
|
| 718 |
+
document.getElementById('upload-modal').addEventListener('click', function(e) {
|
| 719 |
+
if (e.target === this) {
|
| 720 |
+
this.classList.add('hidden');
|
| 721 |
+
}
|
| 722 |
+
});
|
| 723 |
+
|
| 724 |
+
document.getElementById('feedback-modal').addEventListener('click', function(e) {
|
| 725 |
+
if (e.target === this) {
|
| 726 |
+
this.classList.add('hidden');
|
| 727 |
+
}
|
| 728 |
+
});
|
| 729 |
+
|
| 730 |
+
// View feedback buttons
|
| 731 |
+
const viewFeedbackButtons = document.querySelectorAll('[class*="fa-comment-alt"]');
|
| 732 |
+
viewFeedbackButtons.forEach(button => {
|
| 733 |
+
button.addEventListener('click', function() {
|
| 734 |
+
document.getElementById('feedback-modal').classList.remove('hidden');
|
| 735 |
+
});
|
| 736 |
+
});
|
| 737 |
+
|
| 738 |
+
// Close feedback modal---
|
| 739 |
+
|
| 740 |
+
Prompt completo para criação de app de treinador de basquete – Deflook Academy
|
| 741 |
+
|
| 742 |
+
> Crie um aplicativo mobile (Android e iOS) chamado Deflook Academy, voltado para treinadores de basquete e seus alunos. O app deve ter uma interface esportiva e moderna com paleta de cores em roxo e preto, com elementos temáticos de basquete (bola, cesta, quadra). Utilize uma abordagem responsiva e voltada à usabilidade mobile. A seguir estão os requisitos detalhados:
|
| 743 |
+
|
| 744 |
+
|
| 745 |
+
|
| 746 |
+
|
| 747 |
+
---
|
| 748 |
+
|
| 749 |
+
1. Sistema de Cadastro e Login:
|
| 750 |
+
|
| 751 |
+
Cadastro individual com nome, e-mail, senha e tipo de conta (Aluno ou Treinador).
|
| 752 |
+
|
| 753 |
+
Login com autenticação segura.
|
| 754 |
+
|
| 755 |
+
Recuperação de senha.
|
| 756 |
+
|
| 757 |
+
Suporte a login social (Google, Apple).
|
| 758 |
+
|
| 759 |
+
|
| 760 |
+
|
| 761 |
+
---
|
| 762 |
+
|
| 763 |
+
2. Painel do Aluno:
|
| 764 |
+
|
| 765 |
+
Tela inicial com feed de vídeos enviados.
|
| 766 |
+
|
| 767 |
+
Gráficos de desempenho com base nos treinos (barra ou pizza).
|
| 768 |
+
|
| 769 |
+
Botão para enviar vídeo (gravar na hora ou escolher da galeria).
|
| 770 |
+
|
| 771 |
+
Categorizar o vídeo: arremesso, drible, defesa, etc.
|
| 772 |
+
|
| 773 |
+
Acesso ao chat individual com o treinador.
|
| 774 |
+
|
| 775 |
+
Visualização de feedbacks recebidos.
|
| 776 |
+
|
| 777 |
+
|
| 778 |
+
|
| 779 |
+
---
|
| 780 |
+
|
| 781 |
+
3. Painel do Treinador:
|
| 782 |
+
|
| 783 |
+
Lista com todos os alunos cadastrados.
|
| 784 |
+
|
| 785 |
+
Visualização dos vídeos enviados por aluno.
|
| 786 |
+
|
| 787 |
+
Avaliação dos vídeos com comentários, estrelas ou notas.
|
| 788 |
+
|
| 789 |
+
Envio de vídeos demonstrativos e mensagens.
|
| 790 |
+
|
| 791 |
+
Chat individual com cada aluno.
|
| 792 |
+
|
| 793 |
+
Agenda de treinos presenciais ou virtuais (sincronizável com calendário).
|
| 794 |
+
|
| 795 |
+
Possibilidade de múltiplos treinadores por aluno (ex: técnico e preparador físico).
|
| 796 |
+
|
| 797 |
+
|
| 798 |
+
|
| 799 |
+
---
|
| 800 |
+
|
| 801 |
+
4. Chat Integrado:
|
| 802 |
+
|
| 803 |
+
Mensagens em tempo real entre treinador e aluno.
|
| 804 |
+
|
| 805 |
+
Suporte a texto, vídeo, imagem e áudio.
|
| 806 |
+
|
| 807 |
+
Notificações de novas mensagens.
|
| 808 |
+
|
| 809 |
+
|
| 810 |
+
|
| 811 |
+
---
|
| 812 |
+
|
| 813 |
+
5. Notificações e Alertas:
|
| 814 |
+
|
| 815 |
+
Aluno recebe notificação ao receber feedback ou nova mensagem.
|
| 816 |
+
|
| 817 |
+
Treinador recebe alerta ao receber novo vídeo.
|
| 818 |
+
|
| 819 |
+
|
| 820 |
+
|
| 821 |
+
---
|
| 822 |
+
|
| 823 |
+
6. Design e Interface:
|
| 824 |
+
|
| 825 |
+
Interface esportiva, moderna, com paleta de roxo, preto e branco.
|
| 826 |
+
|
| 827 |
+
Layout adaptado para celular (responsivo).
|
| 828 |
+
|
| 829 |
+
Ícones temáticos de basquete.
|
| 830 |
+
|
| 831 |
+
|
| 832 |
+
|
| 833 |
+
---
|
| 834 |
+
|
| 835 |
+
7. Tecnologia sugerida:
|
| 836 |
+
|
| 837 |
+
Frontend: React Native ou Flutter.
|
| 838 |
+
|
| 839 |
+
Backend: Firebase (Auth, Firestore, Storage) ou Supabase.
|
| 840 |
+
|
| 841 |
+
Armazenamento de vídeo: Firebase Storage ou AWS S3.
|
| 842 |
+
|
| 843 |
+
|
| 844 |
+
|
| 845 |
+
---
|
| 846 |
+
|
| 847 |
+
8. Requisitos Adicionais (opcionais):
|
| 848 |
+
|
| 849 |
+
Painel web administrativo para treinadores.
|
| 850 |
+
|
| 851 |
+
Exportação de relatórios de desempenho em PDF.
|
| 852 |
+
|
| 853 |
+
Suporte futuro a ferramentas de análise de movimento (ex: OpenPose, MediaPipe).
|
| 854 |
+
|
| 855 |
+
|
| 856 |
+
|
| 857 |
+
---
|
| 858 |
+
|
| 859 |
+
9. MVP sugerido (versão mínima viável):
|
| 860 |
+
|
| 861 |
+
Para o primeiro lançamento e testes iniciais:
|
| 862 |
+
|
| 863 |
+
Cadastro/Login com autenticação.
|
| 864 |
+
|
| 865 |
+
Upload e categorização de vídeos.
|
| 866 |
+
|
| 867 |
+
Chat básico (texto e mídia).
|
| 868 |
+
|
| 869 |
+
Feedback por comentários.
|
| 870 |
+
|
| 871 |
+
Notificações básicas.
|
| 872 |
+
|
| 873 |
+
Feed de vídeos por aluno.
|
| 874 |
+
document.querySelector('#feedback-modal .absolute').addEventListener('click', function() {
|
| 875 |
+
document.getElementById('feedback-modal').classList.add('hidden');
|
| 876 |
+
});
|
| 877 |
+
|
| 878 |
+
// Chat functionality
|
| 879 |
+
document.getElementById('open-chat-btn').addEventListener('click', function() {
|
| 880 |
+
document.getElementById('chat-interface').classList.remove('hidden');
|
| 881 |
+
});
|
| 882 |
+
|
| 883 |
+
document.getElementById('back-from-chat').addEventListener('click', function() {
|
| 884 |
+
document.getElementById('chat-interface').classList.add('hidden');
|
| 885 |
+
});
|
| 886 |
+
|
| 887 |
+
// Tab switching
|
| 888 |
+
const tabs = document.querySelectorAll('nav button');
|
| 889 |
+
tabs.forEach(tab => {
|
| 890 |
+
tab.addEventListener('click', function() {
|
| 891 |
+
tabs.forEach(t => t.classList.remove('tab-active', 'text-purple-600'));
|
| 892 |
+
tabs.forEach(t => t.classList.add('text-gray-500'));
|
| 893 |
+
this.classList.add('tab-active', 'text-purple-600');
|
| 894 |
+
this.classList.remove('text-gray-500');
|
| 895 |
+
});
|
| 896 |
+
});
|
| 897 |
+
</script>
|
| 898 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Deflook/deflook" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 899 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
--- Prompt completo para criação de app de treinador de basquete – Deflook Academy > Crie um aplicativo mobile (Android e iOS) chamado Deflook Academy, voltado para treinadores de basquete e seus alunos. O app deve ter uma interface esportiva e moderna com paleta de cores em roxo e preto, com elementos temáticos de basquete (bola, cesta, quadra). Utilize uma abordagem responsiva e voltada à usabilidade mobile. A seguir estão os requisitos detalhados: --- 1. Sistema de Cadastro e Login: Cadastro individual com nome, e-mail, senha e tipo de conta (Aluno ou Treinador). Login com autenticação segura. Recuperação de senha. Suporte a login social (Google, Apple). --- 2. Painel do Aluno: Tela inicial com feed de vídeos enviados. Gráficos de desempenho com base nos treinos (barra ou pizza). Botão para enviar vídeo (gravar na hora ou escolher da galeria). Categorizar o vídeo: arremesso, drible, defesa, etc. Acesso ao chat individual com o treinador. Visualização de feedbacks recebidos. --- 3. Painel do Treinador: Lista com todos os alunos cadastrados. Visualização dos vídeos enviados por aluno. Avaliação dos vídeos com comentários, estrelas ou notas. Envio de vídeos demonstrativos e mensagens. Chat individual com cada aluno. Agenda de treinos presenciais ou virtuais (sincronizável com calendário). Possibilidade de múltiplos treinadores por aluno (ex: técnico e preparador físico). --- 4. Chat Integrado: Mensagens em tempo real entre treinador e aluno. Suporte a texto, vídeo, imagem e áudio. Notificações de novas mensagens. --- 5. Notificações e Alertas: Aluno recebe notificação ao receber feedback ou nova mensagem. Treinador recebe alerta ao receber novo vídeo. --- 6. Design e Interface: Interface esportiva, moderna, com paleta de roxo, preto e branco. Layout adaptado para celular (responsivo). Ícones temáticos de basquete. --- 7. Tecnologia sugerida: Frontend: React Native ou Flutter. Backend: Firebase (Auth, Firestore, Storage) ou Supabase. Armazenamento de vídeo: Firebase Storage ou AWS S3. --- 8. Requisitos Adicionais (opcionais): Painel web administrativo para treinadores. Exportação de relatórios de desempenho em PDF. Suporte futuro a ferramentas de análise de movimento (ex: OpenPose, MediaPipe). --- 9. MVP sugerido (versão mínima viável): Para o primeiro lançamento e testes iniciais: Cadastro/Login com autenticação. Upload e categorização de vídeos. Chat básico (texto e mídia). Feedback por comentários. Notificações básicas. Feed de vídeos por aluno.
|