commit b78685f5ba34c82d0c5bf43fdf20d06f7cc70699
Author: root <root@hub.scroll.pub> Date: 2024-12-28 14:55:24 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..f51c839 --- /dev/null +++ b/body.html @@ -0,0 +1,68 @@ +<header class="header"> + <div class="container"> + <h1 class="logo">Yamaha SMT</h1> + <nav class="nav"> + <ul> + <li><a href="#about">About</a></li> + <li><a href="#products">Products</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> + </div> +</header> + +<section class="hero"> + <div class="container"> + <h2>Precision. Performance. Perfection.</h2> + <p>Discover the future of SMT equipment with Yamaha's cutting-edge technology.</p> + <a href="#products" class="btn">Explore Products</a> + </div> +</section> + +<section id="about" class="about"> + <div class="container"> + <h2>About Yamaha SMT</h2> + <p>Yamaha SMT is a global leader in surface mount technology, providing innovative solutions for electronics manufacturing. Our equipment is designed to deliver unmatched precision, performance, and reliability.</p> + </div> +</section> + +<section id="products" class="products"> + <div class="container"> + <h2>Our Products</h2> + <div class="product-grid"> + <div class="product-card"> + <h3>Yamaha YSM20</h3> + <p>High-speed modular mounter for advanced manufacturing.</p> + </div> + <div class="product-card"> + <h3>Yamaha YSP10</h3> + <p>Compact and efficient placement machine for small-scale production.</p> + </div> + <div class="product-card"> + <h3>Yamaha YRM20</h3> + <p>Revolutionary robotic mounter for flexible manufacturing.</p> + </div> + </div> + </div> +</section> + +<section id="contact" class="contact"> + <div class="container"> + <h2>Contact Us</h2> + <form id="contactForm"> + <label for="name">Name:</label> + <input type="text" id="name" name="name" required> + <label for="email">Email:</label> + <input type="email" id="email" name="email" required> + <label for="message">Message:</label> + <textarea id="message" name="message" required></textarea> + <button type="submit" class="btn">Send Message</button> + </form> + </div> +</section> + +<footer class="footer"> + <div class="container"> + <p>Yamaha SMT - Leading the way in surface mount technology.</p> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..8b81470 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://yamaha-smt.scroll.pub +metaTags +editButton /edit.html +title Yamaha SMT Equipment - Precision. Performance. Perfection. +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..67add16 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "492cd1c5-e5e1-4905-ac43-1fec314ab782", + "object": "chat.completion", + "created": 1735397700, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nyamaha-smt.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://yamaha-smt.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Yamaha SMT Equipment - Precision. Performance. Perfection.\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"container\">\n <h1 class=\"logo\">Yamaha SMT</h1>\n <nav class=\"nav\">\n <ul>\n <li><a href=\"#about\">About</a></li>\n <li><a href=\"#products\">Products</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </nav>\n </div>\n</header>\n\n<section class=\"hero\">\n <div class=\"container\">\n <h2>Precision. Performance. Perfection.</h2>\n <p>Discover the future of SMT equipment with Yamaha's cutting-edge technology.</p>\n <a href=\"#products\" class=\"btn\">Explore Products</a>\n </div>\n</section>\n\n<section id=\"about\" class=\"about\">\n <div class=\"container\">\n <h2>About Yamaha SMT</h2>\n <p>Yamaha SMT is a global leader in surface mount technology, providing innovative solutions for electronics manufacturing. Our equipment is designed to deliver unmatched precision, performance, and reliability.</p>\n </div>\n</section>\n\n<section id=\"products\" class=\"products\">\n <div class=\"container\">\n <h2>Our Products</h2>\n <div class=\"product-grid\">\n <div class=\"product-card\">\n <h3>Yamaha YSM20</h3>\n <p>High-speed modular mounter for advanced manufacturing.</p>\n </div>\n <div class=\"product-card\">\n <h3>Yamaha YSP10</h3>\n <p>Compact and efficient placement machine for small-scale production.</p>\n </div>\n <div class=\"product-card\">\n <h3>Yamaha YRM20</h3>\n <p>Revolutionary robotic mounter for flexible manufacturing.</p>\n </div>\n </div>\n </div>\n</section>\n\n<section id=\"contact\" class=\"contact\">\n <div class=\"container\">\n <h2>Contact Us</h2>\n <form id=\"contactForm\">\n <label for=\"name\">Name:</label>\n <input type=\"text\" id=\"name\" name=\"name\" required>\n <label for=\"email\">Email:</label>\n <input type=\"email\" id=\"email\" name=\"email\" required>\n <label for=\"message\">Message:</label>\n <textarea id=\"message\" name=\"message\" required></textarea>\n <button type=\"submit\" class=\"btn\">Send Message</button>\n </form>\n </div>\n</section>\n\n<footer class=\"footer\">\n <div class=\"container\">\n <p>Yamaha SMT - Leading the way in surface mount technology.</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #003366;\n --secondary-color: #ff6600;\n --background-color: #f4f4f4;\n --text-color: #333;\n --white: #ffffff;\n}\n\nbody {\n font-family: 'Arial', sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 0;\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: var(--white);\n padding: 20px 0;\n}\n\n.header .logo {\n font-size: 24px;\n font-weight: bold;\n}\n\n.nav ul {\n list-style: none;\n padding: 0;\n margin: 0;\n display: flex;\n justify-content: flex-end;\n}\n\n.nav ul li {\n margin-left: 20px;\n}\n\n.nav ul li a {\n color: var(--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 color: var(--white);\n padding: 100px 0;\n text-align: center;\n}\n\n.hero h2 {\n font-size: 48px;\n margin-bottom: 20px;\n}\n\n.hero p {\n font-size: 24px;\n margin-bottom: 40px;\n}\n\n.btn {\n background-color: var(--secondary-color);\n color: var(--white);\n padding: 10px 20px;\n text-decoration: none;\n border-radius: 5px;\n font-weight: bold;\n}\n\n.about, .products, .contact {\n padding: 60px 0;\n}\n\n.about h2, .products h2, .contact h2 {\n text-align: center;\n margin-bottom: 40px;\n}\n\n.product-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 20px;\n}\n\n.product-card {\n background-color: var(--white);\n padding: 20px;\n border-radius: 10px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n text-align: center;\n}\n\n.product-card h3 {\n margin-bottom: 10px;\n}\n\n.contact form {\n max-width: 600px;\n margin: 0 auto;\n}\n\n.contact label {\n display: block;\n margin-bottom: 5px;\n}\n\n.contact input, .contact textarea {\n width: 100%;\n padding: 10px;\n margin-bottom: 20px;\n border: 1px solid #ccc;\n border-radius: 5px;\n}\n\n.contact button {\n width: 100%;\n padding: 10px;\n background-color: var(--secondary-color);\n color: var(--white);\n border: none;\n border-radius: 5px;\n font-weight: bold;\n}\n\n.footer {\n background-color: var(--primary-color);\n color: var(--white);\n text-align: center;\n padding: 20px 0;\n}\n\n@media (max-width: 768px) {\n .nav ul {\n flex-direction: column;\n align-items: center;\n }\n\n .nav ul li {\n margin: 10px 0;\n }\n\n .hero h2 {\n font-size: 36px;\n }\n\n .hero p {\n font-size: 18px;\n }\n}\n---script.js---\ndocument.getElementById('contactForm').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": 245, + "completion_tokens": 1527, + "total_tokens": 1772, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 245 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..c0c948a --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# yamaha-smt1.scroll.pub +Website generated by DeepSeek from prompt: 帮我创建一个销售雅马哈贴片机设备的网站 \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..d4ea588 --- /dev/null +++ b/script.js @@ -0,0 +1,5 @@ +document.getElementById('contactForm').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..e04eb0c --- /dev/null +++ b/style.css @@ -0,0 +1,158 @@ +:root { + --primary-color: #003366; + --secondary-color: #ff6600; + --background-color: #f4f4f4; + --text-color: #333; + --white: #ffffff; +} + +body { + font-family: 'Arial', sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); + margin: 0; + padding: 0; +} + +.container { + width: 90%; + max-width: 1200px; + margin: 0 auto; +} + +.header { + background-color: var(--primary-color); + color: var(--white); + padding: 20px 0; +} + +.header .logo { + font-size: 24px; + font-weight: bold; +} + +.nav ul { + list-style: none; + padding: 0; + margin: 0; + display: flex; + justify-content: flex-end; +} + +.nav ul li { + margin-left: 20px; +} + +.nav ul li a { + color: var(--white); + text-decoration: none; + font-weight: bold; +} + +.hero { + background: url('hero-bg.jpg') no-repeat center center/cover; + color: var(--white); + padding: 100px 0; + text-align: center; +} + +.hero h2 { + font-size: 48px; + margin-bottom: 20px; +} + +.hero p { + font-size: 24px; + margin-bottom: 40px; +} + +.btn { + background-color: var(--secondary-color); + color: var(--white); + padding: 10px 20px; + text-decoration: none; + border-radius: 5px; + font-weight: bold; +} + +.about, .products, .contact { + padding: 60px 0; +} + +.about h2, .products h2, .contact h2 { + text-align: center; + margin-bottom: 40px; +} + +.product-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 20px; +} + +.product-card { + background-color: var(--white); + padding: 20px; + border-radius: 10px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + text-align: center; +} + +.product-card h3 { + margin-bottom: 10px; +} + +.contact form { + max-width: 600px; + margin: 0 auto; +} + +.contact label { + display: block; + margin-bottom: 5px; +} + +.contact input, .contact textarea { + width: 100%; + padding: 10px; + margin-bottom: 20px; + border: 1px solid #ccc; + border-radius: 5px; +} + +.contact button { + width: 100%; + padding: 10px; + background-color: var(--secondary-color); + color: var(--white); + border: none; + border-radius: 5px; + font-weight: bold; +} + +.footer { + background-color: var(--primary-color); + color: var(--white); + text-align: center; + padding: 20px 0; +} + +@media (max-width: 768px) { + .nav ul { + flex-direction: column; + align-items: center; + } + + .nav ul li { + margin: 10px 0; + } + + .hero h2 { + font-size: 36px; + } + + .hero p { + font-size: 18px; + } +} \ No newline at end of file