AdamYS19 commited on
Commit
cbd0904
·
verified ·
1 Parent(s): 8ddefa0

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +672 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Quickmafs
3
- emoji: 😻
4
- colorFrom: gray
5
- colorTo: blue
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: quickmafs
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: green
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,672 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>QuickMaths GCSE | Fast, Effective Maths Tutoring</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
+ .hero-bg {
11
+ background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
12
+ }
13
+ .editable {
14
+ outline: 1px dashed rgba(59, 130, 246, 0.3);
15
+ min-height: 20px;
16
+ }
17
+ .editable:focus {
18
+ outline: 2px solid #3b82f6;
19
+ background-color: rgba(59, 130, 246, 0.05);
20
+ }
21
+ .video-container {
22
+ position: relative;
23
+ padding-bottom: 56.25%;
24
+ height: 0;
25
+ overflow: hidden;
26
+ }
27
+ .video-container iframe {
28
+ position: absolute;
29
+ top: 0;
30
+ left: 0;
31
+ width: 100%;
32
+ height: 100%;
33
+ }
34
+ </style>
35
+ </head>
36
+ <body class="font-sans bg-gray-50">
37
+ <!-- Admin Bar (Visible when editMode=true) -->
38
+ <div id="adminBar" class="bg-gray-800 text-white p-2 hidden">
39
+ <div class="container mx-auto flex justify-between items-center">
40
+ <span class="font-bold">Edit Mode</span>
41
+ <div>
42
+ <button id="saveBtn" class="bg-green-600 px-3 py-1 rounded mr-2">
43
+ <i class="fas fa-save mr-1"></i>Save Changes
44
+ </button>
45
+ <button id="editToggle" class="bg-blue-600 px-3 py-1 rounded">
46
+ <i class="fas fa-times mr-1"></i>Exit Edit Mode
47
+ </button>
48
+ </div>
49
+ </div>
50
+ </div>
51
+
52
+ <!-- Navigation -->
53
+ <nav class="bg-white shadow-sm sticky top-0 z-50">
54
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
55
+ <div class="flex justify-between h-16">
56
+ <div class="flex items-center">
57
+ <div class="flex-shrink-0 flex items-center">
58
+ <i class="fas fa-calculator text-blue-600 text-2xl mr-2"></i>
59
+ <span class="text-xl font-bold text-gray-900 editable" data-id="site-title">QuickMaths GCSE</span>
60
+ </div>
61
+ </div>
62
+ <div class="hidden md:flex items-center space-x-8">
63
+ <a href="#about" class="text-gray-700 hover:text-blue-600 px-3 py-2 font-medium">About</a>
64
+ <a href="#method" class="text-gray-700 hover:text-blue-600 px-3 py-2 font-medium">Method</a>
65
+ <a href="#topics" class="text-gray-700 hover:text-blue-600 px-3 py-2 font-medium">Topics</a>
66
+ <a href="#videos" class="text-gray-700 hover:text-blue-600 px-3 py-2 font-medium">Videos</a>
67
+ <a href="#contact" class="bg-blue-600 text-white px-4 py-2 rounded-md font-medium hover:bg-blue-700">Book Session</a>
68
+ </div>
69
+ <div class="md:hidden flex items-center">
70
+ <button id="mobileMenuBtn" class="text-gray-500 hover:text-gray-900 focus:outline-none">
71
+ <i class="fas fa-bars text-xl"></i>
72
+ </button>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ <!-- Mobile Menu -->
77
+ <div id="mobileMenu" class="hidden md:hidden bg-white pb-3 px-4">
78
+ <a href="#about" class="block text-gray-700 hover:text-blue-600 px-3 py-2 font-medium">About</a>
79
+ <a href="#method" class="block text-gray-700 hover:text-blue-600 px-3 py-2 font-medium">Method</a>
80
+ <a href="#topics" class="block text-gray-700 hover:text-blue-600 px-3 py-2 font-medium">Topics</a>
81
+ <a href="#videos" class="block text-gray-700 hover:text-blue-600 px-3 py-2 font-medium">Videos</a>
82
+ <a href="#contact" class="block bg-blue-600 text-white px-4 py-2 rounded-md font-medium hover:bg-blue-700 mt-2 text-center">Book Session</a>
83
+ </div>
84
+ </nav>
85
+
86
+ <!-- Hero Section -->
87
+ <section class="hero-bg text-white">
88
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 md:py-28">
89
+ <div class="md:flex items-center">
90
+ <div class="md:w-1/2 mb-10 md:mb-0">
91
+ <h1 class="text-4xl md:text-5xl font-bold mb-6 editable" data-id="hero-title">Master GCSE Maths Fast with Our Proven Method</h1>
92
+ <p class="text-xl mb-8 opacity-90 editable" data-id="hero-subtitle">
93
+ Learn exactly what you need to know for your exams, with clear explanations and all possible question types covered.
94
+ </p>
95
+ <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
96
+ <a href="#contact" class="bg-white text-blue-600 px-6 py-3 rounded-md font-bold text-center hover:bg-opacity-90">Start Learning Today</a>
97
+ <a href="#videos" class="border-2 border-white text-white px-6 py-3 rounded-md font-bold text-center hover:bg-white hover:bg-opacity-10">Watch Free Videos</a>
98
+ </div>
99
+ </div>
100
+ <div class="md:w-1/2 flex justify-center">
101
+ <div class="relative">
102
+ <div class="w-64 h-64 md:w-80 md:h-80 bg-white bg-opacity-20 rounded-full absolute -top-6 -left-6"></div>
103
+ <div class="w-64 h-64 md:w-80 md:h-80 bg-white bg-opacity-10 rounded-full absolute -bottom-6 -right-6"></div>
104
+ <img src="https://images.unsplash.com/photo-1544717305-2782549b5136?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80"
105
+ alt="Tutor helping student"
106
+ class="relative rounded-lg shadow-2xl w-full max-w-md border-4 border-white editable-img"
107
+ data-id="hero-image">
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </div>
112
+ </section>
113
+
114
+ <!-- About Section -->
115
+ <section id="about" class="py-16 bg-white">
116
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
117
+ <div class="text-center mb-16">
118
+ <h2 class="text-3xl font-bold text-gray-900 mb-4 editable" data-id="about-title">Why Our Method Works</h2>
119
+ <p class="text-xl text-gray-600 max-w-3xl mx-auto editable" data-id="about-subtitle">
120
+ We focus on teaching the most efficient methods to solve every type of GCSE Maths question.
121
+ </p>
122
+ </div>
123
+ <div class="grid md:grid-cols-3 gap-8">
124
+ <div class="bg-gray-50 p-8 rounded-xl">
125
+ <div class="w-14 h-14 bg-blue-600 bg-opacity-10 rounded-full flex items-center justify-center mb-6">
126
+ <i class="fas fa-bolt text-blue-600 text-2xl"></i>
127
+ </div>
128
+ <h3 class="text-xl font-bold text-gray-900 mb-3 editable" data-id="feature1-title">Quick Methods</h3>
129
+ <p class="text-gray-600 editable" data-id="feature1-text">
130
+ Learn shortcuts and techniques that save time in exams without sacrificing accuracy.
131
+ </p>
132
+ </div>
133
+ <div class="bg-gray-50 p-8 rounded-xl">
134
+ <div class="w-14 h-14 bg-green-600 bg-opacity-10 rounded-full flex items-center justify-center mb-6">
135
+ <i class="fas fa-check-double text-green-600 text-2xl"></i>
136
+ </div>
137
+ <h3 class="text-xl font-bold text-gray-900 mb-3 editable" data-id="feature2-title">All Question Types</h3>
138
+ <p class="text-gray-600 editable" data-id="feature2-text">
139
+ We cover every possible variation of each question type so nothing surprises you in the exam.
140
+ </p>
141
+ </div>
142
+ <div class="bg-gray-50 p-8 rounded-xl">
143
+ <div class="w-14 h-14 bg-yellow-500 bg-opacity-10 rounded-full flex items-center justify-center mb-6">
144
+ <i class="fas fa-brain text-yellow-500 text-2xl"></i>
145
+ </div>
146
+ <h3 class="text-xl font-bold text-gray-900 mb-3 editable" data-id="feature3-title">Understanding First</h3>
147
+ <p class="text-gray-600 editable" data-id="feature3-text">
148
+ We explain the "why" behind methods so you can apply them to any question, not just memorized examples.
149
+ </p>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ </section>
154
+
155
+ <!-- Method Section -->
156
+ <section id="method" class="py-16 bg-gray-50">
157
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
158
+ <div class="md:flex items-center">
159
+ <div class="md:w-1/2 mb-10 md:mb-0">
160
+ <h2 class="text-3xl font-bold text-gray-900 mb-6 editable" data-id="method-title">Our Unique Teaching Approach</h2>
161
+ <p class="text-lg text-gray-600 mb-6 editable" data-id="method-text1">
162
+ We break down each topic into its fundamental components, then build up to solving full exam questions.
163
+ This ensures you understand both the concepts and their practical application.
164
+ </p>
165
+ <p class="text-lg text-gray-600 mb-6 editable" data-id="method-text2">
166
+ For every topic, we teach:
167
+ </p>
168
+ <ul class="space-y-3 mb-8">
169
+ <li class="flex items-center">
170
+ <i class="fas fa-check-circle text-green-600 mr-2"></i>
171
+ <span class="editable" data-id="method-list1">The fastest solving methods</span>
172
+ </li>
173
+ <li class="flex items-center">
174
+ <i class="fas fa-check-circle text-green-600 mr-2"></i>
175
+ <span class="editable" data-id="method-list2">All possible question variations</span>
176
+ </li>
177
+ <li class="flex items-center">
178
+ <i class="fas fa-check-circle text-green-600 mr-2"></i>
179
+ <span class="editable" data-id="method-list3">Common mistakes to avoid</span>
180
+ </li>
181
+ <li class="flex items-center">
182
+ <i class="fas fa-check-circle text-green-600 mr-2"></i>
183
+ <span class="editable" data-id="method-list4">Exam-style practice questions</span>
184
+ </li>
185
+ </ul>
186
+ </div>
187
+ <div class="md:w-1/2 pl-12">
188
+ <div class="bg-white p-6 rounded-lg shadow-lg">
189
+ <h3 class="text-xl font-bold text-gray-900 mb-4 editable" data-id="method-box-title">Example Topic Breakdown</h3>
190
+ <div class="space-y-4">
191
+ <div>
192
+ <h4 class="font-medium text-gray-900 editable" data-id="method-step1">1. Core Concept Explanation</h4>
193
+ <p class="text-gray-600 text-sm editable" data-id="method-step1-desc">Understanding the fundamental principle</p>
194
+ </div>
195
+ <div>
196
+ <h4 class="font-medium text-gray-900 editable" data-id="method-step2">2. Basic Application</h4>
197
+ <p class="text-gray-600 text-sm editable" data-id="method-step2-desc">Simple questions to practice the concept</p>
198
+ </div>
199
+ <div>
200
+ <h4 class="font-medium text-gray-900 editable" data-id="method-step3">3. Variations & Extensions</h4>
201
+ <p class="text-gray-600 text-sm editable" data-id="method-step3-desc">All the ways this concept appears in exams</p>
202
+ </div>
203
+ <div>
204
+ <h4 class="font-medium text-gray-900 editable" data-id="method-step4">4. Exam-Style Practice</h4>
205
+ <p class="text-gray-600 text-sm editable" data-id="method-step4-desc">Full questions with mark scheme breakdown</p>
206
+ </div>
207
+ </div>
208
+ </div>
209
+ </div>
210
+ </div>
211
+ </div>
212
+ </section>
213
+
214
+ <!-- Topics Section -->
215
+ <section id="topics" class="py-16 bg-white">
216
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
217
+ <div class="text-center mb-16">
218
+ <h2 class="text-3xl font-bold text-gray-900 mb-4 editable" data-id="topics-title">GCSE Maths Topics Covered</h2>
219
+ <p class="text-xl text-gray-600 max-w-3xl mx-auto editable" data-id="topics-subtitle">
220
+ We provide comprehensive coverage of all GCSE Maths topics across all exam boards.
221
+ </p>
222
+ </div>
223
+
224
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
225
+ <div class="border border-gray-200 rounded-lg p-6">
226
+ <h3 class="text-xl font-bold text-gray-900 mb-3 editable" data-id="topic1-title">Number</h3>
227
+ <ul class="space-y-2">
228
+ <li class="flex items-start">
229
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
230
+ <span class="editable" data-id="topic1-item1">Fractions, decimals, percentages</span>
231
+ </li>
232
+ <li class="flex items-start">
233
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
234
+ <span class="editable" data-id="topic1-item2">Ratio & proportion</span>
235
+ </li>
236
+ <li class="flex items-start">
237
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
238
+ <span class="editable" data-id="topic1-item3">Indices & surds</span>
239
+ </li>
240
+ <li class="flex items-start">
241
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
242
+ <span class="editable" data-id="topic1-item4">Standard form</span>
243
+ </li>
244
+ </ul>
245
+ </div>
246
+
247
+ <div class="border border-gray-200 rounded-lg p-6">
248
+ <h3 class="text-xl font-bold text-gray-900 mb-3 editable" data-id="topic2-title">Algebra</h3>
249
+ <ul class="space-y-2">
250
+ <li class="flex items-start">
251
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
252
+ <span class="editable" data-id="topic2-item1">Expressions & equations</span>
253
+ </li>
254
+ <li class="flex items-start">
255
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
256
+ <span class="editable" data-id="topic2-item2">Sequences</span>
257
+ </li>
258
+ <li class="flex items-start">
259
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
260
+ <span class="editable" data-id="topic2-item3">Graphs</span>
261
+ </li>
262
+ <li class="flex items-start">
263
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
264
+ <span class="editable" data-id="topic2-item4">Quadratic equations</span>
265
+ </li>
266
+ </ul>
267
+ </div>
268
+
269
+ <div class="border border-gray-200 rounded-lg p-6">
270
+ <h3 class="text-xl font-bold text-gray-900 mb-3 editable" data-id="topic3-title">Geometry</h3>
271
+ <ul class="space-y-2">
272
+ <li class="flex items-start">
273
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
274
+ <span class="editable" data-id="topic3-item1">Area & volume</span>
275
+ </li>
276
+ <li class="flex items-start">
277
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
278
+ <span class="editable" data-id="topic3-item2">Circle theorems</span>
279
+ </li>
280
+ <li class="flex items-start">
281
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
282
+ <span class="editable" data-id="topic3-item3">Trigonometry</span>
283
+ </li>
284
+ <li class="flex items-start">
285
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
286
+ <span class="editable" data-id="topic3-item4">Vectors</span>
287
+ </li>
288
+ </ul>
289
+ </div>
290
+
291
+ <div class="border border-gray-200 rounded-lg p-6">
292
+ <h3 class="text-xl font-bold text-gray-900 mb-3 editable" data-id="topic4-title">Probability & Statistics</h3>
293
+ <ul class="space-y-2">
294
+ <li class="flex items-start">
295
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
296
+ <span class="editable" data-id="topic4-item1">Probability basics</span>
297
+ </li>
298
+ <li class="flex items-start">
299
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
300
+ <span class="editable" data-id="topic4-item2">Tree diagrams</span>
301
+ </li>
302
+ <li class="flex items-start">
303
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
304
+ <span class="editable" data-id="topic4-item3">Data representation</span>
305
+ </li>
306
+ <li class="flex items-start">
307
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
308
+ <span class="editable" data-id="topic4-item4">Statistical measures</span>
309
+ </li>
310
+ </ul>
311
+ </div>
312
+
313
+ <div class="border border-gray-200 rounded-lg p-6">
314
+ <h3 class="text-xl font-bold text-gray-900 mb-3 editable" data-id="topic5-title">Exam Techniques</h3>
315
+ <ul class="space-y-2">
316
+ <li class="flex items-start">
317
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
318
+ <span class="editable" data-id="topic5-item1">Time management</span>
319
+ </li>
320
+ <li class="flex items-start">
321
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
322
+ <span class="editable" data-id="topic5-item2">Answer presentation</span>
323
+ </li>
324
+ <li class="flex items-start">
325
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
326
+ <span class="editable" data-id="topic5-item3">Common pitfalls</span>
327
+ </li>
328
+ <li class="flex items-start">
329
+ <i class="fas fa-check text-green-600 mt-1 mr-2"></i>
330
+ <span class="editable" data-id="topic5-item4">Mark scheme analysis</span>
331
+ </li>
332
+ </ul>
333
+ </div>
334
+
335
+ <div class="border border-gray-200 rounded-lg p-6 bg-blue-50">
336
+ <h3 class="text-xl font-bold text-gray-900 mb-3 editable" data-id="topic6-title">Custom Topics</h3>
337
+ <p class="text-gray-600 mb-4 editable" data-id="topic6-text">
338
+ Need help with something specific? We can create custom lessons for any area you're struggling with.
339
+ </p>
340
+ <a href="#contact" class="inline-block bg-blue-600 text-white px-4 py-2 rounded-md font-medium hover:bg-blue-700 editable" data-id="topic6-button">Request Custom Lesson</a>
341
+ </div>
342
+ </div>
343
+ </div>
344
+ </section>
345
+
346
+ <!-- Videos Section -->
347
+ <section id="videos" class="py-16 bg-gray-50">
348
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
349
+ <div class="text-center mb-16">
350
+ <h2 class="text-3xl font-bold text-gray-900 mb-4 editable" data-id="videos-title">Free Video Lessons</h2>
351
+ <p class="text-xl text-gray-600 max-w-3xl mx-auto editable" data-id="videos-subtitle">
352
+ Watch our YouTube channel for free tutorials covering key GCSE Maths topics.
353
+ </p>
354
+ </div>
355
+
356
+ <div class="mb-12 text-center">
357
+ <div class="inline-block">
358
+ <a id="youtube-channel-link" href="https://youtube.com" target="_blank" class="bg-red-600 text-white px-6 py-3 rounded-md font-bold hover:bg-red-700 inline-flex items-center editable" data-id="youtube-button">
359
+ <i class="fab fa-youtube mr-2 text-xl"></i> Visit Our YouTube Channel
360
+ </a>
361
+ </div>
362
+ </div>
363
+
364
+ <div class="grid md:grid-cols-2 gap-8">
365
+ <!-- Video 1 -->
366
+ <div class="bg-white p-4 rounded-lg shadow">
367
+ <div class="video-container">
368
+ <iframe id="video1" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
369
+ </div>
370
+ <div class="mt-4">
371
+ <h3 class="text-xl font-bold text-gray-900 mb-2 editable" data-id="video1-title">Algebra Basics Explained</h3>
372
+ <p class="text-gray-600 editable" data-id="video1-desc">
373
+ Learn the fundamentals of algebra with clear examples and practice questions.
374
+ </p>
375
+ </div>
376
+ </div>
377
+
378
+ <!-- Video 2 -->
379
+ <div class="bg-white p-4 rounded-lg shadow">
380
+ <div class="video-container">
381
+ <iframe id="video2" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
382
+ </div>
383
+ <div class="mt-4">
384
+ <h3 class="text-xl font-bold text-gray-900 mb-2 editable" data-id="video2-title">Geometry Shortcuts</h3>
385
+ <p class="text-gray-600 editable" data-id="video2-desc">
386
+ Time-saving techniques for solving geometry problems quickly and accurately.
387
+ </p>
388
+ </div>
389
+ </div>
390
+ </div>
391
+
392
+ <div class="mt-12 text-center">
393
+ <a id="more-videos-link" href="https://youtube.com" target="_blank" class="text-blue-600 font-medium hover:underline editable" data-id="more-videos-text">
394
+ View all video lessons on our YouTube channel
395
+ </a>
396
+ </div>
397
+ </div>
398
+ </section>
399
+
400
+ <!-- Contact Section -->
401
+ <section id="contact" class="py-16 bg-white">
402
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
403
+ <div class="lg:grid lg:grid-cols-2 lg:gap-8">
404
+ <div class="mb-12 lg:mb-0">
405
+ <h2 class="text-3xl font-bold text-gray-900 mb-6 editable" data-id="contact-title">Book a Tutoring Session</h2>
406
+ <p class="text-lg text-gray-600 mb-8 editable" data-id="contact-subtitle">
407
+ Ready to improve your GCSE Maths grade? Contact us to schedule a session or ask any questions.
408
+ </p>
409
+ <div class="space-y-6">
410
+ <div class="flex items-start">
411
+ <div class="flex-shrink-0">
412
+ <i class="fas fa-envelope text-blue-600 text-xl"></i>
413
+ </div>
414
+ <div class="ml-3">
415
+ <p class="text-gray-900 font-medium editable" data-id="contact-email-label">Email</p>
416
+ <p class="text-gray-600 editable" data-id="contact-email">contact@quickmathsgcse.com</p>
417
+ </div>
418
+ </div>
419
+ <div class="flex items-start">
420
+ <div class="flex-shrink-0">
421
+ <i class="fas fa-phone-alt text-blue-600 text-xl"></i>
422
+ </div>
423
+ <div class="ml-3">
424
+ <p class="text-gray-900 font-medium editable" data-id="contact-phone-label">Phone</p>
425
+ <p class="text-gray-600 editable" data-id="contact-phone">+44 1234 567890</p>
426
+ </div>
427
+ </div>
428
+ <div class="flex items-start">
429
+ <div class="flex-shrink-0">
430
+ <i class="fas fa-clock text-blue-600 text-xl"></i>
431
+ </div>
432
+ <div class="ml-3">
433
+ <p class="text-gray-900 font-medium editable" data-id="contact-hours-label">Availability</p>
434
+ <p class="text-gray-600 editable" data-id="contact-hours">
435
+ Monday-Friday: 4pm-8pm<br>
436
+ Saturday: 10am-4pm
437
+ </p>
438
+ </div>
439
+ </div>
440
+ </div>
441
+ </div>
442
+ <div class="bg-gray-50 rounded-lg p-8">
443
+ <form id="contactForm">
444
+ <div class="grid grid-cols-1 gap-6">
445
+ <div>
446
+ <label for="name" class="block text-sm font-medium text-gray-700 editable" data-id="form-name-label">Your Name</label>
447
+ <input type="text" id="name" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-600 focus:border-blue-600">
448
+ </div>
449
+ <div>
450
+ <label for="email" class="block text-sm font-medium text-gray-700 editable" data-id="form-email-label">Email Address</label>
451
+ <input type="email" id="email" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-600 focus:border-blue-600">
452
+ </div>
453
+ <div>
454
+ <label for="service" class="block text-sm font-medium text-gray-700 editable" data-id="form-service-label">Service Interested In</label>
455
+ <select id="service" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-600 focus:border-blue-600">
456
+ <option class="editable" data-id="form-option1">One-to-One Tutoring</option>
457
+ <option class="editable" data-id="form-option2">Group Session</option>
458
+ <option class="editable" data-id="form-option3">Exam Crash Course</option>
459
+ <option class="editable" data-id="form-option4">Custom Topic Request</option>
460
+ </select>
461
+ </div>
462
+ <div>
463
+ <label for="message" class="block text-sm font-medium text-gray-700 editable" data-id="form-message-label">Your Message</label>
464
+ <textarea id="message" rows="4" class="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-600 focus:border-blue-600"></textarea>
465
+ </div>
466
+ <div>
467
+ <button type="submit" class="w-full bg-blue-600 text-white py-3 px-4 rounded-md font-medium hover:bg-blue-700 editable" data-id="form-submit-button">
468
+ Send Message
469
+ </button>
470
+ </div>
471
+ </div>
472
+ </form>
473
+ </div>
474
+ </div>
475
+ </div>
476
+ </section>
477
+
478
+ <!-- Footer -->
479
+ <footer class="bg-gray-900 text-white py-12">
480
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
481
+ <div class="grid md:grid-cols-3 gap-8">
482
+ <div>
483
+ <h3 class="text-lg font-bold mb-4 editable" data-id="footer-title">QuickMaths GCSE</h3>
484
+ <p class="text-gray-400 editable" data-id="footer-about">
485
+ Fast, effective GCSE Maths tutoring focused on exam success.
486
+ </p>
487
+ </div>
488
+ <div>
489
+ <h3 class="text-lg font-bold mb-4 editable" data-id="footer-links-title">Quick Links</h3>
490
+ <ul class="space-y-2">
491
+ <li><a href="#about" class="text-gray-400 hover:text-white">About</a></li>
492
+ <li><a href="#method" class="text-gray-400 hover:text-white">Method</a></li>
493
+ <li><a href="#topics" class="text-gray-400 hover:text-white">Topics</a></li>
494
+ <li><a href="#videos" class="text-gray-400 hover:text-white">Videos</a></li>
495
+ <li><a href="#contact" class="text-gray-400 hover:text-white">Contact</a></li>
496
+ </ul>
497
+ </div>
498
+ <div>
499
+ <h3 class="text-lg font-bold mb-4 editable" data-id="footer-social-title">Connect With Us</h3>
500
+ <div class="flex space-x-6">
501
+ <a id="footer-yt-link" href="https://youtube.com" class="text-gray-400 hover:text-white text-xl" target="_blank">
502
+ <i class="fab fa-youtube"></i>
503
+ </a>
504
+ <a href="#" class="text-gray-400 hover:text-white text-xl">
505
+ <i class="fab fa-instagram"></i>
506
+ </a>
507
+ <a href="#" class="text-gray-400 hover:text-white text-xl">
508
+ <i class="fab fa-twitter"></i>
509
+ </a>
510
+ <a href="#" class="text-gray-400 hover:text-white text-xl">
511
+ <i class="fab fa-facebook"></i>
512
+ </a>
513
+ </div>
514
+ </div>
515
+ </div>
516
+ <div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
517
+ <p class="text-gray-400 editable" data-id="footer-copyright">
518
+ © 2023 QuickMaths GCSE. All rights reserved.
519
+ </p>
520
+ <div class="flex space-x-6 mt-4 md:mt-0">
521
+ <a href="#" class="text-gray-400 hover:text-white editable" data-id="footer-privacy">Privacy Policy</a>
522
+ <a href="#" class="text-gray-400 hover:text-white editable" data-id="footer-terms">Terms of Service</a>
523
+ </div>
524
+ </div>
525
+ </div>
526
+ </footer>
527
+
528
+ <!-- Edit Mode Toggle Button -->
529
+ <button id="editModeBtn" class="fixed bottom-6 right-6 bg-blue-600 text-white p-3 rounded-full shadow-lg hover:bg-blue-700">
530
+ <i class="fas fa-edit text-xl"></i>
531
+ </button>
532
+
533
+ <script>
534
+ // Edit Mode Functionality
535
+ let editMode = false;
536
+ const editModeBtn = document.getElementById('editModeBtn');
537
+ const editToggle = document.getElementById('editToggle');
538
+ const adminBar = document.getElementById('adminBar');
539
+ const saveBtn = document.getElementById('saveBtn');
540
+
541
+ // Toggle edit mode
542
+ function toggleEditMode() {
543
+ editMode = !editMode;
544
+ document.querySelectorAll('.editable').forEach(el => {
545
+ el.contentEditable = editMode;
546
+ el.classList.toggle('editable-active', editMode);
547
+ });
548
+ adminBar.classList.toggle('hidden', !editMode);
549
+
550
+ if (editMode) {
551
+ editModeBtn.innerHTML = '<i class="fas fa-check text-xl"></i>';
552
+ editModeBtn.classList.add('bg-green-600', 'hover:bg-green-700');
553
+ editModeBtn.classList.remove('bg-blue-600', 'hover:bg-blue-700');
554
+ } else {
555
+ editModeBtn.innerHTML = '<i class="fas fa-edit text-xl"></i>';
556
+ editModeBtn.classList.add('bg-blue-600', 'hover:bg-blue-700');
557
+ editModeBtn.classList.remove('bg-green-600', 'hover:bg-green-700');
558
+ }
559
+ }
560
+
561
+ // Save content to localStorage
562
+ function saveContent() {
563
+ const contentData = {};
564
+ document.querySelectorAll('[data-id]').forEach(el => {
565
+ contentData[el.dataset.id] = el.innerHTML;
566
+ });
567
+ localStorage.setItem('quickmathsContent', JSON.stringify(contentData));
568
+ alert('Changes saved successfully!');
569
+ }
570
+
571
+ // Load content from localStorage
572
+ function loadContent() {
573
+ const savedContent = localStorage.getItem('quickmathsContent');
574
+ if (savedContent) {
575
+ const contentData = JSON.parse(savedContent);
576
+ for (const [id, content] of Object.entries(contentData)) {
577
+ const el = document.querySelector(`[data-id="${id}"]`);
578
+ if (el) el.innerHTML = content;
579
+ }
580
+ }
581
+
582
+ // Load YouTube channel link from localStorage or prompt for it
583
+ let ytChannel = localStorage.getItem('youtubeChannel') || 'https://youtube.com';
584
+ document.getElementById('youtube-channel-link').href = ytChannel;
585
+ document.getElementById('footer-yt-link').href = ytChannel;
586
+ document.getElementById('more-videos-link').href = ytChannel;
587
+
588
+ // Load video URLs from localStorage
589
+ const video1Url = localStorage.getItem('video1Url') || 'https://www.youtube.com/embed/dQw4w9WgXcQ';
590
+ document.getElementById('video1').src = video1Url;
591
+
592
+ const video2Url = localStorage.getItem('video2Url') || 'https://www.youtube.com/embed/dQw4w9WgXcQ';
593
+ document.getElementById('video2').src = video2Url;
594
+ }
595
+
596
+ // Set YouTube channel
597
+ function setYouTubeChannel() {
598
+ const channelUrl = prompt('Enter your YouTube channel URL:', localStorage.getItem('youtubeChannel') || 'https://youtube.com');
599
+ if (channelUrl) {
600
+ localStorage.setItem('youtubeChannel', channelUrl);
601
+ document.getElementById('youtube-channel-link').href = channelUrl;
602
+ document.getElementById('footer-yt-link').href = channelUrl;
603
+ document.getElementById('more-videos-link').href = channelUrl;
604
+ }
605
+ }
606
+
607
+ // Set video URLs
608
+ function setVideoUrl(videoNum) {
609
+ const currentUrl = localStorage.getItem(`video${videoNum}Url`) || 'https://www.youtube.com/embed/dQw4w9WgXcQ';
610
+ const newUrl = prompt(`Enter YouTube video URL for Video ${videoNum}:`, currentUrl);
611
+ if (newUrl) {
612
+ // Convert regular YouTube URL to embed URL if needed
613
+ let embedUrl = newUrl;
614
+ if (newUrl.includes('youtube.com/watch?v=')) {
615
+ const videoId = newUrl.split('v=')[1].split('&')[0];
616
+ embedUrl = `https://www.youtube.com/embed/${videoId}`;
617
+ }
618
+
619
+ localStorage.setItem(`video${videoNum}Url`, embedUrl);
620
+ document.getElementById(`video${videoNum}`).src = embedUrl;
621
+ }
622
+ }
623
+
624
+ // Event listeners
625
+ editModeBtn.addEventListener('click', toggleEditMode);
626
+ editToggle.addEventListener('click', toggleEditMode);
627
+ saveBtn.addEventListener('click', saveContent);
628
+
629
+ // YouTube channel button in edit mode
630
+ adminBar.addEventListener('click', (e) => {
631
+ if (e.target.id === 'youtube-channel-link' && editMode) {
632
+ e.preventDefault();
633
+ setYouTubeChannel();
634
+ }
635
+ });
636
+
637
+ // Video edit buttons in edit mode
638
+ document.addEventListener('click', (e) => {
639
+ if (editMode && e.target.closest('.video-container')) {
640
+ e.preventDefault();
641
+ const videoNum = e.target.closest('[id^="video"]').id.replace('video', '');
642
+ setVideoUrl(videoNum);
643
+ }
644
+ });
645
+
646
+ // Mobile menu toggle
647
+ document.getElementById('mobileMenuBtn').addEventListener('click', () => {
648
+ document.getElementById('mobileMenu').classList.toggle('hidden');
649
+ });
650
+
651
+ // Form submission
652
+ document.getElementById('contactForm').addEventListener('submit', (e) => {
653
+ e.preventDefault();
654
+ alert('Thank you for your message! We will get back to you soon.');
655
+ e.target.reset();
656
+ });
657
+
658
+ // Smooth scrolling for anchor links
659
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
660
+ anchor.addEventListener('click', function (e) {
661
+ e.preventDefault();
662
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
663
+ behavior: 'smooth'
664
+ });
665
+ });
666
+ });
667
+
668
+ // Load saved content when page loads
669
+ window.addEventListener('DOMContentLoaded', loadContent);
670
+ </script>
671
+ <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=AdamYS19/quickmafs" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
672
+ </html>
prompts.txt ADDED
File without changes