commit 55b033a216ddfc8dbe1e9026d95e9f8983dfd434
Author: root <root@hub.scroll.pub> Date: 2024-12-30 05:54:54 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..c6ccf75 --- /dev/null +++ b/body.html @@ -0,0 +1,95 @@ +<header> + <nav> + <div class="logo">MetalX</div> + <button class="mobile-menu" aria-label="Toggle Menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#services">Services</a></li> + <li><a href="#process">Process</a></li> + <li><a href="#about">About</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h1>Advanced Metal Extraction Solutions</h1> + <p>Industry-leading metal recovery and extraction services</p> + <a href="#contact" class="cta-button">Get Started</a> + </div> + </section> + + <section id="services" class="services"> + <h2>Our Services</h2> + <div class="service-grid"> + <div class="service-card"> + <div class="icon">🔧</div> + <h3>Precious Metals</h3> + <p>Gold, silver, and platinum group metals recovery</p> + </div> + <div class="service-card"> + <div class="icon">⚡</div> + <h3>Industrial Metals</h3> + <p>Copper, aluminum, and rare earth elements extraction</p> + </div> + <div class="service-card"> + <div class="icon">🔬</div> + <h3>Analysis</h3> + <p>Advanced metal content analysis and reporting</p> + </div> + </div> + </section> + + <section id="process" class="process"> + <h2>Our Process</h2> + <div class="process-timeline"> + <div class="step"> + <div class="step-number">1</div> + <h3>Assessment</h3> + <p>Material evaluation and content analysis</p> + </div> + <div class="step"> + <div class="step-number">2</div> + <h3>Extraction</h3> + <p>Advanced chemical processing</p> + </div> + <div class="step"> + <div class="step-number">3</div> + <h3>Recovery</h3> + <p>Metal separation and purification</p> + </div> + <div class="step"> + <div class="step-number">4</div> + <h3>Delivery</h3> + <p>Final product preparation</p> + </div> + </div> + </section> + + <section id="contact" class="contact"> + <h2>Contact Us</h2> + <form id="contactForm"> + <input type="text" placeholder="Name" required> + <input type="email" placeholder="Email" required> + <textarea placeholder="Message" required></textarea> + <button type="submit">Send Message</button> + </form> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>MetalX</h4> + <p>Professional metal extraction and recovery services</p> + </div> + <div class="footer-section"> + <h4>Contact</h4> + <p>info@metalx.scroll.pub</p> + <p>+1 (555) 123-4567</p> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..fa9d641 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://metalx.scroll.pub +metaTags +editButton /edit.html +title Metal Extraction Solutions | Industrial Metal Recovery Experts +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..a673b8d --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01HHA3skeRqEho9tvnf3QZQt", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll help create a website for a Metal Extraction Agent service. For the domain, I suggest:\n\n---domain---\nmetalx.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://metalx.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Metal Extraction Solutions | Industrial Metal Recovery Experts\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">MetalX</div>\n <button class=\"mobile-menu\" aria-label=\"Toggle Menu\">\n <span></span><span></span><span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#services\">Services</a></li>\n <li><a href=\"#process\">Process</a></li>\n <li><a href=\"#about\">About</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>Advanced Metal Extraction Solutions</h1>\n <p>Industry-leading metal recovery and extraction services</p>\n <a href=\"#contact\" class=\"cta-button\">Get Started</a>\n </div>\n </section>\n\n <section id=\"services\" class=\"services\">\n <h2>Our Services</h2>\n <div class=\"service-grid\">\n <div class=\"service-card\">\n <div class=\"icon\">🔧</div>\n <h3>Precious Metals</h3>\n <p>Gold, silver, and platinum group metals recovery</p>\n </div>\n <div class=\"service-card\">\n <div class=\"icon\">⚡</div>\n <h3>Industrial Metals</h3>\n <p>Copper, aluminum, and rare earth elements extraction</p>\n </div>\n <div class=\"service-card\">\n <div class=\"icon\">🔬</div>\n <h3>Analysis</h3>\n <p>Advanced metal content analysis and reporting</p>\n </div>\n </div>\n </section>\n\n <section id=\"process\" class=\"process\">\n <h2>Our Process</h2>\n <div class=\"process-timeline\">\n <div class=\"step\">\n <div class=\"step-number\">1</div>\n <h3>Assessment</h3>\n <p>Material evaluation and content analysis</p>\n </div>\n <div class=\"step\">\n <div class=\"step-number\">2</div>\n <h3>Extraction</h3>\n <p>Advanced chemical processing</p>\n </div>\n <div class=\"step\">\n <div class=\"step-number\">3</div>\n <h3>Recovery</h3>\n <p>Metal separation and purification</p>\n </div>\n <div class=\"step\">\n <div class=\"step-number\">4</div>\n <h3>Delivery</h3>\n <p>Final product preparation</p>\n </div>\n </div>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Contact Us</h2>\n <form id=\"contactForm\">\n <input type=\"text\" placeholder=\"Name\" required>\n <input type=\"email\" placeholder=\"Email\" required>\n <textarea placeholder=\"Message\" required></textarea>\n <button type=\"submit\">Send Message</button>\n </form>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>MetalX</h4>\n <p>Professional metal extraction and recovery services</p>\n </div>\n <div class=\"footer-section\">\n <h4>Contact</h4>\n <p>info@metalx.scroll.pub</p>\n <p>+1 (555) 123-4567</p>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary: #2c3e50;\n --secondary: #3498db;\n --accent: #e74c3c;\n --light: #ecf0f1;\n --dark: #2c3e50;\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 line-height: 1.6;\n color: var(--dark);\n}\n\n/* Header & Navigation */\nheader {\n background: var(--primary);\n position: fixed;\n width: 100%;\n z-index: 1000;\n box-shadow: 0 2px 10px 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 color: var(--light);\n font-size: 1.5rem;\n font-weight: bold;\n text-transform: uppercase;\n}\n\n.nav-links {\n display: flex;\n list-style: none;\n gap: 2rem;\n}\n\n.nav-links a {\n color: var(--light);\n text-decoration: none;\n transition: color 0.3s;\n}\n\n.nav-links a:hover {\n color: var(--secondary);\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n color: var(--light);\n padding: 0 1rem;\n}\n\n.hero-content h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease-out;\n}\n\n.hero-content p {\n font-size: 1.2rem;\n margin-bottom: 2rem;\n animation: fadeInUp 1s ease-out 0.2s backwards;\n}\n\n.cta-button {\n display: inline-block;\n padding: 1rem 2rem;\n background: var(--accent);\n color: var(--light);\n text-decoration: none;\n border-radius: 5px;\n transition: transform 0.3s, box-shadow 0.3s;\n animation: fadeInUp 1s ease-out 0.4s backwards;\n}\n\n.cta-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 15px rgba(0,0,0,0.2);\n}\n\n/* Services Section */\n.services {\n padding: 5rem 1rem;\n background: var(--light);\n}\n\n.service-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 2rem auto;\n}\n\n.service-card {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n text-align: center;\n transition: transform 0.3s;\n box-shadow: 0 4px 6px rgba(0,0,0,0.1);\n}\n\n.service-card:hover {\n transform: translateY(-5px);\n}\n\n.icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n/* Process Timeline */\n.process {\n padding: 5rem 1rem;\n background: white;\n}\n\n.process-timeline {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 2rem auto;\n}\n\n.step {\n text-align: center;\n position: relative;\n}\n\n.step-number {\n width: 40px;\n height: 40px;\n background: var(--secondary);\n color: white;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 auto 1rem;\n}\n\n/* Contact Form */\n.contact {\n padding: 5rem 1rem;\n background: var(--light);\n}\n\nform {\n max-width: 600px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\ninput, textarea {\n padding: 0.8rem;\n border: 1px solid #ddd;\n border-radius: 5px;\n font-size: 1rem;\n}\n\ntextarea {\n height: 150px;\n}\n\nbutton[type=\"submit\"] {\n padding: 1rem;\n background: var(--secondary);\n color: white;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: background 0.3s;\n}\n\nbutton[type=\"submit\"]:hover {\n background: var(--primary);\n}\n\n/* Footer */\nfooter {\n background: var(--primary);\n color: var(--light);\n padding: 3rem 1rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 2rem;\n}\n\n/* Animations */\n@keyframes fadeInUp {\n from {\n opacity: 0;\n transform: translateY(20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n/* Mobile Responsiveness */\n.mobile-menu {\n display: none;\n flex-direction: column;\n gap: 4px;\n background: none;\n border: none;\n cursor: pointer;\n padding: 4px;\n}\n\n.mobile-menu span {\n width: 25px;\n height: 3px;\n background: var(--light);\n transition: 0.3s;\n}\n\n@media (max-width: 768px) {\n .mobile-menu {\n display: flex;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: var(--primary);\n flex-direction: column;\n padding: 1rem;\n text-align: center;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero-content h1 {\n font-size: 2rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile Menu Toggle\n const mobileMenu = document.querySelector('.mobile-menu');\n const navLinks = document.querySelector('.nav-links');\n\n mobileMenu.addEventListener('click', () => {\n navLinks.classList.toggle('active');\n mobileMenu.classList.toggle('active');\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 const headerOffset = 70;\n const elementPosition = target.offsetTop;\n const offsetPosition = elementPosition - headerOffset;\n\n window.scrollTo({\n top: offsetPosition,\n behavior: 'smooth'\n });\n\n // Close mobile menu if open\n if (navLinks.classList.contains('active')) {\n navLinks.classList.remove('active');\n mobileMenu.classList.remove('active');\n }\n });\n });\n\n // Form Submission Handler\n const contactForm = document.getElementById('contactForm');\n if (contactForm) {\n contactForm.addEventListener('submit', (e) => {\n e.preventDefault();\n // Add form submission logic here\n alert('Thank you for your message. We will contact you soon!');\n contactForm.reset();\n });\n }\n\n // Intersection Observer for Animations\n const observerOptions = {\n threshold: 0.1,\n rootMargin: '0px 0px -50px 0px'\n };\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('animate');\n observer.unobserve(entry.target);\n }\n });\n }, observerOptions);\n\n // Observe all sections\n document.querySelectorAll('section').forEach(section => {\n observer.observe(section);\n });\n});\n\n---end---\n\nThis implementation features:\n- Clean, semantic HTML5 structure\n- Modern, responsive design with CSS Grid and Flexbox\n- Smooth animations and transitions\n- Mobile-first approach with hamburger menu\n- Intersection Observer for scroll animations\n- Contact form with basic validation\n- Smooth scroll behavior\n- Accessible navigation\n- Professional color scheme\n- Beautiful gradient backgrounds\n- Card-based service display\n- Timeline-style process section\n- Optimized performance with minimal JavaScript\n- SEO-friendly structure\n\nThe website is fully responsive and works across all modern browsers. The design is clean and professional while maintaining visual appeal through subtle animations and modern UI elements." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 276, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3489 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..f5456e6 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# metalx.scroll.pub +Website generated by Claude from prompt: METAL Extraction AGENT \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..4cf7b91 --- /dev/null +++ b/script.js @@ -0,0 +1,63 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile Menu Toggle + const mobileMenu = document.querySelector('.mobile-menu'); + const navLinks = document.querySelector('.nav-links'); + + mobileMenu.addEventListener('click', () => { + navLinks.classList.toggle('active'); + mobileMenu.classList.toggle('active'); + }); + + // 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')); + const headerOffset = 70; + const elementPosition = target.offsetTop; + const offsetPosition = elementPosition - headerOffset; + + window.scrollTo({ + top: offsetPosition, + behavior: 'smooth' + }); + + // Close mobile menu if open + if (navLinks.classList.contains('active')) { + navLinks.classList.remove('active'); + mobileMenu.classList.remove('active'); + } + }); + }); + + // Form Submission Handler + const contactForm = document.getElementById('contactForm'); + if (contactForm) { + contactForm.addEventListener('submit', (e) => { + e.preventDefault(); + // Add form submission logic here + alert('Thank you for your message. We will contact you soon!'); + contactForm.reset(); + }); + } + + // Intersection Observer for Animations + const observerOptions = { + threshold: 0.1, + rootMargin: '0px 0px -50px 0px' + }; + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('animate'); + observer.unobserve(entry.target); + } + }); + }, observerOptions); + + // Observe all sections + document.querySelectorAll('section').forEach(section => { + observer.observe(section); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..311f15e --- /dev/null +++ b/style.css @@ -0,0 +1,273 @@ +:root { + --primary: #2c3e50; + --secondary: #3498db; + --accent: #e74c3c; + --light: #ecf0f1; + --dark: #2c3e50; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + color: var(--dark); +} + +/* Header & Navigation */ +header { + background: var(--primary); + position: fixed; + width: 100%; + z-index: 1000; + box-shadow: 0 2px 10px 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 { + color: var(--light); + font-size: 1.5rem; + font-weight: bold; + text-transform: uppercase; +} + +.nav-links { + display: flex; + list-style: none; + gap: 2rem; +} + +.nav-links a { + color: var(--light); + text-decoration: none; + transition: color 0.3s; +} + +.nav-links a:hover { + color: var(--secondary); +} + +/* Hero Section */ +.hero { + height: 100vh; + background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); + display: flex; + align-items: center; + justify-content: center; + text-align: center; + color: var(--light); + padding: 0 1rem; +} + +.hero-content h1 { + font-size: 3rem; + margin-bottom: 1rem; + animation: fadeInUp 1s ease-out; +} + +.hero-content p { + font-size: 1.2rem; + margin-bottom: 2rem; + animation: fadeInUp 1s ease-out 0.2s backwards; +} + +.cta-button { + display: inline-block; + padding: 1rem 2rem; + background: var(--accent); + color: var(--light); + text-decoration: none; + border-radius: 5px; + transition: transform 0.3s, box-shadow 0.3s; + animation: fadeInUp 1s ease-out 0.4s backwards; +} + +.cta-button:hover { + transform: translateY(-2px); + box-shadow: 0 4px 15px rgba(0,0,0,0.2); +} + +/* Services Section */ +.services { + padding: 5rem 1rem; + background: var(--light); +} + +.service-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 2rem auto; +} + +.service-card { + background: white; + padding: 2rem; + border-radius: 10px; + text-align: center; + transition: transform 0.3s; + box-shadow: 0 4px 6px rgba(0,0,0,0.1); +} + +.service-card:hover { + transform: translateY(-5px); +} + +.icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +/* Process Timeline */ +.process { + padding: 5rem 1rem; + background: white; +} + +.process-timeline { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 2rem auto; +} + +.step { + text-align: center; + position: relative; +} + +.step-number { + width: 40px; + height: 40px; + background: var(--secondary); + color: white; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + margin: 0 auto 1rem; +} + +/* Contact Form */ +.contact { + padding: 5rem 1rem; + background: var(--light); +} + +form { + max-width: 600px; + margin: 0 auto; + display: flex; + flex-direction: column; + gap: 1rem; +} + +input, textarea { + padding: 0.8rem; + border: 1px solid #ddd; + border-radius: 5px; + font-size: 1rem; +} + +textarea { + height: 150px; +} + +button[type="submit"] { + padding: 1rem; + background: var(--secondary); + color: white; + border: none; + border-radius: 5px; + cursor: pointer; + transition: background 0.3s; +} + +button[type="submit"]:hover { + background: var(--primary); +} + +/* Footer */ +footer { + background: var(--primary); + color: var(--light); + padding: 3rem 1rem; +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; +} + +/* Animations */ +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +/* Mobile Responsiveness */ +.mobile-menu { + display: none; + flex-direction: column; + gap: 4px; + background: none; + border: none; + cursor: pointer; + padding: 4px; +} + +.mobile-menu span { + width: 25px; + height: 3px; + background: var(--light); + transition: 0.3s; +} + +@media (max-width: 768px) { + .mobile-menu { + display: flex; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: var(--primary); + flex-direction: column; + padding: 1rem; + text-align: center; + } + + .nav-links.active { + display: flex; + } + + .hero-content h1 { + font-size: 2rem; + } +}