commit 8bfc8435f82215f6f18dba105cdf2261bd2146b1
Author: root <root@hub.scroll.pub> Date: 2025-01-13 21:02:37 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..776061b --- /dev/null +++ b/body.html @@ -0,0 +1,88 @@ +<header> + <nav class="navbar"> + <div class="logo">ChiTech</div> + <button class="mobile-menu" aria-label="Menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#home">Home</a></li> + <li><a href="#services">Services</a></li> + <li><a href="#products">Products</a></li> + <li><a href="#about">About</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> +</header> + +<main> + <section id="home" class="hero"> + <div class="hero-content"> + <h1>Your Trusted Partner in Chinese Equipment Sourcing</h1> + <p>Professional import solutions with 15+ years of experience</p> + <button class="cta-button">Get Started</button> + </div> + </section> + + <section id="services" class="services"> + <h2>Our Services</h2> + <div class="services-grid"> + <div class="service-card"> + <div class="icon">🔍</div> + <h3>Sourcing</h3> + <p>Direct access to verified Chinese manufacturers</p> + </div> + <div class="service-card"> + <div class="icon">⚡</div> + <h3>Quality Control</h3> + <p>Rigorous testing and inspection protocols</p> + </div> + <div class="service-card"> + <div class="icon">🚢</div> + <h3>Logistics</h3> + <p>End-to-end shipping and customs clearance</p> + </div> + </div> + </section> + + <section id="products" class="products"> + <h2>Equipment Categories</h2> + <div class="product-slider"> + <div class="product-card"> + <h3>Industrial Machinery</h3> + <p>Manufacturing and processing equipment</p> + </div> + <div class="product-card"> + <h3>Construction</h3> + <p>Heavy machinery and tools</p> + </div> + <div class="product-card"> + <h3>Medical Equipment</h3> + <p>Healthcare and laboratory devices</p> + </div> + </div> + </section> + + <section id="contact" class="contact"> + <h2>Contact Us</h2> + <form id="contact-form"> + <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>ChiTech Import Solutions</h4> + <p>Professional equipment sourcing from China</p> + </div> + <div class="footer-section"> + <h4>Contact</h4> + <p>Email: info@chinatech.scroll.pub</p> + <p>Phone: +1 234 567 890</p> + </div> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..bc7495f --- /dev/null +++ b/index.scroll @@ -0,0 +1,10 @@ +buildHtml +baseUrl https://chinatech.scroll.pub +metaTags + description "Professional equipment and machinery imports from China. Expert sourcing, quality control, and reliable delivery services." + keywords "China equipment import, industrial machinery, Chinese manufacturers, equipment sourcing, import solutions" +editButton /edit.html +title ChiTech Import Solutions +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..e0d999e --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01Xt4idABEmapktmyvBkVniS", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a website for a company specializing in equipment imports from China.\n\nSuggested domain: chinatech.scroll.pub\n\n---domain---\nchinatech.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://chinatech.scroll.pub\nmetaTags\n description \"Professional equipment and machinery imports from China. Expert sourcing, quality control, and reliable delivery services.\"\n keywords \"China equipment import, industrial machinery, Chinese manufacturers, equipment sourcing, import solutions\"\neditButton /edit.html\ntitle ChiTech Import Solutions\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav class=\"navbar\">\n <div class=\"logo\">ChiTech</div>\n <button class=\"mobile-menu\" aria-label=\"Menu\">\n <span></span><span></span><span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#home\">Home</a></li>\n <li><a href=\"#services\">Services</a></li>\n <li><a href=\"#products\">Products</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 id=\"home\" class=\"hero\">\n <div class=\"hero-content\">\n <h1>Your Trusted Partner in Chinese Equipment Sourcing</h1>\n <p>Professional import solutions with 15+ years of experience</p>\n <button class=\"cta-button\">Get Started</button>\n </div>\n </section>\n\n <section id=\"services\" class=\"services\">\n <h2>Our Services</h2>\n <div class=\"services-grid\">\n <div class=\"service-card\">\n <div class=\"icon\">🔍</div>\n <h3>Sourcing</h3>\n <p>Direct access to verified Chinese manufacturers</p>\n </div>\n <div class=\"service-card\">\n <div class=\"icon\">⚡</div>\n <h3>Quality Control</h3>\n <p>Rigorous testing and inspection protocols</p>\n </div>\n <div class=\"service-card\">\n <div class=\"icon\">🚢</div>\n <h3>Logistics</h3>\n <p>End-to-end shipping and customs clearance</p>\n </div>\n </div>\n </section>\n\n <section id=\"products\" class=\"products\">\n <h2>Equipment Categories</h2>\n <div class=\"product-slider\">\n <div class=\"product-card\">\n <h3>Industrial Machinery</h3>\n <p>Manufacturing and processing equipment</p>\n </div>\n <div class=\"product-card\">\n <h3>Construction</h3>\n <p>Heavy machinery and tools</p>\n </div>\n <div class=\"product-card\">\n <h3>Medical Equipment</h3>\n <p>Healthcare and laboratory devices</p>\n </div>\n </div>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Contact Us</h2>\n <form id=\"contact-form\">\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>ChiTech Import Solutions</h4>\n <p>Professional equipment sourcing from China</p>\n </div>\n <div class=\"footer-section\">\n <h4>Contact</h4>\n <p>Email: info@chinatech.scroll.pub</p>\n <p>Phone: +1 234 567 890</p>\n </div>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --accent-color: #e74c3c;\n --text-color: #333;\n --light-bg: #f5f6fa;\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', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n}\n\n.navbar {\n position: fixed;\n width: 100%;\n padding: 1rem 5%;\n background: rgba(255, 255, 255, 0.95);\n backdrop-filter: blur(10px);\n display: flex;\n justify-content: space-between;\n align-items: center;\n z-index: 1000;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n color: var(--primary-color);\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n list-style: none;\n}\n\n.nav-links a {\n text-decoration: none;\n color: var(--text-color);\n font-weight: 500;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--accent-color);\n}\n\n.mobile-menu {\n display: none;\n}\n\n.hero {\n height: 100vh;\n background: linear-gradient(135deg, var(--primary-color), #34495e);\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n color: white;\n padding: 0 1rem;\n}\n\n.hero-content h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n}\n\n.cta-button {\n padding: 1rem 2rem;\n font-size: 1.1rem;\n background: var(--accent-color);\n color: white;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.cta-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);\n}\n\n.services, .products {\n padding: 5rem 5%;\n background: var(--light-bg);\n}\n\nh2 {\n text-align: center;\n margin-bottom: 3rem;\n color: var(--primary-color);\n}\n\n.services-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n}\n\n.service-card {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n text-align: center;\n transition: var(--transition);\n box-shadow: 0 5px 15px 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.product-slider {\n display: flex;\n gap: 2rem;\n overflow-x: auto;\n padding: 1rem;\n scroll-snap-type: x mandatory;\n}\n\n.product-card {\n min-width: 300px;\n background: white;\n padding: 2rem;\n border-radius: 10px;\n scroll-snap-align: start;\n box-shadow: 0 5px 15px rgba(0,0,0,0.1);\n}\n\n.contact {\n padding: 5rem 5%;\n}\n\n#contact-form {\n max-width: 600px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\ninput, textarea {\n padding: 1rem;\n border: 1px solid #ddd;\n border-radius: 5px;\n font-size: 1rem;\n}\n\ntextarea {\n height: 150px;\n resize: vertical;\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n padding: 3rem 5%;\n}\n\n.footer-content {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 2rem;\n}\n\n@media (max-width: 768px) {\n .mobile-menu {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n }\n\n .mobile-menu span {\n display: block;\n width: 25px;\n height: 3px;\n background: var(--text-color);\n margin: 5px 0;\n transition: var(--transition);\n }\n\n .nav-links {\n position: fixed;\n top: 70px;\n right: -100%;\n flex-direction: column;\n background: white;\n width: 100%;\n text-align: center;\n transition: var(--transition);\n padding: 2rem 0;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n }\n\n .nav-links.active {\n right: 0;\n }\n\n .hero-content h1 {\n font-size: 2rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu functionality\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 target.scrollIntoView({\n behavior: 'smooth'\n });\n // Close mobile menu if open\n navLinks.classList.remove('active');\n });\n });\n\n // Form submission handling\n const contactForm = document.getElementById('contact-form');\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 // Intersection Observer for fade-in animations\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('visible');\n }\n });\n }, {\n threshold: 0.1\n });\n\n // Observe all sections\n document.querySelectorAll('section').forEach((section) => {\n observer.observe(section);\n });\n});\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 291, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2908 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..6988837 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,3 @@ +# chinatech.scroll.pub + +website generated by Claude from prompt: сайт о компании которая занимается поставками оборудования из китая \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..b0a28d6 --- /dev/null +++ b/script.js @@ -0,0 +1,48 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile menu functionality + 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')); + target.scrollIntoView({ + behavior: 'smooth' + }); + // Close mobile menu if open + navLinks.classList.remove('active'); + }); + }); + + // Form submission handling + const contactForm = document.getElementById('contact-form'); + 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 fade-in animations + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('visible'); + } + }); + }, { + threshold: 0.1 + }); + + // Observe all sections + document.querySelectorAll('section').forEach((section) => { + observer.observe(section); + }); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..f6df558 --- /dev/null +++ b/style.css @@ -0,0 +1,218 @@ +:root { + --primary-color: #2c3e50; + --accent-color: #e74c3c; + --text-color: #333; + --light-bg: #f5f6fa; + --transition: all 0.3s ease; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + color: var(--text-color); +} + +.navbar { + position: fixed; + width: 100%; + padding: 1rem 5%; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + display: flex; + justify-content: space-between; + align-items: center; + z-index: 1000; + box-shadow: 0 2px 10px rgba(0,0,0,0.1); +} + +.logo { + font-size: 1.5rem; + font-weight: bold; + color: var(--primary-color); +} + +.nav-links { + display: flex; + gap: 2rem; + list-style: none; +} + +.nav-links a { + text-decoration: none; + color: var(--text-color); + font-weight: 500; + transition: var(--transition); +} + +.nav-links a:hover { + color: var(--accent-color); +} + +.mobile-menu { + display: none; +} + +.hero { + height: 100vh; + background: linear-gradient(135deg, var(--primary-color), #34495e); + display: flex; + align-items: center; + justify-content: center; + text-align: center; + color: white; + padding: 0 1rem; +} + +.hero-content h1 { + font-size: 3rem; + margin-bottom: 1rem; +} + +.cta-button { + padding: 1rem 2rem; + font-size: 1.1rem; + background: var(--accent-color); + color: white; + border: none; + border-radius: 5px; + cursor: pointer; + transition: var(--transition); +} + +.cta-button:hover { + transform: translateY(-2px); + box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3); +} + +.services, .products { + padding: 5rem 5%; + background: var(--light-bg); +} + +h2 { + text-align: center; + margin-bottom: 3rem; + color: var(--primary-color); +} + +.services-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; +} + +.service-card { + background: white; + padding: 2rem; + border-radius: 10px; + text-align: center; + transition: var(--transition); + box-shadow: 0 5px 15px rgba(0,0,0,0.1); +} + +.service-card:hover { + transform: translateY(-5px); +} + +.icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +.product-slider { + display: flex; + gap: 2rem; + overflow-x: auto; + padding: 1rem; + scroll-snap-type: x mandatory; +} + +.product-card { + min-width: 300px; + background: white; + padding: 2rem; + border-radius: 10px; + scroll-snap-align: start; + box-shadow: 0 5px 15px rgba(0,0,0,0.1); +} + +.contact { + padding: 5rem 5%; +} + +#contact-form { + max-width: 600px; + margin: 0 auto; + display: flex; + flex-direction: column; + gap: 1rem; +} + +input, textarea { + padding: 1rem; + border: 1px solid #ddd; + border-radius: 5px; + font-size: 1rem; +} + +textarea { + height: 150px; + resize: vertical; +} + +footer { + background: var(--primary-color); + color: white; + padding: 3rem 5%; +} + +.footer-content { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; +} + +@media (max-width: 768px) { + .mobile-menu { + display: block; + background: none; + border: none; + cursor: pointer; + } + + .mobile-menu span { + display: block; + width: 25px; + height: 3px; + background: var(--text-color); + margin: 5px 0; + transition: var(--transition); + } + + .nav-links { + position: fixed; + top: 70px; + right: -100%; + flex-direction: column; + background: white; + width: 100%; + text-align: center; + transition: var(--transition); + padding: 2rem 0; + box-shadow: 0 2px 10px rgba(0,0,0,0.1); + } + + .nav-links.active { + right: 0; + } + + .hero-content h1 { + font-size: 2rem; + } +} \ No newline at end of file