commit b0c680b835711aeba6e8de7fb690d66f7196aee7
Author: root <root@hub.scroll.pub> Date: 2024-12-27 15:07:29 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..bd872a2 --- /dev/null +++ b/body.html @@ -0,0 +1,69 @@ +<header class="header"> + <nav> + <div class="logo">QuizFlow</div> + <div class="nav-links"> + <a href="#features">Features</a> + <a href="#how-it-works">How It Works</a> + <a href="#pricing">Pricing</a> + </div> + </nav> +</header> + +<main> + <section class="hero"> + <h1>Transform Your Quiz Into a Sales Machine</h1> + <p>Create interactive quizzes that engage your audience and boost conversions</p> + <button class="cta-button" id="startButton">Start Your First Quiz</button> + </section> + + <section id="quiz-demo" class="quiz-container hidden"> + <div class="progress-bar"> + <div class="progress"></div> + </div> + <div class="question-container"> + <h2>What's your main business goal?</h2> + <div class="options"> + <button class="option">Increase Sales</button> + <button class="option">Generate Leads</button> + <button class="option">Build Email List</button> + <button class="option">Engage Audience</button> + </div> + </div> + </section> + + <section id="features" class="features"> + <h2>Powerful Features</h2> + <div class="feature-grid"> + <div class="feature-card"> + <div class="feature-icon">📊</div> + <h3>Smart Analytics</h3> + <p>Track completion rates and conversion metrics</p> + </div> + <div class="feature-card"> + <div class="feature-icon">🎯</div> + <h3>Personalization</h3> + <p>Tailor recommendations based on responses</p> + </div> + <div class="feature-card"> + <div class="feature-icon">📱</div> + <h3>Mobile-First</h3> + <p>Perfect experience on any device</p> + </div> + <div class="feature-card"> + <div class="feature-icon">🚀</div> + <h3>Quick Setup</h3> + <p>Launch your quiz in minutes</p> + </div> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-links"> + <a href="/privacy">Privacy Policy</a> + <a href="/terms">Terms of Service</a> + <a href="/contact">Contact</a> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..4049118 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://quizflow.scroll.pub +metaTags +editButton /edit.html +title QuizFlow - Create Engaging Quiz Funnels That Convert +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..f9b80b7 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_012nbksPv9Mph1mMGXFafX7T", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a quiz funnel website with engaging animations and a conversion-focused design.\n\n---domain---\nquizflow.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://quizflow.scroll.pub\nmetaTags\neditButton /edit.html\ntitle QuizFlow - Create Engaging Quiz Funnels That Convert\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header class=\"header\">\n <nav>\n <div class=\"logo\">QuizFlow</div>\n <div class=\"nav-links\">\n <a href=\"#features\">Features</a>\n <a href=\"#how-it-works\">How It Works</a>\n <a href=\"#pricing\">Pricing</a>\n </div>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <h1>Transform Your Quiz Into a Sales Machine</h1>\n <p>Create interactive quizzes that engage your audience and boost conversions</p>\n <button class=\"cta-button\" id=\"startButton\">Start Your First Quiz</button>\n </section>\n\n <section id=\"quiz-demo\" class=\"quiz-container hidden\">\n <div class=\"progress-bar\">\n <div class=\"progress\"></div>\n </div>\n <div class=\"question-container\">\n <h2>What's your main business goal?</h2>\n <div class=\"options\">\n <button class=\"option\">Increase Sales</button>\n <button class=\"option\">Generate Leads</button>\n <button class=\"option\">Build Email List</button>\n <button class=\"option\">Engage Audience</button>\n </div>\n </div>\n </section>\n\n <section id=\"features\" class=\"features\">\n <h2>Powerful Features</h2>\n <div class=\"feature-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon\">📊</div>\n <h3>Smart Analytics</h3>\n <p>Track completion rates and conversion metrics</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🎯</div>\n <h3>Personalization</h3>\n <p>Tailor recommendations based on responses</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">📱</div>\n <h3>Mobile-First</h3>\n <p>Perfect experience on any device</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🚀</div>\n <h3>Quick Setup</h3>\n <p>Launch your quiz in minutes</p>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-links\">\n <a href=\"/privacy\">Privacy Policy</a>\n <a href=\"/terms\">Terms of Service</a>\n <a href=\"/contact\">Contact</a>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary: #6366f1;\n --secondary: #4f46e5;\n --background: #f8fafc;\n --text: #1e293b;\n --card-bg: #ffffff;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: system-ui, -apple-system, sans-serif;\n line-height: 1.5;\n color: var(--text);\n background: var(--background);\n}\n\n.header {\n background: var(--card-bg);\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n padding: 1rem;\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 100;\n}\n\nnav {\n max-width: 1200px;\n margin: 0 auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n background: linear-gradient(135deg, var(--primary), var(--secondary));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.nav-links a {\n margin-left: 2rem;\n text-decoration: none;\n color: var(--text);\n transition: color 0.3s;\n}\n\n.nav-links a:hover {\n color: var(--primary);\n}\n\n.hero {\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n padding: 2rem;\n background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(79,70,229,0.1));\n}\n\nh1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n background: linear-gradient(135deg, var(--primary), var(--secondary));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n animation: fadeIn 1s ease-out;\n}\n\n.cta-button {\n background: var(--primary);\n color: white;\n border: none;\n padding: 1rem 2rem;\n border-radius: 50px;\n font-size: 1.1rem;\n cursor: pointer;\n transition: transform 0.3s, box-shadow 0.3s;\n margin-top: 2rem;\n}\n\n.cta-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 20px rgba(99,102,241,0.3);\n}\n\n.quiz-container {\n max-width: 600px;\n margin: 2rem auto;\n padding: 2rem;\n background: var(--card-bg);\n border-radius: 20px;\n box-shadow: 0 4px 20px rgba(0,0,0,0.1);\n}\n\n.progress-bar {\n height: 6px;\n background: #e2e8f0;\n border-radius: 3px;\n margin-bottom: 2rem;\n}\n\n.progress {\n height: 100%;\n background: var(--primary);\n border-radius: 3px;\n width: 25%;\n transition: width 0.3s ease;\n}\n\n.options {\n display: grid;\n gap: 1rem;\n margin-top: 2rem;\n}\n\n.option {\n padding: 1rem;\n border: 2px solid #e2e8f0;\n border-radius: 10px;\n background: none;\n cursor: pointer;\n transition: all 0.3s;\n}\n\n.option:hover {\n border-color: var(--primary);\n background: rgba(99,102,241,0.1);\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 4rem 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.feature-card {\n background: var(--card-bg);\n padding: 2rem;\n border-radius: 20px;\n box-shadow: 0 4px 20px rgba(0,0,0,0.1);\n transition: transform 0.3s;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n}\n\n.feature-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.hidden {\n display: none;\n}\n\n@keyframes fadeIn {\n from { opacity: 0; transform: translateY(20px); }\n to { opacity: 1; transform: translateY(0); }\n}\n\n@media (max-width: 768px) {\n h1 { font-size: 2.5rem; }\n .nav-links { display: none; }\n .feature-grid { grid-template-columns: 1fr; }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n const startButton = document.getElementById('startButton');\n const quizDemo = document.getElementById('quiz-demo');\n const options = document.querySelectorAll('.option');\n let progress = 0;\n\n startButton.addEventListener('click', () => {\n window.scrollTo({ top: 0, behavior: 'smooth' });\n setTimeout(() => {\n startButton.closest('.hero').classList.add('hidden');\n quizDemo.classList.remove('hidden');\n animateProgress();\n }, 500);\n });\n\n options.forEach(option => {\n option.addEventListener('click', () => {\n progress += 25;\n updateProgress();\n if (progress >= 100) {\n showResults();\n } else {\n nextQuestion();\n }\n });\n });\n\n function animateProgress() {\n const progressBar = document.querySelector('.progress');\n progressBar.style.width = '25%';\n }\n\n function updateProgress() {\n const progressBar = document.querySelector('.progress');\n progressBar.style.width = `${progress}%`;\n }\n\n function nextQuestion() {\n const questions = [\n \"What's your target audience size?\",\n \"How soon do you want to launch?\",\n \"What's your budget range?\"\n ];\n const currentQuestion = document.querySelector('.question-container h2');\n currentQuestion.style.opacity = 0;\n \n setTimeout(() => {\n currentQuestion.textContent = questions[progress/25 - 1];\n currentQuestion.style.opacity = 1;\n }, 300);\n }\n\n function showResults() {\n const quizContainer = document.querySelector('.quiz-container');\n quizContainer.innerHTML = `\n <h2>Perfect! We've got your answers</h2>\n <p>Based on your responses, we recommend our Pro Plan.</p>\n <button class=\"cta-button\">Get Started Now</button>\n `;\n }\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 285, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2652 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..4e62de2 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# quizflow.scroll.pub +Website generated by Claude from prompt: quizz funnel app to sell a lot, super creative mega advanced \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..3790cc9 --- /dev/null +++ b/script.js @@ -0,0 +1,61 @@ +document.addEventListener('DOMContentLoaded', () => { + const startButton = document.getElementById('startButton'); + const quizDemo = document.getElementById('quiz-demo'); + const options = document.querySelectorAll('.option'); + let progress = 0; + + startButton.addEventListener('click', () => { + window.scrollTo({ top: 0, behavior: 'smooth' }); + setTimeout(() => { + startButton.closest('.hero').classList.add('hidden'); + quizDemo.classList.remove('hidden'); + animateProgress(); + }, 500); + }); + + options.forEach(option => { + option.addEventListener('click', () => { + progress += 25; + updateProgress(); + if (progress >= 100) { + showResults(); + } else { + nextQuestion(); + } + }); + }); + + function animateProgress() { + const progressBar = document.querySelector('.progress'); + progressBar.style.width = '25%'; + } + + function updateProgress() { + const progressBar = document.querySelector('.progress'); + progressBar.style.width = `${progress}%`; + } + + function nextQuestion() { + const questions = [ + "What's your target audience size?", + "How soon do you want to launch?", + "What's your budget range?" + ]; + const currentQuestion = document.querySelector('.question-container h2'); + currentQuestion.style.opacity = 0; + + setTimeout(() => { + currentQuestion.textContent = questions[progress/25 - 1]; + currentQuestion.style.opacity = 1; + }, 300); + } + + function showResults() { + const quizContainer = document.querySelector('.quiz-container'); + quizContainer.innerHTML = ` + <h2>Perfect! We've got your answers</h2> + <p>Based on your responses, we recommend our Pro Plan.</p> + <button class="cta-button">Get Started Now</button> + `; + } +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..9b4fc29 --- /dev/null +++ b/style.css @@ -0,0 +1,179 @@ +:root { + --primary: #6366f1; + --secondary: #4f46e5; + --background: #f8fafc; + --text: #1e293b; + --card-bg: #ffffff; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: system-ui, -apple-system, sans-serif; + line-height: 1.5; + color: var(--text); + background: var(--background); +} + +.header { + background: var(--card-bg); + box-shadow: 0 2px 10px rgba(0,0,0,0.1); + padding: 1rem; + position: fixed; + width: 100%; + top: 0; + z-index: 100; +} + +nav { + max-width: 1200px; + margin: 0 auto; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + font-size: 1.5rem; + font-weight: bold; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +.nav-links a { + margin-left: 2rem; + text-decoration: none; + color: var(--text); + transition: color 0.3s; +} + +.nav-links a:hover { + color: var(--primary); +} + +.hero { + height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + padding: 2rem; + background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(79,70,229,0.1)); +} + +h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + animation: fadeIn 1s ease-out; +} + +.cta-button { + background: var(--primary); + color: white; + border: none; + padding: 1rem 2rem; + border-radius: 50px; + font-size: 1.1rem; + cursor: pointer; + transition: transform 0.3s, box-shadow 0.3s; + margin-top: 2rem; +} + +.cta-button:hover { + transform: translateY(-2px); + box-shadow: 0 4px 20px rgba(99,102,241,0.3); +} + +.quiz-container { + max-width: 600px; + margin: 2rem auto; + padding: 2rem; + background: var(--card-bg); + border-radius: 20px; + box-shadow: 0 4px 20px rgba(0,0,0,0.1); +} + +.progress-bar { + height: 6px; + background: #e2e8f0; + border-radius: 3px; + margin-bottom: 2rem; +} + +.progress { + height: 100%; + background: var(--primary); + border-radius: 3px; + width: 25%; + transition: width 0.3s ease; +} + +.options { + display: grid; + gap: 1rem; + margin-top: 2rem; +} + +.option { + padding: 1rem; + border: 2px solid #e2e8f0; + border-radius: 10px; + background: none; + cursor: pointer; + transition: all 0.3s; +} + +.option:hover { + border-color: var(--primary); + background: rgba(99,102,241,0.1); +} + +.feature-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + padding: 4rem 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.feature-card { + background: var(--card-bg); + padding: 2rem; + border-radius: 20px; + box-shadow: 0 4px 20px rgba(0,0,0,0.1); + transition: transform 0.3s; +} + +.feature-card:hover { + transform: translateY(-5px); +} + +.feature-icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +.hidden { + display: none; +} + +@keyframes fadeIn { + from { opacity: 0; transform: translateY(20px); } + to { opacity: 1; transform: translateY(0); } +} + +@media (max-width: 768px) { + h1 { font-size: 2.5rem; } + .nav-links { display: none; } + .feature-grid { grid-template-columns: 1fr; } +}