commit ccb6984446cad373d1a5ebe23aec33db4ccdfa1f
Author: root <root@hub.scroll.pub> Date: 2025-01-14 08:45:11 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..ef909ae --- /dev/null +++ b/body.html @@ -0,0 +1,97 @@ +<header class="header"> + <div class="container"> + <h1 class="logo">Toyscroll</h1> + <nav class="nav"> + <ul> + <li><a href="#featured">Featured</a></li> + <li><a href="#categories">Categories</a></li> + <li><a href="#about">About</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> + </div> +</header> + +<main> + <section id="hero" class="hero"> + <div class="container"> + <h2>Where Imagination Comes to Play</h2> + <p>Discover the perfect toys for every age and interest.</p> + <a href="#featured" class="btn">Shop Now</a> + </div> + </section> + + <section id="featured" class="featured"> + <div class="container"> + <h2>Featured Toys</h2> + <div class="grid"> + <div class="card"> + <img src="images/toy1.jpg" alt="Colorful Building Blocks"> + <h3>Building Blocks</h3> + <p>Unleash creativity with our vibrant building blocks.</p> + <span class="price">$29.99</span> + <button class="btn">Add to Cart</button> + </div> + <div class="card"> + <img src="images/toy2.jpg" alt="Plush Teddy Bear"> + <h3>Plush Teddy Bear</h3> + <p>Soft and cuddly, the perfect companion for bedtime.</p> + <span class="price">$19.99</span> + <button class="btn">Add to Cart</button> + </div> + <div class="card"> + <img src="images/toy3.jpg" alt="Remote Control Car"> + <h3>Remote Control Car</h3> + <p>Zoom into action with this high-speed RC car.</p> + <span class="price">$49.99</span> + <button class="btn">Add to Cart</button> + </div> + </div> + </div> + </section> + + <section id="categories" class="categories"> + <div class="container"> + <h2>Shop by Category</h2> + <div class="grid"> + <div class="category"> + <img src="images/category1.jpg" alt="Educational Toys"> + <h3>Educational</h3> + </div> + <div class="category"> + <img src="images/category2.jpg" alt="Outdoor Toys"> + <h3>Outdoor</h3> + </div> + <div class="category"> + <img src="images/category3.jpg" alt="Plush Toys"> + <h3>Plush</h3> + </div> + </div> + </div> + </section> + + <section id="about" class="about"> + <div class="container"> + <h2>About Toyscroll</h2> + <p>At Toyscroll, we believe in the power of play. Our mission is to provide high-quality, imaginative toys that inspire creativity and joy in children of all ages. With a carefully curated selection, we ensure every toy is safe, durable, and fun.</p> + </div> + </section> + + <section id="contact" class="contact"> + <div class="container"> + <h2>Contact Us</h2> + <form id="contact-form"> + <input type="text" placeholder="Your Name" required> + <input type="email" placeholder="Your Email" required> + <textarea placeholder="Your Message" required></textarea> + <button type="submit" class="btn">Send Message</button> + </form> + </div> + </section> +</main> + +<footer class="footer"> + <div class="container"> + <p>Toyscroll - Bringing Joy to Playtime</p> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..baa87f6 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://toyscroll.scroll.pub +metaTags +editButton /edit.html +title Toyscroll - Where Imagination Comes to Play +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..852a0c6 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "cb61326d-523c-4767-9949-aafc9d82708d", + "object": "chat.completion", + "created": 1736844265, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\ntoyscroll.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://toyscroll.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Toyscroll - Where Imagination Comes to Play\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"container\">\n <h1 class=\"logo\">Toyscroll</h1>\n <nav class=\"nav\">\n <ul>\n <li><a href=\"#featured\">Featured</a></li>\n <li><a href=\"#categories\">Categories</a></li>\n <li><a href=\"#about\">About</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </nav>\n </div>\n</header>\n\n<main>\n <section id=\"hero\" class=\"hero\">\n <div class=\"container\">\n <h2>Where Imagination Comes to Play</h2>\n <p>Discover the perfect toys for every age and interest.</p>\n <a href=\"#featured\" class=\"btn\">Shop Now</a>\n </div>\n </section>\n\n <section id=\"featured\" class=\"featured\">\n <div class=\"container\">\n <h2>Featured Toys</h2>\n <div class=\"grid\">\n <div class=\"card\">\n <img src=\"images/toy1.jpg\" alt=\"Colorful Building Blocks\">\n <h3>Building Blocks</h3>\n <p>Unleash creativity with our vibrant building blocks.</p>\n <span class=\"price\">$29.99</span>\n <button class=\"btn\">Add to Cart</button>\n </div>\n <div class=\"card\">\n <img src=\"images/toy2.jpg\" alt=\"Plush Teddy Bear\">\n <h3>Plush Teddy Bear</h3>\n <p>Soft and cuddly, the perfect companion for bedtime.</p>\n <span class=\"price\">$19.99</span>\n <button class=\"btn\">Add to Cart</button>\n </div>\n <div class=\"card\">\n <img src=\"images/toy3.jpg\" alt=\"Remote Control Car\">\n <h3>Remote Control Car</h3>\n <p>Zoom into action with this high-speed RC car.</p>\n <span class=\"price\">$49.99</span>\n <button class=\"btn\">Add to Cart</button>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"categories\" class=\"categories\">\n <div class=\"container\">\n <h2>Shop by Category</h2>\n <div class=\"grid\">\n <div class=\"category\">\n <img src=\"images/category1.jpg\" alt=\"Educational Toys\">\n <h3>Educational</h3>\n </div>\n <div class=\"category\">\n <img src=\"images/category2.jpg\" alt=\"Outdoor Toys\">\n <h3>Outdoor</h3>\n </div>\n <div class=\"category\">\n <img src=\"images/category3.jpg\" alt=\"Plush Toys\">\n <h3>Plush</h3>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"about\" class=\"about\">\n <div class=\"container\">\n <h2>About Toyscroll</h2>\n <p>At Toyscroll, we believe in the power of play. Our mission is to provide high-quality, imaginative toys that inspire creativity and joy in children of all ages. With a carefully curated selection, we ensure every toy is safe, durable, and fun.</p>\n </div>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <div class=\"container\">\n <h2>Contact Us</h2>\n <form id=\"contact-form\">\n <input type=\"text\" placeholder=\"Your Name\" required>\n <input type=\"email\" placeholder=\"Your Email\" required>\n <textarea placeholder=\"Your Message\" required></textarea>\n <button type=\"submit\" class=\"btn\">Send Message</button>\n </form>\n </div>\n </section>\n</main>\n\n<footer class=\"footer\">\n <div class=\"container\">\n <p>Toyscroll - Bringing Joy to Playtime</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #ff6f61;\n --secondary-color: #4a90e2;\n --background-color: #f9f9f9;\n --text-color: #333;\n --light-text-color: #666;\n --border-color: #ddd;\n --font-family: 'Arial', sans-serif;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--background-color);\n line-height: 1.6;\n}\n\n.container {\n width: 90%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.header {\n background-color: var(--primary-color);\n color: white;\n padding: 20px 0;\n}\n\n.header .logo {\n font-size: 2rem;\n font-weight: bold;\n}\n\n.header .nav ul {\n list-style: none;\n display: flex;\n gap: 20px;\n}\n\n.header .nav ul li a {\n color: white;\n text-decoration: none;\n font-weight: bold;\n}\n\n.hero {\n background: url('images/hero.jpg') no-repeat center center/cover;\n color: white;\n text-align: center;\n padding: 100px 0;\n}\n\n.hero h2 {\n font-size: 3rem;\n margin-bottom: 20px;\n}\n\n.hero p {\n font-size: 1.2rem;\n margin-bottom: 30px;\n}\n\n.btn {\n background-color: var(--secondary-color);\n color: white;\n padding: 10px 20px;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n text-decoration: none;\n display: inline-block;\n}\n\n.btn:hover {\n background-color: darken(var(--secondary-color), 10%);\n}\n\n.featured, .categories, .about, .contact {\n padding: 60px 0;\n}\n\n.featured h2, .categories h2, .about h2, .contact h2 {\n text-align: center;\n margin-bottom: 40px;\n font-size: 2rem;\n}\n\n.grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 20px;\n}\n\n.card {\n background: white;\n border: 1px solid var(--border-color);\n border-radius: 10px;\n overflow: hidden;\n text-align: center;\n padding: 20px;\n}\n\n.card img {\n width: 100%;\n height: auto;\n border-radius: 10px;\n}\n\n.card h3 {\n margin: 15px 0 10px;\n font-size: 1.5rem;\n}\n\n.card p {\n color: var(--light-text-color);\n margin-bottom: 15px;\n}\n\n.card .price {\n font-size: 1.2rem;\n font-weight: bold;\n color: var(--primary-color);\n margin-bottom: 15px;\n}\n\n.category {\n background: white;\n border: 1px solid var(--border-color);\n border-radius: 10px;\n overflow: hidden;\n text-align: center;\n padding: 20px;\n}\n\n.category img {\n width: 100%;\n height: auto;\n border-radius: 10px;\n}\n\n.category h3 {\n margin: 15px 0 10px;\n font-size: 1.5rem;\n}\n\n.about p {\n text-align: center;\n max-width: 800px;\n margin: 0 auto;\n}\n\n.contact form {\n max-width: 600px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 15px;\n}\n\n.contact form input, .contact form textarea {\n padding: 10px;\n border: 1px solid var(--border-color);\n border-radius: 5px;\n}\n\n.footer {\n background-color: var(--primary-color);\n color: white;\n text-align: center;\n padding: 20px 0;\n margin-top: 60px;\n}\n\n@media (max-width: 768px) {\n .hero h2 {\n font-size: 2rem;\n }\n\n .hero p {\n font-size: 1rem;\n }\n\n .grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.getElementById('contact-form').addEventListener('submit', function(event) {\n event.preventDefault();\n alert('Thank you for your message! We will get back to you soon.');\n this.reset();\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 239, + "completion_tokens": 1989, + "total_tokens": 2228, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 239 + }, + "system_fingerprint": "fp_3a5770e1b4" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..1cacd39 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,3 @@ +# toyscroll.scroll.pub + +website generated by DeepSeek from prompt: a website that sells toys \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..dc7ff02 --- /dev/null +++ b/script.js @@ -0,0 +1,5 @@ +document.getElementById('contact-form').addEventListener('submit', function(event) { + event.preventDefault(); + alert('Thank you for your message! We will get back to you soon.'); + this.reset(); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..9011b0f --- /dev/null +++ b/style.css @@ -0,0 +1,193 @@ +:root { + --primary-color: #ff6f61; + --secondary-color: #4a90e2; + --background-color: #f9f9f9; + --text-color: #333; + --light-text-color: #666; + --border-color: #ddd; + --font-family: 'Arial', sans-serif; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: var(--font-family); + color: var(--text-color); + background-color: var(--background-color); + line-height: 1.6; +} + +.container { + width: 90%; + max-width: 1200px; + margin: 0 auto; +} + +.header { + background-color: var(--primary-color); + color: white; + padding: 20px 0; +} + +.header .logo { + font-size: 2rem; + font-weight: bold; +} + +.header .nav ul { + list-style: none; + display: flex; + gap: 20px; +} + +.header .nav ul li a { + color: white; + text-decoration: none; + font-weight: bold; +} + +.hero { + background: url('images/hero.jpg') no-repeat center center/cover; + color: white; + text-align: center; + padding: 100px 0; +} + +.hero h2 { + font-size: 3rem; + margin-bottom: 20px; +} + +.hero p { + font-size: 1.2rem; + margin-bottom: 30px; +} + +.btn { + background-color: var(--secondary-color); + color: white; + padding: 10px 20px; + border: none; + border-radius: 5px; + cursor: pointer; + text-decoration: none; + display: inline-block; +} + +.btn:hover { + background-color: darken(var(--secondary-color), 10%); +} + +.featured, .categories, .about, .contact { + padding: 60px 0; +} + +.featured h2, .categories h2, .about h2, .contact h2 { + text-align: center; + margin-bottom: 40px; + font-size: 2rem; +} + +.grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 20px; +} + +.card { + background: white; + border: 1px solid var(--border-color); + border-radius: 10px; + overflow: hidden; + text-align: center; + padding: 20px; +} + +.card img { + width: 100%; + height: auto; + border-radius: 10px; +} + +.card h3 { + margin: 15px 0 10px; + font-size: 1.5rem; +} + +.card p { + color: var(--light-text-color); + margin-bottom: 15px; +} + +.card .price { + font-size: 1.2rem; + font-weight: bold; + color: var(--primary-color); + margin-bottom: 15px; +} + +.category { + background: white; + border: 1px solid var(--border-color); + border-radius: 10px; + overflow: hidden; + text-align: center; + padding: 20px; +} + +.category img { + width: 100%; + height: auto; + border-radius: 10px; +} + +.category h3 { + margin: 15px 0 10px; + font-size: 1.5rem; +} + +.about p { + text-align: center; + max-width: 800px; + margin: 0 auto; +} + +.contact form { + max-width: 600px; + margin: 0 auto; + display: flex; + flex-direction: column; + gap: 15px; +} + +.contact form input, .contact form textarea { + padding: 10px; + border: 1px solid var(--border-color); + border-radius: 5px; +} + +.footer { + background-color: var(--primary-color); + color: white; + text-align: center; + padding: 20px 0; + margin-top: 60px; +} + +@media (max-width: 768px) { + .hero h2 { + font-size: 2rem; + } + + .hero p { + font-size: 1rem; + } + + .grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file