commit 7f679b919de24778c99e699f5fb00e79a9ee6a4b
Author: root <root@hub.scroll.pub> Date: 2024-12-28 11:10:20 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..79604c0 --- /dev/null +++ b/body.html @@ -0,0 +1,53 @@ +<header class="hero"> + <div class="container"> + <h1>WordWise</h1> + <p class="subtitle">Revolutionizing Vocabulary Learning</p> + <div class="cta-buttons"> + <a href="#features" class="btn primary">Explore Features</a> + <a href="#start" class="btn secondary">Get Started</a> + </div> + </div> +</header> + +<section id="features" class="features-section"> + <div class="container"> + <h2>Core Features</h2> + <div class="feature-grid"> + <div class="feature-card"> + <div class="icon">📚</div> + <h3>Smart Word Cards</h3> + <p>Interactive 3D cards with auto-pronunciation and bilingual display.</p> + </div> + <div class="feature-card"> + <div class="icon">👥</div> + <h3>Multi-player Mode</h3> + <p>Learn with others in real-time with progress tracking.</p> + </div> + <div class="feature-card"> + <div class="icon">📊</div> + <h3>Detailed Analytics</h3> + <p>Track your progress and optimize your learning.</p> + </div> + </div> + </div> +</section> + +<section id="start" class="cta-section"> + <div class="container"> + <h2>Start Your Learning Journey</h2> + <form id="signup-form"> + <input type="email" id="email" placeholder="Enter your email" required> + <button type="submit" class="btn primary">Join Now</button> + </form> + </div> +</section> + +<footer> + <div class="container"> + <nav> + <a href="#features">Features</a> + <a href="#start">Get Started</a> + </nav> + <p>Empowering language learners worldwide</p> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..4c59cc2 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://wordwise.scroll.pub +metaTags +editButton /edit.html +title WordWise - Modern Word Learning System +style.css +body.html +script.js \ No newline at end of file diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..cb289f5 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "70832cdf-6fae-4573-9771-186ade8d3867", + "object": "chat.completion", + "created": 1735384199, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nwordwise.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://wordwise.scroll.pub\nmetaTags\neditButton /edit.html\ntitle WordWise - Modern Word Learning System\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"hero\">\n <div class=\"container\">\n <h1>WordWise</h1>\n <p class=\"subtitle\">Revolutionizing Vocabulary Learning</p>\n <div class=\"cta-buttons\">\n <a href=\"#features\" class=\"btn primary\">Explore Features</a>\n <a href=\"#start\" class=\"btn secondary\">Get Started</a>\n </div>\n </div>\n</header>\n\n<section id=\"features\" class=\"features-section\">\n <div class=\"container\">\n <h2>Core Features</h2>\n <div class=\"feature-grid\">\n <div class=\"feature-card\">\n <div class=\"icon\">📚</div>\n <h3>Smart Word Cards</h3>\n <p>Interactive 3D cards with auto-pronunciation and bilingual display.</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"icon\">👥</div>\n <h3>Multi-player Mode</h3>\n <p>Learn with others in real-time with progress tracking.</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"icon\">📊</div>\n <h3>Detailed Analytics</h3>\n <p>Track your progress and optimize your learning.</p>\n </div>\n </div>\n </div>\n</section>\n\n<section id=\"start\" class=\"cta-section\">\n <div class=\"container\">\n <h2>Start Your Learning Journey</h2>\n <form id=\"signup-form\">\n <input type=\"email\" id=\"email\" placeholder=\"Enter your email\" required>\n <button type=\"submit\" class=\"btn primary\">Join Now</button>\n </form>\n </div>\n</section>\n\n<footer>\n <div class=\"container\">\n <nav>\n <a href=\"#features\">Features</a>\n <a href=\"#start\">Get Started</a>\n </nav>\n <p>Empowering language learners worldwide</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #f8fafc;\n --text-color: #1e293b;\n --card-bg: #ffffff;\n --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);\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.6;\n color: var(--text-color);\n background-color: var(--background-color);\n}\n\n.container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 20px;\n}\n\n.hero {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n padding: 6rem 0;\n text-align: center;\n}\n\n.hero h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeIn 1s ease-in;\n}\n\n.subtitle {\n font-size: 1.5rem;\n margin-bottom: 2rem;\n opacity: 0.9;\n}\n\n.cta-buttons {\n display: flex;\n gap: 1rem;\n justify-content: center;\n}\n\n.btn {\n padding: 0.75rem 2rem;\n border-radius: 0.5rem;\n text-decoration: none;\n font-weight: 500;\n transition: all 0.3s ease;\n}\n\n.btn.primary {\n background: white;\n color: var(--primary-color);\n}\n\n.btn.secondary {\n background: transparent;\n border: 2px solid white;\n color: white;\n}\n\n.btn:hover {\n transform: translateY(-2px);\n box-shadow: var(--shadow);\n}\n\n.features-section {\n padding: 4rem 0;\n}\n\n.features-section h2 {\n text-align: center;\n font-size: 2.5rem;\n margin-bottom: 3rem;\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n}\n\n.feature-card {\n background: var(--card-bg);\n padding: 2rem;\n border-radius: 1rem;\n box-shadow: var(--shadow);\n transition: transform 0.3s ease;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n}\n\n.feature-card .icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.feature-card h3 {\n font-size: 1.5rem;\n margin-bottom: 1rem;\n}\n\n.cta-section {\n background: var(--primary-color);\n color: white;\n padding: 4rem 0;\n text-align: center;\n}\n\n.cta-section h2 {\n font-size: 2.5rem;\n margin-bottom: 2rem;\n}\n\n#signup-form {\n max-width: 500px;\n margin: 0 auto;\n display: flex;\n gap: 1rem;\n}\n\n#email {\n flex: 1;\n padding: 0.75rem;\n border: none;\n border-radius: 0.5rem;\n}\n\nfooter {\n background: var(--secondary-color);\n color: white;\n padding: 2rem 0;\n text-align: center;\n}\n\nfooter nav {\n margin-bottom: 1rem;\n}\n\nfooter a {\n color: white;\n text-decoration: none;\n margin: 0 1rem;\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 .hero h1 {\n font-size: 2.5rem;\n }\n \n .subtitle {\n font-size: 1.25rem;\n }\n \n .cta-buttons {\n flex-direction: column;\n align-items: center;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\n \n #signup-form {\n flex-direction: column;\n }\n}\n---script.js---\ndocument.getElementById('signup-form').addEventListener('submit', function(e) {\n e.preventDefault();\n const email = document.getElementById('email').value;\n if (email) {\n alert(`Thank you for signing up! We'll contact you at ${email}`);\n document.getElementById('email').value = '';\n }\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 391, + "completion_tokens": 1544, + "total_tokens": 1935, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 391 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..84f1035 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# wordwise.scroll.pub +Website generated by DeepSeek from prompt: A modern word learning and practice system designed to enhance vocabulary and language learning efficiency. ### Features - 📚 Smart Word Card System - 3D interactive effects - Auto-pronunciation feature - Bilingual display toggle - 👥 Multi-player Learning Mode - Supports multiple students simultaneously - Real-time progress tracking - Fair rotation mechanism - 📊 Statistics and Analysis - Learning progress tracking - Accuracy statistics - Personal performance analysis - 👨‍🏫 Admin Features - Learning data export - System parameter configuration - User management ### Tech Stack - **Frontend** - Vue3 - TypeScript - Vite5 - Pinia - UnoCSS - **Backend** - Supabase \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..3b42f2f --- /dev/null +++ b/script.js @@ -0,0 +1,8 @@ +document.getElementById('signup-form').addEventListener('submit', function(e) { + e.preventDefault(); + const email = document.getElementById('email').value; + if (email) { + alert(`Thank you for signing up! We'll contact you at ${email}`); + document.getElementById('email').value = ''; + } +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..91ef593 --- /dev/null +++ b/style.css @@ -0,0 +1,185 @@ +:root { + --primary-color: #2563eb; + --secondary-color: #1e40af; + --background-color: #f8fafc; + --text-color: #1e293b; + --card-bg: #ffffff; + --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: system-ui, -apple-system, sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 0 20px; +} + +.hero { + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; + padding: 6rem 0; + text-align: center; +} + +.hero h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + animation: fadeIn 1s ease-in; +} + +.subtitle { + font-size: 1.5rem; + margin-bottom: 2rem; + opacity: 0.9; +} + +.cta-buttons { + display: flex; + gap: 1rem; + justify-content: center; +} + +.btn { + padding: 0.75rem 2rem; + border-radius: 0.5rem; + text-decoration: none; + font-weight: 500; + transition: all 0.3s ease; +} + +.btn.primary { + background: white; + color: var(--primary-color); +} + +.btn.secondary { + background: transparent; + border: 2px solid white; + color: white; +} + +.btn:hover { + transform: translateY(-2px); + box-shadow: var(--shadow); +} + +.features-section { + padding: 4rem 0; +} + +.features-section h2 { + text-align: center; + font-size: 2.5rem; + margin-bottom: 3rem; +} + +.feature-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; +} + +.feature-card { + background: var(--card-bg); + padding: 2rem; + border-radius: 1rem; + box-shadow: var(--shadow); + transition: transform 0.3s ease; +} + +.feature-card:hover { + transform: translateY(-5px); +} + +.feature-card .icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +.feature-card h3 { + font-size: 1.5rem; + margin-bottom: 1rem; +} + +.cta-section { + background: var(--primary-color); + color: white; + padding: 4rem 0; + text-align: center; +} + +.cta-section h2 { + font-size: 2.5rem; + margin-bottom: 2rem; +} + +#signup-form { + max-width: 500px; + margin: 0 auto; + display: flex; + gap: 1rem; +} + +#email { + flex: 1; + padding: 0.75rem; + border: none; + border-radius: 0.5rem; +} + +footer { + background: var(--secondary-color); + color: white; + padding: 2rem 0; + text-align: center; +} + +footer nav { + margin-bottom: 1rem; +} + +footer a { + color: white; + text-decoration: none; + margin: 0 1rem; +} + +@keyframes fadeIn { + from { opacity: 0; transform: translateY(20px); } + to { opacity: 1; transform: translateY(0); } +} + +@media (max-width: 768px) { + .hero h1 { + font-size: 2.5rem; + } + + .subtitle { + font-size: 1.25rem; + } + + .cta-buttons { + flex-direction: column; + align-items: center; + } + + .feature-grid { + grid-template-columns: 1fr; + } + + #signup-form { + flex-direction: column; + } +} \ No newline at end of file