landvex: Fixar och tester klara för alla komponenter
- Datafabrik: Dockerfile fix, agentorkestrering fungerar - Vision: Identify-modell, FAISS, OCR alla testade - API: Alla 7 integrationstester passerade - Upplösare: Entitetsupplösning verifierad
This commit is contained in:
@@ -0,0 +1,409 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Welcome to quiXzoom — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Getting Started — From registration to first payout</div>
|
||||
<h1 class="lesson-title">Welcome to quiXzoom</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 5 min</span>
|
||||
<span>🎯 Beginner</span>
|
||||
<span>📚 Introduction</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs><linearGradient id="g1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:#667eea"/><stop offset="100%" style="stop-color:#764ba2"/></linearGradient></defs>
|
||||
<rect width="800" height="400" fill="url(#g1)"/>
|
||||
<circle cx="400" cy="200" r="120" fill="rgba(255,255,255,0.1)"/>
|
||||
<text x="400" y="180" text-anchor="middle" font-size="80" fill="white">📸</text>
|
||||
<text x="400" y="280" text-anchor="middle" font-size="24" fill="white" font-weight="bold">Welcome to quiXzoom</text>
|
||||
<text x="400" y="310" text-anchor="middle" font-size="16" fill="rgba(255,255,255,0.8)">Become a Master Zoomer</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Welcome to quiXzoom Academy! This course will teach you everything you need to know to become a successful Zoomer.</p>
|
||||
</div>
|
||||
|
||||
<div class="tip-box">
|
||||
<strong>💡 Tips</strong>
|
||||
<p>• Complete all modules to maximize your earnings</p>
|
||||
<p>• Practice makes perfect - take test photos</p>
|
||||
<p>• Quality over quantity - focus on good photos</p>
|
||||
</div>
|
||||
|
||||
<div class="quiz-container">
|
||||
<div class="quiz-question">What is a Zoomer?</div>
|
||||
<ul class="quiz-options">
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">A</span>
|
||||
<span>A professional photographer</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, True)">
|
||||
<span class="quiz-letter">B</span>
|
||||
<span>A quiXzoom field photographer who earns money per mission</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">C</span>
|
||||
<span>A drone operator</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">D</span>
|
||||
<span>A city planner</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="quiz-feedback" id="quizFeedback"></div>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy" class="nav-btn prev">← Back to Academy</a>
|
||||
<a href="/academy/module1/m1l2" class="nav-btn next">Next: Create Your Account →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm1l1';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,393 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Create Your Account — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Getting Started — From registration to first payout</div>
|
||||
<h1 class="lesson-title">Create Your Account</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 8 min</span>
|
||||
<span>🎯 Beginner</span>
|
||||
<span>📚 Video + Quiz</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Setting up your quiXzoom account correctly is crucial for getting paid.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Step by Step</h2>
|
||||
<ol>
|
||||
<li><strong>Step 1:</strong> Download the quiXzoom app from App Store or Google Play</li>
|
||||
<li><strong>Step 2:</strong> Register with your email and phone number</li>
|
||||
<li><strong>Step 3:</strong> Verify your identity with BankID or passport</li>
|
||||
<li><strong>Step 4:</strong> Connect your bank account for payouts</li>
|
||||
<li><strong>Step 5:</strong> Complete your profile with a clear photo</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="warning-box">
|
||||
<strong>⚠️ Important</strong>
|
||||
<p>You must verify your identity before you can accept paid missions.</p>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module1/m1l1" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module1/m1l3" class="nav-btn next">Next: Find Your First Mission →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm1l2';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,395 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Find Your First Mission — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Getting Started — From registration to first payout</div>
|
||||
<h1 class="lesson-title">Find Your First Mission</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 10 min</span>
|
||||
<span>🎯 Beginner</span>
|
||||
<span>📚 Interactive Guide</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Learn how to find and accept missions in your area.</p>
|
||||
</div>
|
||||
|
||||
<div class="tip-box">
|
||||
<strong>💡 Tips</strong>
|
||||
<p>• Start with missions close to home</p>
|
||||
<p>• Check the weather before accepting outdoor missions</p>
|
||||
<p>• Accept missions you can complete within the deadline</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Step by Step</h2>
|
||||
<ol>
|
||||
<li><strong>Step 1:</strong> Open the map view in the app</li>
|
||||
<li><strong>Step 2:</strong> Filter missions by distance and payout</li>
|
||||
<li><strong>Step 3:</strong> Read the mission requirements carefully</li>
|
||||
<li><strong>Step 4:</strong> Check the deadline before accepting</li>
|
||||
<li><strong>Step 5:</strong> Navigate to the location using the built-in GPS</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module1/m1l2" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module1/m1l4" class="nav-btn next">Next: Take Your First Photos →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm1l3';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,421 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Take Your First Photos — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Getting Started — From registration to first payout</div>
|
||||
<h1 class="lesson-title">Take Your First Photos</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 12 min</span>
|
||||
<span>🎯 Beginner</span>
|
||||
<span>📚 Practical Exercise</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Learn the basics of taking photos that get approved.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>What You Need</h2>
|
||||
<ul>
|
||||
<li>Smartphone with camera (iPhone 8 or newer, Android 9+)</li>
|
||||
<li>Good lighting conditions</li>
|
||||
<li>Clear view of the target object</li>
|
||||
<li>GPS enabled on your phone</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Step by Step</h2>
|
||||
<ol>
|
||||
<li><strong>Step 1:</strong> Position yourself at the correct angle</li>
|
||||
<li><strong>Step 2:</strong> Ensure good lighting (avoid shadows and glare)</li>
|
||||
<li><strong>Step 3:</strong> Hold the phone steady</li>
|
||||
<li><strong>Step 4:</strong> Take multiple photos from different angles</li>
|
||||
<li><strong>Step 5:</strong> Review photos before submitting</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="quiz-container">
|
||||
<div class="quiz-question">How many photos should you take per mission?</div>
|
||||
<ul class="quiz-options">
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">A</span>
|
||||
<span>Exactly 1 photo</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, True)">
|
||||
<span class="quiz-letter">B</span>
|
||||
<span>At least 3-5 photos from different angles</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">C</span>
|
||||
<span>As many as possible (50+)</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">D</span>
|
||||
<span>It doesn't matter</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="quiz-feedback" id="quizFeedback"></div>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module1/m1l3" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module2/m2l1" class="nav-btn next">Next: AI Review - What It Checks →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm1l4';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,415 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>AI Review - What It Checks — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Photo Quality — How to take photos that pass AI review</div>
|
||||
<h1 class="lesson-title">AI Review - What It Checks</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 15 min</span>
|
||||
<span>🎯 Beginner</span>
|
||||
<span>📚 Video</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#1a1a2e"/>
|
||||
<rect x="50" y="50" width="300" height="300" rx="12" fill="#4facfe"/>
|
||||
<text x="200" y="200" text-anchor="middle" font-size="60" fill="white">📷</text>
|
||||
<text x="200" y="280" text-anchor="middle" font-size="16" fill="white">Original</text>
|
||||
<text x="400" y="200" text-anchor="middle" font-size="40" fill="white">→</text>
|
||||
<rect x="450" y="50" width="300" height="300" rx="12" fill="#43e97b"/>
|
||||
<text x="600" y="200" text-anchor="middle" font-size="60" fill="white">🤖</text>
|
||||
<text x="600" y="280" text-anchor="middle" font-size="16" fill="white">AI Analysis</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>AAMOS AI reviews every photo you submit. Learn what it looks for.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Key Factors</h2>
|
||||
<ul>
|
||||
<li>Sharpness and focus - Is the main subject clear?</li>
|
||||
<li>Lighting - Is the photo properly exposed?</li>
|
||||
<li>Composition - Is the subject centered and complete?</li>
|
||||
<li>GPS accuracy - Does the location match the mission?</li>
|
||||
<li>Relevance - Does the photo show what was requested?</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="quiz-container">
|
||||
<div class="quiz-question">What does AAMOS AI primarily check?</div>
|
||||
<ul class="quiz-options">
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">A</span>
|
||||
<span>Your personal information</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, True)">
|
||||
<span class="quiz-letter">B</span>
|
||||
<span>Photo quality, GPS, and relevance</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">C</span>
|
||||
<span>How fast you completed the mission</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">D</span>
|
||||
<span>Your previous ratings</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="quiz-feedback" id="quizFeedback"></div>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module1/m1l4" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module2/m2l2" class="nav-btn next">Next: Light and Exposure →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm2l1';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,410 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Light and Exposure — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Photo Quality — How to take photos that pass AI review</div>
|
||||
<h1 class="lesson-title">Light and Exposure</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 12 min</span>
|
||||
<span>🎯 Beginner</span>
|
||||
<span>📚 Photo Examples</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="0" y="0" width="266" height="400" fill="#333"/>
|
||||
<text x="133" y="180" text-anchor="middle" font-size="40" fill="#666">🌑</text>
|
||||
<text x="133" y="220" text-anchor="middle" font-size="16" fill="#999">Too Dark</text>
|
||||
<rect x="266" y="0" width="268" height="400" fill="#fff3e0"/>
|
||||
<text x="400" y="180" text-anchor="middle" font-size="40" fill="#e65100">☀️</text>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="16" fill="#e65100">Perfect</text>
|
||||
<rect x="534" y="0" width="266" height="400" fill="#f5f5f5"/>
|
||||
<text x="667" y="180" text-anchor="middle" font-size="40" fill="#ccc">💡</text>
|
||||
<text x="667" y="220" text-anchor="middle" font-size="16" fill="#999">Too Bright</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Proper lighting is essential for photo approval.</p>
|
||||
</div>
|
||||
|
||||
<div class="tip-box">
|
||||
<strong>💡 Tips</strong>
|
||||
<p>• Avoid shooting directly into the sun</p>
|
||||
<p>• Use HDR mode in high-contrast situations</p>
|
||||
<p>• Early morning and late afternoon provide the best light</p>
|
||||
<p>• Avoid shadows on the main subject</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Common Errors</h2>
|
||||
<ul>
|
||||
<li>Photo too dark - underexposed</li>
|
||||
<li>Photo too bright - overexposed</li>
|
||||
<li>Harsh shadows covering the subject</li>
|
||||
<li>Glare and reflections</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Solutions</h2>
|
||||
<ul>
|
||||
<li>Tap on the screen to set focus and exposure</li>
|
||||
<li>Use exposure compensation (+/-)</li>
|
||||
<li>Move to a different angle</li>
|
||||
<li>Wait for better lighting conditions</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module2/m2l1" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module2/m2l3" class="nav-btn next">Next: Focus and Sharpness →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm2l2';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,420 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Focus and Sharpness — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Photo Quality — How to take photos that pass AI review</div>
|
||||
<h1 class="lesson-title">Focus and Sharpness</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 10 min</span>
|
||||
<span>🎯 Beginner</span>
|
||||
<span>📚 Quiz</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="0" y="0" width="400" height="400" fill="#ffebee"/>
|
||||
<text x="200" y="180" text-anchor="middle" font-size="60" fill="#c62828">😵💫</text>
|
||||
<text x="200" y="240" text-anchor="middle" font-size="20" fill="#c62828">Blurry</text>
|
||||
<rect x="400" y="0" width="400" height="400" fill="#e8f5e9"/>
|
||||
<text x="600" y="180" text-anchor="middle" font-size="60" fill="#2e7d32">✨</text>
|
||||
<text x="600" y="240" text-anchor="middle" font-size="20" fill="#2e7d32">Sharp</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Blurry photos are the #1 reason for rejection. Learn to keep your photos sharp.</p>
|
||||
</div>
|
||||
|
||||
<div class="tip-box">
|
||||
<strong>💡 Tips</strong>
|
||||
<p>• Tap the screen to focus before shooting</p>
|
||||
<p>• Hold the phone with both hands</p>
|
||||
<p>• Use burst mode for moving subjects</p>
|
||||
<p>• Clean your camera lens regularly</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Common Errors</h2>
|
||||
<ul>
|
||||
<li>Camera shake - blurry photo</li>
|
||||
<li>Wrong focus point - subject is blurry</li>
|
||||
<li>Motion blur - subject moved</li>
|
||||
<li>Dirty lens - soft focus</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="quiz-container">
|
||||
<div class="quiz-question">What should you do before taking a photo?</div>
|
||||
<ul class="quiz-options">
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">A</span>
|
||||
<span>Shake the phone to activate stabilization</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, True)">
|
||||
<span class="quiz-letter">B</span>
|
||||
<span>Tap the screen to set focus</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">C</span>
|
||||
<span>Turn off the flash</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">D</span>
|
||||
<span>Zoom in maximum</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="quiz-feedback" id="quizFeedback"></div>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module2/m2l2" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module2/m2l4" class="nav-btn next">Next: Framing and Composition →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm2l3';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,422 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Framing and Composition — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Photo Quality — How to take photos that pass AI review</div>
|
||||
<h1 class="lesson-title">Framing and Composition</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 15 min</span>
|
||||
<span>🎯 Beginner</span>
|
||||
<span>📚 Practical</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<line x1="266" y1="0" x2="266" y2="400" stroke="#0066FF" stroke-width="2" stroke-dasharray="5,5"/>
|
||||
<line x1="533" y1="0" x2="533" y2="400" stroke="#0066FF" stroke-width="2" stroke-dasharray="5,5"/>
|
||||
<line x1="0" y1="133" x2="800" y2="133" stroke="#0066FF" stroke-width="2" stroke-dasharray="5,5"/>
|
||||
<line x1="0" y1="266" x2="800" y2="266" stroke="#0066FF" stroke-width="2" stroke-dasharray="5,5"/>
|
||||
<circle cx="400" cy="200" r="80" fill="#00C853" opacity="0.3"/>
|
||||
<text x="400" y="190" text-anchor="middle" font-size="60" fill="#00C853">🌉</text>
|
||||
<text x="400" y="260" text-anchor="middle" font-size="16" fill="#00C853" font-weight="bold">Main Subject</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Good composition makes your photos more valuable and easier to analyze.</p>
|
||||
</div>
|
||||
|
||||
<div class="tip-box">
|
||||
<strong>💡 Tips</strong>
|
||||
<p>• Use the rule of thirds</p>
|
||||
<p>• Keep the horizon level</p>
|
||||
<p>• Include context in the frame</p>
|
||||
<p>• Avoid cutting off important parts of the subject</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Best Practices</h2>
|
||||
<ul>
|
||||
<li>Center the main subject</li>
|
||||
<li>Include surrounding environment for context</li>
|
||||
<li>Take photos from multiple angles</li>
|
||||
<li>Ensure the entire object is visible</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="quiz-container">
|
||||
<div class="quiz-question">Why is composition important?</div>
|
||||
<ul class="quiz-options">
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">A</span>
|
||||
<span>It makes the photo look artistic</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, True)">
|
||||
<span class="quiz-letter">B</span>
|
||||
<span>It helps AI analysis and provides complete information</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">C</span>
|
||||
<span>It reduces file size</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">D</span>
|
||||
<span>It's required by law</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="quiz-feedback" id="quizFeedback"></div>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module2/m2l3" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module3/m3l1" class="nav-btn next">Next: GPS Accuracy - How It Works →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm2l4';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,432 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>GPS Accuracy - How It Works — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">GPS and Location — Why location matters and how to optimize it</div>
|
||||
<h1 class="lesson-title">GPS Accuracy - How It Works</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 10 min</span>
|
||||
<span>🎯 Intermediate</span>
|
||||
<span>📚 Reading</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#e3f2fd"/>
|
||||
<line x1="0" y1="100" x2="800" y2="100" stroke="#bbdefb" stroke-width="1"/>
|
||||
<line x1="0" y1="200" x2="800" y2="200" stroke="#bbdefb" stroke-width="1"/>
|
||||
<line x1="0" y1="300" x2="800" y2="300" stroke="#bbdefb" stroke-width="1"/>
|
||||
<line x1="200" y1="0" x2="200" y2="400" stroke="#bbdefb" stroke-width="1"/>
|
||||
<line x1="400" y1="0" x2="400" y2="400" stroke="#bbdefb" stroke-width="1"/>
|
||||
<line x1="600" y1="0" x2="600" y2="400" stroke="#bbdefb" stroke-width="1"/>
|
||||
<rect x="360" y="160" width="80" height="120" rx="10" fill="#333"/>
|
||||
<rect x="370" y="170" width="60" height="100" rx="5" fill="#4facfe"/>
|
||||
<text x="400" y="230" text-anchor="middle" font-size="30" fill="white">📱</text>
|
||||
<circle cx="200" cy="80" r="30" fill="#00C853" opacity="0.8"/>
|
||||
<text x="200" y="90" text-anchor="middle" font-size="20" fill="white">🛰️</text>
|
||||
<circle cx="600" cy="80" r="30" fill="#00C853" opacity="0.8"/>
|
||||
<text x="600" y="90" text-anchor="middle" font-size="20" fill="white">🛰️</text>
|
||||
<line x1="230" y1="100" x2="360" y2="200" stroke="#00C853" stroke-width="2" stroke-dasharray="5,5"/>
|
||||
<line x1="570" y1="100" x2="440" y2="200" stroke="#00C853" stroke-width="2" stroke-dasharray="5,5"/>
|
||||
<circle cx="400" cy="280" r="40" fill="none" stroke="#00C853" stroke-width="3"/>
|
||||
<text x="400" y="340" text-anchor="middle" font-size="14" fill="#00C853">Accurate ✓</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>GPS accuracy is critical for mission validation. Learn how it works.</p>
|
||||
</div>
|
||||
|
||||
<div class="tip-box">
|
||||
<strong>💡 Tips</strong>
|
||||
<p>• Wait 10-30 seconds for GPS to stabilize</p>
|
||||
<p>• Avoid deep urban canyons between tall buildings</p>
|
||||
<p>• Enable high accuracy mode in phone settings</p>
|
||||
<p>• Don't rely on WiFi positioning alone</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Key Factors</h2>
|
||||
<ul>
|
||||
<li>Satellite visibility - More satellites = better accuracy</li>
|
||||
<li>Signal interference - Buildings, trees, weather</li>
|
||||
<li>Device quality - Newer phones have better GPS chips</li>
|
||||
<li>AGPS - Assisted GPS uses cell towers for faster fixes</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="quiz-container">
|
||||
<div class="quiz-question">What affects GPS accuracy?</div>
|
||||
<ul class="quiz-options">
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">A</span>
|
||||
<span>Phone color and case material</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, True)">
|
||||
<span class="quiz-letter">B</span>
|
||||
<span>Satellite visibility and signal interference</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">C</span>
|
||||
<span>Time of day</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">D</span>
|
||||
<span>Phone battery level</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="quiz-feedback" id="quizFeedback"></div>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module2/m2l4" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module3/m3l2" class="nav-btn next">Next: Best Practices for Location Data →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm3l1';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,392 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Best Practices for Location Data — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">GPS and Location — Why location matters and how to optimize it</div>
|
||||
<h1 class="lesson-title">Best Practices for Location Data</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 8 min</span>
|
||||
<span>🎯 Intermediate</span>
|
||||
<span>📚 Reading</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Follow these best practices to ensure accurate location data.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Best Practices</h2>
|
||||
<ul>
|
||||
<li>Enable GPS before opening the quiXzoom app</li>
|
||||
<li>Wait for the GPS indicator to turn green</li>
|
||||
<li>Take the photo at the exact mission location</li>
|
||||
<li>Don't move far from the target after GPS lock</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="warning-box">
|
||||
<strong>⚠️ Important</strong>
|
||||
<p>Photos taken more than 50 meters from the mission location may be rejected.</p>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module3/m3l1" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module3/m3l3" class="nav-btn next">Next: Common GPS Errors and How to Avoid Them →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm3l2';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,420 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Common GPS Errors and How to Avoid Them — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">GPS and Location — Why location matters and how to optimize it</div>
|
||||
<h1 class="lesson-title">Common GPS Errors and How to Avoid Them</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 12 min</span>
|
||||
<span>🎯 Intermediate</span>
|
||||
<span>📚 Quiz</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Learn to recognize and fix common GPS problems.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Common Errors</h2>
|
||||
<ul>
|
||||
<li>GPS drift - Location jumps around</li>
|
||||
<li>Indoor GPS loss - No satellite signal</li>
|
||||
<li>Slow fix - Takes minutes to get location</li>
|
||||
<li>Wrong location - Shows you somewhere else</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Solutions</h2>
|
||||
<ul>
|
||||
<li>Restart the app and wait for GPS lock</li>
|
||||
<li>Move outdoors or near a window</li>
|
||||
<li>Restart your phone's location services</li>
|
||||
<li>Check if other apps can get GPS signal</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="quiz-container">
|
||||
<div class="quiz-question">What should you do if GPS is inaccurate?</div>
|
||||
<ul class="quiz-options">
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">A</span>
|
||||
<span>Submit the photo anyway</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, True)">
|
||||
<span class="quiz-letter">B</span>
|
||||
<span>Move outdoors, wait 30 seconds, and retry</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">C</span>
|
||||
<span>Manually enter the address</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">D</span>
|
||||
<span>Use a different phone</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="quiz-feedback" id="quizFeedback"></div>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module3/m3l2" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module4/m4l1" class="nav-btn next">Next: Personal Safety in the Field →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm3l3';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,400 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Personal Safety in the Field — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Safety and Ethics — Safe photography and ethical guidelines</div>
|
||||
<h1 class="lesson-title">Personal Safety in the Field</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 15 min</span>
|
||||
<span>🎯 Intermediate</span>
|
||||
<span>📚 Video</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<rect x="0" y="250" width="800" height="150" fill="#555"/>
|
||||
<line x1="0" y1="325" x2="800" y2="325" stroke="#fff" stroke-width="4" stroke-dasharray="20,20"/>
|
||||
<circle cx="300" cy="200" r="40" fill="#FF6B35"/>
|
||||
<text x="300" y="215" text-anchor="middle" font-size="40" fill="white">👷</text>
|
||||
<rect x="340" y="180" width="30" height="50" rx="5" fill="#333"/>
|
||||
<text x="355" y="215" text-anchor="middle" font-size="20" fill="white">📱</text>
|
||||
<polygon points="500,250 520,180 540,250" fill="#FF6B35"/>
|
||||
<line x1="350" y1="250" x2="500" y2="250" stroke="#00C853" stroke-width="3" stroke-dasharray="10,5"/>
|
||||
<text x="425" y="240" text-anchor="middle" font-size="14" fill="#00C853">Safe Distance</text>
|
||||
<text x="650" y="220" text-anchor="middle" font-size="50" fill="#666">🚗</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Your safety is more important than any mission. Learn to stay safe.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Safety Rules</h2>
|
||||
<ul>
|
||||
<li>Never enter dangerous areas (construction sites, unstable structures)</li>
|
||||
<li>Be aware of traffic - don't stand in roads</li>
|
||||
<li>Wear high-visibility clothing near traffic</li>
|
||||
<li>Don't work alone in remote areas after dark</li>
|
||||
<li>Keep emergency contacts updated in the app</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="warning-box">
|
||||
<strong>⚠️ Important</strong>
|
||||
<p>If a mission feels unsafe, decline it. Your safety comes first.</p>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module3/m3l3" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module4/m4l2" class="nav-btn next">Next: Privacy and GDPR →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm4l1';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,393 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Privacy and GDPR — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Safety and Ethics — Safe photography and ethical guidelines</div>
|
||||
<h1 class="lesson-title">Privacy and GDPR</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 12 min</span>
|
||||
<span>🎯 Intermediate</span>
|
||||
<span>📚 Reading</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Respecting privacy is legally required and ethically important.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Rules</h2>
|
||||
<ul>
|
||||
<li>Don't photograph people without consent</li>
|
||||
<li>Blur faces and license plates if they appear in photos</li>
|
||||
<li>Don't enter private property without permission</li>
|
||||
<li>Respect 'No Photography' signs</li>
|
||||
<li>Report any privacy concerns through the app</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="warning-box">
|
||||
<strong>⚠️ Important</strong>
|
||||
<p>Violating privacy can result in account suspension and legal consequences.</p>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module4/m4l1" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module4/m4l3" class="nav-btn next">Next: Traffic Safety →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm4l2';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,411 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Traffic Safety — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Safety and Ethics — Safe photography and ethical guidelines</div>
|
||||
<h1 class="lesson-title">Traffic Safety</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 10 min</span>
|
||||
<span>🎯 Intermediate</span>
|
||||
<span>📚 Quiz</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Roadside missions require extra caution.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Safety Rules</h2>
|
||||
<ul>
|
||||
<li>Always face traffic when working near roads</li>
|
||||
<li>Use designated pedestrian crossings</li>
|
||||
<li>Wear reflective clothing in low light</li>
|
||||
<li>Don't block traffic or pedestrian paths</li>
|
||||
<li>Stay on sidewalks whenever possible</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="quiz-container">
|
||||
<div class="quiz-question">What should you wear when photographing near roads?</div>
|
||||
<ul class="quiz-options">
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">A</span>
|
||||
<span>Dark clothing to avoid attention</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, True)">
|
||||
<span class="quiz-letter">B</span>
|
||||
<span>High-visibility reflective clothing</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">C</span>
|
||||
<span>Formal business attire</span>
|
||||
</li>
|
||||
<li class="quiz-option" onclick="checkAnswer(this, False)">
|
||||
<span class="quiz-letter">D</span>
|
||||
<span>It doesn't matter</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="quiz-feedback" id="quizFeedback"></div>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module4/m4l2" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module5/m5l1" class="nav-btn next">Next: Batch Photography →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm4l3';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,402 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Batch Photography — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Advanced Techniques — Maximize quality and efficiency</div>
|
||||
<h1 class="lesson-title">Batch Photography</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 15 min</span>
|
||||
<span>🎯 Advanced</span>
|
||||
<span>📚 Practical</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#e8f5e9"/>
|
||||
<path d="M 100 200 Q 200 100 300 200 T 500 200 T 700 200" fill="none" stroke="#00C853" stroke-width="8" stroke-linecap="round"/>
|
||||
<circle cx="100" cy="200" r="30" fill="#0066FF"/>
|
||||
<text x="100" y="210" text-anchor="middle" font-size="20" fill="white">A</text>
|
||||
<circle cx="300" cy="200" r="30" fill="#0066FF"/>
|
||||
<text x="300" y="210" text-anchor="middle" font-size="20" fill="white">B</text>
|
||||
<circle cx="500" cy="200" r="30" fill="#0066FF"/>
|
||||
<text x="500" y="210" text-anchor="middle" font-size="20" fill="white">C</text>
|
||||
<circle cx="700" cy="200" r="30" fill="#0066FF"/>
|
||||
<text x="700" y="210" text-anchor="middle" font-size="20" fill="white">D</text>
|
||||
<text x="400" y="120" text-anchor="middle" font-size="40" fill="#00C853">🚴</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Learn to efficiently complete multiple missions in one trip.</p>
|
||||
</div>
|
||||
|
||||
<div class="tip-box">
|
||||
<strong>💡 Tips</strong>
|
||||
<p>• Check mission deadlines - prioritize urgent ones</p>
|
||||
<p>• Consider traffic patterns and rush hours</p>
|
||||
<p>• Bring a portable charger for long days</p>
|
||||
<p>• Track your mileage for tax deductions</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Strategies</h2>
|
||||
<ul>
|
||||
<li>Plan a route connecting multiple missions</li>
|
||||
<li>Group missions by neighborhood</li>
|
||||
<li>Use the batch upload feature in the app</li>
|
||||
<li>Complete missions in order along your route</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module4/m4l3" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module5/m5l2" class="nav-btn next">Next: Metadata and EXIF →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm5l1';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,392 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Metadata and EXIF — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Advanced Techniques — Maximize quality and efficiency</div>
|
||||
<h1 class="lesson-title">Metadata and EXIF</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 10 min</span>
|
||||
<span>🎯 Advanced</span>
|
||||
<span>📚 Reading</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>EXIF data provides valuable information about your photos.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Best Practices</h2>
|
||||
<ul>
|
||||
<li>Keep EXIF data intact - don't strip it</li>
|
||||
<li>Ensure timestamp is correct on your phone</li>
|
||||
<li>GPS coordinates must be embedded in the photo</li>
|
||||
<li>Camera settings help with quality assessment</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="warning-box">
|
||||
<strong>⚠️ Important</strong>
|
||||
<p>Never modify or fake EXIF data. This is grounds for immediate account termination.</p>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module5/m5l1" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module5/m5l3" class="nav-btn next">Next: Editing and Enhancement →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm5l2';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,382 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Editing and Enhancement — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Advanced Techniques — Maximize quality and efficiency</div>
|
||||
<h1 class="lesson-title">Editing and Enhancement</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 12 min</span>
|
||||
<span>🎯 Advanced</span>
|
||||
<span>📚 Video</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Basic editing can improve photo quality, but know the limits.</p>
|
||||
</div>
|
||||
|
||||
<div class="warning-box">
|
||||
<strong>⚠️ Important</strong>
|
||||
<p>Any manipulation that changes the factual content is strictly prohibited.</p>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module5/m5l2" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module6/m6l1" class="nav-btn next">Next: Understanding Payouts and Levels →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm5l3';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,409 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Understanding Payouts and Levels — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Maximize Earnings — Strategies to earn more</div>
|
||||
<h1 class="lesson-title">Understanding Payouts and Levels</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 10 min</span>
|
||||
<span>🎯 Advanced</span>
|
||||
<span>📚 Reading</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="100" cy="200" r="50" fill="#00C853"/>
|
||||
<text x="100" y="190" text-anchor="middle" font-size="30" fill="white">📸</text>
|
||||
<text x="100" y="280" text-anchor="middle" font-size="12" fill="#666">Approved</text>
|
||||
<text x="200" y="210" text-anchor="middle" font-size="30" fill="#999">→</text>
|
||||
<circle cx="300" cy="200" r="50" fill="#0066FF"/>
|
||||
<text x="300" y="190" text-anchor="middle" font-size="30" fill="white">🤖</text>
|
||||
<text x="300" y="280" text-anchor="middle" font-size="12" fill="#666">AI Review</text>
|
||||
<text x="400" y="210" text-anchor="middle" font-size="30" fill="#999">→</text>
|
||||
<circle cx="500" cy="200" r="50" fill="#7B61FF"/>
|
||||
<text x="500" y="190" text-anchor="middle" font-size="30" fill="white">✓</text>
|
||||
<text x="500" y="280" text-anchor="middle" font-size="12" fill="#666">Approval</text>
|
||||
<text x="600" y="210" text-anchor="middle" font-size="30" fill="#999">→</text>
|
||||
<circle cx="700" cy="200" r="50" fill="#FFD600"/>
|
||||
<text x="700" y="190" text-anchor="middle" font-size="30" fill="white">💰</text>
|
||||
<text x="700" y="280" text-anchor="middle" font-size="12" fill="#666">Payout</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Learn how the payout system works and how to level up.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Levels</h2>
|
||||
<ul>
|
||||
<li>Bronze - New Zoomer, standard payout rate</li>
|
||||
<li>Silver - 50+ approved missions, +10% bonus</li>
|
||||
<li>Gold - 200+ approved missions, +25% bonus</li>
|
||||
<li>Platinum - 500+ approved missions, +50% bonus</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Payments</h2>
|
||||
<ul>
|
||||
<li>Payments processed weekly (every Friday)</li>
|
||||
<li>Minimum payout: $10</li>
|
||||
<li>Direct deposit to connected bank account</li>
|
||||
<li>Tax documents available in the app</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module5/m5l3" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module6/m6l2" class="nav-btn next">Next: Plan Your Route Efficiently →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm6l1';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,395 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Plan Your Route Efficiently — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Maximize Earnings — Strategies to earn more</div>
|
||||
<h1 class="lesson-title">Plan Your Route Efficiently</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 12 min</span>
|
||||
<span>🎯 Advanced</span>
|
||||
<span>📚 Interactive</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Smart route planning saves time and increases hourly earnings.</p>
|
||||
</div>
|
||||
|
||||
<div class="tip-box">
|
||||
<strong>💡 Tips</strong>
|
||||
<p>• Morning missions: less traffic, better light</p>
|
||||
<p>• Combine with commuting or errands</p>
|
||||
<p>• Track time per mission to find optimal areas</p>
|
||||
<p>• Focus on high-payout missions first</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Strategies</h2>
|
||||
<ul>
|
||||
<li>Use the route optimizer in the app</li>
|
||||
<li>Cluster missions by area</li>
|
||||
<li>Consider traffic patterns</li>
|
||||
<li>Plan around your daily routine</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module6/m6l1" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module6/m6l3" class="nav-btn next">Next: Build Your Reputation →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm6l2';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,392 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Build Your Reputation — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Maximize Earnings — Strategies to earn more</div>
|
||||
<h1 class="lesson-title">Build Your Reputation</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 8 min</span>
|
||||
<span>🎯 Advanced</span>
|
||||
<span>📚 Reading</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Higher reputation means access to better missions.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Strategies</h2>
|
||||
<ul>
|
||||
<li>Maintain high approval rate (95%+)</li>
|
||||
<li>Submit on time consistently</li>
|
||||
<li>Provide high-quality photos</li>
|
||||
<li>Accept missions regularly</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="warning-box">
|
||||
<strong>⚠️ Important</strong>
|
||||
<p>Low approval rates or missed deadlines can result in account suspension.</p>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module6/m6l2" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy/module6/m6l4" class="nav-btn next">Next: Tax Optimization for Zoomers →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm6l3';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,392 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Tax Optimization for Zoomers — quiXzoom Academy</title>
|
||||
<style>
|
||||
:root {
|
||||
--qx-black: #0a0a0a;
|
||||
--qx-white: #ffffff;
|
||||
--qx-blue: #0066FF;
|
||||
--qx-green: #00C853;
|
||||
--qx-gray: #F5F5F7;
|
||||
--qx-dark-gray: #1a1a1a;
|
||||
--qx-text-muted: #6e6e73;
|
||||
--qx-purple: #7B61FF;
|
||||
--qx-orange: #FF6B35;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
|
||||
color: var(--qx-black);
|
||||
background: var(--qx-white);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: white;
|
||||
padding: 12px 20px;
|
||||
border-bottom: 1px solid var(--qx-gray);
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--qx-gray);
|
||||
border-radius: 10px;
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
background: var(--qx-green);
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 0.5s ease;
|
||||
}
|
||||
|
||||
.lesson-container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
.lesson-header {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.lesson-module {
|
||||
color: var(--qx-blue);
|
||||
font-size: 0.875rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.lesson-title {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.lesson-meta {
|
||||
color: var(--qx-text-muted);
|
||||
font-size: 0.9rem;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.svg-illustration {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.content-block {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.content-block h2 {
|
||||
font-size: 1.75rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content-block p {
|
||||
margin-bottom: 16px;
|
||||
color: #333;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.content-block ul {
|
||||
margin-left: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.content-block li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tip-box {
|
||||
background: #e8f4fd;
|
||||
border-left: 4px solid var(--qx-blue);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.tip-box strong {
|
||||
color: var(--qx-blue);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid var(--qx-orange);
|
||||
padding: 24px;
|
||||
margin: 24px 0;
|
||||
border-radius: 0 12px 12px 0;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: var(--qx-orange);
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.example-box {
|
||||
background: var(--qx-gray);
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.quiz-container {
|
||||
background: var(--qx-gray);
|
||||
padding: 32px;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.quiz-question {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.quiz-options {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.quiz-option {
|
||||
background: white;
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.quiz-option:hover {
|
||||
border-color: var(--qx-blue);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
.quiz-option.correct {
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border-color: var(--qx-green);
|
||||
}
|
||||
|
||||
.quiz-option.wrong {
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
border-color: #ff4444;
|
||||
}
|
||||
|
||||
.quiz-option.disabled {
|
||||
pointer-events: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.quiz-letter {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
background: var(--qx-gray);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 600;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.quiz-feedback {
|
||||
margin-top: 20px;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.quiz-feedback.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lesson-nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 60px;
|
||||
padding-top: 40px;
|
||||
border-top: 2px solid var(--qx-gray);
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
padding: 14px 28px;
|
||||
border-radius: 10px;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.nav-btn.prev {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-black);
|
||||
}
|
||||
|
||||
.nav-btn.next {
|
||||
background: var(--qx-blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 48px auto;
|
||||
padding: 18px 32px;
|
||||
background: var(--qx-green);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.complete-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 16px rgba(0,200,83,0.3);
|
||||
}
|
||||
|
||||
.complete-btn.completed {
|
||||
background: var(--qx-gray);
|
||||
color: var(--qx-text-muted);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.lesson-title { font-size: 1.75rem; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="progress-container">
|
||||
<div class="progress-bar">
|
||||
<div class="progress-fill" id="lessonProgress" style="width: 0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lesson-container">
|
||||
<header class="lesson-header">
|
||||
<div class="lesson-module">Maximize Earnings — Strategies to earn more</div>
|
||||
<h1 class="lesson-title">Tax Optimization for Zoomers</h1>
|
||||
<div class="lesson-meta">
|
||||
<span>⏱️ 15 min</span>
|
||||
<span>🎯 Advanced</span>
|
||||
<span>📚 Video</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<svg class="svg-illustration" viewBox="0 0 800 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="800" height="400" fill="#f5f5f7"/>
|
||||
<circle cx="400" cy="200" r="100" fill="#0066FF" opacity="0.1"/>
|
||||
<text x="400" y="220" text-anchor="middle" font-size="80" fill="#0066FF">📚</text>
|
||||
<text x="400" y="320" text-anchor="middle" font-size="20" fill="#666">quiXzoom Academy</text>
|
||||
</svg>
|
||||
|
||||
<div class="content-block">
|
||||
<p>Understanding taxes helps you keep more of your earnings.</p>
|
||||
</div>
|
||||
|
||||
<div class="content-block">
|
||||
<h2>Deductions You Can Claim</h2>
|
||||
<ul>
|
||||
<li>Mileage to and from mission locations</li>
|
||||
<li>Phone and data plan costs</li>
|
||||
<li>Camera equipment and accessories</li>
|
||||
<li>Home office expenses (if applicable)</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="warning-box">
|
||||
<strong>⚠️ Important</strong>
|
||||
<p>You are responsible for reporting your income. quiXzoom does not withhold taxes.</p>
|
||||
</div>
|
||||
|
||||
<button class="complete-btn" id="completeBtn" onclick="completeLesson()">
|
||||
✅ Mark Lesson Complete
|
||||
</button>
|
||||
|
||||
<nav class="lesson-nav">
|
||||
<a href="/academy/module6/m6l3" class="nav-btn prev">← Previous</a>
|
||||
<a href="/academy" class="nav-btn next">Back to Academy →</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const lessonId = 'm6l4';
|
||||
let completedLessons = JSON.parse(localStorage.getItem('academyProgress') || '[]');
|
||||
|
||||
function checkAnswer(element, isCorrect) {
|
||||
const options = document.querySelectorAll('.quiz-option');
|
||||
const feedback = document.getElementById('quizFeedback');
|
||||
|
||||
options.forEach(opt => opt.classList.add('disabled'));
|
||||
|
||||
if (isCorrect) {
|
||||
element.classList.add('correct');
|
||||
feedback.innerHTML = '<strong>✅ Correct!</strong> Well done!';
|
||||
feedback.style.background = '#d4edda';
|
||||
feedback.style.color = '#155724';
|
||||
} else {
|
||||
element.classList.add('wrong');
|
||||
feedback.innerHTML = '<strong>❌ Not quite.</strong> Think it through again.';
|
||||
feedback.style.background = '#f8d7da';
|
||||
feedback.style.color = '#721c24';
|
||||
}
|
||||
|
||||
feedback.classList.add('show');
|
||||
}
|
||||
|
||||
function completeLesson() {
|
||||
if (!completedLessons.includes(lessonId)) {
|
||||
completedLessons.push(lessonId);
|
||||
localStorage.setItem('academyProgress', JSON.stringify(completedLessons));
|
||||
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
|
||||
btn.style.transform = 'scale(1.05)';
|
||||
setTimeout(() => btn.style.transform = 'scale(1)', 200);
|
||||
}
|
||||
}
|
||||
|
||||
if (completedLessons.includes(lessonId)) {
|
||||
const btn = document.getElementById('completeBtn');
|
||||
btn.textContent = '✅ Lesson Complete!';
|
||||
btn.classList.add('completed');
|
||||
btn.disabled = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user