commit f3aabe7a2ab2d786531dc4d71e36fe99aeab8678
Author: root <root@hub.scroll.pub> Date: 2024-12-31 14:55:54 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..2d03383 --- /dev/null +++ b/body.html @@ -0,0 +1,23 @@ +<header> + <h1>Amor y Corazón</h1> + <p>Una tarjeta especial para mi amor</p> +</header> +<main> + <section id="greeting"> + <div class="card"> + <img src="heart.png" alt="Corazón" class="heart-image"> + <div class="message"> + <p class="chinese">我爱你</p> + <p class="spanish">Te amo</p> + </div> + </div> + <button id="revealButton">¡Haz clic para revelar más!</button> + <div id="hiddenMessage" class="hidden"> + <p class="chinese">你是我的一切</p> + <p class="spanish">Eres mi todo</p> + </div> + </section> +</main> +<footer> + <p>Con todo mi cariño</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..0ca482a --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://amorcorazon.scroll.pub +metaTags +editButton /edit.html +title Amor y Corazón - Una Tarjeta Especial +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..855fa2a --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "10014bd8-ec45-406e-8b8e-8ccaa4c5e7a7", + "object": "chat.completion", + "created": 1735656940, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\namorcorazon.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://amorcorazon.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Amor y Corazón - Una Tarjeta Especial\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Amor y Corazón</h1>\n <p>Una tarjeta especial para mi amor</p>\n</header>\n<main>\n <section id=\"greeting\">\n <div class=\"card\">\n <img src=\"heart.png\" alt=\"Corazón\" class=\"heart-image\">\n <div class=\"message\">\n <p class=\"chinese\">我爱你</p>\n <p class=\"spanish\">Te amo</p>\n </div>\n </div>\n <button id=\"revealButton\">¡Haz clic para revelar más!</button>\n <div id=\"hiddenMessage\" class=\"hidden\">\n <p class=\"chinese\">你是我的一切</p>\n <p class=\"spanish\">Eres mi todo</p>\n </div>\n </section>\n</main>\n<footer>\n <p>Con todo mi cariño</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Georgia', serif;\n margin: 0;\n padding: 0;\n background: linear-gradient(135deg, #ff7eb3, #ff758c);\n color: #fff;\n text-align: center;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\nheader {\n padding: 2rem;\n}\n\nh1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n}\n\n.card {\n background: rgba(255, 255, 255, 0.1);\n border-radius: 15px;\n padding: 2rem;\n margin: 2rem auto;\n max-width: 400px;\n backdrop-filter: blur(10px);\n box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);\n}\n\n.heart-image {\n width: 100px;\n height: auto;\n margin-bottom: 1rem;\n animation: pulse 2s infinite;\n}\n\n.message {\n font-size: 1.5rem;\n}\n\n.chinese {\n font-family: 'SimSun', serif;\n margin-bottom: 1rem;\n}\n\n.spanish {\n font-style: italic;\n}\n\nbutton {\n background: #fff;\n color: #ff7eb3;\n border: none;\n padding: 1rem 2rem;\n border-radius: 25px;\n font-size: 1rem;\n cursor: pointer;\n transition: all 0.3s ease;\n}\n\nbutton:hover {\n transform: scale(1.1);\n box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);\n}\n\n.hidden {\n display: none;\n}\n\nfooter {\n padding: 1rem;\n}\n\n@keyframes pulse {\n 0% { transform: scale(1); }\n 50% { transform: scale(1.1); }\n 100% { transform: scale(1); }\n}\n\n@media (max-width: 600px) {\n h1 {\n font-size: 2rem;\n }\n\n .card {\n padding: 1rem;\n }\n\n .message {\n font-size: 1.2rem;\n }\n}\n---script.js---\ndocument.getElementById('revealButton').addEventListener('click', function() {\n const hiddenMessage = document.getElementById('hiddenMessage');\n hiddenMessage.classList.toggle('hidden');\n this.textContent = hiddenMessage.classList.contains('hidden') ? '¡Haz clic para revelar más!' : '¡Gracias por tu amor!';\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 266, + "completion_tokens": 855, + "total_tokens": 1121, + "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..01d7e6a --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# amorcorazon.scroll.pub +Website generated by DeepSeek from prompt: A website showing a new greeting card to my Spanish lover. It should have written words in Chinese and Spanish. It should have images and interactivity. Be creative \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..45c6752 --- /dev/null +++ b/script.js @@ -0,0 +1,5 @@ +document.getElementById('revealButton').addEventListener('click', function() { + const hiddenMessage = document.getElementById('hiddenMessage'); + hiddenMessage.classList.toggle('hidden'); + this.textContent = hiddenMessage.classList.contains('hidden') ? '¡Haz clic para revelar más!' : '¡Gracias por tu amor!'; +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..55a2fe7 --- /dev/null +++ b/style.css @@ -0,0 +1,95 @@ +body { + font-family: 'Georgia', serif; + margin: 0; + padding: 0; + background: linear-gradient(135deg, #ff7eb3, #ff758c); + color: #fff; + text-align: center; + min-height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; +} + +header { + padding: 2rem; +} + +h1 { + font-size: 3rem; + margin-bottom: 1rem; +} + +.card { + background: rgba(255, 255, 255, 0.1); + border-radius: 15px; + padding: 2rem; + margin: 2rem auto; + max-width: 400px; + backdrop-filter: blur(10px); + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); +} + +.heart-image { + width: 100px; + height: auto; + margin-bottom: 1rem; + animation: pulse 2s infinite; +} + +.message { + font-size: 1.5rem; +} + +.chinese { + font-family: 'SimSun', serif; + margin-bottom: 1rem; +} + +.spanish { + font-style: italic; +} + +button { + background: #fff; + color: #ff7eb3; + border: none; + padding: 1rem 2rem; + border-radius: 25px; + font-size: 1rem; + cursor: pointer; + transition: all 0.3s ease; +} + +button:hover { + transform: scale(1.1); + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); +} + +.hidden { + display: none; +} + +footer { + padding: 1rem; +} + +@keyframes pulse { + 0% { transform: scale(1); } + 50% { transform: scale(1.1); } + 100% { transform: scale(1); } +} + +@media (max-width: 600px) { + h1 { + font-size: 2rem; + } + + .card { + padding: 1rem; + } + + .message { + font-size: 1.2rem; + } +} \ No newline at end of file