commit b945fbea59d278bf4dbaab16c206a8213600eff2
Author: root <root@hub.scroll.pub> Date: 2024-12-30 07:33:01 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..91ec8d3 --- /dev/null +++ b/body.html @@ -0,0 +1,72 @@ +<header> + <nav> + <div class="logo">MRenhance<span>AI</span></div> + <div class="nav-links"> + <a href="#demo">Demo</a> + <a href="#features">Features</a> + <a href="#contact">Contact</a> + </div> + </nav> +</header> + +<main> + <section class="hero"> + <h1>Transform Medical Imaging with AI</h1> + <p>Advanced deep learning technology to enhance MRI quality in real-time</p> + </section> + + <section id="demo" class="demo-section"> + <h2>Interactive Demo</h2> + <div class="demo-container"> + <div class="image-comparison"> + <div class="before"> + <img src="before-image.jpg" alt="Before enhancement" id="before-img"> + <span class="label">Before</span> + </div> + <div class="after"> + <img src="after-image.jpg" alt="After enhancement" id="after-img"> + <span class="label">After</span> + </div> + <div class="slider"></div> + </div> + <div class="controls"> + <button id="upload-btn">Upload Image</button> + <button id="enhance-btn">Enhance</button> + </div> + </div> + </section> + + <section id="features" class="features"> + <h2>Key Features</h2> + <div class="features-grid"> + <div class="feature"> + <div class="feature-icon">⚡</div> + <h3>Real-time Processing</h3> + <p>Enhanced images in seconds</p> + </div> + <div class="feature"> + <div class="feature-icon">🎯</div> + <h3>99.9% Accuracy</h3> + <p>State-of-the-art precision</p> + </div> + <div class="feature"> + <div class="feature-icon">🔒</div> + <h3>HIPAA Compliant</h3> + <p>Secure medical data handling</p> + </div> + </div> + </section> + + <section id="contact" class="contact"> + <h2>Get in Touch</h2> + <form id="contact-form"> + <input type="email" placeholder="Your Email" required> + <textarea placeholder="Message" required></textarea> + <button type="submit">Send Message</button> + </form> + </section> +</main> + +<footer> + <p>MRenhance AI - Advanced Medical Imaging Solutions</p> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..884f20f --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://mrenhance.scroll.pub +metaTags +editButton /edit.html +title MR Image Enhancement AI - Next Generation Medical Imaging +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..b1fc1f9 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01PaG56VUYeepH6uaMPupQoy", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "Here's a professional website for an MR image enhancement demo:\n\n---domain---\nmrenhance.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://mrenhance.scroll.pub\nmetaTags\neditButton /edit.html\ntitle MR Image Enhancement AI - Next Generation Medical Imaging\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">MRenhance<span>AI</span></div>\n <div class=\"nav-links\">\n <a href=\"#demo\">Demo</a>\n <a href=\"#features\">Features</a>\n <a href=\"#contact\">Contact</a>\n </div>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <h1>Transform Medical Imaging with AI</h1>\n <p>Advanced deep learning technology to enhance MRI quality in real-time</p>\n </section>\n\n <section id=\"demo\" class=\"demo-section\">\n <h2>Interactive Demo</h2>\n <div class=\"demo-container\">\n <div class=\"image-comparison\">\n <div class=\"before\">\n <img src=\"before-image.jpg\" alt=\"Before enhancement\" id=\"before-img\">\n <span class=\"label\">Before</span>\n </div>\n <div class=\"after\">\n <img src=\"after-image.jpg\" alt=\"After enhancement\" id=\"after-img\">\n <span class=\"label\">After</span>\n </div>\n <div class=\"slider\"></div>\n </div>\n <div class=\"controls\">\n <button id=\"upload-btn\">Upload Image</button>\n <button id=\"enhance-btn\">Enhance</button>\n </div>\n </div>\n </section>\n\n <section id=\"features\" class=\"features\">\n <h2>Key Features</h2>\n <div class=\"features-grid\">\n <div class=\"feature\">\n <div class=\"feature-icon\">⚡</div>\n <h3>Real-time Processing</h3>\n <p>Enhanced images in seconds</p>\n </div>\n <div class=\"feature\">\n <div class=\"feature-icon\">🎯</div>\n <h3>99.9% Accuracy</h3>\n <p>State-of-the-art precision</p>\n </div>\n <div class=\"feature\">\n <div class=\"feature-icon\">🔒</div>\n <h3>HIPAA Compliant</h3>\n <p>Secure medical data handling</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=\"email\" placeholder=\"Your 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 <p>MRenhance AI - Advanced Medical Imaging Solutions</p>\n</footer>\n\n---style.css---\n:root {\n --primary: #2d5af0;\n --secondary: #0f1c4d;\n --accent: #4cd964;\n --text: #333;\n --bg: #ffffff;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n line-height: 1.6;\n color: var(--text);\n background: var(--bg);\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 20px rgba(0,0,0,0.1);\n}\n\nnav {\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem 2rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: 700;\n color: var(--secondary);\n}\n\n.logo span {\n color: var(--primary);\n}\n\n.nav-links a {\n margin-left: 2rem;\n text-decoration: none;\n color: var(--text);\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--primary);\n}\n\nmain {\n padding-top: 80px;\n}\n\n.hero {\n min-height: 80vh;\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(--secondary), var(--primary));\n color: white;\n padding: 2rem;\n}\n\nh1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeIn 1s ease-out;\n}\n\n.hero p {\n font-size: 1.5rem;\n max-width: 600px;\n animation: fadeIn 1s ease-out 0.5s both;\n}\n\n.demo-section {\n padding: 4rem 2rem;\n background: #f5f7ff;\n}\n\n.demo-container {\n max-width: 800px;\n margin: 0 auto;\n background: white;\n padding: 2rem;\n border-radius: 1rem;\n box-shadow: 0 10px 30px rgba(0,0,0,0.1);\n}\n\n.image-comparison {\n position: relative;\n height: 400px;\n margin: 2rem 0;\n overflow: hidden;\n border-radius: 0.5rem;\n}\n\n.controls {\n display: flex;\n gap: 1rem;\n justify-content: center;\n}\n\nbutton {\n padding: 0.8rem 2rem;\n border: none;\n border-radius: 2rem;\n background: var(--primary);\n color: white;\n cursor: pointer;\n transition: transform 0.2s ease;\n}\n\nbutton:hover {\n transform: translateY(-2px);\n}\n\n.features {\n padding: 4rem 2rem;\n}\n\n.features-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.feature {\n text-align: center;\n padding: 2rem;\n background: white;\n border-radius: 1rem;\n box-shadow: 0 5px 15px rgba(0,0,0,0.1);\n transition: transform 0.3s ease;\n}\n\n.feature:hover {\n transform: translateY(-5px);\n}\n\n.feature-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.contact {\n padding: 4rem 2rem;\n background: #f5f7ff;\n}\n\n#contact-form {\n max-width: 600px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\ninput, textarea {\n padding: 1rem;\n border: 2px solid #eee;\n border-radius: 0.5rem;\n font-size: 1rem;\n}\n\ntextarea {\n min-height: 150px;\n}\n\nfooter {\n text-align: center;\n padding: 2rem;\n background: var(--secondary);\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 h1 { font-size: 2.5rem; }\n .nav-links { display: none; }\n .features-grid { grid-template-columns: 1fr; }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n const slider = document.querySelector('.slider');\n const beforeImg = document.getElementById('before-img');\n const afterImg = document.getElementById('after-img');\n const demoContainer = document.querySelector('.image-comparison');\n let isResizing = false;\n\n // Initialize slider position\n slider.style.left = '50%';\n afterImg.style.width = '50%';\n\n // Slider functionality\n demoContainer.addEventListener('mousedown', (e) => {\n isResizing = true;\n demoContainer.classList.add('active');\n });\n\n document.addEventListener('mousemove', (e) => {\n if (!isResizing) return;\n\n const rect = demoContainer.getBoundingClientRect();\n const x = e.clientX - rect.left;\n const percent = (x / rect.width) * 100;\n\n if (percent >= 0 && percent <= 100) {\n slider.style.left = `${percent}%`;\n afterImg.style.width = `${percent}%`;\n }\n });\n\n document.addEventListener('mouseup', () => {\n isResizing = false;\n demoContainer.classList.remove('active');\n });\n\n // Form submission\n const contactForm = document.getElementById('contact-form');\n contactForm.addEventListener('submit', (e) => {\n e.preventDefault();\n const formData = new FormData(contactForm);\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 // Smooth scroll for navigation\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 // Upload button functionality\n document.getElementById('upload-btn').addEventListener('click', () => {\n // Add image upload logic here\n alert('Image upload functionality would be implemented here');\n });\n\n // Enhance button functionality\n document.getElementById('enhance-btn').addEventListener('click', () => {\n // Add enhancement logic here\n alert('Image enhancement processing would occur here');\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 292, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2749 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..b38845c --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# mrenhance.scroll.pub +Website generated by Claude from prompt: I want to create a deep learning based MR image quality enhancement software service demo for pitch deck. Be creative \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..5d3a9a6 --- /dev/null +++ b/script.js @@ -0,0 +1,67 @@ +document.addEventListener('DOMContentLoaded', () => { + const slider = document.querySelector('.slider'); + const beforeImg = document.getElementById('before-img'); + const afterImg = document.getElementById('after-img'); + const demoContainer = document.querySelector('.image-comparison'); + let isResizing = false; + + // Initialize slider position + slider.style.left = '50%'; + afterImg.style.width = '50%'; + + // Slider functionality + demoContainer.addEventListener('mousedown', (e) => { + isResizing = true; + demoContainer.classList.add('active'); + }); + + document.addEventListener('mousemove', (e) => { + if (!isResizing) return; + + const rect = demoContainer.getBoundingClientRect(); + const x = e.clientX - rect.left; + const percent = (x / rect.width) * 100; + + if (percent >= 0 && percent <= 100) { + slider.style.left = `${percent}%`; + afterImg.style.width = `${percent}%`; + } + }); + + document.addEventListener('mouseup', () => { + isResizing = false; + demoContainer.classList.remove('active'); + }); + + // Form submission + const contactForm = document.getElementById('contact-form'); + contactForm.addEventListener('submit', (e) => { + e.preventDefault(); + const formData = new FormData(contactForm); + // Add form submission logic here + alert('Thank you for your message! We will get back to you soon.'); + contactForm.reset(); + }); + + // Smooth scroll for navigation + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Upload button functionality + document.getElementById('upload-btn').addEventListener('click', () => { + // Add image upload logic here + alert('Image upload functionality would be implemented here'); + }); + + // Enhance button functionality + document.getElementById('enhance-btn').addEventListener('click', () => { + // Add enhancement logic here + alert('Image enhancement processing would occur here'); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..1cc961a --- /dev/null +++ b/style.css @@ -0,0 +1,201 @@ +:root { + --primary: #2d5af0; + --secondary: #0f1c4d; + --accent: #4cd964; + --text: #333; + --bg: #ffffff; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; + line-height: 1.6; + color: var(--text); + background: var(--bg); +} + +header { + position: fixed; + width: 100%; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + z-index: 1000; + box-shadow: 0 2px 20px rgba(0,0,0,0.1); +} + +nav { + max-width: 1200px; + margin: 0 auto; + padding: 1rem 2rem; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + font-size: 1.5rem; + font-weight: 700; + color: var(--secondary); +} + +.logo span { + color: var(--primary); +} + +.nav-links a { + margin-left: 2rem; + text-decoration: none; + color: var(--text); + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--primary); +} + +main { + padding-top: 80px; +} + +.hero { + min-height: 80vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + background: linear-gradient(135deg, var(--secondary), var(--primary)); + color: white; + padding: 2rem; +} + +h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + animation: fadeIn 1s ease-out; +} + +.hero p { + font-size: 1.5rem; + max-width: 600px; + animation: fadeIn 1s ease-out 0.5s both; +} + +.demo-section { + padding: 4rem 2rem; + background: #f5f7ff; +} + +.demo-container { + max-width: 800px; + margin: 0 auto; + background: white; + padding: 2rem; + border-radius: 1rem; + box-shadow: 0 10px 30px rgba(0,0,0,0.1); +} + +.image-comparison { + position: relative; + height: 400px; + margin: 2rem 0; + overflow: hidden; + border-radius: 0.5rem; +} + +.controls { + display: flex; + gap: 1rem; + justify-content: center; +} + +button { + padding: 0.8rem 2rem; + border: none; + border-radius: 2rem; + background: var(--primary); + color: white; + cursor: pointer; + transition: transform 0.2s ease; +} + +button:hover { + transform: translateY(-2px); +} + +.features { + padding: 4rem 2rem; +} + +.features-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.feature { + text-align: center; + padding: 2rem; + background: white; + border-radius: 1rem; + box-shadow: 0 5px 15px rgba(0,0,0,0.1); + transition: transform 0.3s ease; +} + +.feature:hover { + transform: translateY(-5px); +} + +.feature-icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +.contact { + padding: 4rem 2rem; + background: #f5f7ff; +} + +#contact-form { + max-width: 600px; + margin: 0 auto; + display: flex; + flex-direction: column; + gap: 1rem; +} + +input, textarea { + padding: 1rem; + border: 2px solid #eee; + border-radius: 0.5rem; + font-size: 1rem; +} + +textarea { + min-height: 150px; +} + +footer { + text-align: center; + padding: 2rem; + background: var(--secondary); + color: white; +} + +@keyframes fadeIn { + from { opacity: 0; transform: translateY(20px); } + to { opacity: 1; transform: translateY(0); } +} + +@media (max-width: 768px) { + h1 { font-size: 2.5rem; } + .nav-links { display: none; } + .features-grid { grid-template-columns: 1fr; } +}