commit 6c1fb87595d1742c19313e221db0365dc8aa3be3
Author: root <root@hub.scroll.pub> Date: 2025-01-12 19:21:58 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..da0d47f --- /dev/null +++ b/body.html @@ -0,0 +1,62 @@ +<header class="header"> + <div class="logo">Lotus d'Or</div> + <nav class="nav"> + <a href="#home" class="nav-link">Home</a> + <a href="#shop" class="nav-link">Shop</a> + <a href="#about" class="nav-link">About</a> + <a href="#contact" class="nav-link">Contact</a> + </nav> +</header> + +<main> + <section id="home" class="hero"> + <div class="hero-content"> + <h1>Welcome to Lotus d'Or</h1> + <p>Discover the magic of premium toys for every age.</p> + <a href="#shop" class="cta-button">Shop Now</a> + </div> + </section> + + <section id="shop" class="shop"> + <h2>Our Collection</h2> + <div class="product-grid"> + <div class="product-card"> + <img src="toy1.jpg" alt="Wooden Train Set" class="product-image"> + <h3>Wooden Train Set</h3> + <p>$49.99</p> + <button class="add-to-cart">Add to Cart</button> + </div> + <div class="product-card"> + <img src="toy2.jpg" alt="Plush Teddy Bear" class="product-image"> + <h3>Plush Teddy Bear</h3> + <p>$29.99</p> + <button class="add-to-cart">Add to Cart</button> + </div> + <div class="product-card"> + <img src="toy3.jpg" alt="Educational Puzzle" class="product-image"> + <h3>Educational Puzzle</h3> + <p>$19.99</p> + <button class="add-to-cart">Add to Cart</button> + </div> + </div> + </section> + + <section id="about" class="about"> + <h2>About Us</h2> + <p>Lotus d'Or is dedicated to bringing joy and creativity to children through our carefully curated selection of premium toys. Our mission is to inspire imagination and learning in every child.</p> + </section> + + <section id="contact" class="contact"> + <h2>Contact Us</h2> + <form class="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">Send Message</button> + </form> + </section> +</main> + +<footer class="footer"> + <p>Lotus d'Or - Where Imagination Comes to Life</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..575ddc6 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://lotusdor.scroll.pub +metaTags +editButton /edit.html +title Lotus d'Or - Premium Toy Shop +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..a4a9cfa --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "90ac9c68-c0b6-4ecd-b6ba-756c09e62909", + "object": "chat.completion", + "created": 1736709683, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nlotusdor.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://lotusdor.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Lotus d'Or - Premium Toy Shop\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"logo\">Lotus d'Or</div>\n <nav class=\"nav\">\n <a href=\"#home\" class=\"nav-link\">Home</a>\n <a href=\"#shop\" class=\"nav-link\">Shop</a>\n <a href=\"#about\" class=\"nav-link\">About</a>\n <a href=\"#contact\" class=\"nav-link\">Contact</a>\n </nav>\n</header>\n\n<main>\n <section id=\"home\" class=\"hero\">\n <div class=\"hero-content\">\n <h1>Welcome to Lotus d'Or</h1>\n <p>Discover the magic of premium toys for every age.</p>\n <a href=\"#shop\" class=\"cta-button\">Shop Now</a>\n </div>\n </section>\n\n <section id=\"shop\" class=\"shop\">\n <h2>Our Collection</h2>\n <div class=\"product-grid\">\n <div class=\"product-card\">\n <img src=\"toy1.jpg\" alt=\"Wooden Train Set\" class=\"product-image\">\n <h3>Wooden Train Set</h3>\n <p>$49.99</p>\n <button class=\"add-to-cart\">Add to Cart</button>\n </div>\n <div class=\"product-card\">\n <img src=\"toy2.jpg\" alt=\"Plush Teddy Bear\" class=\"product-image\">\n <h3>Plush Teddy Bear</h3>\n <p>$29.99</p>\n <button class=\"add-to-cart\">Add to Cart</button>\n </div>\n <div class=\"product-card\">\n <img src=\"toy3.jpg\" alt=\"Educational Puzzle\" class=\"product-image\">\n <h3>Educational Puzzle</h3>\n <p>$19.99</p>\n <button class=\"add-to-cart\">Add to Cart</button>\n </div>\n </div>\n </section>\n\n <section id=\"about\" class=\"about\">\n <h2>About Us</h2>\n <p>Lotus d'Or is dedicated to bringing joy and creativity to children through our carefully curated selection of premium toys. Our mission is to inspire imagination and learning in every child.</p>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Contact Us</h2>\n <form class=\"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\">Send Message</button>\n </form>\n </section>\n</main>\n\n<footer class=\"footer\">\n <p>Lotus d'Or - Where Imagination Comes to Life</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #ff6f61;\n --secondary-color: #4a4a4a;\n --background-color: #f9f9f9;\n --text-color: #333;\n --font-family: 'Arial', sans-serif;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 0;\n}\n\n.header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 2rem;\n background-color: var(--primary-color);\n color: white;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n}\n\n.nav {\n display: flex;\n gap: 1rem;\n}\n\n.nav-link {\n color: white;\n text-decoration: none;\n font-weight: bold;\n}\n\n.hero {\n background: url('hero-bg.jpg') no-repeat center center/cover;\n height: 100vh;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n color: white;\n}\n\n.hero-content {\n background: rgba(0, 0, 0, 0.5);\n padding: 2rem;\n border-radius: 10px;\n}\n\n.cta-button {\n background-color: var(--primary-color);\n color: white;\n padding: 0.75rem 1.5rem;\n border: none;\n border-radius: 5px;\n text-decoration: none;\n font-weight: bold;\n}\n\n.shop {\n padding: 2rem;\n text-align: center;\n}\n\n.product-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1rem;\n}\n\n.product-card {\n background: white;\n padding: 1rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.product-image {\n width: 100%;\n height: auto;\n border-radius: 10px;\n}\n\n.add-to-cart {\n background-color: var(--primary-color);\n color: white;\n padding: 0.5rem 1rem;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n}\n\n.about, .contact {\n padding: 2rem;\n text-align: center;\n}\n\n.contact-form {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n max-width: 400px;\n margin: 0 auto;\n}\n\n.contact-form input, .contact-form textarea {\n padding: 0.75rem;\n border: 1px solid #ccc;\n border-radius: 5px;\n}\n\n.contact-form button {\n background-color: var(--primary-color);\n color: white;\n padding: 0.75rem;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n}\n\n.footer {\n text-align: center;\n padding: 1rem;\n background-color: var(--secondary-color);\n color: white;\n}\n\n@media (max-width: 768px) {\n .nav {\n flex-direction: column;\n align-items: center;\n }\n\n .hero-content {\n padding: 1rem;\n }\n\n .product-grid {\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const addToCartButtons = document.querySelectorAll('.add-to-cart');\n\n addToCartButtons.forEach(button => {\n button.addEventListener('click', function() {\n alert('Added to cart!');\n });\n });\n\n const contactForm = document.querySelector('.contact-form');\n if (contactForm) {\n contactForm.addEventListener('submit', function(event) {\n event.preventDefault();\n alert('Thank you for your message!');\n contactForm.reset();\n });\n }\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 250, + "completion_tokens": 1577, + "total_tokens": 1827, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 250 + }, + "system_fingerprint": "fp_3a5770e1b4" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..70689cd --- /dev/null +++ b/readme.scroll @@ -0,0 +1,3 @@ +# lotusdor.scroll.pub + +website generated by DeepSeek from prompt: can you design a flow process for a ecommerce toy shop called lotus d'or \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..6573015 --- /dev/null +++ b/script.js @@ -0,0 +1,18 @@ +document.addEventListener('DOMContentLoaded', function() { + const addToCartButtons = document.querySelectorAll('.add-to-cart'); + + addToCartButtons.forEach(button => { + button.addEventListener('click', function() { + alert('Added to cart!'); + }); + }); + + const contactForm = document.querySelector('.contact-form'); + if (contactForm) { + contactForm.addEventListener('submit', function(event) { + event.preventDefault(); + alert('Thank you for your message!'); + contactForm.reset(); + }); + } +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..19fd8c2 --- /dev/null +++ b/style.css @@ -0,0 +1,149 @@ +:root { + --primary-color: #ff6f61; + --secondary-color: #4a4a4a; + --background-color: #f9f9f9; + --text-color: #333; + --font-family: 'Arial', sans-serif; +} + +body { + font-family: var(--font-family); + color: var(--text-color); + background-color: var(--background-color); + margin: 0; + padding: 0; +} + +.header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 2rem; + background-color: var(--primary-color); + color: white; +} + +.logo { + font-size: 1.5rem; + font-weight: bold; +} + +.nav { + display: flex; + gap: 1rem; +} + +.nav-link { + color: white; + text-decoration: none; + font-weight: bold; +} + +.hero { + background: url('hero-bg.jpg') no-repeat center center/cover; + height: 100vh; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + color: white; +} + +.hero-content { + background: rgba(0, 0, 0, 0.5); + padding: 2rem; + border-radius: 10px; +} + +.cta-button { + background-color: var(--primary-color); + color: white; + padding: 0.75rem 1.5rem; + border: none; + border-radius: 5px; + text-decoration: none; + font-weight: bold; +} + +.shop { + padding: 2rem; + text-align: center; +} + +.product-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 1rem; +} + +.product-card { + background: white; + padding: 1rem; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +.product-image { + width: 100%; + height: auto; + border-radius: 10px; +} + +.add-to-cart { + background-color: var(--primary-color); + color: white; + padding: 0.5rem 1rem; + border: none; + border-radius: 5px; + cursor: pointer; +} + +.about, .contact { + padding: 2rem; + text-align: center; +} + +.contact-form { + display: flex; + flex-direction: column; + gap: 1rem; + max-width: 400px; + margin: 0 auto; +} + +.contact-form input, .contact-form textarea { + padding: 0.75rem; + border: 1px solid #ccc; + border-radius: 5px; +} + +.contact-form button { + background-color: var(--primary-color); + color: white; + padding: 0.75rem; + border: none; + border-radius: 5px; + cursor: pointer; +} + +.footer { + text-align: center; + padding: 1rem; + background-color: var(--secondary-color); + color: white; +} + +@media (max-width: 768px) { + .nav { + flex-direction: column; + align-items: center; + } + + .hero-content { + padding: 1rem; + } + + .product-grid { + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + } +} \ No newline at end of file