commit 414570f12d3e238823d1c318424d4907b95450f3
Author: root <root@hub.scroll.pub> Date: 2024-12-30 01:45:53 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..59dff79 --- /dev/null +++ b/body.html @@ -0,0 +1,49 @@ +<header> + <h1>Showcase of Web Development Skills</h1> + <p>Scroll to explore everything I can do with HTML, CSS, and JavaScript.</p> +</header> + +<section id="typography"> + <h2>Typography</h2> + <p>This section demonstrates advanced typography techniques, including responsive font sizes, fluid typography, and beautiful text effects.</p> +</section> + +<section id="animations"> + <h2>CSS Animations</h2> + <div class="animation-box"></div> + <p>Smooth, performant animations created purely with CSS.</p> +</section> + +<section id="layout"> + <h2>Responsive Layouts</h2> + <div class="grid-container"> + <div class="grid-item">1</div> + <div class="grid-item">2</div> + <div class="grid-item">3</div> + <div class="grid-item">4</div> + <div class="grid-item">5</div> + <div class="grid-item">6</div> + </div> + <p>Complex, responsive grid layouts that adapt to any screen size.</p> +</section> + +<section id="interactivity"> + <h2>JavaScript Interactivity</h2> + <button id="interactive-button">Click Me</button> + <p id="interactive-text">Watch this text change!</p> +</section> + +<section id="accessibility"> + <h2>Accessibility</h2> + <p>This website follows WCAG 2.1 AA standards, with proper ARIA labels, semantic HTML, and keyboard navigation.</p> +</section> + +<footer> + <nav> + <a href="#typography">Typography</a> + <a href="#animations">Animations</a> + <a href="#layout">Layout</a> + <a href="#interactivity">Interactivity</a> + <a href="#accessibility">Accessibility</a> + </nav> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..f887727 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://showcase.scroll.pub +metaTags +editButton /edit.html +title Showcase of Web Development Skills +style.css +body.html +script.js \ No newline at end of file diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..8871ee4 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "a201968b-f847-4239-91a0-45a707e46da3", + "object": "chat.completion", + "created": 1735523134, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nshowcase.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://showcase.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Showcase of Web Development Skills\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Showcase of Web Development Skills</h1>\n <p>Scroll to explore everything I can do with HTML, CSS, and JavaScript.</p>\n</header>\n\n<section id=\"typography\">\n <h2>Typography</h2>\n <p>This section demonstrates advanced typography techniques, including responsive font sizes, fluid typography, and beautiful text effects.</p>\n</section>\n\n<section id=\"animations\">\n <h2>CSS Animations</h2>\n <div class=\"animation-box\"></div>\n <p>Smooth, performant animations created purely with CSS.</p>\n</section>\n\n<section id=\"layout\">\n <h2>Responsive Layouts</h2>\n <div class=\"grid-container\">\n <div class=\"grid-item\">1</div>\n <div class=\"grid-item\">2</div>\n <div class=\"grid-item\">3</div>\n <div class=\"grid-item\">4</div>\n <div class=\"grid-item\">5</div>\n <div class=\"grid-item\">6</div>\n </div>\n <p>Complex, responsive grid layouts that adapt to any screen size.</p>\n</section>\n\n<section id=\"interactivity\">\n <h2>JavaScript Interactivity</h2>\n <button id=\"interactive-button\">Click Me</button>\n <p id=\"interactive-text\">Watch this text change!</p>\n</section>\n\n<section id=\"accessibility\">\n <h2>Accessibility</h2>\n <p>This website follows WCAG 2.1 AA standards, with proper ARIA labels, semantic HTML, and keyboard navigation.</p>\n</section>\n\n<footer>\n <nav>\n <a href=\"#typography\">Typography</a>\n <a href=\"#animations\">Animations</a>\n <a href=\"#layout\">Layout</a>\n <a href=\"#interactivity\">Interactivity</a>\n <a href=\"#accessibility\">Accessibility</a>\n </nav>\n</footer>\n---style.css---\n:root {\n --primary-color: #1a73e8;\n --secondary-color: #202124;\n --background-color: #ffffff;\n --text-color: #202124;\n --animation-duration: 0.3s;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\nheader {\n text-align: center;\n margin-bottom: 4rem;\n}\n\nh1 {\n font-size: clamp(2rem, 5vw, 3.5rem);\n margin-bottom: 1rem;\n color: var(--primary-color);\n}\n\nsection {\n margin: 4rem 0;\n padding: 2rem;\n border-radius: 8px;\n background-color: #f8f9fa;\n}\n\nh2 {\n font-size: clamp(1.5rem, 3vw, 2rem);\n margin-bottom: 1.5rem;\n color: var(--secondary-color);\n}\n\n.animation-box {\n width: 100px;\n height: 100px;\n background-color: var(--primary-color);\n border-radius: 8px;\n animation: rotate 2s infinite ease-in-out;\n}\n\n@keyframes rotate {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n\n.grid-container {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n gap: 1rem;\n}\n\n.grid-item {\n background-color: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n border-radius: 8px;\n transition: transform var(--animation-duration) ease;\n}\n\n.grid-item:hover {\n transform: scale(1.05);\n}\n\nbutton {\n background-color: var(--primary-color);\n color: white;\n border: none;\n padding: 0.75rem 1.5rem;\n border-radius: 4px;\n cursor: pointer;\n transition: background-color var(--animation-duration) ease;\n}\n\nbutton:hover {\n background-color: #1557b0;\n}\n\nfooter {\n margin-top: 4rem;\n text-align: center;\n}\n\nfooter nav {\n display: flex;\n justify-content: center;\n gap: 1rem;\n flex-wrap: wrap;\n}\n\nfooter a {\n color: var(--primary-color);\n text-decoration: none;\n padding: 0.5rem 1rem;\n border-radius: 4px;\n transition: background-color var(--animation-duration) ease;\n}\n\nfooter a:hover {\n background-color: #e8f0fe;\n}\n\n@media (max-width: 768px) {\n body {\n padding: 1rem;\n }\n \n section {\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('interactive-button').addEventListener('click', function() {\n const textElement = document.getElementById('interactive-text');\n textElement.textContent = \"You clicked the button!\";\n textElement.style.color = \"#1a73e8\";\n textElement.style.fontWeight = \"bold\";\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 249, + "completion_tokens": 1252, + "total_tokens": 1501, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 249 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..820cf11 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# showcase.scroll.pub +Website generated by DeepSeek from prompt: I want a website that shows everything you are capable of on 1 page \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..786cf2e --- /dev/null +++ b/script.js @@ -0,0 +1,6 @@ +document.getElementById('interactive-button').addEventListener('click', function() { + const textElement = document.getElementById('interactive-text'); + textElement.textContent = "You clicked the button!"; + textElement.style.color = "#1a73e8"; + textElement.style.fontWeight = "bold"; +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..07cfb26 --- /dev/null +++ b/style.css @@ -0,0 +1,127 @@ +:root { + --primary-color: #1a73e8; + --secondary-color: #202124; + --background-color: #ffffff; + --text-color: #202124; + --animation-duration: 0.3s; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); + padding: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +header { + text-align: center; + margin-bottom: 4rem; +} + +h1 { + font-size: clamp(2rem, 5vw, 3.5rem); + margin-bottom: 1rem; + color: var(--primary-color); +} + +section { + margin: 4rem 0; + padding: 2rem; + border-radius: 8px; + background-color: #f8f9fa; +} + +h2 { + font-size: clamp(1.5rem, 3vw, 2rem); + margin-bottom: 1.5rem; + color: var(--secondary-color); +} + +.animation-box { + width: 100px; + height: 100px; + background-color: var(--primary-color); + border-radius: 8px; + animation: rotate 2s infinite ease-in-out; +} + +@keyframes rotate { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +} + +.grid-container { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + gap: 1rem; +} + +.grid-item { + background-color: var(--primary-color); + color: white; + padding: 2rem; + text-align: center; + border-radius: 8px; + transition: transform var(--animation-duration) ease; +} + +.grid-item:hover { + transform: scale(1.05); +} + +button { + background-color: var(--primary-color); + color: white; + border: none; + padding: 0.75rem 1.5rem; + border-radius: 4px; + cursor: pointer; + transition: background-color var(--animation-duration) ease; +} + +button:hover { + background-color: #1557b0; +} + +footer { + margin-top: 4rem; + text-align: center; +} + +footer nav { + display: flex; + justify-content: center; + gap: 1rem; + flex-wrap: wrap; +} + +footer a { + color: var(--primary-color); + text-decoration: none; + padding: 0.5rem 1rem; + border-radius: 4px; + transition: background-color var(--animation-duration) ease; +} + +footer a:hover { + background-color: #e8f0fe; +} + +@media (max-width: 768px) { + body { + padding: 1rem; + } + + section { + padding: 1rem; + } +} \ No newline at end of file