commit fa6fd31042fb3bd1dc791b083f3c0a1b0c8b2c01
Author: root <root@hub.scroll.pub> Date: 2025-01-02 14:20:45 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..0339750 --- /dev/null +++ b/body.html @@ -0,0 +1,90 @@ +<header> + <nav class="main-nav"> + <div class="logo">QC Lab</div> + <button class="mobile-menu" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#home" class="active">Home</a></li> + <li><a href="#research">Research</a></li> + <li><a href="#team">Team</a></li> + <li><a href="#publications">Publications</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> +</header> + +<main> + <section id="home" class="hero"> + <div class="hero-content"> + <h1>Advancing Quantum Computing Research</h1> + <p>Exploring the frontiers of quantum computation and its applications</p> + </div> + </section> + + <section id="research" class="research-areas"> + <h2>Research Areas</h2> + <div class="research-grid"> + <article class="research-card"> + <h3>Quantum Algorithms</h3> + <p>Development of novel quantum algorithms for optimization and simulation.</p> + </article> + <article class="research-card"> + <h3>Quantum Error Correction</h3> + <p>Advancing techniques for reliable quantum computation.</p> + </article> + <article class="research-card"> + <h3>Quantum-Classical Interfaces</h3> + <p>Building bridges between quantum and classical computing systems.</p> + </article> + </div> + </section> + + <section id="team" class="team"> + <h2>Our Team</h2> + <div class="team-grid"> + <div class="team-member"> + <div class="member-photo"></div> + <h3>Dr. Sarah Chen</h3> + <p>Principal Investigator</p> + </div> + <div class="team-member"> + <div class="member-photo"></div> + <h3>Dr. James Wilson</h3> + <p>Senior Researcher</p> + </div> + <div class="team-member"> + <div class="member-photo"></div> + <h3>Dr. Maria Garcia</h3> + <p>Postdoctoral Researcher</p> + </div> + </div> + </section> + + <section id="publications" class="publications"> + <h2>Recent Publications</h2> + <div class="pub-list"> + <article class="pub-item"> + <h3>Quantum Error Correction in High-Noise Environments</h3> + <p>Nature Physics, 2023</p> + </article> + <article class="pub-item"> + <h3>Novel Approaches to Quantum Algorithm Design</h3> + <p>Physical Review Letters, 2023</p> + </article> + </div> + </section> + + <section id="contact" class="contact"> + <h2>Contact Us</h2> + <div class="contact-info"> + <p>Email: contact@scilab.scroll.pub</p> + <p>Location: Science Building, Room 301</p> + </div> + </section> +</main> + +<footer> + <p>Quantum Computing Research Lab</p> + <p>Part of the Department of Physics and Computer Science</p> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..751edd4 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://scilab.scroll.pub +metaTags +editButton /edit.html +title Quantum Computing Research Lab +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..1094458 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01PiuW9WvQmrXgRfuabvmR7o", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a professional academic lab website. For the domain, I suggest:\n\n---domain---\nscilab.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://scilab.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Quantum Computing Research Lab\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav class=\"main-nav\">\n <div class=\"logo\">QC Lab</div>\n <button class=\"mobile-menu\" aria-label=\"Toggle menu\">\n <span></span><span></span><span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#home\" class=\"active\">Home</a></li>\n <li><a href=\"#research\">Research</a></li>\n <li><a href=\"#team\">Team</a></li>\n <li><a href=\"#publications\">Publications</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>Advancing Quantum Computing Research</h1>\n <p>Exploring the frontiers of quantum computation and its applications</p>\n </div>\n </section>\n\n <section id=\"research\" class=\"research-areas\">\n <h2>Research Areas</h2>\n <div class=\"research-grid\">\n <article class=\"research-card\">\n <h3>Quantum Algorithms</h3>\n <p>Development of novel quantum algorithms for optimization and simulation.</p>\n </article>\n <article class=\"research-card\">\n <h3>Quantum Error Correction</h3>\n <p>Advancing techniques for reliable quantum computation.</p>\n </article>\n <article class=\"research-card\">\n <h3>Quantum-Classical Interfaces</h3>\n <p>Building bridges between quantum and classical computing systems.</p>\n </article>\n </div>\n </section>\n\n <section id=\"team\" class=\"team\">\n <h2>Our Team</h2>\n <div class=\"team-grid\">\n <div class=\"team-member\">\n <div class=\"member-photo\"></div>\n <h3>Dr. Sarah Chen</h3>\n <p>Principal Investigator</p>\n </div>\n <div class=\"team-member\">\n <div class=\"member-photo\"></div>\n <h3>Dr. James Wilson</h3>\n <p>Senior Researcher</p>\n </div>\n <div class=\"team-member\">\n <div class=\"member-photo\"></div>\n <h3>Dr. Maria Garcia</h3>\n <p>Postdoctoral Researcher</p>\n </div>\n </div>\n </section>\n\n <section id=\"publications\" class=\"publications\">\n <h2>Recent Publications</h2>\n <div class=\"pub-list\">\n <article class=\"pub-item\">\n <h3>Quantum Error Correction in High-Noise Environments</h3>\n <p>Nature Physics, 2023</p>\n </article>\n <article class=\"pub-item\">\n <h3>Novel Approaches to Quantum Algorithm Design</h3>\n <p>Physical Review Letters, 2023</p>\n </article>\n </div>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Contact Us</h2>\n <div class=\"contact-info\">\n <p>Email: contact@scilab.scroll.pub</p>\n <p>Location: Science Building, Room 301</p>\n </div>\n </section>\n</main>\n\n<footer>\n <p>Quantum Computing Research Lab</p>\n <p>Part of the Department of Physics and Computer Science</p>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --secondary-color: #3498db;\n --accent-color: #e74c3c;\n --text-color: #2c3e50;\n --background-color: #f9f9f9;\n --spacing: 2rem;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Inter', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background: var(--background-color);\n}\n\n/* Header & Navigation */\nheader {\n background: white;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n position: fixed;\n width: 100%;\n z-index: 1000;\n}\n\n.main-nav {\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem var(--spacing);\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(--primary-color);\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-color);\n font-weight: 500;\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--secondary-color);\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n color: white;\n padding: var(--spacing);\n}\n\n.hero h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease-out;\n}\n\n.hero p {\n font-size: 1.5rem;\n opacity: 0.9;\n animation: fadeInUp 1s ease-out 0.2s;\n}\n\n/* Research Areas */\n.research-areas {\n padding: var(--spacing);\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.research-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.research-card {\n background: white;\n padding: 2rem;\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0,0,0,0.1);\n transition: transform 0.3s ease;\n}\n\n.research-card:hover {\n transform: translateY(-5px);\n}\n\n/* Team Section */\n.team-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: var(--spacing);\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.team-member {\n text-align: center;\n}\n\n.member-photo {\n width: 200px;\n height: 200px;\n border-radius: 50%;\n background: #ddd;\n margin: 0 auto 1rem;\n}\n\n/* Publications */\n.publications {\n background: white;\n padding: var(--spacing);\n}\n\n.pub-list {\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.pub-item {\n padding: 1rem 0;\n border-bottom: 1px solid #eee;\n}\n\n/* Contact Section */\n.contact {\n padding: var(--spacing);\n background: var(--primary-color);\n color: white;\n}\n\n.contact-info {\n max-width: 1200px;\n margin: 0 auto;\n}\n\n/* Footer */\nfooter {\n background: var(--primary-color);\n color: white;\n text-align: center;\n padding: 2rem var(--spacing);\n}\n\n/* Animations */\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/* Mobile Responsiveness */\n.mobile-menu {\n display: none;\n}\n\n@media (max-width: 768px) {\n .mobile-menu {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n }\n\n .mobile-menu span {\n display: block;\n width: 25px;\n height: 3px;\n background: var(--primary-color);\n margin: 5px 0;\n transition: 0.3s;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: white;\n flex-direction: column;\n padding: 1rem;\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 .hero p {\n font-size: 1.2rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu functionality\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 // Animate hamburger to X\n const spans = mobileMenu.querySelectorAll('span');\n spans.forEach(span => span.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 \n if (target) {\n target.scrollIntoView({\n behavior: 'smooth',\n block: 'start'\n });\n \n // Close mobile menu if open\n navLinks.classList.remove('active');\n }\n });\n });\n\n // Active section highlighting\n const sections = document.querySelectorAll('section');\n const navItems = document.querySelectorAll('.nav-links a');\n\n window.addEventListener('scroll', () => {\n let current = '';\n \n sections.forEach(section => {\n const sectionTop = section.offsetTop;\n const sectionHeight = section.clientHeight;\n \n if (pageYOffset >= sectionTop - 60) {\n current = section.getAttribute('id');\n }\n });\n\n navItems.forEach(item => {\n item.classList.remove('active');\n if (item.getAttribute('href').slice(1) === current) {\n item.classList.add('active');\n }\n });\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 273, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2916 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..91c5230 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# scilab.scroll.pub +Website generated by Claude from prompt: Academic lab website \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..ef75f90 --- /dev/null +++ b/script.js @@ -0,0 +1,55 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile menu functionality + const mobileMenu = document.querySelector('.mobile-menu'); + const navLinks = document.querySelector('.nav-links'); + + mobileMenu.addEventListener('click', () => { + navLinks.classList.toggle('active'); + + // Animate hamburger to X + const spans = mobileMenu.querySelectorAll('span'); + spans.forEach(span => span.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')); + + if (target) { + target.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + + // Close mobile menu if open + navLinks.classList.remove('active'); + } + }); + }); + + // Active section highlighting + const sections = document.querySelectorAll('section'); + const navItems = document.querySelectorAll('.nav-links a'); + + window.addEventListener('scroll', () => { + let current = ''; + + sections.forEach(section => { + const sectionTop = section.offsetTop; + const sectionHeight = section.clientHeight; + + if (pageYOffset >= sectionTop - 60) { + current = section.getAttribute('id'); + } + }); + + navItems.forEach(item => { + item.classList.remove('active'); + if (item.getAttribute('href').slice(1) === current) { + item.classList.add('active'); + } + }); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..d1e5132 --- /dev/null +++ b/style.css @@ -0,0 +1,229 @@ +:root { + --primary-color: #2c3e50; + --secondary-color: #3498db; + --accent-color: #e74c3c; + --text-color: #2c3e50; + --background-color: #f9f9f9; + --spacing: 2rem; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Inter', system-ui, sans-serif; + line-height: 1.6; + color: var(--text-color); + background: var(--background-color); +} + +/* Header & Navigation */ +header { + background: white; + box-shadow: 0 2px 10px rgba(0,0,0,0.1); + position: fixed; + width: 100%; + z-index: 1000; +} + +.main-nav { + max-width: 1200px; + margin: 0 auto; + padding: 1rem var(--spacing); + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + font-size: 1.5rem; + font-weight: 700; + color: var(--primary-color); +} + +.nav-links { + display: flex; + gap: 2rem; + list-style: none; +} + +.nav-links a { + text-decoration: none; + color: var(--text-color); + font-weight: 500; + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--secondary-color); +} + +/* Hero Section */ +.hero { + height: 100vh; + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + display: flex; + align-items: center; + justify-content: center; + text-align: center; + color: white; + padding: var(--spacing); +} + +.hero h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + animation: fadeInUp 1s ease-out; +} + +.hero p { + font-size: 1.5rem; + opacity: 0.9; + animation: fadeInUp 1s ease-out 0.2s; +} + +/* Research Areas */ +.research-areas { + padding: var(--spacing); + max-width: 1200px; + margin: 0 auto; +} + +.research-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.research-card { + background: white; + padding: 2rem; + border-radius: 8px; + box-shadow: 0 4px 6px rgba(0,0,0,0.1); + transition: transform 0.3s ease; +} + +.research-card:hover { + transform: translateY(-5px); +} + +/* Team Section */ +.team-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + padding: var(--spacing); + max-width: 1200px; + margin: 0 auto; +} + +.team-member { + text-align: center; +} + +.member-photo { + width: 200px; + height: 200px; + border-radius: 50%; + background: #ddd; + margin: 0 auto 1rem; +} + +/* Publications */ +.publications { + background: white; + padding: var(--spacing); +} + +.pub-list { + max-width: 1200px; + margin: 0 auto; +} + +.pub-item { + padding: 1rem 0; + border-bottom: 1px solid #eee; +} + +/* Contact Section */ +.contact { + padding: var(--spacing); + background: var(--primary-color); + color: white; +} + +.contact-info { + max-width: 1200px; + margin: 0 auto; +} + +/* Footer */ +footer { + background: var(--primary-color); + color: white; + text-align: center; + padding: 2rem var(--spacing); +} + +/* Animations */ +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +/* Mobile Responsiveness */ +.mobile-menu { + display: none; +} + +@media (max-width: 768px) { + .mobile-menu { + display: block; + background: none; + border: none; + cursor: pointer; + } + + .mobile-menu span { + display: block; + width: 25px; + height: 3px; + background: var(--primary-color); + margin: 5px 0; + transition: 0.3s; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: white; + flex-direction: column; + padding: 1rem; + text-align: center; + } + + .nav-links.active { + display: flex; + } + + .hero h1 { + font-size: 2.5rem; + } + + .hero p { + font-size: 1.2rem; + } +}