commit c5a6c8409b36f977e59b4d98caff6d72b6840b35
Author: root <root@hub.scroll.pub> Date: 2025-01-13 21:05:27 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..408ae0f --- /dev/null +++ b/body.html @@ -0,0 +1,84 @@ +<header> + <nav class="main-nav"> + <div class="logo">ТехИмпорт</div> + <button class="mobile-menu-btn" aria-label="Меню">☰</button> + <ul class="nav-links"> + <li><a href="#main">Главная</a></li> + <li><a href="#products">Продукция</a></li> + <li><a href="#advantages">Преимущества</a></li> + <li><a href="#about">О нас</a></li> + <li><a href="#contact">Контакты</a></li> + </ul> + </nav> +</header> + +<main> + <section id="hero" class="hero"> + <h1>Надежные поставки компьютерного оборудования из Китая</h1> + <p>Качественное оборудование напрямую от производителей</p> + <button class="cta-button">Получить консультацию</button> + </section> + + <section id="products" class="products"> + <h2>Наша продукция</h2> + <div class="product-grid"> + <div class="product-card"> + <div class="product-icon">💻</div> + <h3>Компьютеры</h3> + <p>Серверы, рабочие станции, ноутбуки</p> + </div> + <div class="product-card"> + <div class="product-icon">🔧</div> + <h3>Комплектующие</h3> + <p>Процессоры, материнские платы, видеокарты</p> + </div> + <div class="product-card"> + <div class="product-icon">🖨️</div> + <h3>Периферия</h3> + <p>Принтеры, сканеры, МФУ</p> + </div> + </div> + </section> + + <section id="advantages" class="advantages"> + <h2>Наши преимущества</h2> + <div class="advantages-grid"> + <div class="advantage-card"> + <h3>Прямые поставки</h3> + <p>Работаем напрямую с производителями</p> + </div> + <div class="advantage-card"> + <h3>Гарантия качества</h3> + <p>Проверка каждой партии товара</p> + </div> + <div class="advantage-card"> + <h3>Быстрая доставка</h3> + <p>Оптимальные маршруты поставок</p> + </div> + </div> + </section> + + <section id="contact" class="contact"> + <h2>Свяжитесь с нами</h2> + <form id="contact-form" class="contact-form"> + <input type="text" placeholder="Ваше имя" required> + <input type="email" placeholder="Email" required> + <textarea placeholder="Сообщение" required></textarea> + <button type="submit">Отправить</button> + </form> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>ТехИмпорт</h4> + <p>Ваш надежный партнер в поставках компьютерного оборудования</p> + </div> + <div class="footer-section"> + <h4>Контакты</h4> + <p>Email: info@techimport.ru</p> + <p>Тел: +7 (495) 123-45-67</p> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..fd8dca8 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://techimport.scroll.pub +metaTags +editButton /edit.html +title ТехИмпорт - Поставки компьютерного оборудования из Китая +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..21e58a4 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01XscPTJnpbqQ4gAJcY7gD2K", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a website for a company specializing in computer hardware imports from China, targeting Russian-speaking customers.\n\n---domain---\ntechimport.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://techimport.scroll.pub\nmetaTags\neditButton /edit.html\ntitle ТехИмпорт - Поставки компьютерного оборудования из Китая\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav class=\"main-nav\">\n <div class=\"logo\">ТехИмпорт</div>\n <button class=\"mobile-menu-btn\" aria-label=\"Меню\">☰</button>\n <ul class=\"nav-links\">\n <li><a href=\"#main\">Главная</a></li>\n <li><a href=\"#products\">Продукция</a></li>\n <li><a href=\"#advantages\">Преимущества</a></li>\n <li><a href=\"#about\">О нас</a></li>\n <li><a href=\"#contact\">Контакты</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"hero\" class=\"hero\">\n <h1>Надежные поставки компьютерного оборудования из Китая</h1>\n <p>Качественное оборудование напрямую от производителей</p>\n <button class=\"cta-button\">Получить консультацию</button>\n </section>\n\n <section id=\"products\" class=\"products\">\n <h2>Наша продукция</h2>\n <div class=\"product-grid\">\n <div class=\"product-card\">\n <div class=\"product-icon\">💻</div>\n <h3>Компьютеры</h3>\n <p>Серверы, рабочие станции, ноутбуки</p>\n </div>\n <div class=\"product-card\">\n <div class=\"product-icon\">🔧</div>\n <h3>Комплектующие</h3>\n <p>Процессоры, материнские платы, видеокарты</p>\n </div>\n <div class=\"product-card\">\n <div class=\"product-icon\">🖨️</div>\n <h3>Периферия</h3>\n <p>Принтеры, сканеры, МФУ</p>\n </div>\n </div>\n </section>\n\n <section id=\"advantages\" class=\"advantages\">\n <h2>Наши преимущества</h2>\n <div class=\"advantages-grid\">\n <div class=\"advantage-card\">\n <h3>Прямые поставки</h3>\n <p>Работаем напрямую с производителями</p>\n </div>\n <div class=\"advantage-card\">\n <h3>Гарантия качества</h3>\n <p>Проверка каждой партии товара</p>\n </div>\n <div class=\"advantage-card\">\n <h3>Быстрая доставка</h3>\n <p>Оптимальные маршруты поставок</p>\n </div>\n </div>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Свяжитесь с нами</h2>\n <form id=\"contact-form\" class=\"contact-form\">\n <input type=\"text\" placeholder=\"Ваше имя\" required>\n <input type=\"email\" placeholder=\"Email\" required>\n <textarea placeholder=\"Сообщение\" required></textarea>\n <button type=\"submit\">Отправить</button>\n </form>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>ТехИмпорт</h4>\n <p>Ваш надежный партнер в поставках компьютерного оборудования</p>\n </div>\n <div class=\"footer-section\">\n <h4>Контакты</h4>\n <p>Email: info@techimport.ru</p>\n <p>Тел: +7 (495) 123-45-67</p>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --accent-color: #3498db;\n --text-color: #333;\n --background-light: #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.main-nav {\n background: var(--primary-color);\n padding: 1rem;\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n color: white;\n font-size: 1.5rem;\n font-weight: bold;\n}\n\n.nav-links {\n display: flex;\n list-style: none;\n gap: 2rem;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--accent-color);\n}\n\n.mobile-menu-btn {\n display: none;\n background: none;\n border: none;\n color: white;\n font-size: 1.5rem;\n cursor: pointer;\n}\n\n.hero {\n background: linear-gradient(135deg, var(--primary-color), var(--accent-color));\n color: white;\n padding: 8rem 2rem 4rem;\n text-align: center;\n}\n\n.hero h1 {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.cta-button {\n background: white;\n color: var(--primary-color);\n border: none;\n padding: 1rem 2rem;\n border-radius: 25px;\n font-size: 1.1rem;\n cursor: pointer;\n transition: var(--transition);\n margin-top: 2rem;\n}\n\n.cta-button:hover {\n transform: translateY(-3px);\n box-shadow: 0 5px 15px rgba(0,0,0,0.2);\n}\n\n.product-grid, .advantages-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 2rem;\n}\n\n.product-card, .advantage-card {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 5px 15px rgba(0,0,0,0.1);\n transition: var(--transition);\n}\n\n.product-card:hover, .advantage-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 8px 25px rgba(0,0,0,0.15);\n}\n\n.product-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\nsection {\n padding: 4rem 2rem;\n}\n\nsection:nth-child(even) {\n background: var(--background-light);\n}\n\nh2 {\n text-align: center;\n margin-bottom: 2rem;\n color: var(--primary-color);\n}\n\n.contact-form {\n max-width: 600px;\n margin: 0 auto;\n display: grid;\n gap: 1rem;\n}\n\n.contact-form input,\n.contact-form textarea {\n padding: 0.8rem;\n border: 1px solid #ddd;\n border-radius: 5px;\n}\n\n.contact-form button {\n background: var(--accent-color);\n color: white;\n border: none;\n padding: 1rem;\n border-radius: 5px;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.contact-form button:hover {\n background: var(--primary-color);\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n padding: 2rem;\n}\n\n.footer-content {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n@media (max-width: 768px) {\n .mobile-menu-btn {\n display: block;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: var(--primary-color);\n flex-direction: column;\n padding: 1rem;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero h1 {\n font-size: 2rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu toggle\n const mobileMenuBtn = document.querySelector('.mobile-menu-btn');\n const navLinks = document.querySelector('.nav-links');\n\n mobileMenuBtn.addEventListener('click', () => {\n navLinks.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 if (target) {\n target.scrollIntoView({\n behavior: 'smooth'\n });\n navLinks.classList.remove('active');\n }\n });\n });\n\n // Contact form handling\n const contactForm = document.getElementById('contact-form');\n \n contactForm.addEventListener('submit', (e) => {\n e.preventDefault();\n \n // Simple form validation feedback\n const formData = new FormData(contactForm);\n alert('Спасибо за ваше сообщение! Мы свяжемся с вами в ближайшее время.');\n contactForm.reset();\n });\n\n // Intersection Observer for fade-in animations\n const observerOptions = {\n threshold: 0.1\n };\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.style.opacity = '1';\n entry.target.style.transform = 'translateY(0)';\n }\n });\n }, observerOptions);\n\n document.querySelectorAll('.product-card, .advantage-card').forEach(element => {\n element.style.opacity = '0';\n element.style.transform = 'translateY(20px)';\n element.style.transition = 'opacity 0.5s ease, transform 0.5s ease';\n observer.observe(element);\n });\n});\n\n---end---\n\nThis website features:\n1. Modern, clean design with smooth animations\n2. Fully responsive layout\n3. Interactive elements with hover effects\n4. Smooth scrolling navigation\n5. Contact form with basic validation\n6. Intersection Observer for scroll animations\n7. Mobile-friendly navigation menu\n8. Semantic HTML structure\n9. Accessible design elements\n10. Performance-optimized CSS animations\n\nThe color scheme is professional and trustworthy, using deep blues and clean whites. The layout is organized to guide visitors through the company's offerings, advantages, and contact information." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 299, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3106 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..5a132d0 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,3 @@ +# techimport.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..a6669e5 --- /dev/null +++ b/script.js @@ -0,0 +1,56 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile menu toggle + const mobileMenuBtn = document.querySelector('.mobile-menu-btn'); + const navLinks = document.querySelector('.nav-links'); + + mobileMenuBtn.addEventListener('click', () => { + navLinks.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')); + if (target) { + target.scrollIntoView({ + behavior: 'smooth' + }); + navLinks.classList.remove('active'); + } + }); + }); + + // Contact form handling + const contactForm = document.getElementById('contact-form'); + + contactForm.addEventListener('submit', (e) => { + e.preventDefault(); + + // Simple form validation feedback + const formData = new FormData(contactForm); + alert('Спасибо за ваше сообщение! Мы свяжемся с вами в ближайшее время.'); + contactForm.reset(); + }); + + // Intersection Observer for fade-in animations + const observerOptions = { + threshold: 0.1 + }; + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.style.opacity = '1'; + entry.target.style.transform = 'translateY(0)'; + } + }); + }, observerOptions); + + document.querySelectorAll('.product-card, .advantage-card').forEach(element => { + element.style.opacity = '0'; + element.style.transform = 'translateY(20px)'; + element.style.transition = 'opacity 0.5s ease, transform 0.5s ease'; + observer.observe(element); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..3d38f7a --- /dev/null +++ b/style.css @@ -0,0 +1,197 @@ +:root { + --primary-color: #2c3e50; + --accent-color: #3498db; + --text-color: #333; + --background-light: #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); +} + +.main-nav { + background: var(--primary-color); + padding: 1rem; + position: fixed; + width: 100%; + top: 0; + z-index: 1000; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + color: white; + font-size: 1.5rem; + font-weight: bold; +} + +.nav-links { + display: flex; + list-style: none; + gap: 2rem; +} + +.nav-links a { + color: white; + text-decoration: none; + transition: var(--transition); +} + +.nav-links a:hover { + color: var(--accent-color); +} + +.mobile-menu-btn { + display: none; + background: none; + border: none; + color: white; + font-size: 1.5rem; + cursor: pointer; +} + +.hero { + background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); + color: white; + padding: 8rem 2rem 4rem; + text-align: center; +} + +.hero h1 { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +.cta-button { + background: white; + color: var(--primary-color); + border: none; + padding: 1rem 2rem; + border-radius: 25px; + font-size: 1.1rem; + cursor: pointer; + transition: var(--transition); + margin-top: 2rem; +} + +.cta-button:hover { + transform: translateY(-3px); + box-shadow: 0 5px 15px rgba(0,0,0,0.2); +} + +.product-grid, .advantages-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + padding: 2rem; +} + +.product-card, .advantage-card { + background: white; + padding: 2rem; + border-radius: 10px; + box-shadow: 0 5px 15px rgba(0,0,0,0.1); + transition: var(--transition); +} + +.product-card:hover, .advantage-card:hover { + transform: translateY(-5px); + box-shadow: 0 8px 25px rgba(0,0,0,0.15); +} + +.product-icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +section { + padding: 4rem 2rem; +} + +section:nth-child(even) { + background: var(--background-light); +} + +h2 { + text-align: center; + margin-bottom: 2rem; + color: var(--primary-color); +} + +.contact-form { + max-width: 600px; + margin: 0 auto; + display: grid; + gap: 1rem; +} + +.contact-form input, +.contact-form textarea { + padding: 0.8rem; + border: 1px solid #ddd; + border-radius: 5px; +} + +.contact-form button { + background: var(--accent-color); + color: white; + border: none; + padding: 1rem; + border-radius: 5px; + cursor: pointer; + transition: var(--transition); +} + +.contact-form button:hover { + background: var(--primary-color); +} + +footer { + background: var(--primary-color); + color: white; + padding: 2rem; +} + +.footer-content { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +@media (max-width: 768px) { + .mobile-menu-btn { + display: block; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: var(--primary-color); + flex-direction: column; + padding: 1rem; + } + + .nav-links.active { + display: flex; + } + + .hero h1 { + font-size: 2rem; + } +}