commit 46d17ffe0590542b68a71ee6af50bcca5c487330
Author: root <root@hub.scroll.pub> Date: 2025-01-07 10:43:48 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..f053307 --- /dev/null +++ b/body.html @@ -0,0 +1,66 @@ +<header> + <nav> + <div class="logo"> + <div class="wave-icon"></div> + <h1>ChatWave</h1> + </div> + <button class="menu-toggle" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#features">Features</a></li> + <li><a href="#about">About</a></li> + <li><a href="#contact">Contact</a></li> + <li><a href="#login" class="cta-button">Login</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h2>Connect Through Conversations</h2> + <p>Experience real-time messaging with a beautiful, wave-inspired interface</p> + <button class="primary-button">Get Started</button> + </div> + <div class="wave-animation"></div> + </section> + + <section id="features" class="features"> + <h2>Why Choose ChatWave</h2> + <div class="feature-grid"> + <div class="feature-card"> + <div class="feature-icon real-time"></div> + <h3>Real-time Chat</h3> + <p>Instant message delivery with live typing indicators</p> + </div> + <div class="feature-card"> + <div class="feature-icon secure"></div> + <h3>Secure</h3> + <p>End-to-end encryption for your privacy</p> + </div> + <div class="feature-card"> + <div class="feature-icon responsive"></div> + <h3>Responsive</h3> + <p>Perfect experience on any device</p> + </div> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>ChatWave</h4> + <p>Making connections meaningful</p> + </div> + <div class="footer-section"> + <h4>Links</h4> + <ul> + <li><a href="#privacy">Privacy Policy</a></li> + <li><a href="#terms">Terms of Service</a></li> + <li><a href="#contact">Contact Us</a></li> + </ul> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..e4c0b35 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://chatwave.scroll.pub +metaTags +editButton /edit.html +title ChatWave - Real-time Conversations Made Beautiful +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..03d4f2f --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_011U4K65nzAchYEnHQJwMrgd", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a modern chat application website called \"ChatWave\" with a clean, engaging design.\n\n---domain---\nchatwave.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://chatwave.scroll.pub\nmetaTags\neditButton /edit.html\ntitle ChatWave - Real-time Conversations Made Beautiful\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">\n <div class=\"wave-icon\"></div>\n <h1>ChatWave</h1>\n </div>\n <button class=\"menu-toggle\" aria-label=\"Toggle menu\">\n <span></span><span></span><span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#features\">Features</a></li>\n <li><a href=\"#about\">About</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n <li><a href=\"#login\" class=\"cta-button\">Login</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h2>Connect Through Conversations</h2>\n <p>Experience real-time messaging with a beautiful, wave-inspired interface</p>\n <button class=\"primary-button\">Get Started</button>\n </div>\n <div class=\"wave-animation\"></div>\n </section>\n\n <section id=\"features\" class=\"features\">\n <h2>Why Choose ChatWave</h2>\n <div class=\"feature-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon real-time\"></div>\n <h3>Real-time Chat</h3>\n <p>Instant message delivery with live typing indicators</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon secure\"></div>\n <h3>Secure</h3>\n <p>End-to-end encryption for your privacy</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon responsive\"></div>\n <h3>Responsive</h3>\n <p>Perfect experience on any device</p>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>ChatWave</h4>\n <p>Making connections meaningful</p>\n </div>\n <div class=\"footer-section\">\n <h4>Links</h4>\n <ul>\n <li><a href=\"#privacy\">Privacy Policy</a></li>\n <li><a href=\"#terms\">Terms of Service</a></li>\n <li><a href=\"#contact\">Contact Us</a></li>\n </ul>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2196f3;\n --secondary-color: #1976d2;\n --text-color: #333;\n --background-color: #fff;\n --accent-color: #64b5f6;\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-color);\n}\n\n/* Header & Navigation */\nheader {\n background: var(--background-color);\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n}\n\nnav {\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n\n.wave-icon {\n width: 40px;\n height: 40px;\n background: linear-gradient(45deg, var(--primary-color), var(--accent-color));\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n}\n\n.wave-icon::after {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n background: radial-gradient(circle at center, transparent 30%, rgba(255,255,255,0.3) 70%);\n animation: wave 2s infinite linear;\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(--primary-color);\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n padding-top: 80px;\n}\n\n.hero-content {\n text-align: center;\n z-index: 1;\n}\n\n.hero h2 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n background: linear-gradient(45deg, var(--primary-color), var(--accent-color));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.wave-animation {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100px;\n background: linear-gradient(45deg, var(--primary-color), var(--accent-color));\n opacity: 0.1;\n transform: skewY(-3deg);\n}\n\n/* Features Section */\n.features {\n padding: 5rem 2rem;\n background: #f8f9fa;\n}\n\n.feature-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 padding: 2rem;\n}\n\n.feature-card {\n background: var(--background-color);\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 20px rgba(0,0,0,0.1);\n transition: transform 0.3s ease;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n}\n\n/* Responsive Design */\n@media (max-width: 768px) {\n .nav-links {\n display: none;\n }\n \n .menu-toggle {\n display: block;\n }\n \n .hero h2 {\n font-size: 2.5rem;\n }\n}\n\n/* Animations */\n@keyframes wave {\n 0% { transform: translateY(0); }\n 50% { transform: translateY(-10px); }\n 100% { transform: translateY(0); }\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\n // Smooth scroll 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 if (target) {\n target.scrollIntoView({\n behavior: 'smooth'\n });\n }\n });\n });\n\n // Animation on scroll\n const observerOptions = {\n threshold: 0.1\n };\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('animate');\n }\n });\n }, observerOptions);\n\n document.querySelectorAll('.feature-card').forEach(card => {\n observer.observe(card);\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 272, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2225 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..aab6228 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# chatwave1.scroll.pub +Website generated by Claude from prompt: chatwave \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..2361075 --- /dev/null +++ b/script.js @@ -0,0 +1,39 @@ +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'); + }); + + // Smooth scroll 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' + }); + } + }); + }); + + // Animation on scroll + const observerOptions = { + threshold: 0.1 + }; + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('animate'); + } + }); + }, observerOptions); + + document.querySelectorAll('.feature-card').forEach(card => { + observer.observe(card); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..57b66e2 --- /dev/null +++ b/style.css @@ -0,0 +1,163 @@ +:root { + --primary-color: #2196f3; + --secondary-color: #1976d2; + --text-color: #333; + --background-color: #fff; + --accent-color: #64b5f6; +} + +* { + 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-color); +} + +/* Header & Navigation */ +header { + background: var(--background-color); + box-shadow: 0 2px 10px rgba(0,0,0,0.1); + position: fixed; + width: 100%; + top: 0; + z-index: 1000; +} + +nav { + max-width: 1200px; + margin: 0 auto; + padding: 1rem; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + display: flex; + align-items: center; + gap: 0.5rem; +} + +.wave-icon { + width: 40px; + height: 40px; + background: linear-gradient(45deg, var(--primary-color), var(--accent-color)); + border-radius: 50%; + position: relative; + overflow: hidden; +} + +.wave-icon::after { + content: ''; + position: absolute; + width: 100%; + height: 100%; + background: radial-gradient(circle at center, transparent 30%, rgba(255,255,255,0.3) 70%); + animation: wave 2s infinite linear; +} + +.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(--primary-color); +} + +/* Hero Section */ +.hero { + height: 100vh; + display: flex; + align-items: center; + justify-content: center; + position: relative; + overflow: hidden; + padding-top: 80px; +} + +.hero-content { + text-align: center; + z-index: 1; +} + +.hero h2 { + font-size: 3.5rem; + margin-bottom: 1rem; + background: linear-gradient(45deg, var(--primary-color), var(--accent-color)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +.wave-animation { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 100px; + background: linear-gradient(45deg, var(--primary-color), var(--accent-color)); + opacity: 0.1; + transform: skewY(-3deg); +} + +/* Features Section */ +.features { + padding: 5rem 2rem; + background: #f8f9fa; +} + +.feature-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 0 auto; + padding: 2rem; +} + +.feature-card { + background: var(--background-color); + padding: 2rem; + border-radius: 10px; + box-shadow: 0 4px 20px rgba(0,0,0,0.1); + transition: transform 0.3s ease; +} + +.feature-card:hover { + transform: translateY(-5px); +} + +/* Responsive Design */ +@media (max-width: 768px) { + .nav-links { + display: none; + } + + .menu-toggle { + display: block; + } + + .hero h2 { + font-size: 2.5rem; + } +} + +/* Animations */ +@keyframes wave { + 0% { transform: translateY(0); } + 50% { transform: translateY(-10px); } + 100% { transform: translateY(0); } +}