commit f3879368bbaf105c98f4765e260ff7c9849475a4
Author: root <root@hub.scroll.pub> Date: 2025-01-03 09:46:03 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..0e1d788 --- /dev/null +++ b/body.html @@ -0,0 +1,80 @@ +<header class="header"> + <div class="container"> + <h1 class="logo">Precision Instruments</h1> + <nav class="nav"> + <ul> + <li><a href="#about">About</a></li> + <li><a href="#products">Products</a></li> + <li><a href="#services">Services</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> + </div> +</header> + +<main> + <section id="hero" class="hero"> + <div class="container"> + <h2>Precision Tools for a Precise World</h2> + <p>High-quality instruments for industrial, scientific, and medical applications.</p> + <a href="#products" class="btn">Explore Products</a> + </div> + </section> + + <section id="about" class="about"> + <div class="container"> + <h2>About Us</h2> + <p>With over 20 years of experience, Precision Instruments is a trusted name in the industry. We specialize in providing cutting-edge tools and solutions for professionals worldwide.</p> + </div> + </section> + + <section id="products" class="products"> + <div class="container"> + <h2>Our Products</h2> + <div class="product-grid"> + <div class="product-card"> + <h3>Industrial Tools</h3> + <p>Robust instruments for manufacturing and engineering.</p> + </div> + <div class="product-card"> + <h3>Scientific Equipment</h3> + <p>Precision tools for laboratories and research facilities.</p> + </div> + <div class="product-card"> + <h3>Medical Devices</h3> + <p>Reliable instruments for healthcare professionals.</p> + </div> + </div> + </div> + </section> + + <section id="services" class="services"> + <div class="container"> + <h2>Our Services</h2> + <ul> + <li>Custom Instrument Design</li> + <li>Calibration Services</li> + <li>Technical Support</li> + <li>Training Programs</li> + </ul> + </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">Send Message</button> + </form> + </div> + </section> +</main> + +<footer class="footer"> + <div class="container"> + <p>Precision Instruments | Delivering Excellence Since 2003</p> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..291195d --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://instruments.scroll.pub +metaTags +editButton /edit.html +title Precision Instruments | Quality Tools for Every Industry +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..0652840 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "9cfc3cba-ff76-4382-90c5-4970c2b32729", + "object": "chat.completion", + "created": 1735897525, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\ninstruments.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://instruments.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Precision Instruments | Quality Tools for Every Industry\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"container\">\n <h1 class=\"logo\">Precision Instruments</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=\"#services\">Services</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>Precision Tools for a Precise World</h2>\n <p>High-quality instruments for industrial, scientific, and medical applications.</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 Us</h2>\n <p>With over 20 years of experience, Precision Instruments is a trusted name in the industry. We specialize in providing cutting-edge tools and solutions for professionals worldwide.</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>Industrial Tools</h3>\n <p>Robust instruments for manufacturing and engineering.</p>\n </div>\n <div class=\"product-card\">\n <h3>Scientific Equipment</h3>\n <p>Precision tools for laboratories and research facilities.</p>\n </div>\n <div class=\"product-card\">\n <h3>Medical Devices</h3>\n <p>Reliable instruments for healthcare professionals.</p>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"services\" class=\"services\">\n <div class=\"container\">\n <h2>Our Services</h2>\n <ul>\n <li>Custom Instrument Design</li>\n <li>Calibration Services</li>\n <li>Technical Support</li>\n <li>Training Programs</li>\n </ul>\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\">Send Message</button>\n </form>\n </div>\n </section>\n</main>\n\n<footer class=\"footer\">\n <div class=\"container\">\n <p>Precision Instruments | Delivering Excellence Since 2003</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --secondary-color: #3498db;\n --accent-color: #e74c3c;\n --text-color: #333;\n --light-bg: #f5f5f5;\n --white: #fff;\n --transition: all 0.3s ease;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n}\n\n.container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 20px;\n}\n\n.header {\n background: var(--primary-color);\n color: var(--white);\n padding: 20px 0;\n}\n\n.logo {\n font-size: 2rem;\n font-weight: bold;\n}\n\n.nav ul {\n list-style: none;\n display: flex;\n gap: 20px;\n}\n\n.nav a {\n color: var(--white);\n text-decoration: none;\n transition: var(--transition);\n}\n\n.nav a:hover {\n color: var(--secondary-color);\n}\n\n.hero {\n background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-bg.jpg');\n background-size: cover;\n background-position: center;\n color: var(--white);\n padding: 100px 0;\n text-align: center;\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: 40px;\n}\n\n.btn {\n background: var(--secondary-color);\n color: var(--white);\n padding: 10px 30px;\n text-decoration: none;\n border-radius: 5px;\n transition: var(--transition);\n}\n\n.btn:hover {\n background: var(--accent-color);\n}\n\n.about, .products, .services, .contact {\n padding: 80px 0;\n}\n\n.about h2, .products h2, .services h2, .contact h2 {\n text-align: center;\n margin-bottom: 40px;\n font-size: 2.5rem;\n}\n\n.product-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 30px;\n}\n\n.product-card {\n background: var(--light-bg);\n padding: 30px;\n border-radius: 10px;\n text-align: center;\n transition: var(--transition);\n}\n\n.product-card:hover {\n transform: translateY(-10px);\n box-shadow: 0 10px 20px rgba(0,0,0,0.1);\n}\n\n.services ul {\n list-style: none;\n max-width: 600px;\n margin: 0 auto;\n}\n\n.services li {\n background: var(--light-bg);\n margin: 10px 0;\n padding: 15px;\n border-radius: 5px;\n}\n\n.contact form {\n max-width: 600px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n\n.contact input, .contact textarea {\n padding: 10px;\n border: 1px solid #ddd;\n border-radius: 5px;\n}\n\n.contact button {\n background: var(--secondary-color);\n color: var(--white);\n padding: 15px;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.contact button:hover {\n background: var(--accent-color);\n}\n\n.footer {\n background: 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 .hero h2 {\n font-size: 2rem;\n }\n\n .hero p {\n font-size: 1rem;\n }\n\n .product-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.getElementById('contact-form').addEventListener('submit', function(e) {\n e.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": 237, + "completion_tokens": 1714, + "total_tokens": 1951, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 237 + }, + "system_fingerprint": "fp_3a5770e1b4" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..a0c1057 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# instruments.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..6f2b4f9 --- /dev/null +++ b/script.js @@ -0,0 +1,5 @@ +document.getElementById('contact-form').addEventListener('submit', function(e) { + e.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..40e2f8b --- /dev/null +++ b/style.css @@ -0,0 +1,182 @@ +:root { + --primary-color: #2c3e50; + --secondary-color: #3498db; + --accent-color: #e74c3c; + --text-color: #333; + --light-bg: #f5f5f5; + --white: #fff; + --transition: all 0.3s ease; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', sans-serif; + line-height: 1.6; + color: var(--text-color); +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 0 20px; +} + +.header { + background: var(--primary-color); + color: var(--white); + padding: 20px 0; +} + +.logo { + font-size: 2rem; + font-weight: bold; +} + +.nav ul { + list-style: none; + display: flex; + gap: 20px; +} + +.nav a { + color: var(--white); + text-decoration: none; + transition: var(--transition); +} + +.nav a:hover { + color: var(--secondary-color); +} + +.hero { + background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-bg.jpg'); + background-size: cover; + background-position: center; + color: var(--white); + padding: 100px 0; + text-align: center; +} + +.hero h2 { + font-size: 3rem; + margin-bottom: 20px; +} + +.hero p { + font-size: 1.2rem; + margin-bottom: 40px; +} + +.btn { + background: var(--secondary-color); + color: var(--white); + padding: 10px 30px; + text-decoration: none; + border-radius: 5px; + transition: var(--transition); +} + +.btn:hover { + background: var(--accent-color); +} + +.about, .products, .services, .contact { + padding: 80px 0; +} + +.about h2, .products h2, .services h2, .contact h2 { + text-align: center; + margin-bottom: 40px; + font-size: 2.5rem; +} + +.product-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 30px; +} + +.product-card { + background: var(--light-bg); + padding: 30px; + border-radius: 10px; + text-align: center; + transition: var(--transition); +} + +.product-card:hover { + transform: translateY(-10px); + box-shadow: 0 10px 20px rgba(0,0,0,0.1); +} + +.services ul { + list-style: none; + max-width: 600px; + margin: 0 auto; +} + +.services li { + background: var(--light-bg); + margin: 10px 0; + padding: 15px; + border-radius: 5px; +} + +.contact form { + max-width: 600px; + margin: 0 auto; + display: flex; + flex-direction: column; + gap: 20px; +} + +.contact input, .contact textarea { + padding: 10px; + border: 1px solid #ddd; + border-radius: 5px; +} + +.contact button { + background: var(--secondary-color); + color: var(--white); + padding: 15px; + border: none; + border-radius: 5px; + cursor: pointer; + transition: var(--transition); +} + +.contact button:hover { + background: var(--accent-color); +} + +.footer { + background: var(--primary-color); + color: var(--white); + text-align: center; + padding: 20px 0; +} + +@media (max-width: 768px) { + .nav ul { + flex-direction: column; + align-items: center; + } + + .hero h2 { + font-size: 2rem; + } + + .hero p { + font-size: 1rem; + } + + .product-grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file