Changes to corp.scroll.pub

root
root
23 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

创新科技解决方案

+

为您的企业提供最先进的技术支持

+
+
+
+
+

关于我们

+
+
+

专业团队

+

拥有多年行业经验的精英团队

+
+
+

创新理念

+

始终走在技术创新的前沿

+
+
+

优质服务

+

为客户提供全方位的解决方案

+
+
+
+
+
+

我们的服务

+
+
+
💻
+

技术咨询

+

专业的技术评估和建议

+
+
+
🚀
+

系统开发

+

定制化的软件解决方案

+
+
+
🛠️
+

技术支持

+

全天候的技术支持服务

+
+
+
+
+
+

联系我们

+
+
+
+
+
+
+
+
+
+
+
+
+

地址:某某市某某区某某街道

+

电话:123-456-7890

+

邮箱:info@corp.scroll.pub

+
+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://corp.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Modern Corporate Solutions
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "msg_01S76oLYbcjmHfPPM9NMX863",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create a clean, professional corporate website.\n\nSuggested domain: corp.scroll.pub (simple and versatile for a corporate site)\n\n---domain---\ncorp.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://corp.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Modern Corporate Solutions\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n \n
\n\n
\n
\n
\n

创新科技解决方案

\n

为您的企业提供最先进的技术支持

\n 联系我们\n
\n
\n\n
\n

关于我们

\n
\n
\n

专业团队

\n

拥有多年行业经验的精英团队

\n
\n
\n

创新理念

\n

始终走在技术创新的前沿

\n
\n
\n

优质服务

\n

为客户提供全方位的解决方案

\n
\n
\n
\n\n
\n

我们的服务

\n
\n
\n
💻
\n

技术咨询

\n

专业的技术评估和建议

\n
\n
\n
🚀
\n

系统开发

\n

定制化的软件解决方案

\n
\n
\n
🛠️
\n

技术支持

\n

全天候的技术支持服务

\n
\n
\n
\n\n
\n

联系我们

\n
\n \n \n \n \n
\n
\n
\n\n
\n
\n
\n

地址:某某市某某区某某街道

\n

电话:123-456-7890

\n

邮箱:info@corp.scroll.pub

