commit 7c049cda5c656bb4d28a87198dd4ec57c50b933d
Author: root <root@hub.scroll.pub> Date: 2024-12-31 14:29:07 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..dacc95a --- /dev/null +++ b/body.html @@ -0,0 +1,20 @@ +<header> + <h1>Feliz Año Nuevo 2024</h1> + <h2>新年快乐</h2> +</header> +<main> + <section class="message"> + <p>Querido amor,</p> + <p>En este nuevo año, deseo que nuestra relación siga creciendo con amor, comprensión y felicidad. Que cada día sea una nueva aventura juntos.</p> + <p>亲爱的,</p> + <p>在新的一年里,我祝愿我们的关系继续在爱、理解和幸福中成长。愿每一天都是一起的新冒险。</p> + </section> + <section class="interactive"> + <div class="color-box purple" onclick="changeColor('purple')"></div> + <div class="color-box yellow" onclick="changeColor('yellow')"></div> + </section> +</main> +<footer> + <p>Con todo mi amor,</p> + <p>Tu pareja</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..f3c1b87 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://amor2024.scroll.pub +metaTags +editButton /edit.html +title Feliz Año Nuevo 2024 - Amor en Español y Chino +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..4239ab0 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "b04c068d-5e7e-4fe3-96c0-1b8970da0aa3", + "object": "chat.completion", + "created": 1735655332, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\namor2024.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://amor2024.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Feliz Año Nuevo 2024 - Amor en Español y Chino\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Feliz Año Nuevo 2024</h1>\n <h2>新年快乐</h2>\n</header>\n<main>\n <section class=\"message\">\n <p>Querido amor,</p>\n <p>En este nuevo año, deseo que nuestra relación siga creciendo con amor, comprensión y felicidad. Que cada día sea una nueva aventura juntos.</p>\n <p>亲爱的,</p>\n <p>在新的一年里,我祝愿我们的关系继续在爱、理解和幸福中成长。愿每一天都是一起的新冒险。</p>\n </section>\n <section class=\"interactive\">\n <div class=\"color-box purple\" onclick=\"changeColor('purple')\"></div>\n <div class=\"color-box yellow\" onclick=\"changeColor('yellow')\"></div>\n </section>\n</main>\n<footer>\n <p>Con todo mi amor,</p>\n <p>Tu pareja</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n background-color: #f0f0f0;\n color: #333;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n}\n\nheader {\n text-align: center;\n margin-bottom: 2rem;\n}\n\nh1 {\n font-size: 2.5rem;\n color: #6a1b9a;\n}\n\nh2 {\n font-size: 2rem;\n color: #fbc02d;\n}\n\n.message {\n background-color: #fff;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n max-width: 600px;\n margin: 0 auto;\n text-align: center;\n}\n\n.message p {\n font-size: 1.2rem;\n line-height: 1.6;\n}\n\n.interactive {\n display: flex;\n justify-content: center;\n margin-top: 2rem;\n}\n\n.color-box {\n width: 100px;\n height: 100px;\n margin: 0 1rem;\n cursor: pointer;\n border-radius: 10px;\n transition: transform 0.3s ease;\n}\n\n.color-box:hover {\n transform: scale(1.1);\n}\n\n.purple {\n background-color: #6a1b9a;\n}\n\n.yellow {\n background-color: #fbc02d;\n}\n\nfooter {\n text-align: center;\n margin-top: 2rem;\n font-size: 1.1rem;\n color: #6a1b9a;\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2rem;\n }\n\n h2 {\n font-size: 1.5rem;\n }\n\n .message p {\n font-size: 1rem;\n }\n\n .color-box {\n width: 80px;\n height: 80px;\n }\n}\n---script.js---\nfunction changeColor(color) {\n const body = document.body;\n if (color === 'purple') {\n body.style.backgroundColor = '#6a1b9a';\n body.style.color = '#fff';\n } else if (color === 'yellow') {\n body.style.backgroundColor = '#fbc02d';\n body.style.color = '#333';\n }\n}\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 271, + "completion_tokens": 852, + "total_tokens": 1123, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 271 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..88cb097 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# amor20241.scroll.pub +Website generated by DeepSeek from prompt: A new year greeting card to my Spanish lover, showing written words in Chinese and Spanish. It should have images in colour purple and yellow. It shoud have interactivity. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..622b3f8 --- /dev/null +++ b/script.js @@ -0,0 +1,10 @@ +function changeColor(color) { + const body = document.body; + if (color === 'purple') { + body.style.backgroundColor = '#6a1b9a'; + body.style.color = '#fff'; + } else if (color === 'yellow') { + body.style.backgroundColor = '#fbc02d'; + body.style.color = '#333'; + } +} \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..96e63e6 --- /dev/null +++ b/style.css @@ -0,0 +1,95 @@ +body { + font-family: 'Arial', sans-serif; + background-color: #f0f0f0; + color: #333; + margin: 0; + padding: 0; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + min-height: 100vh; +} + +header { + text-align: center; + margin-bottom: 2rem; +} + +h1 { + font-size: 2.5rem; + color: #6a1b9a; +} + +h2 { + font-size: 2rem; + color: #fbc02d; +} + +.message { + background-color: #fff; + padding: 2rem; + border-radius: 10px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + max-width: 600px; + margin: 0 auto; + text-align: center; +} + +.message p { + font-size: 1.2rem; + line-height: 1.6; +} + +.interactive { + display: flex; + justify-content: center; + margin-top: 2rem; +} + +.color-box { + width: 100px; + height: 100px; + margin: 0 1rem; + cursor: pointer; + border-radius: 10px; + transition: transform 0.3s ease; +} + +.color-box:hover { + transform: scale(1.1); +} + +.purple { + background-color: #6a1b9a; +} + +.yellow { + background-color: #fbc02d; +} + +footer { + text-align: center; + margin-top: 2rem; + font-size: 1.1rem; + color: #6a1b9a; +} + +@media (max-width: 768px) { + h1 { + font-size: 2rem; + } + + h2 { + font-size: 1.5rem; + } + + .message p { + font-size: 1rem; + } + + .color-box { + width: 80px; + height: 80px; + } +} \ No newline at end of file