Spaces:
Running
Running
For the schedule free consultation button have it direct to this site: https://www.brightsmiledigital.com/contact - Follow Up Deployment
Browse files- index.html +9 -46
index.html
CHANGED
|
@@ -53,21 +53,6 @@
|
|
| 53 |
</head>
|
| 54 |
<body class="bg-gray-50 font-sans">
|
| 55 |
<div class="min-h-screen flex flex-col">
|
| 56 |
-
<!-- Header -->
|
| 57 |
-
<header class="bg-white shadow-sm">
|
| 58 |
-
<div class="container mx-auto px-4 py-6 flex justify-between items-center">
|
| 59 |
-
<h1 class="text-3xl font-bold text-primary">
|
| 60 |
-
<i class="fas fa-chart-line mr-2"></i>BrandPulse
|
| 61 |
-
</h1>
|
| 62 |
-
<div class="flex items-center space-x-4">
|
| 63 |
-
<span class="hidden md:inline text-gray-600">Take your brand to the next level</span>
|
| 64 |
-
<button class="bg-primary hover:bg-primary-dark text-white px-4 py-2 rounded-full transition-all">
|
| 65 |
-
Sign Up
|
| 66 |
-
</button>
|
| 67 |
-
</div>
|
| 68 |
-
</div>
|
| 69 |
-
</header>
|
| 70 |
-
|
| 71 |
<!-- Main Content -->
|
| 72 |
<main class="flex-grow container mx-auto px-4 py-8">
|
| 73 |
<div id="quiz-container" class="max-w-4xl mx-auto">
|
|
@@ -114,8 +99,8 @@
|
|
| 114 |
<i class="fas fa-arrow-left mr-2"></i> Back
|
| 115 |
</button>
|
| 116 |
<span id="question-counter" class="text-gray-500 text-sm">Question 1 of 20</span>
|
| 117 |
-
<button id="next-btn"
|
| 118 |
-
|
| 119 |
</button>
|
| 120 |
</div>
|
| 121 |
</div>
|
|
@@ -187,40 +172,15 @@
|
|
| 187 |
<p class="text-gray-600 mb-6 max-w-2xl mx-auto">
|
| 188 |
Our brand experts can help you implement these recommendations and take your brand to the next level.
|
| 189 |
</p>
|
| 190 |
-
<
|
| 191 |
Schedule Free Consultation
|
| 192 |
-
</
|
| 193 |
</div>
|
| 194 |
</div>
|
| 195 |
</div>
|
| 196 |
</div>
|
| 197 |
</main>
|
| 198 |
|
| 199 |
-
<!-- Footer -->
|
| 200 |
-
<footer class="bg-gray-800 text-white py-8">
|
| 201 |
-
<div class="container mx-auto px-4">
|
| 202 |
-
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 203 |
-
<div class="mb-4 md:mb-0">
|
| 204 |
-
<h3 class="text-xl font-bold text-primary mb-2">BrandPulse</h3>
|
| 205 |
-
<p class="text-gray-400">Helping brands thrive in a competitive world</p>
|
| 206 |
-
</div>
|
| 207 |
-
<div class="flex space-x-6">
|
| 208 |
-
<a href="#" class="text-gray-400 hover:text-white transition-colors">
|
| 209 |
-
<i class="fab fa-twitter text-xl"></i>
|
| 210 |
-
</a>
|
| 211 |
-
<a href="#" class="text-gray-400 hover:text-white transition-colors">
|
| 212 |
-
<i class="fab fa-linkedin text-xl"></i>
|
| 213 |
-
</a>
|
| 214 |
-
<a href="#" class="text-gray-400 hover:text-white transition-colors">
|
| 215 |
-
<i class="fab fa-instagram text-xl"></i>
|
| 216 |
-
</a>
|
| 217 |
-
</div>
|
| 218 |
-
</div>
|
| 219 |
-
<div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400 text-sm">
|
| 220 |
-
<p>© 2023 BrandPulse. All rights reserved.</p>
|
| 221 |
-
</div>
|
| 222 |
-
</div>
|
| 223 |
-
</footer>
|
| 224 |
</div>
|
| 225 |
|
| 226 |
<script>
|
|
@@ -547,7 +507,7 @@
|
|
| 547 |
<label class="flex items-center p-4 border rounded-lg cursor-pointer hover:border-primary transition-colors ${isChecked ? 'border-primary bg-primary bg-opacity-5' : 'border-gray-200'}">
|
| 548 |
<input type="radio" name="question-${question.id}" value="${option.value}"
|
| 549 |
class="form-radio text-primary border-gray-300 focus:ring-primary"
|
| 550 |
-
${isChecked}
|
| 551 |
onchange="saveAnswer(${question.id}, ${option.value})">
|
| 552 |
<span class="ml-3 text-gray-700">${option.text}</span>
|
| 553 |
</label>
|
|
@@ -567,7 +527,7 @@
|
|
| 567 |
}
|
| 568 |
}
|
| 569 |
|
| 570 |
-
// Save answer
|
| 571 |
function saveAnswer(questionId, value) {
|
| 572 |
answers[questionId] = value;
|
| 573 |
|
|
@@ -577,6 +537,9 @@
|
|
| 577 |
category.total += value;
|
| 578 |
category.max += 10; // Max score per question is 10
|
| 579 |
category.questions += 1;
|
|
|
|
|
|
|
|
|
|
| 580 |
}
|
| 581 |
|
| 582 |
// Navigate to next question
|
|
|
|
| 53 |
</head>
|
| 54 |
<body class="bg-gray-50 font-sans">
|
| 55 |
<div class="min-h-screen flex flex-col">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
<!-- Main Content -->
|
| 57 |
<main class="flex-grow container mx-auto px-4 py-8">
|
| 58 |
<div id="quiz-container" class="max-w-4xl mx-auto">
|
|
|
|
| 99 |
<i class="fas fa-arrow-left mr-2"></i> Back
|
| 100 |
</button>
|
| 101 |
<span id="question-counter" class="text-gray-500 text-sm">Question 1 of 20</span>
|
| 102 |
+
<button id="next-btn" class="bg-gray-200 text-gray-500 font-medium py-2 px-6 rounded-full transition-all cursor-not-allowed" disabled>
|
| 103 |
+
Auto-advance
|
| 104 |
</button>
|
| 105 |
</div>
|
| 106 |
</div>
|
|
|
|
| 172 |
<p class="text-gray-600 mb-6 max-w-2xl mx-auto">
|
| 173 |
Our brand experts can help you implement these recommendations and take your brand to the next level.
|
| 174 |
</p>
|
| 175 |
+
<a href="https://www.brightsmiledigital.com/contact" target="_blank" class="bg-primary hover:bg-primary-dark text-white font-bold py-3 px-8 rounded-full transition-all transform hover:scale-105 shadow-lg inline-block">
|
| 176 |
Schedule Free Consultation
|
| 177 |
+
</a>
|
| 178 |
</div>
|
| 179 |
</div>
|
| 180 |
</div>
|
| 181 |
</div>
|
| 182 |
</main>
|
| 183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
</div>
|
| 185 |
|
| 186 |
<script>
|
|
|
|
| 507 |
<label class="flex items-center p-4 border rounded-lg cursor-pointer hover:border-primary transition-colors ${isChecked ? 'border-primary bg-primary bg-opacity-5' : 'border-gray-200'}">
|
| 508 |
<input type="radio" name="question-${question.id}" value="${option.value}"
|
| 509 |
class="form-radio text-primary border-gray-300 focus:ring-primary"
|
| 510 |
+
${isChecked}
|
| 511 |
onchange="saveAnswer(${question.id}, ${option.value})">
|
| 512 |
<span class="ml-3 text-gray-700">${option.text}</span>
|
| 513 |
</label>
|
|
|
|
| 527 |
}
|
| 528 |
}
|
| 529 |
|
| 530 |
+
// Save answer and advance to next question
|
| 531 |
function saveAnswer(questionId, value) {
|
| 532 |
answers[questionId] = value;
|
| 533 |
|
|
|
|
| 537 |
category.total += value;
|
| 538 |
category.max += 10; // Max score per question is 10
|
| 539 |
category.questions += 1;
|
| 540 |
+
|
| 541 |
+
// Automatically go to next question after a brief delay
|
| 542 |
+
setTimeout(nextQuestion, 300);
|
| 543 |
}
|
| 544 |
|
| 545 |
// Navigate to next question
|