commit 62c809525706ff9a9a8d404630b57259c38fba79
Author: root <root@hub.scroll.pub> Date: 2024-12-31 14:26:33 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..30de283 --- /dev/null +++ b/body.html @@ -0,0 +1,11 @@ +<div class="card"> + <div class="message"> + <h1 class="chinese">新年快乐</h1> + <h2 class="spanish">¡Feliz Año Nuevo!</h2> + <p class="subtext">Que este nuevo año esté lleno de amor, alegría y éxito. Te quiero mucho, mi amor.</p> + </div> + <div class="interactive"> + <div class="purple-circle" id="circle"></div> + <button id="animateButton">Haz clic para animar</button> + </div> +</div> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..209ed79 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://nuevoano.scroll.pub +metaTags +editButton /edit.html +title Nuevo Año - Greeting Card +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..0f3603f --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "fabaf6c6-27e2-4f7b-807a-10f776151780", + "object": "chat.completion", + "created": 1735655181, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nnuevoano.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://nuevoano.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Nuevo Año - Greeting Card\nstyle.css\nbody.html\nscript.js\n---body.html---\n<div class=\"card\">\n <div class=\"message\">\n <h1 class=\"chinese\">新年快乐</h1>\n <h2 class=\"spanish\">¡Feliz Año Nuevo!</h2>\n <p class=\"subtext\">Que este nuevo año esté lleno de amor, alegría y éxito. Te quiero mucho, mi amor.</p>\n </div>\n <div class=\"interactive\">\n <div class=\"purple-circle\" id=\"circle\"></div>\n <button id=\"animateButton\">Haz clic para animar</button>\n </div>\n</div>\n---style.css---\nbody {\n margin: 0;\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n background: linear-gradient(135deg, #6a11cb, #2575fc);\n font-family: 'Arial', sans-serif;\n color: white;\n}\n\n.card {\n text-align: center;\n background: rgba(255, 255, 255, 0.1);\n padding: 2rem;\n border-radius: 15px;\n box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);\n backdrop-filter: blur(10px);\n}\n\n.message h1 {\n font-size: 3rem;\n margin: 0;\n}\n\n.message h2 {\n font-size: 2rem;\n margin: 0.5rem 0;\n}\n\n.message .subtext {\n font-size: 1rem;\n margin: 1rem 0;\n}\n\n.interactive {\n margin-top: 2rem;\n}\n\n.purple-circle {\n width: 100px;\n height: 100px;\n background-color: purple;\n border-radius: 50%;\n margin: 0 auto;\n transition: transform 0.5s ease;\n}\n\nbutton {\n margin-top: 1rem;\n padding: 0.5rem 1rem;\n background-color: purple;\n color: white;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n font-size: 1rem;\n}\n\nbutton:hover {\n background-color: #6a11cb;\n}\n\n@media (max-width: 600px) {\n .message h1 {\n font-size: 2rem;\n }\n\n .message h2 {\n font-size: 1.5rem;\n }\n\n .message .subtext {\n font-size: 0.9rem;\n }\n\n .purple-circle {\n width: 80px;\n height: 80px;\n }\n\n button {\n font-size: 0.9rem;\n }\n}\n---script.js---\ndocument.getElementById('animateButton').addEventListener('click', function() {\n const circle = document.getElementById('circle');\n circle.style.transform = 'scale(1.5)';\n setTimeout(() => {\n circle.style.transform = 'scale(1)';\n }, 500);\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 266, + "completion_tokens": 725, + "total_tokens": 991, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 266 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..2804a2d --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# nuevoano.scroll.pub +Website generated by DeepSeek from prompt: A new year greeting card to my Spanish boyfriend, showing written words in Chinese and Spanish. It should have images in colour purple, and interactivity. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..c5c4976 --- /dev/null +++ b/script.js @@ -0,0 +1,7 @@ +document.getElementById('animateButton').addEventListener('click', function() { + const circle = document.getElementById('circle'); + circle.style.transform = 'scale(1.5)'; + setTimeout(() => { + circle.style.transform = 'scale(1)'; + }, 500); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..803ea7b --- /dev/null +++ b/style.css @@ -0,0 +1,86 @@ +body { + margin: 0; + padding: 0; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + background: linear-gradient(135deg, #6a11cb, #2575fc); + font-family: 'Arial', sans-serif; + color: white; +} + +.card { + text-align: center; + background: rgba(255, 255, 255, 0.1); + padding: 2rem; + border-radius: 15px; + box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); + backdrop-filter: blur(10px); +} + +.message h1 { + font-size: 3rem; + margin: 0; +} + +.message h2 { + font-size: 2rem; + margin: 0.5rem 0; +} + +.message .subtext { + font-size: 1rem; + margin: 1rem 0; +} + +.interactive { + margin-top: 2rem; +} + +.purple-circle { + width: 100px; + height: 100px; + background-color: purple; + border-radius: 50%; + margin: 0 auto; + transition: transform 0.5s ease; +} + +button { + margin-top: 1rem; + padding: 0.5rem 1rem; + background-color: purple; + color: white; + border: none; + border-radius: 5px; + cursor: pointer; + font-size: 1rem; +} + +button:hover { + background-color: #6a11cb; +} + +@media (max-width: 600px) { + .message h1 { + font-size: 2rem; + } + + .message h2 { + font-size: 1.5rem; + } + + .message .subtext { + font-size: 0.9rem; + } + + .purple-circle { + width: 80px; + height: 80px; + } + + button { + font-size: 0.9rem; + } +} \ No newline at end of file