commit 9bc691d5795550c553461cf6a15f9d95276843b8
Author: root <root@hub.scroll.pub> Date: 2024-12-28 12:28:03 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..703009d --- /dev/null +++ b/body.html @@ -0,0 +1,22 @@ +<header> + <nav> + <div class="logo">M</div> + <button class="menu-toggle" aria-label="Toggle menu"> + <span></span> + <span></span> + <span></span> + </button> + </nav> +</header> + +<main> + <section class="hero"> + <h1>Coming Soon</h1> + <p class="subtitle">Something minimal this way comes</p> + <div class="animated-circle"></div> + </section> +</main> + +<footer> + <p>Made with precision in 2024</p> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..b7630f9 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://minimal.scroll.pub +metaTags +editButton /edit.html +title Minimalist Design Studio +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..47a2146 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01C7yFkSAAvFq51R98GmdYBn", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I apologize, but I notice that the request \"dfgdfgdfg\" appears to be random characters without clear meaning. Without a clear purpose or content direction, I'll create a minimal but stylish \"coming soon\" page that can be updated later with real content.\n\n---domain---\nminimal.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://minimal.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Minimalist Design Studio\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">M</div>\n <button class=\"menu-toggle\" aria-label=\"Toggle menu\">\n <span></span>\n <span></span>\n <span></span>\n </button>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <h1>Coming Soon</h1>\n <p class=\"subtitle\">Something minimal this way comes</p>\n <div class=\"animated-circle\"></div>\n </section>\n</main>\n\n<footer>\n <p>Made with precision in 2024</p>\n</footer>\n\n---style.css---\n:root {\n --primary: #1a1a1a;\n --accent: #4a90e2;\n --background: #ffffff;\n --text: #333333;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n background: var(--background);\n color: var(--text);\n line-height: 1.6;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n}\n\nheader {\n padding: 2rem;\n position: fixed;\n width: 100%;\n z-index: 100;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.logo {\n font-size: 2rem;\n font-weight: bold;\n color: var(--primary);\n}\n\n.menu-toggle {\n background: none;\n border: none;\n cursor: pointer;\n padding: 0.5rem;\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n\n.menu-toggle span {\n display: block;\n width: 25px;\n height: 2px;\n background: var(--primary);\n transition: transform 0.3s ease;\n}\n\n.hero {\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 2rem;\n text-align: center;\n position: relative;\n}\n\nh1 {\n font-size: clamp(3rem, 10vw, 6rem);\n font-weight: 900;\n color: var(--primary);\n margin-bottom: 1rem;\n}\n\n.subtitle {\n font-size: clamp(1rem, 3vw, 1.5rem);\n color: var(--accent);\n opacity: 0.8;\n}\n\n.animated-circle {\n width: 200px;\n height: 200px;\n border: 2px solid var(--accent);\n border-radius: 50%;\n position: absolute;\n z-index: -1;\n animation: pulse 4s infinite ease-in-out;\n}\n\n@keyframes pulse {\n 0% {\n transform: scale(1);\n opacity: 0.3;\n }\n 50% {\n transform: scale(1.5);\n opacity: 0.1;\n }\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n}\n\nfooter {\n padding: 2rem;\n text-align: center;\n margin-top: auto;\n}\n\n@media (max-width: 768px) {\n .hero {\n padding: 1rem;\n }\n \n .animated-circle {\n width: 150px;\n height: 150px;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n const menuToggle = document.querySelector('.menu-toggle');\n let isMenuOpen = false;\n\n menuToggle.addEventListener('click', () => {\n isMenuOpen = !isMenuOpen;\n const spans = menuToggle.querySelectorAll('span');\n \n if (isMenuOpen) {\n spans[0].style.transform = 'rotate(45deg) translate(6px, 6px)';\n spans[1].style.opacity = '0';\n spans[2].style.transform = 'rotate(-45deg) translate(6px, -6px)';\n } else {\n spans[0].style.transform = 'none';\n spans[1].style.opacity = '1';\n spans[2].style.transform = 'none';\n }\n });\n\n // Add smooth scroll behavior\n document.documentElement.style.scrollBehavior = 'smooth';\n \n // Add subtle parallax effect to circle\n window.addEventListener('mousemove', (e) => {\n const circle = document.querySelector('.animated-circle');\n const x = (e.clientX - window.innerWidth / 2) * 0.02;\n const y = (e.clientY - window.innerHeight / 2) * 0.02;\n circle.style.transform = `translate(${x}px, ${y}px)`;\n });\n});\n\n---end---\n\nThis creates a minimalist, modern \"coming soon\" page with:\n- Clean, semantic HTML5 structure\n- Responsive design that works on all devices\n- Animated circle background element\n- Interactive hamburger menu button\n- Subtle parallax effect on mouse movement\n- Accessible navigation and ARIA labels\n- Modern CSS including CSS variables, clamp(), and flexbox\n- Smooth animations and transitions\n- Professional typography and spacing\n\nThe design is intentionally minimal but includes engaging interactive elements and animations to create visual interest while maintaining a professional appearance." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 276, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 1586 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..e710cf7 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# minimal.scroll.pub +Website generated by Claude from prompt: dfgdfgdfg \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..8bffb5e --- /dev/null +++ b/script.js @@ -0,0 +1,30 @@ +document.addEventListener('DOMContentLoaded', () => { + const menuToggle = document.querySelector('.menu-toggle'); + let isMenuOpen = false; + + menuToggle.addEventListener('click', () => { + isMenuOpen = !isMenuOpen; + const spans = menuToggle.querySelectorAll('span'); + + if (isMenuOpen) { + spans[0].style.transform = 'rotate(45deg) translate(6px, 6px)'; + spans[1].style.opacity = '0'; + spans[2].style.transform = 'rotate(-45deg) translate(6px, -6px)'; + } else { + spans[0].style.transform = 'none'; + spans[1].style.opacity = '1'; + spans[2].style.transform = 'none'; + } + }); + + // Add smooth scroll behavior + document.documentElement.style.scrollBehavior = 'smooth'; + + // Add subtle parallax effect to circle + window.addEventListener('mousemove', (e) => { + const circle = document.querySelector('.animated-circle'); + const x = (e.clientX - window.innerWidth / 2) * 0.02; + const y = (e.clientY - window.innerHeight / 2) * 0.02; + circle.style.transform = `translate(${x}px, ${y}px)`; + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..e2a494e --- /dev/null +++ b/style.css @@ -0,0 +1,127 @@ +:root { + --primary: #1a1a1a; + --accent: #4a90e2; + --background: #ffffff; + --text: #333333; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; + background: var(--background); + color: var(--text); + line-height: 1.6; + min-height: 100vh; + display: flex; + flex-direction: column; +} + +header { + padding: 2rem; + position: fixed; + width: 100%; + z-index: 100; +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; + max-width: 1200px; + margin: 0 auto; +} + +.logo { + font-size: 2rem; + font-weight: bold; + color: var(--primary); +} + +.menu-toggle { + background: none; + border: none; + cursor: pointer; + padding: 0.5rem; + display: flex; + flex-direction: column; + gap: 6px; +} + +.menu-toggle span { + display: block; + width: 25px; + height: 2px; + background: var(--primary); + transition: transform 0.3s ease; +} + +.hero { + min-height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: 2rem; + text-align: center; + position: relative; +} + +h1 { + font-size: clamp(3rem, 10vw, 6rem); + font-weight: 900; + color: var(--primary); + margin-bottom: 1rem; +} + +.subtitle { + font-size: clamp(1rem, 3vw, 1.5rem); + color: var(--accent); + opacity: 0.8; +} + +.animated-circle { + width: 200px; + height: 200px; + border: 2px solid var(--accent); + border-radius: 50%; + position: absolute; + z-index: -1; + animation: pulse 4s infinite ease-in-out; +} + +@keyframes pulse { + 0% { + transform: scale(1); + opacity: 0.3; + } + 50% { + transform: scale(1.5); + opacity: 0.1; + } + 100% { + transform: scale(1); + opacity: 0.3; + } +} + +footer { + padding: 2rem; + text-align: center; + margin-top: auto; +} + +@media (max-width: 768px) { + .hero { + padding: 1rem; + } + + .animated-circle { + width: 150px; + height: 150px; + } +}