commit 76b262d089c3cfb930a431fe1bc67c3fe47df163
Author: root <root@hub.scroll.pub> Date: 2025-01-04 16:39:34 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..d8e46a9 --- /dev/null +++ b/body.html @@ -0,0 +1,100 @@ +<header> + <nav> + <div class="logo">KidsEnglish</div> + <div class="nav-links"> + <a href="#features">Features</a> + <a href="#how-it-works">How It Works</a> + <a href="#download">Download</a> + </div> + <button class="mobile-menu" aria-label="Menu"> + <span></span><span></span><span></span> + </button> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h1>Make Learning English Fun!</h1> + <p>An interactive and engaging way for children to master English through games and stories</p> + <div class="cta-buttons"> + <a href="#download" class="btn primary">Get Started Free</a> + <a href="#demo" class="btn secondary">Watch Demo</a> + </div> + </div> + <div class="hero-image"> + <div class="app-preview"></div> + </div> + </section> + + <section id="features" class="features"> + <h2>Why Choose KidsEnglish?</h2> + <div class="feature-grid"> + <div class="feature-card"> + <div class="feature-icon">🎮</div> + <h3>Fun Games</h3> + <p>Learn through interactive games and activities</p> + </div> + <div class="feature-card"> + <div class="feature-icon">🎯</div> + <h3>Progress Tracking</h3> + <p>Monitor your child's learning journey</p> + </div> + <div class="feature-card"> + <div class="feature-icon">🎨</div> + <h3>Colorful Design</h3> + <p>Engaging visuals that children love</p> + </div> + <div class="feature-card"> + <div class="feature-icon">🔊</div> + <h3>Speech Recognition</h3> + <p>Practice pronunciation with instant feedback</p> + </div> + </div> + </section> + + <section id="how-it-works" class="how-it-works"> + <h2>How It Works</h2> + <div class="steps"> + <div class="step"> + <div class="step-number">1</div> + <h3>Download</h3> + <p>Get the app from your favorite app store</p> + </div> + <div class="step"> + <div class="step-number">2</div> + <h3>Create Profile</h3> + <p>Set up your child's learning profile</p> + </div> + <div class="step"> + <div class="step-number">3</div> + <h3>Start Learning</h3> + <p>Begin the fun learning journey!</p> + </div> + </div> + </section> + + <section id="download" class="download"> + <h2>Download Now</h2> + <p>Available on all major platforms</p> + <div class="store-buttons"> + <button class="store-btn apple">App Store</button> + <button class="store-btn google">Google Play</button> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-links"> + <a href="#privacy">Privacy Policy</a> + <a href="#terms">Terms of Use</a> + <a href="#contact">Contact Us</a> + </div> + <div class="social-links"> + <a href="#" aria-label="Facebook">📱</a> + <a href="#" aria-label="Twitter">📨</a> + <a href="#" aria-label="Instagram">💌</a> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..9b319d2 --- /dev/null +++ b/index.scroll @@ -0,0 +1,11 @@ +buildHtml +baseUrl https://kidsenglish.scroll.pub +metaTags + description "Fun and interactive English learning app for children. Gamified lessons, pronunciation practice, and vocabulary building for young learners." + keywords "english for kids, children english app, learn english, english learning game, educational app" + author "KidsEnglish App" +editButton /edit.html +title KidsEnglish - Fun English Learning App for Children +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..dc965a4 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01RdrfJpo4bUcf89QNw9kJyi", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a website for your English learning app for children. Here's a child-friendly, memorable domain name that reflects the purpose:\n\n---domain---\nkidsenglish.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://kidsenglish.scroll.pub\nmetaTags\n description \"Fun and interactive English learning app for children. Gamified lessons, pronunciation practice, and vocabulary building for young learners.\"\n keywords \"english for kids, children english app, learn english, english learning game, educational app\"\n author \"KidsEnglish App\"\neditButton /edit.html\ntitle KidsEnglish - Fun English Learning App for Children\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">KidsEnglish</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=\"#download\">Download</a>\n </div>\n <button class=\"mobile-menu\" aria-label=\"Menu\">\n <span></span><span></span><span></span>\n </button>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>Make Learning English Fun!</h1>\n <p>An interactive and engaging way for children to master English through games and stories</p>\n <div class=\"cta-buttons\">\n <a href=\"#download\" class=\"btn primary\">Get Started Free</a>\n <a href=\"#demo\" class=\"btn secondary\">Watch Demo</a>\n </div>\n </div>\n <div class=\"hero-image\">\n <div class=\"app-preview\"></div>\n </div>\n </section>\n\n <section id=\"features\" class=\"features\">\n <h2>Why Choose KidsEnglish?</h2>\n <div class=\"feature-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🎮</div>\n <h3>Fun Games</h3>\n <p>Learn through interactive games and activities</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🎯</div>\n <h3>Progress Tracking</h3>\n <p>Monitor your child's learning journey</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🎨</div>\n <h3>Colorful Design</h3>\n <p>Engaging visuals that children love</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🔊</div>\n <h3>Speech Recognition</h3>\n <p>Practice pronunciation with instant feedback</p>\n </div>\n </div>\n </section>\n\n <section id=\"how-it-works\" class=\"how-it-works\">\n <h2>How It Works</h2>\n <div class=\"steps\">\n <div class=\"step\">\n <div class=\"step-number\">1</div>\n <h3>Download</h3>\n <p>Get the app from your favorite app store</p>\n </div>\n <div class=\"step\">\n <div class=\"step-number\">2</div>\n <h3>Create Profile</h3>\n <p>Set up your child's learning profile</p>\n </div>\n <div class=\"step\">\n <div class=\"step-number\">3</div>\n <h3>Start Learning</h3>\n <p>Begin the fun learning journey!</p>\n </div>\n </div>\n </section>\n\n <section id=\"download\" class=\"download\">\n <h2>Download Now</h2>\n <p>Available on all major platforms</p>\n <div class=\"store-buttons\">\n <button class=\"store-btn apple\">App Store</button>\n <button class=\"store-btn google\">Google Play</button>\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 Use</a>\n <a href=\"#contact\">Contact Us</a>\n </div>\n <div class=\"social-links\">\n <a href=\"#\" aria-label=\"Facebook\">📱</a>\n <a href=\"#\" aria-label=\"Twitter\">📨</a>\n <a href=\"#\" aria-label=\"Instagram\">💌</a>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #FF6B6B;\n --secondary-color: #4ECDC4;\n --accent-color: #FFE66D;\n --text-color: #2C3E50;\n --background-color: #FFFFFF;\n --radius: 12px;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n color: var(--text-color);\n line-height: 1.6;\n}\n\n/* Header & Navigation */\nheader {\n position: fixed;\n width: 100%;\n background: rgba(255, 255, 255, 0.95);\n backdrop-filter: blur(10px);\n z-index: 1000;\n box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 5%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n color: var(--primary-color);\n}\n\n.nav-links a {\n margin-left: 2rem;\n text-decoration: none;\n color: var(--text-color);\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--primary-color);\n}\n\n/* Hero Section */\n.hero {\n min-height: 100vh;\n display: flex;\n align-items: center;\n padding: 6rem 5% 2rem;\n background: linear-gradient(135deg, #fff 0%, #f0f4f8 100%);\n}\n\n.hero-content {\n flex: 1;\n padding-right: 2rem;\n}\n\n.hero h1 {\n font-size: 3.5rem;\n line-height: 1.2;\n margin-bottom: 1.5rem;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.app-preview {\n width: 300px;\n height: 600px;\n background: var(--primary-color);\n border-radius: 30px;\n position: relative;\n overflow: hidden;\n box-shadow: \n 0 20px 40px rgba(0, 0, 0, 0.1),\n 0 0 0 10px rgba(255, 255, 255, 0.5);\n animation: float 6s ease-in-out infinite;\n}\n\n@keyframes float {\n 0%, 100% { transform: translateY(0); }\n 50% { transform: translateY(-20px); }\n}\n\n/* Features Section */\n.features {\n padding: 5rem 5%;\n background: var(--background-color);\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 3rem;\n}\n\n.feature-card {\n padding: 2rem;\n border-radius: var(--radius);\n background: white;\n box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease;\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/* Buttons */\n.btn {\n display: inline-block;\n padding: 1rem 2rem;\n border-radius: var(--radius);\n text-decoration: none;\n font-weight: bold;\n transition: transform 0.3s ease;\n}\n\n.btn.primary {\n background: var(--primary-color);\n color: white;\n}\n\n.btn.secondary {\n background: var(--secondary-color);\n color: white;\n}\n\n.btn:hover {\n transform: translateY(-2px);\n}\n\n/* Mobile Responsiveness */\n@media (max-width: 768px) {\n .nav-links {\n display: none;\n }\n \n .hero {\n flex-direction: column;\n text-align: center;\n }\n \n .hero h1 {\n font-size: 2.5rem;\n }\n \n .app-preview {\n width: 250px;\n height: 500px;\n margin-top: 2rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n // Mobile menu toggle\n const menuButton = document.querySelector('.mobile-menu');\n const navLinks = document.querySelector('.nav-links');\n \n menuButton?.addEventListener('click', () => {\n navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';\n });\n\n // Smooth scroll for navigation links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n const target = document.querySelector(this.getAttribute('href'));\n if (target) {\n target.scrollIntoView({\n behavior: 'smooth',\n block: 'start'\n });\n }\n });\n });\n\n // Animation on scroll\n const observerOptions = {\n threshold: 0.1\n };\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('animate');\n }\n });\n }, observerOptions);\n\n document.querySelectorAll('.feature-card, .step').forEach((element) => {\n observer.observe(element);\n });\n});\n\n---end---\n\nThis design features:\n1. A modern, clean interface with smooth animations\n2. Vibrant but professional color scheme suitable for children\n3. Responsive design that works on all devices\n4. Accessible navigation and semantic HTML\n5. Smooth scrolling and intersection observers for animations\n6. Mobile-first approach with elegant degradation\n7. Clear call-to-action buttons\n8. Engaging visual hierarchy\n9. Performance-optimized animations and transitions\n10. SEO-friendly structure and meta tags\n\nThe website uses a floating app preview, gradient text, and subtle animations to create an engaging experience while maintaining professionalism and usability." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 282, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2916 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..85166fe --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# kidsenglish.scroll.pub +Website generated by Claude from prompt: a website introduce my app, a app for children learning english \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..2d21a64 --- /dev/null +++ b/script.js @@ -0,0 +1,40 @@ +document.addEventListener('DOMContentLoaded', function() { + // Mobile menu toggle + const menuButton = document.querySelector('.mobile-menu'); + const navLinks = document.querySelector('.nav-links'); + + menuButton?.addEventListener('click', () => { + navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex'; + }); + + // Smooth scroll for navigation links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + const target = document.querySelector(this.getAttribute('href')); + if (target) { + target.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + } + }); + }); + + // Animation on scroll + const observerOptions = { + threshold: 0.1 + }; + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('animate'); + } + }); + }, observerOptions); + + document.querySelectorAll('.feature-card, .step').forEach((element) => { + observer.observe(element); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..e2be9d5 --- /dev/null +++ b/style.css @@ -0,0 +1,173 @@ +:root { + --primary-color: #FF6B6B; + --secondary-color: #4ECDC4; + --accent-color: #FFE66D; + --text-color: #2C3E50; + --background-color: #FFFFFF; + --radius: 12px; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + color: var(--text-color); + line-height: 1.6; +} + +/* Header & Navigation */ +header { + position: fixed; + width: 100%; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + z-index: 1000; + box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 5%; + max-width: 1200px; + margin: 0 auto; +} + +.logo { + font-size: 1.5rem; + font-weight: bold; + color: var(--primary-color); +} + +.nav-links a { + margin-left: 2rem; + text-decoration: none; + color: var(--text-color); + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--primary-color); +} + +/* Hero Section */ +.hero { + min-height: 100vh; + display: flex; + align-items: center; + padding: 6rem 5% 2rem; + background: linear-gradient(135deg, #fff 0%, #f0f4f8 100%); +} + +.hero-content { + flex: 1; + padding-right: 2rem; +} + +.hero h1 { + font-size: 3.5rem; + line-height: 1.2; + margin-bottom: 1.5rem; + background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +.app-preview { + width: 300px; + height: 600px; + background: var(--primary-color); + border-radius: 30px; + position: relative; + overflow: hidden; + box-shadow: + 0 20px 40px rgba(0, 0, 0, 0.1), + 0 0 0 10px rgba(255, 255, 255, 0.5); + animation: float 6s ease-in-out infinite; +} + +@keyframes float { + 0%, 100% { transform: translateY(0); } + 50% { transform: translateY(-20px); } +} + +/* Features Section */ +.features { + padding: 5rem 5%; + background: var(--background-color); +} + +.feature-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 3rem; +} + +.feature-card { + padding: 2rem; + border-radius: var(--radius); + background: white; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; +} + +.feature-card:hover { + transform: translateY(-5px); +} + +.feature-icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +/* Buttons */ +.btn { + display: inline-block; + padding: 1rem 2rem; + border-radius: var(--radius); + text-decoration: none; + font-weight: bold; + transition: transform 0.3s ease; +} + +.btn.primary { + background: var(--primary-color); + color: white; +} + +.btn.secondary { + background: var(--secondary-color); + color: white; +} + +.btn:hover { + transform: translateY(-2px); +} + +/* Mobile Responsiveness */ +@media (max-width: 768px) { + .nav-links { + display: none; + } + + .hero { + flex-direction: column; + text-align: center; + } + + .hero h1 { + font-size: 2.5rem; + } + + .app-preview { + width: 250px; + height: 500px; + margin-top: 2rem; + } +}