\n
\n
\n
\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --accent-color: #3498db;\n --text-color: #333;\n --bg-color: #fff;\n --transition: all 0.3s ease;\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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n}\n\n/* Header & Navigation */\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 10px rgba(0,0,0,0.1);\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: bold;\n color: var(--primary-color);\n}\n\n.nav-links {\n display: flex;\n list-style: none;\n gap: 2rem;\n}\n\n.nav-links a {\n text-decoration: none;\n color: var(--text-color);\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--accent-color);\n}\n\n.mobile-menu {\n display: none;\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n background: linear-gradient(135deg, #2c3e50, #3498db);\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n color: white;\n}\n\n.hero-content {\n padding: 2rem;\n}\n\n.hero h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease;\n}\n\n.hero p {\n font-size: 1.2rem;\n margin-bottom: 2rem;\n animation: fadeInUp 1s ease 0.2s;\n opacity: 0;\n animation-fill-mode: forwards;\n}\n\n.cta-button {\n display: inline-block;\n padding: 1rem 2rem;\n background: white;\n color: var(--primary-color);\n text-decoration: none;\n border-radius: 30px;\n transition: var(--transition);\n animation: fadeInUp 1s ease 0.4s;\n opacity: 0;\n animation-fill-mode: forwards;\n}\n\n.cta-button:hover {\n transform: translateY(-3px);\n box-shadow: 0 5px 15px rgba(0,0,0,0.2);\n}\n\n/* Sections */\nsection {\n padding: 5rem 5%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\nh2 {\n text-align: center;\n margin-bottom: 3rem;\n color: var(--primary-color);\n}\n\n/* About Grid */\n.about-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n}\n\n.about-item {\n padding: 2rem;\n background: white;\n border-radius: 10px;\n box-shadow: 0 5px 15px rgba(0,0,0,0.1);\n transition: var(--transition);\n}\n\n.about-item:hover {\n transform: translateY(-5px);\n}\n\n/* Services Grid */\n.services-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n}\n\n.service-card {\n padding: 2rem;\n text-align: center;\n background: white;\n border-radius: 10px;\n box-shadow: 0 5px 15px rgba(0,0,0,0.1);\n transition: var(--transition);\n}\n\n.service-card:hover {\n transform: translateY(-5px);\n}\n\n.service-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n/* Contact Form */\n.contact form {\n max-width: 600px;\n margin: 0 auto;\n display: grid;\n gap: 1rem;\n}\n\n.contact input,\n.contact textarea {\n width: 100%;\n padding: 1rem;\n border: 1px solid #ddd;\n border-radius: 5px;\n font-size: 1rem;\n}\n\n.contact textarea {\n height: 150px;\n}\n\n.contact button {\n padding: 1rem 2rem;\n background: var(--accent-color);\n color: white;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.contact button:hover {\n background: var(--primary-color);\n}\n\n/* Footer */\nfooter {\n background: var(--primary-color);\n color: white;\n padding: 2rem 5%;\n text-align: center;\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 Responsive */\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(--text-color);\n margin: 5px 0;\n transition: var(--transition);\n }\n\n .nav-links {\n position: fixed;\n top: 70px;\n right: -100%;\n flex-direction: column;\n background: white;\n width: 100%;\n text-align: center;\n transition: var(--transition);\n padding: 2rem 0;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n }\n\n .nav-links.active {\n right: 0;\n }\n\n .hero h1 {\n font-size: 2rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile Menu Toggle\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 const spans = mobileMenu.querySelectorAll('span');\n spans[0].style.transform = navLinks.classList.contains('active') ? \n 'rotate(45deg) translate(5px, 6px)' : '';\n spans[1].style.opacity = navLinks.classList.contains('active') ? '0' : '1';\n spans[2].style.transform = navLinks.classList.contains('active') ? \n 'rotate(-45deg) translate(5px, -6px)' : '';\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 navLinks.classList.remove('active');\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n // Contact Form Handling\n const contactForm = document.getElementById('contact-form');\n if (contactForm) {\n contactForm.addEventListener('submit', (e) => {\n e.preventDefault();\n // Add form submission logic here\n alert('感谢您的留言!我们会尽快与您联系。');\n contactForm.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 document.querySelectorAll('.about-item, .service-card').forEach(el => {\n el.style.opacity = '0';\n el.style.transform = 'translateY(20px)';\n el.style.transition = 'all 0.6s ease-out';\n observer.observe(el);\n });\n});\n---end---\n\nThis website features:\n1. Modern, clean design with smooth animations\n2. Responsive navigation with hamburger menu for mobile\n3. Parallax-like scroll effects\n4. Interactive service cards and about items\n5. Professional contact form\n6. Smooth scrolling navigation\n7. Intersection Observer for scroll animations\n8. Accessible semantic HTML\n9. Beautiful gradient hero section\n10. CSS variables for easy theming\n11. Mobile-first approach\n12. Performance optimized animations\n13. Clean and maintainable code structure\n\nThe design is minimalist yet sophisticated, with careful attention to typography, spacing, and user experience. The color scheme is professional and the animations add subtle but engaging interactions without being overwhelming."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 274,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 3520
+ }
+ }
readme.scroll
Changed around line 1
+ # corp.scroll.pub
+ Website generated by Claude from prompt: 做个官网
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', () => {
+ // Mobile Menu Toggle
+ const mobileMenu = document.querySelector('.mobile-menu');
+ const navLinks = document.querySelector('.nav-links');
+
+ mobileMenu.addEventListener('click', () => {
+ navLinks.classList.toggle('active');
+ const spans = mobileMenu.querySelectorAll('span');
+ spans[0].style.transform = navLinks.classList.contains('active') ?
+ 'rotate(45deg) translate(5px, 6px)' : '';
+ spans[1].style.opacity = navLinks.classList.contains('active') ? '0' : '1';
+ spans[2].style.transform = navLinks.classList.contains('active') ?
+ 'rotate(-45deg) translate(5px, -6px)' : '';
+ });
+
+ // Smooth Scroll for Navigation Links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ navLinks.classList.remove('active');
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+
+ // Contact Form Handling
+ const contactForm = document.getElementById('contact-form');
+ if (contactForm) {
+ contactForm.addEventListener('submit', (e) => {
+ e.preventDefault();
+ // Add form submission logic here
+ alert('感谢您的留言!我们会尽快与您联系。');
+ contactForm.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 });
+
+ document.querySelectorAll('.about-item, .service-card').forEach(el => {
+ el.style.opacity = '0';
+ el.style.transform = 'translateY(20px)';
+ el.style.transition = 'all 0.6s ease-out';
+ observer.observe(el);
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --accent-color: #3498db;
+ --text-color: #333;
+ --bg-color: #fff;
+ --transition: all 0.3s ease;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ html {
+ scroll-behavior: smooth;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ }
+
+ /* Header & Navigation */
+ header {
+ position: fixed;
+ width: 100%;
+ background: rgba(255, 255, 255, 0.95);
+ backdrop-filter: blur(10px);
+ z-index: 1000;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ }
+
+ 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: bold;
+ color: var(--primary-color);
+ }
+
+ .nav-links {
+ display: flex;
+ list-style: none;
+ gap: 2rem;
+ }
+
+ .nav-links a {
+ text-decoration: none;
+ color: var(--text-color);
+ transition: var(--transition);
+ }
+
+ .nav-links a:hover {
+ color: var(--accent-color);
+ }
+
+ .mobile-menu {
+ display: none;
+ }
+
+ /* Hero Section */
+ .hero {
+ height: 100vh;
+ background: linear-gradient(135deg, #2c3e50, #3498db);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ text-align: center;
+ color: white;
+ }
+
+ .hero-content {
+ padding: 2rem;
+ }
+
+ .hero h1 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+ animation: fadeInUp 1s ease;
+ }
+
+ .hero p {
+ font-size: 1.2rem;
+ margin-bottom: 2rem;
+ animation: fadeInUp 1s ease 0.2s;
+ opacity: 0;
+ animation-fill-mode: forwards;
+ }
+
+ .cta-button {
+ display: inline-block;
+ padding: 1rem 2rem;
+ background: white;
+ color: var(--primary-color);
+ text-decoration: none;
+ border-radius: 30px;
+ transition: var(--transition);
+ animation: fadeInUp 1s ease 0.4s;
+ opacity: 0;
+ animation-fill-mode: forwards;
+ }
+
+ .cta-button:hover {
+ transform: translateY(-3px);
+ box-shadow: 0 5px 15px rgba(0,0,0,0.2);
+ }
+
+ /* Sections */
+ section {
+ padding: 5rem 5%;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+ color: var(--primary-color);
+ }
+
+ /* About Grid */
+ .about-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ }
+
+ .about-item {
+ padding: 2rem;
+ background: white;
+ border-radius: 10px;
+ box-shadow: 0 5px 15px rgba(0,0,0,0.1);
+ transition: var(--transition);
+ }
+
+ .about-item:hover {
+ transform: translateY(-5px);
+ }
+
+ /* Services Grid */
+ .services-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ }
+
+ .service-card {
+ padding: 2rem;
+ text-align: center;
+ background: white;
+ border-radius: 10px;
+ box-shadow: 0 5px 15px rgba(0,0,0,0.1);
+ transition: var(--transition);
+ }
+
+ .service-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .service-icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ /* Contact Form */
+ .contact form {
+ max-width: 600px;
+ margin: 0 auto;
+ display: grid;
+ gap: 1rem;
+ }
+
+ .contact input,
+ .contact textarea {
+ width: 100%;
+ padding: 1rem;
+ border: 1px solid #ddd;
+ border-radius: 5px;
+ font-size: 1rem;
+ }
+
+ .contact textarea {
+ height: 150px;
+ }
+
+ .contact button {
+ padding: 1rem 2rem;
+ background: var(--accent-color);
+ color: white;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+ transition: var(--transition);
+ }
+
+ .contact button:hover {
+ background: var(--primary-color);
+ }
+
+ /* Footer */
+ footer {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem 5%;
+ text-align: center;
+ }
+
+ /* Animations */
+ @keyframes fadeInUp {
+ from {
+ opacity: 0;
+ transform: translateY(20px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+ }
+
+ /* Mobile Responsive */
+ @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(--text-color);
+ margin: 5px 0;
+ transition: var(--transition);
+ }
+
+ .nav-links {
+ position: fixed;
+ top: 70px;
+ right: -100%;
+ flex-direction: column;
+ background: white;
+ width: 100%;
+ text-align: center;
+ transition: var(--transition);
+ padding: 2rem 0;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ }
+
+ .nav-links.active {
+ right: 0;
+ }
+
+ .hero h1 {
+ font-size: 2rem;
+ }
+ }