commit 1a6bc458fd1637b30d23fcb953906dafd1dab2b1
Author: root <root@hub.scroll.pub> Date: 2024-12-31 15:26:52 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..12f962e --- /dev/null +++ b/body.html @@ -0,0 +1,11 @@ +<main> + <section class="hero"> + <div class="content"> + <h1>¡Feliz Año 2025!</h1> + <h2>新年快乐</h2> + <p>Para mi amor, que este nuevo año esté lleno de alegría, amor y éxito.</p> + <button id="revealButton">Haz clic para un mensaje especial</button> + <p id="specialMessage" class="hidden">Eres mi razón para sonreír cada día. Te amo. ❤️</p> + </div> + </section> +</main> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..991965e --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://felizaño2025.scroll.pub +metaTags +editButton /edit.html +title Feliz Año 2025 - 新年快乐 +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..241b452 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "c189e304-8d04-44ee-86c8-ea61cf8262c3", + "object": "chat.completion", + "created": 1735658801, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nfelizaño2025.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://felizaño2025.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Feliz Año 2025 - 新年快乐\nstyle.css\nbody.html\nscript.js\n---body.html---\n<main>\n <section class=\"hero\">\n <div class=\"content\">\n <h1>¡Feliz Año 2025!</h1>\n <h2>新年快乐</h2>\n <p>Para mi amor, que este nuevo año esté lleno de alegría, amor y éxito.</p>\n <button id=\"revealButton\">Haz clic para un mensaje especial</button>\n <p id=\"specialMessage\" class=\"hidden\">Eres mi razón para sonreír cada día. Te amo. ❤️</p>\n </div>\n </section>\n</main>\n---style.css---\nbody {\n margin: 0;\n font-family: 'Arial', sans-serif;\n background: linear-gradient(135deg, #ff9a9e, #fad0c4);\n color: #333;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n text-align: center;\n}\n\n.hero {\n background: rgba(255, 255, 255, 0.8);\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);\n}\n\nh1 {\n font-size: 3rem;\n color: #d32f2f;\n}\n\nh2 {\n font-size: 2rem;\n color: #1976d2;\n}\n\np {\n font-size: 1.2rem;\n margin: 1rem 0;\n}\n\nbutton {\n background: #1976d2;\n color: white;\n border: none;\n padding: 0.8rem 1.5rem;\n font-size: 1rem;\n border-radius: 5px;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\nbutton:hover {\n background: #1565c0;\n}\n\n.hidden {\n display: none;\n}\n\n#specialMessage {\n margin-top: 1rem;\n font-size: 1.5rem;\n color: #d32f2f;\n}\n\n@media (max-width: 600px) {\n h1 {\n font-size: 2rem;\n }\n\n h2 {\n font-size: 1.5rem;\n }\n\n p {\n font-size: 1rem;\n }\n\n button {\n padding: 0.6rem 1.2rem;\n font-size: 0.9rem;\n }\n}\n---script.js---\ndocument.getElementById('revealButton').addEventListener('click', function() {\n const message = document.getElementById('specialMessage');\n message.classList.remove('hidden');\n this.style.display = 'none';\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 264, + "completion_tokens": 672, + "total_tokens": 936, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 264 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..7583b34 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# felizaño2025.scroll.pub +Website generated by DeepSeek from prompt: A new year of 2025 greeting card to my Spanish boyfriend. It should have written words in Chinese and Spanish, with interactivity. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..1741f1a --- /dev/null +++ b/script.js @@ -0,0 +1,5 @@ +document.getElementById('revealButton').addEventListener('click', function() { + const message = document.getElementById('specialMessage'); + message.classList.remove('hidden'); + this.style.display = 'none'; +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..b633bbe --- /dev/null +++ b/style.css @@ -0,0 +1,77 @@ +body { + margin: 0; + font-family: 'Arial', sans-serif; + background: linear-gradient(135deg, #ff9a9e, #fad0c4); + color: #333; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + text-align: center; +} + +.hero { + background: rgba(255, 255, 255, 0.8); + padding: 2rem; + border-radius: 10px; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); +} + +h1 { + font-size: 3rem; + color: #d32f2f; +} + +h2 { + font-size: 2rem; + color: #1976d2; +} + +p { + font-size: 1.2rem; + margin: 1rem 0; +} + +button { + background: #1976d2; + color: white; + border: none; + padding: 0.8rem 1.5rem; + font-size: 1rem; + border-radius: 5px; + cursor: pointer; + transition: background 0.3s ease; +} + +button:hover { + background: #1565c0; +} + +.hidden { + display: none; +} + +#specialMessage { + margin-top: 1rem; + font-size: 1.5rem; + color: #d32f2f; +} + +@media (max-width: 600px) { + h1 { + font-size: 2rem; + } + + h2 { + font-size: 1.5rem; + } + + p { + font-size: 1rem; + } + + button { + padding: 0.6rem 1.2rem; + font-size: 0.9rem; + } +} \ No newline at end of file