commit c2a7906f594ffd4f843d3ebb5bff4fef35bab60f
Author: root <root@hub.scroll.pub> Date: 2024-12-31 14:32:27 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..1e6eead --- /dev/null +++ b/body.html @@ -0,0 +1,31 @@ +<header> + <h1>¡Feliz Año Nuevo! 新年快乐!</h1> + <p class="subtitle">Un mensaje de amor para ti / 给你的爱的信息</p> +</header> + +<main> + <section class="message"> + <div class="language spanish"> + <h2>En Español</h2> + <p>Que este nuevo año traiga consigo amor, alegría y prosperidad. Que cada día esté lleno de momentos especiales y que nuestro amor crezca más fuerte con cada amanecer. Te amo más que ayer, pero menos que mañana.</p> + </div> + + <div class="language chinese"> + <h2>中文</h2> + <p>愿新的一年带来爱、欢乐和繁荣。愿每一天都充满特别的时刻,愿我们的爱随着每一个日出而变得更加强大。我爱你比昨天多,但不及明天。</p> + </div> + </section> + + <section class="animation"> + <div class="heart"></div> + <div class="fireworks"> + <div class="firework"></div> + <div class="firework"></div> + <div class="firework"></div> + </div> + </section> +</main> + +<footer> + <p>Con amor / 带着爱</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..3ab4475 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://amor2024.scroll.pub +metaTags +editButton /edit.html +title New Year Love Greeting - Amor 2024 +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..f34deb9 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "59060761-64c7-4ce5-903f-0bf0cfbfe470", + "object": "chat.completion", + "created": 1735655524, + "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 New Year Love Greeting - Amor 2024\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>¡Feliz Año Nuevo! 新年快乐!</h1>\n <p class=\"subtitle\">Un mensaje de amor para ti / 给你的爱的信息</p>\n</header>\n\n<main>\n <section class=\"message\">\n <div class=\"language spanish\">\n <h2>En Español</h2>\n <p>Que este nuevo año traiga consigo amor, alegría y prosperidad. Que cada día esté lleno de momentos especiales y que nuestro amor crezca más fuerte con cada amanecer. Te amo más que ayer, pero menos que mañana.</p>\n </div>\n \n <div class=\"language chinese\">\n <h2>中文</h2>\n <p>愿新的一年带来爱、欢乐和繁荣。愿每一天都充满特别的时刻,愿我们的爱随着每一个日出而变得更加强大。我爱你比昨天多,但不及明天。</p>\n </div>\n </section>\n\n <section class=\"animation\">\n <div class=\"heart\"></div>\n <div class=\"fireworks\">\n <div class=\"firework\"></div>\n <div class=\"firework\"></div>\n <div class=\"firework\"></div>\n </div>\n </section>\n</main>\n\n<footer>\n <p>Con amor / 带着爱</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #e63946;\n --secondary-color: #f1faee;\n --accent-color: #a8dadc;\n --text-color: #1d3557;\n --font-family: 'Segoe UI', system-ui, sans-serif;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: var(--font-family);\n line-height: 1.6;\n color: var(--text-color);\n background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 2rem;\n}\n\nheader {\n text-align: center;\n margin-bottom: 2rem;\n}\n\nh1 {\n font-size: 2.5rem;\n color: var(--primary-color);\n animation: fadeIn 2s ease-in-out;\n}\n\n.subtitle {\n font-size: 1.2rem;\n color: var(--text-color);\n margin-top: 0.5rem;\n}\n\n.message {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n max-width: 800px;\n margin: 0 auto;\n padding: 2rem;\n background: rgba(255, 255, 255, 0.9);\n border-radius: 15px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.language {\n padding: 1rem;\n}\n\nh2 {\n color: var(--primary-color);\n margin-bottom: 1rem;\n}\n\n.animation {\n position: relative;\n margin-top: 3rem;\n height: 200px;\n width: 100%;\n}\n\n.heart {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100px;\n height: 100px;\n background-color: var(--primary-color);\n clip-path: polygon(\n 50% 15%,\n 70% 0%,\n 85% 15%,\n 100% 35%,\n 100% 70%,\n 50% 100%,\n 0% 70%,\n 0% 35%,\n 15% 15%,\n 30% 0%\n );\n animation: heartbeat 1.5s infinite;\n}\n\n.fireworks {\n position: absolute;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.firework {\n position: absolute;\n width: 10px;\n height: 10px;\n background: var(--primary-color);\n border-radius: 50%;\n animation: explode 2s infinite ease-in-out;\n opacity: 0;\n}\n\n.firework:nth-child(1) {\n top: 10%;\n left: 20%;\n animation-delay: 0.5s;\n}\n\n.firework:nth-child(2) {\n top: 30%;\n left: 70%;\n animation-delay: 1s;\n}\n\n.firework:nth-child(3) {\n top: 50%;\n left: 40%;\n animation-delay: 1.5s;\n}\n\nfooter {\n margin-top: 2rem;\n text-align: center;\n color: var(--text-color);\n}\n\n@keyframes fadeIn {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n}\n\n@keyframes heartbeat {\n 0% { transform: translate(-50%, -50%) scale(1); }\n 50% { transform: translate(-50%, -50%) scale(1.1); }\n 100% { transform: translate(-50%, -50%) scale(1); }\n}\n\n@keyframes explode {\n 0% { transform: scale(0); opacity: 1; }\n 100% { transform: scale(10); opacity: 0; }\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2rem;\n }\n \n .message {\n grid-template-columns: 1fr;\n padding: 1rem;\n }\n}\n---script.js---\n// Simple script to add interactivity\ndocument.addEventListener('DOMContentLoaded', () => {\n const heart = document.querySelector('.heart');\n \n heart.addEventListener('click', () => {\n heart.style.animation = 'none';\n setTimeout(() => {\n heart.style.animation = '';\n }, 10);\n });\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 244, + "completion_tokens": 1392, + "total_tokens": 1636, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 244 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..04777f2 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# amor20242.scroll.pub +Website generated by DeepSeek from prompt: A bilingual New Year love greeting in Spanish and Chinese \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..0deb3ed --- /dev/null +++ b/script.js @@ -0,0 +1,11 @@ +// Simple script to add interactivity +document.addEventListener('DOMContentLoaded', () => { + const heart = document.querySelector('.heart'); + + heart.addEventListener('click', () => { + heart.style.animation = 'none'; + setTimeout(() => { + heart.style.animation = ''; + }, 10); + }); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..5322a40 --- /dev/null +++ b/style.css @@ -0,0 +1,162 @@ +:root { + --primary-color: #e63946; + --secondary-color: #f1faee; + --accent-color: #a8dadc; + --text-color: #1d3557; + --font-family: 'Segoe UI', system-ui, sans-serif; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: var(--font-family); + line-height: 1.6; + color: var(--text-color); + background: linear-gradient(135deg, var(--secondary-color), var(--accent-color)); + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 2rem; +} + +header { + text-align: center; + margin-bottom: 2rem; +} + +h1 { + font-size: 2.5rem; + color: var(--primary-color); + animation: fadeIn 2s ease-in-out; +} + +.subtitle { + font-size: 1.2rem; + color: var(--text-color); + margin-top: 0.5rem; +} + +.message { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + max-width: 800px; + margin: 0 auto; + padding: 2rem; + background: rgba(255, 255, 255, 0.9); + border-radius: 15px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +.language { + padding: 1rem; +} + +h2 { + color: var(--primary-color); + margin-bottom: 1rem; +} + +.animation { + position: relative; + margin-top: 3rem; + height: 200px; + width: 100%; +} + +.heart { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 100px; + height: 100px; + background-color: var(--primary-color); + clip-path: polygon( + 50% 15%, + 70% 0%, + 85% 15%, + 100% 35%, + 100% 70%, + 50% 100%, + 0% 70%, + 0% 35%, + 15% 15%, + 30% 0% + ); + animation: heartbeat 1.5s infinite; +} + +.fireworks { + position: absolute; + width: 100%; + height: 100%; + overflow: hidden; +} + +.firework { + position: absolute; + width: 10px; + height: 10px; + background: var(--primary-color); + border-radius: 50%; + animation: explode 2s infinite ease-in-out; + opacity: 0; +} + +.firework:nth-child(1) { + top: 10%; + left: 20%; + animation-delay: 0.5s; +} + +.firework:nth-child(2) { + top: 30%; + left: 70%; + animation-delay: 1s; +} + +.firework:nth-child(3) { + top: 50%; + left: 40%; + animation-delay: 1.5s; +} + +footer { + margin-top: 2rem; + text-align: center; + color: var(--text-color); +} + +@keyframes fadeIn { + 0% { opacity: 0; } + 100% { opacity: 1; } +} + +@keyframes heartbeat { + 0% { transform: translate(-50%, -50%) scale(1); } + 50% { transform: translate(-50%, -50%) scale(1.1); } + 100% { transform: translate(-50%, -50%) scale(1); } +} + +@keyframes explode { + 0% { transform: scale(0); opacity: 1; } + 100% { transform: scale(10); opacity: 0; } +} + +@media (max-width: 768px) { + h1 { + font-size: 2rem; + } + + .message { + grid-template-columns: 1fr; + padding: 1rem; + } +} \ No newline at end of file