commit 8f61659441b2b647e01c8c1bc40bedb20e2a84d0
Author: root <root@hub.scroll.pub> Date: 2025-01-03 19:18:01 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..daffe5c --- /dev/null +++ b/body.html @@ -0,0 +1,63 @@ +<header> + <nav> + <div class="logo">G</div> + <ul> + <li><a href="#about">About</a></li> + <li><a href="#work">Work</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> +</header> + +<main> + <section id="hero"> + <h1>Gregory</h1> + <p class="tagline">Creative Professional</p> + <div class="scroll-indicator"></div> + </section> + + <section id="about"> + <h2>About Me</h2> + <div class="content-wrapper"> + <p>Hello, I'm Gregory. I bring ideas to life through creative solutions and thoughtful design. With years of experience in digital creation, I focus on delivering exceptional results that make an impact.</p> + </div> + </section> + + <section id="work"> + <h2>Selected Work</h2> + <div class="work-grid"> + <article class="work-item"> + <div class="work-content"> + <h3>Project One</h3> + <p>Creative Direction</p> + </div> + </article> + <article class="work-item"> + <div class="work-content"> + <h3>Project Two</h3> + <p>Design & Strategy</p> + </div> + </article> + <article class="work-item"> + <div class="work-content"> + <h3>Project Three</h3> + <p>Brand Development</p> + </div> + </article> + </div> + </section> + + <section id="contact"> + <h2>Get in Touch</h2> + <form id="contact-form"> + <input type="text" placeholder="Name" required aria-label="Name"> + <input type="email" placeholder="Email" required aria-label="Email"> + <textarea placeholder="Message" required aria-label="Message"></textarea> + <button type="submit">Send Message</button> + </form> + </section> +</main> + +<footer> + <p>Gregory | Professional Portfolio</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..7f5afbd --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://greg.scroll.pub +metaTags +editButton /edit.html +title Gregory - Creative Professional +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..e04945d --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01NqS6LcDSi4tdUyZky9Mw1r", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "For a website about \"Gregory\", I'll create a personal portfolio/profile site with an elegant, professional design.\n\nSuggested domain: greg.scroll.pub\n\n---domain---\ngreg.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://greg.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Gregory - Creative Professional\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">G</div>\n <ul>\n <li><a href=\"#about\">About</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=\"hero\">\n <h1>Gregory</h1>\n <p class=\"tagline\">Creative Professional</p>\n <div class=\"scroll-indicator\"></div>\n </section>\n\n <section id=\"about\">\n <h2>About Me</h2>\n <div class=\"content-wrapper\">\n <p>Hello, I'm Gregory. I bring ideas to life through creative solutions and thoughtful design. With years of experience in digital creation, I focus on delivering exceptional results that make an impact.</p>\n </div>\n </section>\n\n <section id=\"work\">\n <h2>Selected Work</h2>\n <div class=\"work-grid\">\n <article class=\"work-item\">\n <div class=\"work-content\">\n <h3>Project One</h3>\n <p>Creative Direction</p>\n </div>\n </article>\n <article class=\"work-item\">\n <div class=\"work-content\">\n <h3>Project Two</h3>\n <p>Design & Strategy</p>\n </div>\n </article>\n <article class=\"work-item\">\n <div class=\"work-content\">\n <h3>Project Three</h3>\n <p>Brand Development</p>\n </div>\n </article>\n </div>\n </section>\n\n <section id=\"contact\">\n <h2>Get in Touch</h2>\n <form id=\"contact-form\">\n <input type=\"text\" placeholder=\"Name\" required aria-label=\"Name\">\n <input type=\"email\" placeholder=\"Email\" required aria-label=\"Email\">\n <textarea placeholder=\"Message\" required aria-label=\"Message\"></textarea>\n <button type=\"submit\">Send Message</button>\n </form>\n </section>\n</main>\n\n<footer>\n <p>Gregory | Professional Portfolio</p>\n</footer>\n---style.css---\n:root {\n --primary: #2c3e50;\n --accent: #3498db;\n --text: #2c3e50;\n --background: #f9f9f9;\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);\n background: var(--background);\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}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem var(--spacing);\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.logo {\n font-size: 2rem;\n font-weight: bold;\n color: var(--primary);\n background: linear-gradient(135deg, var(--primary), var(--accent));\n -webkit-background-clip: text;\n background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\nnav ul {\n display: flex;\n list-style: none;\n gap: 2rem;\n}\n\nnav a {\n text-decoration: none;\n color: var(--text);\n font-weight: 500;\n transition: color 0.3s ease;\n}\n\nnav a:hover {\n color: var(--accent);\n}\n\nsection {\n padding: 5rem var(--spacing);\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n#hero {\n background: linear-gradient(135deg, var(--primary), var(--accent));\n color: white;\n text-align: center;\n}\n\nh1 {\n font-size: 4rem;\n margin-bottom: 1rem;\n animation: fadeIn 1s ease-out;\n}\n\n.tagline {\n font-size: 1.5rem;\n opacity: 0.9;\n animation: slideUp 1s ease-out 0.5s both;\n}\n\n.scroll-indicator {\n width: 30px;\n height: 50px;\n border: 2px solid white;\n border-radius: 15px;\n position: absolute;\n bottom: 2rem;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.scroll-indicator::before {\n content: '';\n width: 6px;\n height: 6px;\n background: white;\n border-radius: 50%;\n position: absolute;\n top: 8px;\n left: 50%;\n transform: translateX(-50%);\n animation: scroll 1.5s infinite;\n}\n\n.work-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.work-item {\n background: white;\n border-radius: 10px;\n overflow: hidden;\n box-shadow: 0 4px 6px rgba(0,0,0,0.1);\n transition: transform 0.3s ease;\n aspect-ratio: 16/9;\n position: relative;\n}\n\n.work-item:hover {\n transform: translateY(-5px);\n}\n\n.work-content {\n position: absolute;\n bottom: 0;\n width: 100%;\n padding: 1.5rem;\n background: linear-gradient(transparent, rgba(0,0,0,0.8));\n color: white;\n}\n\nform {\n max-width: 600px;\n margin: 0 auto;\n display: grid;\n gap: 1rem;\n}\n\ninput, textarea {\n padding: 1rem;\n border: 2px solid #ddd;\n border-radius: 5px;\n font-family: inherit;\n transition: border-color 0.3s ease;\n}\n\ninput:focus, textarea:focus {\n border-color: var(--accent);\n outline: none;\n}\n\nbutton {\n padding: 1rem 2rem;\n background: var(--accent);\n color: white;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\nbutton:hover {\n background: var(--primary);\n}\n\n@keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n@keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@keyframes scroll {\n 0% { transform: translate(-50%, 0); opacity: 1; }\n 75% { transform: translate(-50%, 20px); opacity: 0; }\n 100% { transform: translate(-50%, 0); opacity: 0; }\n}\n\n@media (max-width: 768px) {\n nav ul {\n gap: 1rem;\n }\n \n h1 {\n font-size: 3rem;\n }\n \n section {\n padding: 3rem var(--spacing);\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Smooth scrolling for navigation links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n // Form submission handling\n const form = document.getElementById('contact-form');\n if (form) {\n form.addEventListener('submit', (e) => {\n e.preventDefault();\n const formData = new FormData(form);\n // Add form submission logic here\n alert('Message sent! (Demo purposes only)');\n form.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 }, { threshold: 0.1 });\n\n // Observe all sections except hero\n document.querySelectorAll('section:not(#hero)').forEach(section => {\n section.style.opacity = '0';\n section.style.transform = 'translateY(20px)';\n section.style.transition = 'all 0.6s ease-out';\n observer.observe(section);\n });\n});\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 271, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2492 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..7a0edd7 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# greg.scroll.pub +Website generated by Claude from prompt: gregory \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..7cef786 --- /dev/null +++ b/script.js @@ -0,0 +1,41 @@ +document.addEventListener('DOMContentLoaded', () => { + // Smooth scrolling for navigation links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Form submission handling + const form = document.getElementById('contact-form'); + if (form) { + form.addEventListener('submit', (e) => { + e.preventDefault(); + const formData = new FormData(form); + // Add form submission logic here + alert('Message sent! (Demo purposes only)'); + form.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 }); + + // Observe all sections except hero + document.querySelectorAll('section:not(#hero)').forEach(section => { + section.style.opacity = '0'; + section.style.transform = 'translateY(20px)'; + section.style.transition = 'all 0.6s ease-out'; + observer.observe(section); + }); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..2994e9f --- /dev/null +++ b/style.css @@ -0,0 +1,214 @@ +:root { + --primary: #2c3e50; + --accent: #3498db; + --text: #2c3e50; + --background: #f9f9f9; + --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); + background: var(--background); +} + +header { + position: fixed; + width: 100%; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + z-index: 1000; +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem var(--spacing); + max-width: 1200px; + margin: 0 auto; +} + +.logo { + font-size: 2rem; + font-weight: bold; + color: var(--primary); + background: linear-gradient(135deg, var(--primary), var(--accent)); + -webkit-background-clip: text; + background-clip: text; + -webkit-text-fill-color: transparent; +} + +nav ul { + display: flex; + list-style: none; + gap: 2rem; +} + +nav a { + text-decoration: none; + color: var(--text); + font-weight: 500; + transition: color 0.3s ease; +} + +nav a:hover { + color: var(--accent); +} + +section { + padding: 5rem var(--spacing); + min-height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; +} + +#hero { + background: linear-gradient(135deg, var(--primary), var(--accent)); + color: white; + text-align: center; +} + +h1 { + font-size: 4rem; + margin-bottom: 1rem; + animation: fadeIn 1s ease-out; +} + +.tagline { + font-size: 1.5rem; + opacity: 0.9; + animation: slideUp 1s ease-out 0.5s both; +} + +.scroll-indicator { + width: 30px; + height: 50px; + border: 2px solid white; + border-radius: 15px; + position: absolute; + bottom: 2rem; + left: 50%; + transform: translateX(-50%); +} + +.scroll-indicator::before { + content: ''; + width: 6px; + height: 6px; + background: white; + border-radius: 50%; + position: absolute; + top: 8px; + left: 50%; + transform: translateX(-50%); + animation: scroll 1.5s infinite; +} + +.work-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.work-item { + background: white; + border-radius: 10px; + overflow: hidden; + box-shadow: 0 4px 6px rgba(0,0,0,0.1); + transition: transform 0.3s ease; + aspect-ratio: 16/9; + position: relative; +} + +.work-item:hover { + transform: translateY(-5px); +} + +.work-content { + position: absolute; + bottom: 0; + width: 100%; + padding: 1.5rem; + background: linear-gradient(transparent, rgba(0,0,0,0.8)); + color: white; +} + +form { + max-width: 600px; + margin: 0 auto; + display: grid; + gap: 1rem; +} + +input, textarea { + padding: 1rem; + border: 2px solid #ddd; + border-radius: 5px; + font-family: inherit; + transition: border-color 0.3s ease; +} + +input:focus, textarea:focus { + border-color: var(--accent); + outline: none; +} + +button { + padding: 1rem 2rem; + background: var(--accent); + color: white; + border: none; + border-radius: 5px; + cursor: pointer; + transition: background 0.3s ease; +} + +button:hover { + background: var(--primary); +} + +@keyframes fadeIn { + from { opacity: 0; } + to { opacity: 1; } +} + +@keyframes slideUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +@keyframes scroll { + 0% { transform: translate(-50%, 0); opacity: 1; } + 75% { transform: translate(-50%, 20px); opacity: 0; } + 100% { transform: translate(-50%, 0); opacity: 0; } +} + +@media (max-width: 768px) { + nav ul { + gap: 1rem; + } + + h1 { + font-size: 3rem; + } + + section { + padding: 3rem var(--spacing); + } +} \ No newline at end of file