commit 43990ff3d8719a2e32adf2145a298075f446996f
Author: root <root@hub.scroll.pub>
Date: 2024-12-31 19:35:10 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..3dffa15
--- /dev/null
+++ b/body.html
@@ -0,0 +1,14 @@
+<div class="container">
+ <div class="card">
+ <div class="front">
+ <h1>新年快乐</h1>
+ <h2>Happy New Year</h2>
+ <button onclick="flipCard()">Click for a Surprise!</button>
+ </div>
+ <div class="back">
+ <p>愿新的一年带给你健康、幸福和成功。</p>
+ <p>May the new year bring you health, happiness, and success.</p>
+ <button onclick="flipCard()">Flip Back</button>
+ </div>
+ </div>
+</div>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..2b2a6d6
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://newyearwishes.scroll.pub
+metaTags
+editButton /edit.html
+title New Year Greetings in Chinese and English
+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..e815065
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "4f046d60-f9b0-4dab-bed1-c407ff4810a2",
+ "object": "chat.completion",
+ "created": 1735673699,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nnewyearwishes.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://newyearwishes.scroll.pub\nmetaTags\neditButton /edit.html\ntitle New Year Greetings in Chinese and English\nstyle.css\nbody.html\nscript.js\n---body.html---\n<div class=\"container\">\n <div class=\"card\">\n <div class=\"front\">\n <h1>新年快乐</h1>\n <h2>Happy New Year</h2>\n <button onclick=\"flipCard()\">Click for a Surprise!</button>\n </div>\n <div class=\"back\">\n <p>愿新的一年带给你健康、幸福和成功。</p>\n <p>May the new year bring you health, happiness, and success.</p>\n <button onclick=\"flipCard()\">Flip Back</button>\n </div>\n </div>\n</div>\n---style.css---\nbody {\n margin: 0;\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);\n font-family: 'Arial', sans-serif;\n}\n\n.container {\n perspective: 1000px;\n}\n\n.card {\n width: 300px;\n height: 400px;\n position: relative;\n transform-style: preserve-3d;\n transition: transform 0.6s;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n}\n\n.card .front, .card .back {\n position: absolute;\n width: 100%;\n height: 100%;\n backface-visibility: hidden;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background: white;\n border-radius: 10px;\n padding: 20px;\n text-align: center;\n}\n\n.card .back {\n transform: rotateY(180deg);\n}\n\n.card.flipped {\n transform: rotateY(180deg);\n}\n\nh1, h2 {\n margin: 0;\n color: #333;\n}\n\nh1 {\n font-size: 2.5em;\n color: #ff6f61;\n}\n\nh2 {\n font-size: 1.5em;\n color: #333;\n}\n\np {\n font-size: 1.2em;\n color: #555;\n}\n\nbutton {\n margin-top: 20px;\n padding: 10px 20px;\n font-size: 1em;\n color: white;\n background: #ff6f61;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: background 0.3s;\n}\n\nbutton:hover {\n background: #ff3b2f;\n}\n\n@media (max-width: 600px) {\n .card {\n width: 250px;\n height: 350px;\n }\n\n h1 {\n font-size: 2em;\n }\n\n h2 {\n font-size: 1.2em;\n }\n\n p {\n font-size: 1em;\n }\n\n button {\n font-size: 0.9em;\n }\n}\n---script.js---\nfunction flipCard() {\n const card = document.querySelector('.card');\n card.classList.toggle('flipped');\n}\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 255,
+ "completion_tokens": 756,
+ "total_tokens": 1011,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 255
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..953f3e7
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# newyearwishes.scroll.pub
+Website generated by DeepSeek from prompt: I want a New Year greeting card shown words in Chinese and English. Should have interactivity. Be creative.
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..0cb7efd
--- /dev/null
+++ b/script.js
@@ -0,0 +1,4 @@
+function flipCard() {
+ const card = document.querySelector('.card');
+ card.classList.toggle('flipped');
+}
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..c7eaaea
--- /dev/null
+++ b/style.css
@@ -0,0 +1,105 @@
+body {
+ margin: 0;
+ padding: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 100vh;
+ background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
+ font-family: 'Arial', sans-serif;
+}
+
+.container {
+ perspective: 1000px;
+}
+
+.card {
+ width: 300px;
+ height: 400px;
+ position: relative;
+ transform-style: preserve-3d;
+ transition: transform 0.6s;
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
+}
+
+.card .front, .card .back {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ backface-visibility: hidden;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ background: white;
+ border-radius: 10px;
+ padding: 20px;
+ text-align: center;
+}
+
+.card .back {
+ transform: rotateY(180deg);
+}
+
+.card.flipped {
+ transform: rotateY(180deg);
+}
+
+h1, h2 {
+ margin: 0;
+ color: #333;
+}
+
+h1 {
+ font-size: 2.5em;
+ color: #ff6f61;
+}
+
+h2 {
+ font-size: 1.5em;
+ color: #333;
+}
+
+p {
+ font-size: 1.2em;
+ color: #555;
+}
+
+button {
+ margin-top: 20px;
+ padding: 10px 20px;
+ font-size: 1em;
+ color: white;
+ background: #ff6f61;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+ transition: background 0.3s;
+}
+
+button:hover {
+ background: #ff3b2f;
+}
+
+@media (max-width: 600px) {
+ .card {
+ width: 250px;
+ height: 350px;
+ }
+
+ h1 {
+ font-size: 2em;
+ }
+
+ h2 {
+ font-size: 1.2em;
+ }
+
+ p {
+ font-size: 1em;
+ }
+
+ button {
+ font-size: 0.9em;
+ }
+}
\ No newline at end of file