File size: 12,558 Bytes
222ae5d | 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 234 235 236 237 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Syllabus Solver - Set Your Timeline</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Helvetica:wght@700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #F9FAFC;
color: #1E1E2F;
}
h1, h2, h3 {
font-family: 'Helvetica', sans-serif;
}
.gradient-bg {
background: linear-gradient(135deg, #CABDFF 0%, #A6C8FF 100%);
}
.gradient-border {
border: 2px solid transparent;
background-clip: padding-box;
position: relative;
background: white;
}
.gradient-border::after {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
z-index: -1;
background: linear-gradient(135deg, #CABDFF 0%, #A6C8FF 100%);
border-radius: inherit;
}
.card-shadow {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.input-focus:focus {
box-shadow: 0 0 0 2px rgba(202, 189, 255, 0.5);
border-color: #CABDFF;
}
.checkbox:checked {
background-color: #CABDFF;
border-color: #CABDFF;
}
.checkbox:focus {
box-shadow: 0 0 0 2px rgba(202, 189, 255, 0.5);
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
</style>
</head>
<body class="min-h-screen flex flex-col">
<div class="container mx-auto px-4 py-12 max-w-3xl">
<!-- Progress Indicator -->
<div class="flex items-center justify-between mb-12">
<div class="flex items-center">
<div class="w-8 h-8 rounded-full gradient-bg flex items-center justify-center text-white font-semibold">1</div>
<div class="w-24 h-1 mx-2 bg-gray-200 rounded-full">
<div class="h-1 rounded-full gradient-bg" style="width: 0%"></div>
</div>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-white border-2 border-gray-300 flex items-center justify-center text-gray-400 font-semibold">2</div>
<div class="w-24 h-1 mx-2 bg-gray-200 rounded-full">
<div class="h-1 rounded-full bg-gray-200" style="width: 0%"></div>
</div>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-white border-2 border-gray-300 flex items-center justify-center text-gray-400 font-semibold">3</div>
</div>
</div>
<!-- Main Content -->
<div class="gradient-border rounded-2xl p-8 card-shadow bg-white">
<h2 class="text-3xl font-bold mb-2">Set Your Study Timeline</h2>
<p class="text-gray-600 mb-8">Tell us your availability so we can create the perfect study plan for you</p>
<!-- Deadline Field -->
<div class="mb-8">
<label class="block text-xl font-medium mb-3">By when do you need to complete this?</label>
<div class="relative">
<input type="date" class="w-full p-4 border border-gray-300 rounded-xl text-lg input-focus"
min="" id="deadlineInput">
<div class="absolute right-4 top-1/2 transform -translate-y-1/2">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
</svg>
</div>
</div>
</div>
<!-- Daily Time Commitment -->
<div class="mb-8">
<label class="block text-xl font-medium mb-3">How many hours per day can you study?</label>
<div class="flex items-center">
<button id="decrementHours" class="w-12 h-12 rounded-l-xl border border-gray-300 bg-gray-100 flex items-center justify-center text-2xl font-medium hover:bg-gray-200 transition">
-
</button>
<input type="number" id="hoursInput" value="2" min="1" max="12"
class="w-24 h-12 border-t border-b border-gray-300 text-center text-xl font-medium">
<button id="incrementHours" class="w-12 h-12 rounded-r-xl border border-gray-300 bg-gray-100 flex items-center justify-center text-2xl font-medium hover:bg-gray-200 transition">
+
</button>
<span class="ml-4 text-xl">hours/day</span>
</div>
</div>
<!-- Off Days Selector -->
<div class="mb-8">
<label class="block text-xl font-medium mb-3">Any days you won't be able to study?</label>
<div class="flex flex-wrap gap-3">
<label class="flex items-center">
<input type="checkbox" class="w-6 h-6 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 checkbox" value="Monday">
<span class="ml-2 text-lg">Monday</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="w-6 h-6 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 checkbox" value="Tuesday">
<span class="ml-2 text-lg">Tuesday</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="w-6 h-6 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 checkbox" value="Wednesday">
<span class="ml-2 text-lg">Wednesday</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="w-6 h-6 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 checkbox" value="Thursday">
<span class="ml-2 text-lg">Thursday</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="w-6 h-6 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 checkbox" value="Friday">
<span class="ml-2 text-lg">Friday</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="w-6 h-6 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 checkbox" value="Saturday">
<span class="ml-2 text-lg">Saturday</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="w-6 h-6 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 checkbox" value="Sunday">
<span class="ml-2 text-lg">Sunday</span>
</label>
</div>
</div>
<!-- Info Card -->
<div class="bg-blue-50 border border-blue-100 rounded-xl p-4 mb-8">
<div class="flex">
<div class="flex-shrink-0">
<svg class="h-5 w-5 text-blue-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd" />
</svg>
</div>
<div class="ml-3">
<p class="text-sm text-blue-700">
AI will distribute your topics based on your deadline and daily hours. The more accurate your inputs, the better your personalized study plan will be.
</p>
</div>
</div>
</div>
<!-- Continue Button -->
<button class="w-full gradient-bg text-white py-4 rounded-xl text-xl font-semibold hover:shadow-lg transition duration-300 transform hover:-translate-y-1">
Generate My Study Plan
</button>
</div>
<!-- Floating Illustration -->
<div class="hidden md:block absolute right-12 top-1/3 animate-float">
<svg width="180" height="180" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="90" cy="90" r="90" fill="url(#paint0_linear)"/>
<path d="M90 45V135" stroke="white" stroke-width="4" stroke-linecap="round"/>
<path d="M135 90H45" stroke="white" stroke-width="4" stroke-linecap="round"/>
<path d="M112.5 67.5L67.5 112.5" stroke="white" stroke-width="4" stroke-linecap="round"/>
<path d="M112.5 112.5L67.5 67.5" stroke="white" stroke-width="4" stroke-linecap="round"/>
<circle cx="90" cy="90" r="30" stroke="white" stroke-width="4"/>
<defs>
<linearGradient id="paint0_linear" x1="90" y1="0" x2="90" y2="180" gradientUnits="userSpaceOnUse">
<stop stop-color="#CABDFF"/>
<stop offset="1" stop-color="#A6C8FF"/>
</linearGradient>
</defs>
</svg>
</div>
</div>
<script>
// Set minimum date to today
document.addEventListener('DOMContentLoaded', function() {
const today = new Date();
const dd = String(today.getDate()).padStart(2, '0');
const mm = String(today.getMonth() + 1).padStart(2, '0');
const yyyy = today.getFullYear();
const minDate = yyyy + '-' + mm + '-' + dd;
document.getElementById('deadlineInput').min = minDate;
document.getElementById('deadlineInput').value = minDate;
// Time input controls
const hoursInput = document.getElementById('hoursInput');
const incrementBtn = document.getElementById('incrementHours');
const decrementBtn = document.getElementById('decrementHours');
incrementBtn.addEventListener('click', function() {
let value = parseInt(hoursInput.value);
if (value < 12) {
hoursInput.value = value + 1;
}
});
decrementBtn.addEventListener('click', function() {
let value = parseInt(hoursInput.value);
if (value > 1) {
hoursInput.value = value - 1;
}
});
// Validate input
hoursInput.addEventListener('change', function() {
let value = parseInt(this.value);
if (isNaN(value) || value < 1) {
this.value = 1;
} else if (value > 12) {
this.value = 12;
}
});
});
</script>
<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=Design-28/step-1-2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |