commit a93788a977a7233cf44c66a44363285426ddba61
Author: root <root@hub.scroll.pub> Date: 2025-01-14 04:29:11 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..c426211 --- /dev/null +++ b/body.html @@ -0,0 +1,102 @@ +<header class="header"> + <nav class="nav-container"> + <div class="logo">BuildPro</div> + <button class="mobile-menu-btn" aria-label="Toggle 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="#projects">Projects</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> +</header> + +<main> + <section id="home" class="hero"> + <div class="hero-content"> + <h1>Building Tomorrow's World Today</h1> + <p>Excellence in Construction Since 1995</p> + <a href="#contact" class="cta-button">Get Started</a> + </div> + </section> + + <section id="services" class="services"> + <h2>Our Services</h2> + <div class="services-grid"> + <div class="service-card"> + <div class="service-icon">🏗️</div> + <h3>Commercial</h3> + <p>State-of-the-art commercial building solutions</p> + </div> + <div class="service-card"> + <div class="service-icon">🏠</div> + <h3>Residential</h3> + <p>Custom homes and renovations</p> + </div> + <div class="service-card"> + <div class="service-icon">🏭</div> + <h3>Industrial</h3> + <p>Large-scale industrial facilities</p> + </div> + <div class="service-card"> + <div class="service-icon">🔧</div> + <h3>Renovation</h3> + <p>Modern upgrades and restorations</p> + </div> + </div> + </section> + + <section id="projects" class="projects"> + <h2>Featured Projects</h2> + <div class="project-grid"> + <div class="project-card"> + <div class="project-image project-1"></div> + <h3>Modern Office Complex</h3> + <p>Downtown Business District</p> + </div> + <div class="project-card"> + <div class="project-image project-2"></div> + <h3>Luxury Apartments</h3> + <p>Riverside Development</p> + </div> + <div class="project-card"> + <div class="project-image project-3"></div> + <h3>Shopping Center</h3> + <p>Metropolitan Mall Project</p> + </div> + </div> + </section> + + <section id="contact" class="contact"> + <h2>Contact Us</h2> + <form id="contact-form" class="contact-form"> + <input type="text" placeholder="Name" required> + <input type="email" placeholder="Email" required> + <textarea placeholder="Message" required></textarea> + <button type="submit" class="submit-btn">Send Message</button> + </form> + </section> +</main> + +<footer class="footer"> + <div class="footer-content"> + <div class="footer-section"> + <h4>BuildPro Construction</h4> + <p>123 Builder Street<br>Construction City, CC 12345</p> + </div> + <div class="footer-section"> + <h4>Contact</h4> + <p>Phone: (555) 123-4567<br>Email: info@buildpro.scroll.pub</p> + </div> + <div class="footer-section"> + <h4>Follow Us</h4> + <div class="social-links"> + <a href="#" aria-label="Facebook">FB</a> + <a href="#" aria-label="Twitter">TW</a> + <a href="#" aria-label="LinkedIn">LI</a> + </div> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..b352b89 --- /dev/null +++ b/index.scroll @@ -0,0 +1,11 @@ +buildHtml +baseUrl https://buildpro.scroll.pub +metaTags + title BuildPro Construction - Professional Building Solutions + description Premier construction company specializing in commercial and residential projects. Quality craftsmanship and innovative building solutions. + keywords construction, building, contractors, commercial construction, residential construction +editButton /edit.html +title BuildPro Construction +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..7da090f --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_015UyuULYecJE4Rm85xWBMG3", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "Let me create a construction company website with a modern, professional design.\n\n---domain---\nbuildpro.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://buildpro.scroll.pub\nmetaTags\n title BuildPro Construction - Professional Building Solutions\n description Premier construction company specializing in commercial and residential projects. Quality craftsmanship and innovative building solutions.\n keywords construction, building, contractors, commercial construction, residential construction\neditButton /edit.html\ntitle BuildPro Construction\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header class=\"header\">\n <nav class=\"nav-container\">\n <div class=\"logo\">BuildPro</div>\n <button class=\"mobile-menu-btn\" aria-label=\"Toggle 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=\"#projects\">Projects</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>Building Tomorrow's World Today</h1>\n <p>Excellence in Construction Since 1995</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=\"services-grid\">\n <div class=\"service-card\">\n <div class=\"service-icon\">🏗️</div>\n <h3>Commercial</h3>\n <p>State-of-the-art commercial building solutions</p>\n </div>\n <div class=\"service-card\">\n <div class=\"service-icon\">🏠</div>\n <h3>Residential</h3>\n <p>Custom homes and renovations</p>\n </div>\n <div class=\"service-card\">\n <div class=\"service-icon\">🏭</div>\n <h3>Industrial</h3>\n <p>Large-scale industrial facilities</p>\n </div>\n <div class=\"service-card\">\n <div class=\"service-icon\">🔧</div>\n <h3>Renovation</h3>\n <p>Modern upgrades and restorations</p>\n </div>\n </div>\n </section>\n\n <section id=\"projects\" class=\"projects\">\n <h2>Featured Projects</h2>\n <div class=\"project-grid\">\n <div class=\"project-card\">\n <div class=\"project-image project-1\"></div>\n <h3>Modern Office Complex</h3>\n <p>Downtown Business District</p>\n </div>\n <div class=\"project-card\">\n <div class=\"project-image project-2\"></div>\n <h3>Luxury Apartments</h3>\n <p>Riverside Development</p>\n </div>\n <div class=\"project-card\">\n <div class=\"project-image project-3\"></div>\n <h3>Shopping Center</h3>\n <p>Metropolitan Mall Project</p>\n </div>\n </div>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Contact Us</h2>\n <form id=\"contact-form\" class=\"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\" class=\"submit-btn\">Send Message</button>\n </form>\n </section>\n</main>\n\n<footer class=\"footer\">\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>BuildPro Construction</h4>\n <p>123 Builder Street<br>Construction City, CC 12345</p>\n </div>\n <div class=\"footer-section\">\n <h4>Contact</h4>\n <p>Phone: (555) 123-4567<br>Email: info@buildpro.scroll.pub</p>\n </div>\n <div class=\"footer-section\">\n <h4>Follow Us</h4>\n <div class=\"social-links\">\n <a href=\"#\" aria-label=\"Facebook\">FB</a>\n <a href=\"#\" aria-label=\"Twitter\">TW</a>\n <a href=\"#\" aria-label=\"LinkedIn\">LI</a>\n </div>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --secondary-color: #e67e22;\n --text-color: #333;\n --light-bg: #f5f6fa;\n --white: #ffffff;\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', Tahoma, Geneva, Verdana, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n}\n\n/* Header & Navigation */\n.header {\n position: fixed;\n width: 100%;\n background: rgba(255, 255, 255, 0.95);\n backdrop-filter: blur(10px);\n z-index: 1000;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n}\n\n.nav-container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n font-size: 1.8rem;\n font-weight: bold;\n color: var(--primary-color);\n}\n\n.nav-links {\n display: flex;\n list-style: none;\n gap: 2rem;\n}\n\n.nav-links a {\n text-decoration: none;\n color: var(--primary-color);\n font-weight: 500;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--secondary-color);\n}\n\n.mobile-menu-btn {\n display: none;\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),\n url('data:image/svg+xml,<svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"100\" height=\"100\" fill=\"%232c3e50\"/></svg>');\n background-size: cover;\n background-position: center;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n color: var(--white);\n}\n\n.hero-content h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease;\n}\n\n.hero-content p {\n font-size: 1.5rem;\n margin-bottom: 2rem;\n animation: fadeInUp 1s ease 0.3s;\n animation-fill-mode: both;\n}\n\n/* Services Section */\n.services {\n padding: 5rem 2rem;\n background: var(--light-bg);\n}\n\n.services h2 {\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 max-width: 1200px;\n margin: 0 auto;\n}\n\n.service-card {\n background: var(--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(-10px);\n}\n\n.service-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n/* Projects Section */\n.projects {\n padding: 5rem 2rem;\n}\n\n.project-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.project-card {\n position: relative;\n overflow: hidden;\n border-radius: 10px;\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);\n}\n\n.project-image {\n height: 250px;\n background-color: var(--primary-color);\n transition: var(--transition);\n}\n\n.project-card:hover .project-image {\n transform: scale(1.1);\n}\n\n/* Contact Section */\n.contact {\n padding: 5rem 2rem;\n background: var(--light-bg);\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\n.contact-form input,\n.contact-form textarea {\n padding: 1rem;\n border: 1px solid #ddd;\n border-radius: 5px;\n font-size: 1rem;\n}\n\n.submit-btn {\n background: var(--secondary-color);\n color: var(--white);\n padding: 1rem;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.submit-btn:hover {\n background: var(--primary-color);\n}\n\n/* Footer */\n.footer {\n background: var(--primary-color);\n color: var(--white);\n padding: 3rem 2rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n}\n\n.social-links {\n display: flex;\n gap: 1rem;\n}\n\n.social-links a {\n color: var(--white);\n text-decoration: none;\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/* Media Queries */\n@media (max-width: 768px) {\n .mobile-menu-btn {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n }\n\n .mobile-menu-btn span {\n display: block;\n width: 25px;\n height: 3px;\n background: var(--primary-color);\n margin: 5px 0;\n transition: var(--transition);\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: var(--white);\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: 2.5rem;\n }\n\n .hero-content p {\n font-size: 1.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 const spans = mobileMenuBtn.querySelectorAll('span');\n spans[0].style.transform = navLinks.classList.contains('active') \n ? 'rotate(45deg) translate(6px, 6px)' \n : 'none';\n spans[1].style.opacity = navLinks.classList.contains('active') \n ? '0' \n : '1';\n spans[2].style.transform = navLinks.classList.contains('active') \n ? 'rotate(-45deg) translate(6px, -6px)' \n : 'none';\n });\n\n // Smooth Scroll\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 if (navLinks.classList.contains('active')) {\n navLinks.classList.remove('active');\n }\n });\n });\n\n // Form Submission\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 get back to you soon.');\n contactForm.reset();\n });\n\n // Scroll Animation\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('.service-card, .project-card').forEach(el => {\n el.style.opacity = '0';\n el.style.transform = 'translateY(20px)';\n el.style.transition = 'opacity 0.5s ease, transform 0.5s ease';\n observer.observe(el);\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 272, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3768 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..34e49fa --- /dev/null +++ b/readme.scroll @@ -0,0 +1,3 @@ +# buildpro.scroll.pub + +website generated by Claude from prompt: Construction company \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..21caed0 --- /dev/null +++ b/script.js @@ -0,0 +1,63 @@ +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'); + const spans = mobileMenuBtn.querySelectorAll('span'); + spans[0].style.transform = navLinks.classList.contains('active') + ? 'rotate(45deg) translate(6px, 6px)' + : 'none'; + spans[1].style.opacity = navLinks.classList.contains('active') + ? '0' + : '1'; + spans[2].style.transform = navLinks.classList.contains('active') + ? 'rotate(-45deg) translate(6px, -6px)' + : 'none'; + }); + + // Smooth Scroll + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + const target = document.querySelector(this.getAttribute('href')); + target.scrollIntoView({ + behavior: 'smooth' + }); + if (navLinks.classList.contains('active')) { + navLinks.classList.remove('active'); + } + }); + }); + + // Form Submission + 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 get back to you soon.'); + contactForm.reset(); + }); + + // Scroll Animation + 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('.service-card, .project-card').forEach(el => { + el.style.opacity = '0'; + el.style.transform = 'translateY(20px)'; + el.style.transition = 'opacity 0.5s ease, transform 0.5s ease'; + observer.observe(el); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..33ecd05 --- /dev/null +++ b/style.css @@ -0,0 +1,277 @@ +:root { + --primary-color: #2c3e50; + --secondary-color: #e67e22; + --text-color: #333; + --light-bg: #f5f6fa; + --white: #ffffff; + --transition: all 0.3s ease; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + line-height: 1.6; + color: var(--text-color); +} + +/* Header & Navigation */ +.header { + position: fixed; + width: 100%; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + z-index: 1000; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); +} + +.nav-container { + max-width: 1200px; + margin: 0 auto; + padding: 1rem; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + font-size: 1.8rem; + font-weight: bold; + color: var(--primary-color); +} + +.nav-links { + display: flex; + list-style: none; + gap: 2rem; +} + +.nav-links a { + text-decoration: none; + color: var(--primary-color); + font-weight: 500; + transition: var(--transition); +} + +.nav-links a:hover { + color: var(--secondary-color); +} + +.mobile-menu-btn { + display: none; +} + +/* Hero Section */ +.hero { + height: 100vh; + background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), + url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%232c3e50"/></svg>'); + background-size: cover; + background-position: center; + display: flex; + align-items: center; + justify-content: center; + text-align: center; + color: var(--white); +} + +.hero-content h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + animation: fadeInUp 1s ease; +} + +.hero-content p { + font-size: 1.5rem; + margin-bottom: 2rem; + animation: fadeInUp 1s ease 0.3s; + animation-fill-mode: both; +} + +/* Services Section */ +.services { + padding: 5rem 2rem; + background: var(--light-bg); +} + +.services 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; + max-width: 1200px; + margin: 0 auto; +} + +.service-card { + background: var(--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(-10px); +} + +.service-icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +/* Projects Section */ +.projects { + padding: 5rem 2rem; +} + +.project-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.project-card { + position: relative; + overflow: hidden; + border-radius: 10px; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); +} + +.project-image { + height: 250px; + background-color: var(--primary-color); + transition: var(--transition); +} + +.project-card:hover .project-image { + transform: scale(1.1); +} + +/* Contact Section */ +.contact { + padding: 5rem 2rem; + background: var(--light-bg); +} + +.contact-form { + max-width: 600px; + margin: 0 auto; + display: flex; + flex-direction: column; + gap: 1rem; +} + +.contact-form input, +.contact-form textarea { + padding: 1rem; + border: 1px solid #ddd; + border-radius: 5px; + font-size: 1rem; +} + +.submit-btn { + background: var(--secondary-color); + color: var(--white); + padding: 1rem; + border: none; + border-radius: 5px; + cursor: pointer; + transition: var(--transition); +} + +.submit-btn:hover { + background: var(--primary-color); +} + +/* Footer */ +.footer { + background: var(--primary-color); + color: var(--white); + padding: 3rem 2rem; +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; +} + +.social-links { + display: flex; + gap: 1rem; +} + +.social-links a { + color: var(--white); + text-decoration: none; +} + +/* Animations */ +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +/* Media Queries */ +@media (max-width: 768px) { + .mobile-menu-btn { + display: block; + background: none; + border: none; + cursor: pointer; + } + + .mobile-menu-btn span { + display: block; + width: 25px; + height: 3px; + background: var(--primary-color); + margin: 5px 0; + transition: var(--transition); + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: var(--white); + flex-direction: column; + padding: 1rem; + text-align: center; + } + + .nav-links.active { + display: flex; + } + + .hero-content h1 { + font-size: 2.5rem; + } + + .hero-content p { + font-size: 1.2rem; + } +}