commit 0f3ae458e22a3b2f3814673923416f647efa10b8
Author: root <root@hub.scroll.pub>
Date: 2024-12-31 15:38:14 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..4928efe
--- /dev/null
+++ b/body.html
@@ -0,0 +1,25 @@
+<header>
+ <h1>新年快乐 & Feliz Año Nuevo</h1>
+</header>
+<main>
+ <section class="greeting">
+ <p>亲爱的,</p>
+ <p>在这个特别的日子里,我想对你说:</p>
+ <p class="interactive">¡Te amo mucho! <span class="heart">❤️</span></p>
+ <p>愿新的一年带给你无尽的快乐和成功。</p>
+ <p>¡Que este nuevo año esté lleno de amor, felicidad y prosperidad!</p>
+ </section>
+ <section class="countdown">
+ <h2>距离新年还有:</h2>
+ <div class="timer">
+ <div><span id="days">00</span>天</div>
+ <div><span id="hours">00</span>小时</div>
+ <div><span id="minutes">00</span>分钟</div>
+ <div><span id="seconds">00</span>秒</div>
+ </div>
+ </section>
+</main>
+<footer>
+ <p>Con todo mi amor,</p>
+ <p>你的女朋友</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..b4bd81c
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://feliz2024.scroll.pub
+metaTags
+editButton /edit.html
+title 新年快乐 & Feliz Año Nuevo
+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..bb69bcc
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "1ee5d5f3-b447-42e7-a272-3d9a951e9a93",
+ "object": "chat.completion",
+ "created": 1735659476,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nfeliz2024.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://feliz2024.scroll.pub\nmetaTags\neditButton /edit.html\ntitle 新年快乐 & Feliz Año Nuevo\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>新年快乐 & Feliz Año Nuevo</h1>\n</header>\n<main>\n <section class=\"greeting\">\n <p>亲爱的,</p>\n <p>在这个特别的日子里,我想对你说:</p>\n <p class=\"interactive\">¡Te amo mucho! <span class=\"heart\">❤️</span></p>\n <p>愿新的一年带给你无尽的快乐和成功。</p>\n <p>¡Que este nuevo año esté lleno de amor, felicidad y prosperidad!</p>\n </section>\n <section class=\"countdown\">\n <h2>距离新年还有:</h2>\n <div class=\"timer\">\n <div><span id=\"days\">00</span>天</div>\n <div><span id=\"hours\">00</span>小时</div>\n <div><span id=\"minutes\">00</span>分钟</div>\n <div><span id=\"seconds\">00</span>秒</div>\n </div>\n </section>\n</main>\n<footer>\n <p>Con todo mi amor,</p>\n <p>你的女朋友</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);\n color: #333;\n margin: 0;\n padding: 0;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n}\n\nheader h1 {\n font-size: 3rem;\n color: #fff;\n text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);\n}\n\n.greeting {\n background: rgba(255, 255, 255, 0.9);\n padding: 2rem;\n border-radius: 15px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin: 1rem;\n max-width: 600px;\n}\n\n.greeting p {\n font-size: 1.2rem;\n line-height: 1.6;\n margin: 1rem 0;\n}\n\n.interactive {\n cursor: pointer;\n transition: transform 0.3s ease;\n}\n\n.interactive:hover {\n transform: scale(1.1);\n}\n\n.heart {\n color: #ff6b6b;\n animation: heartbeat 1.5s infinite;\n}\n\n@keyframes heartbeat {\n 0% { transform: scale(1); }\n 50% { transform: scale(1.2); }\n 100% { transform: scale(1); }\n}\n\n.countdown {\n margin-top: 2rem;\n}\n\n.timer {\n display: flex;\n justify-content: center;\n gap: 1rem;\n font-size: 1.5rem;\n color: #fff;\n}\n\n.timer div {\n background: rgba(0, 0, 0, 0.5);\n padding: 1rem;\n border-radius: 10px;\n min-width: 80px;\n}\n\nfooter {\n margin-top: 2rem;\n color: #fff;\n}\n\n@media (max-width: 600px) {\n header h1 {\n font-size: 2rem;\n }\n\n .greeting {\n padding: 1rem;\n }\n\n .timer {\n flex-direction: column;\n gap: 0.5rem;\n }\n}\n---script.js---\nfunction updateCountdown() {\n const now = new Date();\n const newYear = new Date(now.getFullYear() + 1, 0, 1);\n const diff = newYear - now;\n\n const days = Math.floor(diff / (1000 * 60 * 60 * 24));\n const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));\n const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));\n const seconds = Math.floor((diff % (1000 * 60)) / 1000);\n\n document.getElementById('days').textContent = String(days).padStart(2, '0');\n document.getElementById('hours').textContent = String(hours).padStart(2, '0');\n document.getElementById('minutes').textContent = String(minutes).padStart(2, '0');\n document.getElementById('seconds').textContent = String(seconds).padStart(2, '0');\n}\n\nsetInterval(updateCountdown, 1000);\nupdateCountdown();\n\ndocument.querySelector('.interactive').addEventListener('click', () => {\n alert('¡Yo también te amo mucho! ❤️');\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 263,
+ "completion_tokens": 1160,
+ "total_tokens": 1423,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 263
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..cb35266
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# feliz2024.scroll.pub
+Website generated by DeepSeek from prompt: I want a website showing a New Year greeting card to my Spanish boyfriend. It should be 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..2ee23de
--- /dev/null
+++ b/script.js
@@ -0,0 +1,22 @@
+function updateCountdown() {
+ const now = new Date();
+ const newYear = new Date(now.getFullYear() + 1, 0, 1);
+ const diff = newYear - now;
+
+ const days = Math.floor(diff / (1000 * 60 * 60 * 24));
+ const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
+ const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));
+ const seconds = Math.floor((diff % (1000 * 60)) / 1000);
+
+ document.getElementById('days').textContent = String(days).padStart(2, '0');
+ document.getElementById('hours').textContent = String(hours).padStart(2, '0');
+ document.getElementById('minutes').textContent = String(minutes).padStart(2, '0');
+ document.getElementById('seconds').textContent = String(seconds).padStart(2, '0');
+}
+
+setInterval(updateCountdown, 1000);
+updateCountdown();
+
+document.querySelector('.interactive').addEventListener('click', () => {
+ alert('¡Yo también te amo mucho! ❤️');
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..a4770b6
--- /dev/null
+++ b/style.css
@@ -0,0 +1,93 @@
+body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
+ color: #333;
+ margin: 0;
+ padding: 0;
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ text-align: center;
+}
+
+header h1 {
+ font-size: 3rem;
+ color: #fff;
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
+}
+
+.greeting {
+ background: rgba(255, 255, 255, 0.9);
+ padding: 2rem;
+ border-radius: 15px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ margin: 1rem;
+ max-width: 600px;
+}
+
+.greeting p {
+ font-size: 1.2rem;
+ line-height: 1.6;
+ margin: 1rem 0;
+}
+
+.interactive {
+ cursor: pointer;
+ transition: transform 0.3s ease;
+}
+
+.interactive:hover {
+ transform: scale(1.1);
+}
+
+.heart {
+ color: #ff6b6b;
+ animation: heartbeat 1.5s infinite;
+}
+
+@keyframes heartbeat {
+ 0% { transform: scale(1); }
+ 50% { transform: scale(1.2); }
+ 100% { transform: scale(1); }
+}
+
+.countdown {
+ margin-top: 2rem;
+}
+
+.timer {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ font-size: 1.5rem;
+ color: #fff;
+}
+
+.timer div {
+ background: rgba(0, 0, 0, 0.5);
+ padding: 1rem;
+ border-radius: 10px;
+ min-width: 80px;
+}
+
+footer {
+ margin-top: 2rem;
+ color: #fff;
+}
+
+@media (max-width: 600px) {
+ header h1 {
+ font-size: 2rem;
+ }
+
+ .greeting {
+ padding: 1rem;
+ }
+
+ .timer {
+ flex-direction: column;
+ gap: 0.5rem;
+ }
+}
\ No newline at end of file