commit b4550415f0a7fc69fa4e7887e035fdd2a1c7c4a6
Author: root <root@hub.scroll.pub> Date: 2024-12-27 21:25:14 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..5c9a0d5 --- /dev/null +++ b/body.html @@ -0,0 +1,68 @@ +<header> + <nav> + <div class="logo">ArtCurate</div> + <div class="nav-links"> + <a href="#about">About</a> + <a href="#collections">Collections</a> + <a href="#contact">Contact</a> + </div> + <button class="mobile-menu" aria-label="Menu">☰</button> + </nav> +</header> + +<main> + <section class="hero"> + <h1>Curated Fine Art Collections</h1> + <p>Discovering and preserving exceptional artistic talent</p> + </section> + + <section id="about" class="about"> + <h2>About Our Gallery</h2> + <p>We specialize in curating distinctive collections that celebrate both emerging and established artists. Our carefully selected pieces represent the pinnacle of contemporary artistic expression.</p> + </section> + + <section id="collections" class="collections"> + <h2>Featured Collections</h2> + <div class="pdf-grid"> + <div class="pdf-card"> + <h3>Modern Abstracts</h3> + <div class="pdf-preview"></div> + <a href="collections/modern-abstracts.pdf" class="btn">View Collection</a> + </div> + <div class="pdf-card"> + <h3>Contemporary Sculptures</h3> + <div class="pdf-preview"></div> + <a href="collections/sculptures.pdf" class="btn">View Collection</a> + </div> + <div class="pdf-card"> + <h3>Digital Art</h3> + <div class="pdf-preview"></div> + <a href="collections/digital.pdf" class="btn">View Collection</a> + </div> + <div class="pdf-card"> + <h3>Photography</h3> + <div class="pdf-preview"></div> + <a href="collections/photography.pdf" class="btn">View Collection</a> + </div> + <div class="pdf-card"> + <h3>Mixed Media</h3> + <div class="pdf-preview"></div> + <a href="collections/mixed-media.pdf" class="btn">View Collection</a> + </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" class="btn">Send Message</button> + </form> + </section> +</main> + +<footer> + <p>ArtCurate | Fine Art Collections</p> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..57df735 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://artcurate.scroll.pub +metaTags +editButton /edit.html +title Curated Fine Art Collections +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..25e2223 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_016CX91qcALBsuR9fFMdvS1B", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll help create an elegant art collection website. For the domain, I suggest:\n\n---domain---\nartcurate.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://artcurate.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Curated Fine Art Collections\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">ArtCurate</div>\n <div class=\"nav-links\">\n <a href=\"#about\">About</a>\n <a href=\"#collections\">Collections</a>\n <a href=\"#contact\">Contact</a>\n </div>\n <button class=\"mobile-menu\" aria-label=\"Menu\">☰</button>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <h1>Curated Fine Art Collections</h1>\n <p>Discovering and preserving exceptional artistic talent</p>\n </section>\n\n <section id=\"about\" class=\"about\">\n <h2>About Our Gallery</h2>\n <p>We specialize in curating distinctive collections that celebrate both emerging and established artists. Our carefully selected pieces represent the pinnacle of contemporary artistic expression.</p>\n </section>\n\n <section id=\"collections\" class=\"collections\">\n <h2>Featured Collections</h2>\n <div class=\"pdf-grid\">\n <div class=\"pdf-card\">\n <h3>Modern Abstracts</h3>\n <div class=\"pdf-preview\"></div>\n <a href=\"collections/modern-abstracts.pdf\" class=\"btn\">View Collection</a>\n </div>\n <div class=\"pdf-card\">\n <h3>Contemporary Sculptures</h3>\n <div class=\"pdf-preview\"></div>\n <a href=\"collections/sculptures.pdf\" class=\"btn\">View Collection</a>\n </div>\n <div class=\"pdf-card\">\n <h3>Digital Art</h3>\n <div class=\"pdf-preview\"></div>\n <a href=\"collections/digital.pdf\" class=\"btn\">View Collection</a>\n </div>\n <div class=\"pdf-card\">\n <h3>Photography</h3>\n <div class=\"pdf-preview\"></div>\n <a href=\"collections/photography.pdf\" class=\"btn\">View Collection</a>\n </div>\n <div class=\"pdf-card\">\n <h3>Mixed Media</h3>\n <div class=\"pdf-preview\"></div>\n <a href=\"collections/mixed-media.pdf\" class=\"btn\">View Collection</a>\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\" class=\"btn\">Send Message</button>\n </form>\n </section>\n</main>\n\n<footer>\n <p>ArtCurate | Fine Art Collections</p>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --accent-color: #e74c3c;\n --text-color: #333;\n --background-color: #f9f9f9;\n --card-background: #ffffff;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Helvetica Neue', Arial, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n}\n\nheader {\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\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 font-size: 1.5rem;\n font-weight: bold;\n color: var(--primary-color);\n}\n\n.nav-links a {\n margin-left: 2rem;\n text-decoration: none;\n color: var(--primary-color);\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--accent-color);\n}\n\n.mobile-menu {\n display: none;\n background: none;\n border: none;\n font-size: 1.5rem;\n cursor: pointer;\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 padding: 2rem;\n background: linear-gradient(45deg, var(--primary-color), var(--accent-color));\n color: white;\n}\n\n.hero h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeIn 1s ease-out;\n}\n\n.hero p {\n font-size: 1.25rem;\n animation: fadeIn 1s ease-out 0.5s backwards;\n}\n\nsection {\n padding: 5rem 5%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\nh2 {\n font-size: 2.5rem;\n margin-bottom: 2rem;\n color: var(--primary-color);\n}\n\n.pdf-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n}\n\n.pdf-card {\n background: var(--card-background);\n padding: 1.5rem;\n border-radius: 10px;\n box-shadow: 0 4px 20px rgba(0,0,0,0.1);\n transition: transform 0.3s ease;\n}\n\n.pdf-card:hover {\n transform: translateY(-5px);\n}\n\n.pdf-preview {\n height: 200px;\n background: #eee;\n margin: 1rem 0;\n border-radius: 5px;\n}\n\n.btn {\n display: inline-block;\n padding: 0.8rem 1.5rem;\n background: var(--accent-color);\n color: white;\n text-decoration: none;\n border-radius: 5px;\n transition: background 0.3s ease;\n border: none;\n cursor: pointer;\n}\n\n.btn:hover {\n background: darken(var(--accent-color), 10%);\n}\n\nform {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n max-width: 600px;\n margin: 0 auto;\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}\n\nfooter {\n text-align: center;\n padding: 2rem;\n background: var(--primary-color);\n color: white;\n}\n\n@keyframes fadeIn {\n from { opacity: 0; transform: translateY(20px); }\n to { opacity: 1; transform: translateY(0); }\n}\n\n@media (max-width: 768px) {\n .mobile-menu {\n display: block;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n background: white;\n padding: 1rem;\n }\n\n .nav-links.active {\n display: flex;\n flex-direction: column;\n }\n\n .nav-links a {\n margin: 0.5rem 0;\n }\n\n .hero h1 {\n font-size: 2.5rem;\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 });\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 target.scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n // Contact form handling\n const contactForm = document.getElementById('contact-form');\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 get back to you soon.');\n contactForm.reset();\n });\n }\n\n // Intersection Observer for scroll animations\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 }, {\n threshold: 0.1\n });\n\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---\n\nThis website features:\n- Clean, minimal design focusing on the art\n- Smooth animations and transitions\n- Mobile-responsive layout\n- PDF collection previews\n- Contact form\n- Accessibility features\n- SEO-friendly structure\n- Smooth scroll behavior\n- Intersection Observer for scroll animations\n- Modern CSS with variables and flexbox/grid\n- Clean semantic HTML5 markup\n\nThe design is elegant and professional while maintaining simplicity. The color scheme can be easily modified by changing the CSS variables in the root selector." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 312, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2713 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..b057602 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# artcurate.scroll.pub +Website generated by Claude from prompt: i am an art collector. i need to build a website that informs that gives my company visibility but is simple. i want to upload 5 pdf files that will show art collections by a few artists. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..843431a --- /dev/null +++ b/script.js @@ -0,0 +1,50 @@ +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'); + }); + + // 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')); + target.scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Contact form handling + const contactForm = document.getElementById('contact-form'); + if (contactForm) { + 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(); + }); + } + + // Intersection Observer for scroll animations + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.style.opacity = 1; + entry.target.style.transform = 'translateY(0)'; + } + }); + }, { + threshold: 0.1 + }); + + 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..d8b798b --- /dev/null +++ b/style.css @@ -0,0 +1,199 @@ +:root { + --primary-color: #2c3e50; + --accent-color: #e74c3c; + --text-color: #333; + --background-color: #f9f9f9; + --card-background: #ffffff; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Helvetica Neue', Arial, sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); +} + +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 { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 5%; + max-width: 1200px; + margin: 0 auto; +} + +.logo { + font-size: 1.5rem; + font-weight: bold; + color: var(--primary-color); +} + +.nav-links a { + margin-left: 2rem; + text-decoration: none; + color: var(--primary-color); + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--accent-color); +} + +.mobile-menu { + display: none; + background: none; + border: none; + font-size: 1.5rem; + cursor: pointer; +} + +.hero { + height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + padding: 2rem; + background: linear-gradient(45deg, var(--primary-color), var(--accent-color)); + color: white; +} + +.hero h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + animation: fadeIn 1s ease-out; +} + +.hero p { + font-size: 1.25rem; + animation: fadeIn 1s ease-out 0.5s backwards; +} + +section { + padding: 5rem 5%; + max-width: 1200px; + margin: 0 auto; +} + +h2 { + font-size: 2.5rem; + margin-bottom: 2rem; + color: var(--primary-color); +} + +.pdf-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; +} + +.pdf-card { + background: var(--card-background); + padding: 1.5rem; + border-radius: 10px; + box-shadow: 0 4px 20px rgba(0,0,0,0.1); + transition: transform 0.3s ease; +} + +.pdf-card:hover { + transform: translateY(-5px); +} + +.pdf-preview { + height: 200px; + background: #eee; + margin: 1rem 0; + border-radius: 5px; +} + +.btn { + display: inline-block; + padding: 0.8rem 1.5rem; + background: var(--accent-color); + color: white; + text-decoration: none; + border-radius: 5px; + transition: background 0.3s ease; + border: none; + cursor: pointer; +} + +.btn:hover { + background: darken(var(--accent-color), 10%); +} + +form { + display: flex; + flex-direction: column; + gap: 1rem; + max-width: 600px; + margin: 0 auto; +} + +input, textarea { + padding: 1rem; + border: 1px solid #ddd; + border-radius: 5px; + font-size: 1rem; +} + +textarea { + height: 150px; +} + +footer { + text-align: center; + padding: 2rem; + background: var(--primary-color); + color: white; +} + +@keyframes fadeIn { + from { opacity: 0; transform: translateY(20px); } + to { opacity: 1; transform: translateY(0); } +} + +@media (max-width: 768px) { + .mobile-menu { + display: block; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + width: 100%; + background: white; + padding: 1rem; + } + + .nav-links.active { + display: flex; + flex-direction: column; + } + + .nav-links a { + margin: 0.5rem 0; + } + + .hero h1 { + font-size: 2.5rem; + } +}