commit bd25fe518431f6862867fe8dce83802d63278943
Author: root <root@hub.scroll.pub> Date: 2024-12-27 17:13:35 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..ce51a91 --- /dev/null +++ b/body.html @@ -0,0 +1,95 @@ +<header class="main-header"> + <nav class="nav-container"> + <div class="logo">AHRI</div> + <button class="mobile-menu-btn" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#about">About</a></li> + <li><a href="#research">Research</a></li> + <li><a href="#paper">Latest Paper</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <h1>AI Handbagging Research Institute</h1> + <p class="tagline">Revolutionizing Fashion Design Through Artificial Intelligence</p> + </section> + + <section id="about" class="section"> + <h2>About Us</h2> + <div class="content-grid"> + <div class="text-content"> + <p>We are a pioneering research organization dedicated to advancing the intersection of artificial intelligence and fashion design, with a specific focus on handbag creation and innovation.</p> + </div> + <div class="image-placeholder" aria-label="AI design visualization"></div> + </div> + </section> + + <section id="research" class="section"> + <h2>Our Research</h2> + <div class="research-cards"> + <article class="card"> + <h3>Generative Design</h3> + <p>Using GANs to create unique handbag designs based on market trends and user preferences.</p> + </article> + <article class="card"> + <h3>Material Innovation</h3> + <p>AI-driven analysis of sustainable materials and their applications in luxury accessories.</p> + </article> + <article class="card"> + <h3>Pattern Recognition</h3> + <p>Advanced algorithms for identifying and predicting fashion trends in handbag design.</p> + </article> + </div> + </section> + + <section id="paper" class="section"> + <h2>Latest Publication</h2> + <article class="paper-preview"> + <h3>"Neural Design Networks: Autonomous Handbag Creation Through Deep Learning"</h3> + <div class="paper-meta"> + <p class="authors">Dr. Sarah Chen, Dr. Michael Roberts, et al.</p> + <p class="date">Published: June 2023</p> + </div> + <p class="abstract">This groundbreaking paper presents a novel approach to automated handbag design using neural networks, achieving a 95% market viability rate for generated designs.</p> + <button class="read-more">Read Full Paper</button> + </article> + </section> + + <section id="contact" class="section"> + <h2>Contact Us</h2> + <form class="contact-form"> + <div class="form-group"> + <label for="name">Name</label> + <input type="text" id="name" required> + </div> + <div class="form-group"> + <label for="email">Email</label> + <input type="email" id="email" required> + </div> + <div class="form-group"> + <label for="message">Message</label> + <textarea id="message" required></textarea> + </div> + <button type="submit">Send Message</button> + </form> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>AI Handbagging Research Institute</h4> + <p>Advancing the future of fashion design</p> + </div> + <div class="footer-section"> + <h4>Contact</h4> + <p>info@aihandbag.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..9d27841 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://aihandbag.scroll.pub +metaTags +editButton /edit.html +title AI Handbagging Research Institute - Advancing Digital Design +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..0aa8030 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01THbA6FnoVSFXq6Y7xJm4pf", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a website for an AI handbagging research organization. For the domain, I suggest:\n\n---domain---\naihandbag.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://aihandbag.scroll.pub\nmetaTags\neditButton /edit.html\ntitle AI Handbagging Research Institute - Advancing Digital Design\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header class=\"main-header\">\n <nav class=\"nav-container\">\n <div class=\"logo\">AHRI</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=\"#about\">About</a></li>\n <li><a href=\"#research\">Research</a></li>\n <li><a href=\"#paper\">Latest Paper</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <h1>AI Handbagging Research Institute</h1>\n <p class=\"tagline\">Revolutionizing Fashion Design Through Artificial Intelligence</p>\n </section>\n\n <section id=\"about\" class=\"section\">\n <h2>About Us</h2>\n <div class=\"content-grid\">\n <div class=\"text-content\">\n <p>We are a pioneering research organization dedicated to advancing the intersection of artificial intelligence and fashion design, with a specific focus on handbag creation and innovation.</p>\n </div>\n <div class=\"image-placeholder\" aria-label=\"AI design visualization\"></div>\n </div>\n </section>\n\n <section id=\"research\" class=\"section\">\n <h2>Our Research</h2>\n <div class=\"research-cards\">\n <article class=\"card\">\n <h3>Generative Design</h3>\n <p>Using GANs to create unique handbag designs based on market trends and user preferences.</p>\n </article>\n <article class=\"card\">\n <h3>Material Innovation</h3>\n <p>AI-driven analysis of sustainable materials and their applications in luxury accessories.</p>\n </article>\n <article class=\"card\">\n <h3>Pattern Recognition</h3>\n <p>Advanced algorithms for identifying and predicting fashion trends in handbag design.</p>\n </article>\n </div>\n </section>\n\n <section id=\"paper\" class=\"section\">\n <h2>Latest Publication</h2>\n <article class=\"paper-preview\">\n <h3>\"Neural Design Networks: Autonomous Handbag Creation Through Deep Learning\"</h3>\n <div class=\"paper-meta\">\n <p class=\"authors\">Dr. Sarah Chen, Dr. Michael Roberts, et al.</p>\n <p class=\"date\">Published: June 2023</p>\n </div>\n <p class=\"abstract\">This groundbreaking paper presents a novel approach to automated handbag design using neural networks, achieving a 95% market viability rate for generated designs.</p>\n <button class=\"read-more\">Read Full Paper</button>\n </article>\n </section>\n\n <section id=\"contact\" class=\"section\">\n <h2>Contact Us</h2>\n <form class=\"contact-form\">\n <div class=\"form-group\">\n <label for=\"name\">Name</label>\n <input type=\"text\" id=\"name\" required>\n </div>\n <div class=\"form-group\">\n <label for=\"email\">Email</label>\n <input type=\"email\" id=\"email\" required>\n </div>\n <div class=\"form-group\">\n <label for=\"message\">Message</label>\n <textarea id=\"message\" required></textarea>\n </div>\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>AI Handbagging Research Institute</h4>\n <p>Advancing the future of fashion design</p>\n </div>\n <div class=\"footer-section\">\n <h4>Contact</h4>\n <p>info@aihandbag.scroll.pub</p>\n <p>+1 (555) 123-4567</p>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2a2d34;\n --accent-color: #7c38d1;\n --text-color: #333;\n --light-bg: #f5f5f7;\n --spacing: 2rem;\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-header {\n background: var(--primary-color);\n padding: 1rem var(--spacing);\n position: fixed;\n width: 100%;\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 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 text-decoration: none;\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: color 0.3s;\n}\n\n.nav-links a:hover {\n color: var(--accent-color);\n}\n\n.mobile-menu-btn {\n display: none;\n}\n\n.hero {\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n background: linear-gradient(135deg, var(--primary-color), var(--accent-color));\n color: white;\n padding: var(--spacing);\n}\n\n.hero h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease-out;\n}\n\n.tagline {\n font-size: 1.5rem;\n opacity: 0.9;\n animation: fadeInUp 1s ease-out 0.3s backwards;\n}\n\n.section {\n padding: var(--spacing);\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.content-grid {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: var(--spacing);\n align-items: center;\n}\n\n.image-placeholder {\n background: var(--light-bg);\n height: 300px;\n border-radius: 10px;\n}\n\n.research-cards {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: var(--spacing);\n margin-top: var(--spacing);\n}\n\n.card {\n background: white;\n padding: var(--spacing);\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0,0,0,0.1);\n transition: transform 0.3s;\n}\n\n.card:hover {\n transform: translateY(-5px);\n}\n\n.paper-preview {\n background: var(--light-bg);\n padding: var(--spacing);\n border-radius: 10px;\n margin-top: var(--spacing);\n}\n\n.contact-form {\n max-width: 600px;\n margin: 0 auto;\n}\n\n.form-group {\n margin-bottom: 1.5rem;\n}\n\n.form-group label {\n display: block;\n margin-bottom: 0.5rem;\n}\n\n.form-group input,\n.form-group textarea {\n width: 100%;\n padding: 0.8rem;\n border: 1px solid #ddd;\n border-radius: 5px;\n}\n\nbutton {\n background: var(--accent-color);\n color: white;\n border: none;\n padding: 0.8rem 1.5rem;\n border-radius: 5px;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n\nbutton:hover {\n background-color: #6428b8;\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n padding: var(--spacing);\n margin-top: var(--spacing);\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: var(--spacing);\n}\n\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 (max-width: 768px) {\n .mobile-menu-btn {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n padding: 0.5rem;\n }\n\n .mobile-menu-btn span {\n display: block;\n width: 25px;\n height: 3px;\n background: white;\n margin: 5px 0;\n transition: 0.3s;\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 text-align: center;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .content-grid {\n grid-template-columns: 1fr;\n }\n\n .hero h1 {\n font-size: 2.5rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu functionality\n const menuBtn = document.querySelector('.mobile-menu-btn');\n const navLinks = document.querySelector('.nav-links');\n\n menuBtn.addEventListener('click', () => {\n navLinks.classList.toggle('active');\n \n const spans = menuBtn.querySelectorAll('span');\n spans.forEach(span => span.classList.toggle('active'));\n });\n\n // Smooth scrolling 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 \n if (target) {\n target.scrollIntoView({\n behavior: 'smooth'\n });\n \n // Close mobile menu if open\n navLinks.classList.remove('active');\n }\n });\n });\n\n // Form submission handling\n const contactForm = document.querySelector('.contact-form');\n if (contactForm) {\n contactForm.addEventListener('submit', (e) => {\n e.preventDefault();\n \n // Simulate form submission\n const submitButton = contactForm.querySelector('button[type=\"submit\"]');\n submitButton.textContent = 'Sending...';\n \n setTimeout(() => {\n alert('Thank you for your message! We will get back to you soon.');\n contactForm.reset();\n submitButton.textContent = 'Send Message';\n }, 1500);\n });\n }\n\n // Intersection Observer for fade-in 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.style.opacity = '1';\n entry.target.style.transform = 'translateY(0)';\n }\n });\n }, observerOptions);\n\n // Apply fade-in animation to sections\n document.querySelectorAll('.section').forEach(section => {\n section.style.opacity = '0';\n section.style.transform = 'translateY(20px)';\n section.style.transition = 'opacity 0.6s ease-out, transform 0.6s ease-out';\n observer.observe(section);\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 300, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3313 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..8a7bf15 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# aihandbag.scroll.pub +Website generated by Claude from prompt: I want a website that describes the advances on AI handbagging and a research organization working on AI handbagging and also talks about their last paper. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..7b3f018 --- /dev/null +++ b/script.js @@ -0,0 +1,70 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile menu functionality + const menuBtn = document.querySelector('.mobile-menu-btn'); + const navLinks = document.querySelector('.nav-links'); + + menuBtn.addEventListener('click', () => { + navLinks.classList.toggle('active'); + + const spans = menuBtn.querySelectorAll('span'); + spans.forEach(span => span.classList.toggle('active')); + }); + + // Smooth scrolling 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' + }); + + // Close mobile menu if open + navLinks.classList.remove('active'); + } + }); + }); + + // Form submission handling + const contactForm = document.querySelector('.contact-form'); + if (contactForm) { + contactForm.addEventListener('submit', (e) => { + e.preventDefault(); + + // Simulate form submission + const submitButton = contactForm.querySelector('button[type="submit"]'); + submitButton.textContent = 'Sending...'; + + setTimeout(() => { + alert('Thank you for your message! We will get back to you soon.'); + contactForm.reset(); + submitButton.textContent = 'Send Message'; + }, 1500); + }); + } + + // Intersection Observer for fade-in animations + const observerOptions = { + threshold: 0.1, + rootMargin: '0px 0px -50px 0px' + }; + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.style.opacity = '1'; + entry.target.style.transform = 'translateY(0)'; + } + }); + }, observerOptions); + + // Apply fade-in animation to sections + document.querySelectorAll('.section').forEach(section => { + section.style.opacity = '0'; + section.style.transform = 'translateY(20px)'; + section.style.transition = 'opacity 0.6s ease-out, transform 0.6s ease-out'; + observer.observe(section); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..8cfb1e5 --- /dev/null +++ b/style.css @@ -0,0 +1,237 @@ +:root { + --primary-color: #2a2d34; + --accent-color: #7c38d1; + --text-color: #333; + --light-bg: #f5f5f7; + --spacing: 2rem; +} + +* { + 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-header { + background: var(--primary-color); + padding: 1rem var(--spacing); + position: fixed; + width: 100%; + z-index: 1000; + box-shadow: 0 2px 10px rgba(0,0,0,0.1); +} + +.nav-container { + max-width: 1200px; + margin: 0 auto; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + color: white; + font-size: 1.5rem; + font-weight: bold; + text-decoration: none; +} + +.nav-links { + display: flex; + list-style: none; + gap: 2rem; +} + +.nav-links a { + color: white; + text-decoration: none; + transition: color 0.3s; +} + +.nav-links a:hover { + color: var(--accent-color); +} + +.mobile-menu-btn { + display: none; +} + +.hero { + height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); + color: white; + padding: var(--spacing); +} + +.hero h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + animation: fadeInUp 1s ease-out; +} + +.tagline { + font-size: 1.5rem; + opacity: 0.9; + animation: fadeInUp 1s ease-out 0.3s backwards; +} + +.section { + padding: var(--spacing); + max-width: 1200px; + margin: 0 auto; +} + +.content-grid { + display: grid; + grid-template-columns: 1fr 1fr; + gap: var(--spacing); + align-items: center; +} + +.image-placeholder { + background: var(--light-bg); + height: 300px; + border-radius: 10px; +} + +.research-cards { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: var(--spacing); + margin-top: var(--spacing); +} + +.card { + background: white; + padding: var(--spacing); + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0,0,0,0.1); + transition: transform 0.3s; +} + +.card:hover { + transform: translateY(-5px); +} + +.paper-preview { + background: var(--light-bg); + padding: var(--spacing); + border-radius: 10px; + margin-top: var(--spacing); +} + +.contact-form { + max-width: 600px; + margin: 0 auto; +} + +.form-group { + margin-bottom: 1.5rem; +} + +.form-group label { + display: block; + margin-bottom: 0.5rem; +} + +.form-group input, +.form-group textarea { + width: 100%; + padding: 0.8rem; + border: 1px solid #ddd; + border-radius: 5px; +} + +button { + background: var(--accent-color); + color: white; + border: none; + padding: 0.8rem 1.5rem; + border-radius: 5px; + cursor: pointer; + transition: background-color 0.3s; +} + +button:hover { + background-color: #6428b8; +} + +footer { + background: var(--primary-color); + color: white; + padding: var(--spacing); + margin-top: var(--spacing); +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: var(--spacing); +} + +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +@media (max-width: 768px) { + .mobile-menu-btn { + display: block; + background: none; + border: none; + cursor: pointer; + padding: 0.5rem; + } + + .mobile-menu-btn span { + display: block; + width: 25px; + height: 3px; + background: white; + margin: 5px 0; + transition: 0.3s; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: var(--primary-color); + flex-direction: column; + padding: 1rem; + text-align: center; + } + + .nav-links.active { + display: flex; + } + + .content-grid { + grid-template-columns: 1fr; + } + + .hero h1 { + font-size: 2.5rem; + } +}