commit b6794ccf0494ac2e90db3e3c0172a90757c15af0
Author: ffff:76.126.35.15 <ffff:76.126.35.15@solarisrising.scroll.pub> Date: 2025-01-02 15:15:04 +0000 Subject: updated notes.scroll diff --git a/notes.scroll b/notes.scroll index a38f36c..9d82bd2 100644 --- a/notes.scroll +++ b/notes.scroll @@ -1 +1,4 @@ -Make it so good that \ No newline at end of file + + + +Make it so reliable that we wouldn't think twice about writing a whole novel in heere, \ No newline at end of file
commit 0bd25b48a373cd22bb074dc79abc3193d13e48a4
Author: ffff:76.126.35.15 <ffff:76.126.35.15@solarisrising.scroll.pub> Date: 2025-01-02 15:14:40 +0000 Subject: updated notes.scroll diff --git a/notes.scroll b/notes.scroll index e69de29..a38f36c 100644 --- a/notes.scroll +++ b/notes.scroll @@ -0,0 +1 @@ +Make it so good that \ No newline at end of file
commit 8324052dd9aebdb9d5683e2728a46d161a715220
Author: ffff:76.126.35.15 <ffff:76.126.35.15@solarisrising.scroll.pub> Date: 2025-01-02 15:14:27 +0000 Subject: created notes.scroll diff --git a/notes.scroll b/notes.scroll new file mode 100644 index 0000000..e69de29
commit 74cd32037a98102644610c9085b9893c67b20017
Author: root <root@hub.scroll.pub> Date: 2025-01-02 15:13:03 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..3ea2bab --- /dev/null +++ b/body.html @@ -0,0 +1,79 @@ +<header class="main-header"> + <nav> + <div class="logo">SOLARIS RISING</div> + <button class="menu-toggle" aria-label="Toggle menu"> + <span></span> + <span></span> + <span></span> + </button> + <ul class="nav-links"> + <li><a href="#story">The Story</a></li> + <li><a href="#character">Main Character</a></li> + <li><a href="#chapters">Sample Chapters</a></li> + <li><a href="#subscribe">Subscribe</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h1>SOLARIS RISING</h1> + <p class="tagline">"The stars were our destiny. The planets became our home."</p> + <div class="hero-cta"> + <button class="cta-button">Read Chapter One</button> + </div> + </div> + <div class="star-field"></div> + </section> + + <section id="story" class="story-section"> + <h2>The Story</h2> + <p>In 2157, humanity faces its greatest challenge: unite or perish. As Earth's resources dwindle, Commander Sarah Chen leads humanity's most ambitious project - the systematic colonization of every habitable body in our solar system. But when ancient artifacts are discovered on Mars, the mission becomes a race against an unknown deadline.</p> + </section> + + <section id="character" class="character-section"> + <div class="character-card"> + <h2>Commander Sarah Chen</h2> + <div class="character-content"> + <p>Brilliant strategist. Fearless explorer. The architect of humanity's greatest expansion. Sarah Chen carries the weight of our species' future while harboring a secret that could unravel everything we thought we knew about our place in the cosmos.</p> + </div> + </div> + </section> + + <section id="chapters" class="chapters-section"> + <h2>Sample Chapters</h2> + <div class="chapter-grid"> + <article class="chapter-card"> + <h3>Chapter 1: The Launch</h3> + <p>The day humanity decided to claim the stars...</p> + </article> + <article class="chapter-card"> + <h3>Chapter 2: Red Dust</h3> + <p>Mars holds more than just frozen water...</p> + </article> + <article class="chapter-card"> + <h3>Chapter 3: Europa's Secret</h3> + <p>Beneath the ice, something calls...</p> + </article> + </div> + </section> + + <section id="subscribe" class="subscribe-section"> + <h2>Stay Updated</h2> + <form class="subscribe-form"> + <input type="email" placeholder="Enter your email" required> + <button type="submit">Subscribe</button> + </form> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-links"> + <a href="#privacy">Privacy Policy</a> + <a href="#terms">Terms of Use</a> + <a href="#contact">Contact</a> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..7596261 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://solarisrising.scroll.pub +metaTags +editButton /edit.html +title Solaris Rising - The Epic Saga of Humanity's Solar Conquest +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..93bfca1 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_019gNdbaDe8cxwZbEHqh6q3Z", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "Let me create a website for this sci-fi novel concept. I'll call it \"Solaris Rising\" - a story about humanity's expansion across the solar system.\n\n---domain---\nsolarisrising.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://solarisrising.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Solaris Rising - The Epic Saga of Humanity's Solar Conquest\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header class=\"main-header\">\n <nav>\n <div class=\"logo\">SOLARIS RISING</div>\n <button class=\"menu-toggle\" aria-label=\"Toggle menu\">\n <span></span>\n <span></span>\n <span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#story\">The Story</a></li>\n <li><a href=\"#character\">Main Character</a></li>\n <li><a href=\"#chapters\">Sample Chapters</a></li>\n <li><a href=\"#subscribe\">Subscribe</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>SOLARIS RISING</h1>\n <p class=\"tagline\">\"The stars were our destiny. The planets became our home.\"</p>\n <div class=\"hero-cta\">\n <button class=\"cta-button\">Read Chapter One</button>\n </div>\n </div>\n <div class=\"star-field\"></div>\n </section>\n\n <section id=\"story\" class=\"story-section\">\n <h2>The Story</h2>\n <p>In 2157, humanity faces its greatest challenge: unite or perish. As Earth's resources dwindle, Commander Sarah Chen leads humanity's most ambitious project - the systematic colonization of every habitable body in our solar system. But when ancient artifacts are discovered on Mars, the mission becomes a race against an unknown deadline.</p>\n </section>\n\n <section id=\"character\" class=\"character-section\">\n <div class=\"character-card\">\n <h2>Commander Sarah Chen</h2>\n <div class=\"character-content\">\n <p>Brilliant strategist. Fearless explorer. The architect of humanity's greatest expansion. Sarah Chen carries the weight of our species' future while harboring a secret that could unravel everything we thought we knew about our place in the cosmos.</p>\n </div>\n </div>\n </section>\n\n <section id=\"chapters\" class=\"chapters-section\">\n <h2>Sample Chapters</h2>\n <div class=\"chapter-grid\">\n <article class=\"chapter-card\">\n <h3>Chapter 1: The Launch</h3>\n <p>The day humanity decided to claim the stars...</p>\n </article>\n <article class=\"chapter-card\">\n <h3>Chapter 2: Red Dust</h3>\n <p>Mars holds more than just frozen water...</p>\n </article>\n <article class=\"chapter-card\">\n <h3>Chapter 3: Europa's Secret</h3>\n <p>Beneath the ice, something calls...</p>\n </article>\n </div>\n </section>\n\n <section id=\"subscribe\" class=\"subscribe-section\">\n <h2>Stay Updated</h2>\n <form class=\"subscribe-form\">\n <input type=\"email\" placeholder=\"Enter your email\" required>\n <button type=\"submit\">Subscribe</button>\n </form>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-links\">\n <a href=\"#privacy\">Privacy Policy</a>\n <a href=\"#terms\">Terms of Use</a>\n <a href=\"#contact\">Contact</a>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #0a192f;\n --accent-color: #64ffda;\n --text-color: #ccd6f6;\n --background-color: #020c1b;\n --transition: all 0.3s ease-in-out;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Inter', sans-serif;\n background-color: var(--background-color);\n color: var(--text-color);\n line-height: 1.6;\n}\n\n.main-header {\n position: fixed;\n width: 100%;\n z-index: 1000;\n background: rgba(2, 12, 27, 0.9);\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}\n\n.logo {\n font-size: 1.5rem;\n font-weight: 700;\n color: var(--accent-color);\n letter-spacing: 2px;\n}\n\n.nav-links {\n display: flex;\n list-style: none;\n gap: 2rem;\n}\n\n.nav-links a {\n color: var(--text-color);\n text-decoration: none;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--accent-color);\n}\n\n.menu-toggle {\n display: none;\n}\n\n.hero {\n 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: 2;\n}\n\n.hero h1 {\n font-size: 4rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease-out;\n}\n\n.tagline {\n font-size: 1.5rem;\n margin-bottom: 2rem;\n animation: fadeInUp 1s ease-out 0.3s backwards;\n}\n\n.star-field {\n position: absolute;\n width: 100%;\n height: 100%;\n animation: rotate 100s linear infinite;\n}\n\n.cta-button {\n padding: 1rem 2rem;\n font-size: 1.1rem;\n background: transparent;\n border: 2px solid var(--accent-color);\n color: var(--accent-color);\n cursor: pointer;\n transition: var(--transition);\n}\n\n.cta-button:hover {\n background: rgba(100, 255, 218, 0.1);\n transform: translateY(-3px);\n}\n\nsection {\n padding: 5rem 10%;\n}\n\n.character-card {\n background: rgba(10, 25, 47, 0.7);\n border-radius: 10px;\n padding: 2rem;\n margin: 2rem 0;\n border: 1px solid var(--accent-color);\n}\n\n.chapter-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.chapter-card {\n background: rgba(10, 25, 47, 0.7);\n padding: 1.5rem;\n border-radius: 8px;\n transition: var(--transition);\n}\n\n.chapter-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 10px 20px rgba(100, 255, 218, 0.1);\n}\n\n.subscribe-form {\n display: flex;\n gap: 1rem;\n max-width: 500px;\n margin: 2rem auto;\n}\n\n.subscribe-form input {\n flex: 1;\n padding: 0.8rem;\n border: none;\n border-radius: 4px;\n background: rgba(255, 255, 255, 0.1);\n color: var(--text-color);\n}\n\n.subscribe-form button {\n padding: 0.8rem 1.5rem;\n background: var(--accent-color);\n border: none;\n border-radius: 4px;\n color: var(--primary-color);\n cursor: pointer;\n transition: var(--transition);\n}\n\nfooter {\n padding: 2rem 5%;\n background: var(--primary-color);\n text-align: center;\n}\n\n.footer-links {\n display: flex;\n justify-content: center;\n gap: 2rem;\n}\n\n.footer-links a {\n color: var(--text-color);\n text-decoration: none;\n transition: var(--transition);\n}\n\n@media (max-width: 768px) {\n .menu-toggle {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n }\n\n .menu-toggle span {\n display: block;\n width: 25px;\n height: 3px;\n background: var(--accent-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 width: 100%;\n background: var(--primary-color);\n flex-direction: column;\n text-align: center;\n padding: 1rem 0;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero h1 {\n font-size: 2.5rem;\n }\n\n .tagline {\n font-size: 1.2rem;\n }\n\n .subscribe-form {\n flex-direction: column;\n }\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@keyframes rotate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\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 \n // Animate hamburger to X\n menuToggle.classList.toggle('active');\n });\n\n // Create star field\n const starField = document.querySelector('.star-field');\n for (let i = 0; i < 200; i++) {\n const star = document.createElement('div');\n star.className = 'star';\n star.style.left = `${Math.random() * 100}%`;\n star.style.top = `${Math.random() * 100}%`;\n star.style.width = `${Math.random() * 3}px`;\n star.style.height = star.style.width;\n star.style.backgroundColor = '#fff';\n star.style.position = 'absolute';\n star.style.borderRadius = '50%';\n star.style.opacity = Math.random();\n starField.appendChild(star);\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 document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n // Form submission handler\n const subscribeForm = document.querySelector('.subscribe-form');\n subscribeForm.addEventListener('submit', (e) => {\n e.preventDefault();\n const email = e.target.querySelector('input[type=\"email\"]').value;\n // Add subscription logic here\n alert(`Thank you for subscribing with ${email}!`);\n e.target.reset();\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 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\n---end---\n\nThis website features a modern, space-themed design with smooth animations, a responsive layout, and interactive elements. The color scheme uses deep blues and cyan accents to create a futuristic feel. Key features include:\n\n1. Animated star field background\n2. Smooth scrolling navigation\n3. Mobile-responsive design with hamburger menu\n4. Intersection Observer for scroll animations\n5. Newsletter subscription form\n6. Character and chapter preview cards\n7. Modern glassmorphism effects\n8. Accessible navigation and semantic HTML\n9. Performance-optimized animations\n10. Clean, modular code structure\n\nThe design emphasizes the sci-fi theme while maintaining professional aesthetics and usability." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 305, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3462 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..cae8496 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# solarisrising.scroll.pub +Website generated by Claude from prompt: a new novel about a human race that conquers and colonizes the whole solar system. should be a main character. and a real aweomse hook. be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..6760175 --- /dev/null +++ b/script.js @@ -0,0 +1,70 @@ +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'); + + // Animate hamburger to X + menuToggle.classList.toggle('active'); + }); + + // Create star field + const starField = document.querySelector('.star-field'); + for (let i = 0; i < 200; i++) { + const star = document.createElement('div'); + star.className = 'star'; + star.style.left = `${Math.random() * 100}%`; + star.style.top = `${Math.random() * 100}%`; + star.style.width = `${Math.random() * 3}px`; + star.style.height = star.style.width; + star.style.backgroundColor = '#fff'; + star.style.position = 'absolute'; + star.style.borderRadius = '50%'; + star.style.opacity = Math.random(); + starField.appendChild(star); + } + + // Smooth scroll 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 handler + const subscribeForm = document.querySelector('.subscribe-form'); + subscribeForm.addEventListener('submit', (e) => { + e.preventDefault(); + const email = e.target.querySelector('input[type="email"]').value; + // Add subscription logic here + alert(`Thank you for subscribing with ${email}!`); + e.target.reset(); + }); + + // 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); + + 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); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..8110f1b --- /dev/null +++ b/style.css @@ -0,0 +1,251 @@ +:root { + --primary-color: #0a192f; + --accent-color: #64ffda; + --text-color: #ccd6f6; + --background-color: #020c1b; + --transition: all 0.3s ease-in-out; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Inter', sans-serif; + background-color: var(--background-color); + color: var(--text-color); + line-height: 1.6; +} + +.main-header { + position: fixed; + width: 100%; + z-index: 1000; + background: rgba(2, 12, 27, 0.9); + backdrop-filter: blur(10px); +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 5%; +} + +.logo { + font-size: 1.5rem; + font-weight: 700; + color: var(--accent-color); + letter-spacing: 2px; +} + +.nav-links { + display: flex; + list-style: none; + gap: 2rem; +} + +.nav-links a { + color: var(--text-color); + text-decoration: none; + transition: var(--transition); +} + +.nav-links a:hover { + color: var(--accent-color); +} + +.menu-toggle { + display: none; +} + +.hero { + height: 100vh; + display: flex; + align-items: center; + justify-content: center; + position: relative; + overflow: hidden; +} + +.hero-content { + text-align: center; + z-index: 2; +} + +.hero h1 { + font-size: 4rem; + margin-bottom: 1rem; + animation: fadeInUp 1s ease-out; +} + +.tagline { + font-size: 1.5rem; + margin-bottom: 2rem; + animation: fadeInUp 1s ease-out 0.3s backwards; +} + +.star-field { + position: absolute; + width: 100%; + height: 100%; + animation: rotate 100s linear infinite; +} + +.cta-button { + padding: 1rem 2rem; + font-size: 1.1rem; + background: transparent; + border: 2px solid var(--accent-color); + color: var(--accent-color); + cursor: pointer; + transition: var(--transition); +} + +.cta-button:hover { + background: rgba(100, 255, 218, 0.1); + transform: translateY(-3px); +} + +section { + padding: 5rem 10%; +} + +.character-card { + background: rgba(10, 25, 47, 0.7); + border-radius: 10px; + padding: 2rem; + margin: 2rem 0; + border: 1px solid var(--accent-color); +} + +.chapter-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.chapter-card { + background: rgba(10, 25, 47, 0.7); + padding: 1.5rem; + border-radius: 8px; + transition: var(--transition); +} + +.chapter-card:hover { + transform: translateY(-5px); + box-shadow: 0 10px 20px rgba(100, 255, 218, 0.1); +} + +.subscribe-form { + display: flex; + gap: 1rem; + max-width: 500px; + margin: 2rem auto; +} + +.subscribe-form input { + flex: 1; + padding: 0.8rem; + border: none; + border-radius: 4px; + background: rgba(255, 255, 255, 0.1); + color: var(--text-color); +} + +.subscribe-form button { + padding: 0.8rem 1.5rem; + background: var(--accent-color); + border: none; + border-radius: 4px; + color: var(--primary-color); + cursor: pointer; + transition: var(--transition); +} + +footer { + padding: 2rem 5%; + background: var(--primary-color); + text-align: center; +} + +.footer-links { + display: flex; + justify-content: center; + gap: 2rem; +} + +.footer-links a { + color: var(--text-color); + text-decoration: none; + transition: var(--transition); +} + +@media (max-width: 768px) { + .menu-toggle { + display: block; + background: none; + border: none; + cursor: pointer; + } + + .menu-toggle span { + display: block; + width: 25px; + height: 3px; + background: var(--accent-color); + margin: 5px 0; + transition: var(--transition); + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + width: 100%; + background: var(--primary-color); + flex-direction: column; + text-align: center; + padding: 1rem 0; + } + + .nav-links.active { + display: flex; + } + + .hero h1 { + font-size: 2.5rem; + } + + .tagline { + font-size: 1.2rem; + } + + .subscribe-form { + flex-direction: column; + } +} + +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +@keyframes rotate { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +}