commit 05ef3b7cd9da2da54463580e00d31cdfd2bbd6ba
Author: root <root@hub.scroll.pub> Date: 2025-01-07 04:38:53 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..45ad184 --- /dev/null +++ b/body.html @@ -0,0 +1,92 @@ +<header> + <nav> + <div class="logo">PRAD</div> + <div class="menu-toggle" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </div> + <ul class="nav-links"> + <li><a href="#home">Home</a></li> + <li><a href="#services">Services</a></li> + <li><a href="#work">Work</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> +</header> + +<main> + <section id="home" class="hero"> + <div class="hero-content"> + <h1>Creative Digital Solutions</h1> + <p>Transforming ideas into digital experiences</p> + <a href="#contact" class="cta-button">Get Started</a> + </div> + <div class="hero-shapes"> + <div class="shape shape-1"></div> + <div class="shape shape-2"></div> + <div class="shape shape-3"></div> + </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>Web Development</h3> + <p>Modern, responsive websites built with the latest technologies</p> + </div> + <div class="service-card"> + <div class="service-icon">🎨</div> + <h3>UI/UX Design</h3> + <p>Beautiful, intuitive interfaces that users love</p> + </div> + <div class="service-card"> + <div class="service-icon">📱</div> + <h3>Mobile Solutions</h3> + <p>Cross-platform applications that work seamlessly</p> + </div> + </div> + </section> + + <section id="work" class="work"> + <h2>Recent Work</h2> + <div class="work-grid"> + <div class="work-item"> + <div class="work-image"></div> + <h3>Project One</h3> + <p>Web Development</p> + </div> + <div class="work-item"> + <div class="work-image"></div> + <h3>Project Two</h3> + <p>UI/UX Design</p> + </div> + <div class="work-item"> + <div class="work-image"></div> + <h3>Project Three</h3> + <p>Mobile App</p> + </div> + </div> + </section> + + <section id="contact" class="contact"> + <h2>Get in Touch</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="logo">PRAD</div> + <div class="social-links"> + <a href="#" aria-label="Twitter">Twitter</a> + <a href="#" aria-label="LinkedIn">LinkedIn</a> + <a href="#" aria-label="Instagram">Instagram</a> + </div> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..0b722fa --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://prad.scroll.pub +metaTags +editButton /edit.html +title PRAD | Creative Digital 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..1074ed6 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01AcByhDF2ZdjeKXC868jotG", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "Based on the request \"prad\", I'll create a modern, minimalist personal portfolio/brand website.\n\nSuggested domain: prad.scroll.pub\n\n---domain---\nprad.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://prad.scroll.pub\nmetaTags\neditButton /edit.html\ntitle PRAD | Creative Digital Solutions\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">PRAD</div>\n <div class=\"menu-toggle\" aria-label=\"Toggle menu\">\n <span></span><span></span><span></span>\n </div>\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=\"#work\">Work</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>Creative Digital Solutions</h1>\n <p>Transforming ideas into digital experiences</p>\n <a href=\"#contact\" class=\"cta-button\">Get Started</a>\n </div>\n <div class=\"hero-shapes\">\n <div class=\"shape shape-1\"></div>\n <div class=\"shape shape-2\"></div>\n <div class=\"shape shape-3\"></div>\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>Web Development</h3>\n <p>Modern, responsive websites built with the latest technologies</p>\n </div>\n <div class=\"service-card\">\n <div class=\"service-icon\">🎨</div>\n <h3>UI/UX Design</h3>\n <p>Beautiful, intuitive interfaces that users love</p>\n </div>\n <div class=\"service-card\">\n <div class=\"service-icon\">📱</div>\n <h3>Mobile Solutions</h3>\n <p>Cross-platform applications that work seamlessly</p>\n </div>\n </div>\n </section>\n\n <section id=\"work\" class=\"work\">\n <h2>Recent Work</h2>\n <div class=\"work-grid\">\n <div class=\"work-item\">\n <div class=\"work-image\"></div>\n <h3>Project One</h3>\n <p>Web Development</p>\n </div>\n <div class=\"work-item\">\n <div class=\"work-image\"></div>\n <h3>Project Two</h3>\n <p>UI/UX Design</p>\n </div>\n <div class=\"work-item\">\n <div class=\"work-image\"></div>\n <h3>Project Three</h3>\n <p>Mobile App</p>\n </div>\n </div>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Get in Touch</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=\"logo\">PRAD</div>\n <div class=\"social-links\">\n <a href=\"#\" aria-label=\"Twitter\">Twitter</a>\n <a href=\"#\" aria-label=\"LinkedIn\">LinkedIn</a>\n <a href=\"#\" aria-label=\"Instagram\">Instagram</a>\n </div>\n </div>\n</footer>\n---style.css---\n:root {\n --primary: #6C63FF;\n --secondary: #2A2A2A;\n --accent: #FF6B6B;\n --background: #FFFFFF;\n --text: #333333;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nhtml {\n scroll-behavior: smooth;\n}\n\nbody {\n font-family: 'Inter', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text);\n background: var(--background);\n}\n\n/* Navigation */\nheader {\n position: fixed;\n width: 100%;\n z-index: 1000;\n background: rgba(255, 255, 255, 0.95);\n backdrop-filter: blur(10px);\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: 700;\n color: var(--primary);\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);\n font-weight: 500;\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--primary);\n}\n\n.menu-toggle {\n display: none;\n}\n\n/* Hero Section */\n.hero {\n min-height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n}\n\n.hero-content {\n text-align: center;\n z-index: 1;\n}\n\n.hero h1 {\n font-size: 4rem;\n margin-bottom: 1rem;\n background: linear-gradient(45deg, var(--primary), var(--accent));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.hero-shapes .shape {\n position: absolute;\n border-radius: 50%;\n filter: blur(40px);\n}\n\n.shape-1 {\n width: 300px;\n height: 300px;\n background: var(--primary);\n top: 20%;\n left: 20%;\n opacity: 0.1;\n animation: float 6s ease-in-out infinite;\n}\n\n.shape-2 {\n width: 200px;\n height: 200px;\n background: var(--accent);\n bottom: 20%;\n right: 20%;\n opacity: 0.1;\n animation: float 8s ease-in-out infinite reverse;\n}\n\n.shape-3 {\n width: 150px;\n height: 150px;\n background: var(--secondary);\n top: 50%;\n left: 50%;\n opacity: 0.1;\n animation: float 7s ease-in-out infinite;\n}\n\n@keyframes float {\n 0% { transform: translate(0, 0) rotate(0deg); }\n 50% { transform: translate(20px, 20px) rotate(180deg); }\n 100% { transform: translate(0, 0) rotate(360deg); }\n}\n\n.cta-button {\n display: inline-block;\n padding: 1rem 2rem;\n background: var(--primary);\n color: white;\n text-decoration: none;\n border-radius: 30px;\n font-weight: 600;\n transition: transform 0.3s ease, box-shadow 0.3s ease;\n}\n\n.cta-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);\n}\n\n/* Services Section */\n.services {\n padding: 5rem 5%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.services-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 3rem;\n}\n\n.service-card {\n padding: 2rem;\n background: white;\n border-radius: 20px;\n box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease;\n}\n\n.service-card:hover {\n transform: translateY(-5px);\n}\n\n.service-icon {\n font-size: 2rem;\n margin-bottom: 1rem;\n}\n\n/* Work Section */\n.work {\n padding: 5rem 5%;\n background: #f8f9fa;\n}\n\n.work-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n margin-top: 3rem;\n}\n\n.work-item {\n background: white;\n border-radius: 20px;\n overflow: hidden;\n box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);\n}\n\n.work-image {\n height: 200px;\n background: var(--primary);\n opacity: 0.1;\n}\n\n/* Contact Section */\n.contact {\n padding: 5rem 5%;\n max-width: 800px;\n margin: 0 auto;\n}\n\nform {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n margin-top: 2rem;\n}\n\ninput, textarea {\n padding: 1rem;\n border: 2px solid #eee;\n border-radius: 10px;\n font-family: inherit;\n}\n\ntextarea {\n min-height: 150px;\n}\n\nbutton[type=\"submit\"] {\n padding: 1rem;\n background: var(--primary);\n color: white;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n font-weight: 600;\n transition: background 0.3s ease;\n}\n\nbutton[type=\"submit\"]:hover {\n background: var(--accent);\n}\n\n/* Footer */\nfooter {\n background: var(--secondary);\n color: white;\n padding: 2rem 5%;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.social-links {\n display: flex;\n gap: 1rem;\n}\n\n.social-links a {\n color: white;\n text-decoration: none;\n transition: color 0.3s ease;\n}\n\n.social-links a:hover {\n color: var(--primary);\n}\n\n/* Mobile Responsiveness */\n@media (max-width: 768px) {\n .menu-toggle {\n display: flex;\n flex-direction: column;\n gap: 4px;\n cursor: pointer;\n }\n\n .menu-toggle span {\n width: 25px;\n height: 3px;\n background: var(--text);\n transition: 0.3s ease;\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 flex-direction: column;\n text-align: center;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero h1 {\n font-size: 2.5rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu toggle\n const menuToggle = document.querySelector('.menu-toggle');\n const navLinks = document.querySelector('.nav-links');\n\n menuToggle.addEventListener('click', () => {\n navLinks.classList.toggle('active');\n menuToggle.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 block: 'start'\n });\n // Close mobile menu if open\n navLinks.classList.remove('active');\n menuToggle.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 get back to 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": 272, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3498 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..26cf6b3 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# prad.scroll.pub +Website generated by Claude from prompt: prad \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..7a3bac5 --- /dev/null +++ b/script.js @@ -0,0 +1,50 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile menu toggle + const menuToggle = document.querySelector('.menu-toggle'); + const navLinks = document.querySelector('.nav-links'); + + menuToggle.addEventListener('click', () => { + navLinks.classList.toggle('active'); + menuToggle.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', + block: 'start' + }); + // Close mobile menu if open + navLinks.classList.remove('active'); + menuToggle.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 get back to 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..d196d8c --- /dev/null +++ b/style.css @@ -0,0 +1,314 @@ +:root { + --primary: #6C63FF; + --secondary: #2A2A2A; + --accent: #FF6B6B; + --background: #FFFFFF; + --text: #333333; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +html { + scroll-behavior: smooth; +} + +body { + font-family: 'Inter', system-ui, sans-serif; + line-height: 1.6; + color: var(--text); + background: var(--background); +} + +/* Navigation */ +header { + position: fixed; + width: 100%; + z-index: 1000; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); +} + +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: 700; + color: var(--primary); +} + +.nav-links { + display: flex; + gap: 2rem; + list-style: none; +} + +.nav-links a { + text-decoration: none; + color: var(--text); + font-weight: 500; + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--primary); +} + +.menu-toggle { + display: none; +} + +/* Hero Section */ +.hero { + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; + position: relative; + overflow: hidden; +} + +.hero-content { + text-align: center; + z-index: 1; +} + +.hero h1 { + font-size: 4rem; + margin-bottom: 1rem; + background: linear-gradient(45deg, var(--primary), var(--accent)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +.hero-shapes .shape { + position: absolute; + border-radius: 50%; + filter: blur(40px); +} + +.shape-1 { + width: 300px; + height: 300px; + background: var(--primary); + top: 20%; + left: 20%; + opacity: 0.1; + animation: float 6s ease-in-out infinite; +} + +.shape-2 { + width: 200px; + height: 200px; + background: var(--accent); + bottom: 20%; + right: 20%; + opacity: 0.1; + animation: float 8s ease-in-out infinite reverse; +} + +.shape-3 { + width: 150px; + height: 150px; + background: var(--secondary); + top: 50%; + left: 50%; + opacity: 0.1; + animation: float 7s ease-in-out infinite; +} + +@keyframes float { + 0% { transform: translate(0, 0) rotate(0deg); } + 50% { transform: translate(20px, 20px) rotate(180deg); } + 100% { transform: translate(0, 0) rotate(360deg); } +} + +.cta-button { + display: inline-block; + padding: 1rem 2rem; + background: var(--primary); + color: white; + text-decoration: none; + border-radius: 30px; + font-weight: 600; + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +.cta-button:hover { + transform: translateY(-2px); + box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2); +} + +/* Services Section */ +.services { + padding: 5rem 5%; + max-width: 1200px; + margin: 0 auto; +} + +.services-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 3rem; +} + +.service-card { + padding: 2rem; + background: white; + border-radius: 20px; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; +} + +.service-card:hover { + transform: translateY(-5px); +} + +.service-icon { + font-size: 2rem; + margin-bottom: 1rem; +} + +/* Work Section */ +.work { + padding: 5rem 5%; + background: #f8f9fa; +} + +.work-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + margin-top: 3rem; +} + +.work-item { + background: white; + border-radius: 20px; + overflow: hidden; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); +} + +.work-image { + height: 200px; + background: var(--primary); + opacity: 0.1; +} + +/* Contact Section */ +.contact { + padding: 5rem 5%; + max-width: 800px; + margin: 0 auto; +} + +form { + display: flex; + flex-direction: column; + gap: 1rem; + margin-top: 2rem; +} + +input, textarea { + padding: 1rem; + border: 2px solid #eee; + border-radius: 10px; + font-family: inherit; +} + +textarea { + min-height: 150px; +} + +button[type="submit"] { + padding: 1rem; + background: var(--primary); + color: white; + border: none; + border-radius: 10px; + cursor: pointer; + font-weight: 600; + transition: background 0.3s ease; +} + +button[type="submit"]:hover { + background: var(--accent); +} + +/* Footer */ +footer { + background: var(--secondary); + color: white; + padding: 2rem 5%; +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + display: flex; + justify-content: space-between; + align-items: center; +} + +.social-links { + display: flex; + gap: 1rem; +} + +.social-links a { + color: white; + text-decoration: none; + transition: color 0.3s ease; +} + +.social-links a:hover { + color: var(--primary); +} + +/* Mobile Responsiveness */ +@media (max-width: 768px) { + .menu-toggle { + display: flex; + flex-direction: column; + gap: 4px; + cursor: pointer; + } + + .menu-toggle span { + width: 25px; + height: 3px; + background: var(--text); + transition: 0.3s ease; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + width: 100%; + background: white; + padding: 1rem; + flex-direction: column; + text-align: center; + } + + .nav-links.active { + display: flex; + } + + .hero h1 { + font-size: 2.5rem; + } +} \ No newline at end of file