commit 96b0bd1966b41e54640c056cdc6d8f3619d47c2a
Author: root <root@hub.scroll.pub> Date: 2025-01-02 02:21:03 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..49f723e --- /dev/null +++ b/body.html @@ -0,0 +1,39 @@ +<header class="hero"> + <div class="hero-content"> + <h1>祝福姚总2025年新年快乐</h1> + <p class="subtitle">愿新的一年,事业蒸蒸日上,生活幸福美满!</p> + </div> +</header> + +<main class="content"> + <section class="wishes"> + <h2>新年祝福</h2> + <p>在这辞旧迎新的时刻,我们怀着无比感激的心情,向姚总致以最诚挚的祝福。愿2025年带来更多的成功与喜悦,愿您的每一天都充满阳光与希望。</p> + </section> + + <section class="countdown"> + <h2>距离2025年还有</h2> + <div class="timer"> + <div class="time-box"> + <span id="days">00</span> + <span class="label">天</span> + </div> + <div class="time-box"> + <span id="hours">00</span> + <span class="label">小时</span> + </div> + <div class="time-box"> + <span id="minutes">00</span> + <span class="label">分钟</span> + </div> + <div class="time-box"> + <span id="seconds">00</span> + <span class="label">秒</span> + </div> + </div> + </section> +</main> + +<footer class="footer"> + <p>衷心祝愿姚总新年快乐,万事如意!</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..251e131 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://yao2025.scroll.pub +metaTags +editButton /edit.html +title 祝福姚总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..feaa084 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "e15d0873-2aea-47e6-9f88-139ec7223700", + "object": "chat.completion", + "created": 1735784444, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nyao2025.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://yao2025.scroll.pub\nmetaTags\neditButton /edit.html\ntitle 祝福姚总2025年新年快乐\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"hero\">\n <div class=\"hero-content\">\n <h1>祝福姚总2025年新年快乐</h1>\n <p class=\"subtitle\">愿新的一年,事业蒸蒸日上,生活幸福美满!</p>\n </div>\n</header>\n\n<main class=\"content\">\n <section class=\"wishes\">\n <h2>新年祝福</h2>\n <p>在这辞旧迎新的时刻,我们怀着无比感激的心情,向姚总致以最诚挚的祝福。愿2025年带来更多的成功与喜悦,愿您的每一天都充满阳光与希望。</p>\n </section>\n\n <section class=\"countdown\">\n <h2>距离2025年还有</h2>\n <div class=\"timer\">\n <div class=\"time-box\">\n <span id=\"days\">00</span>\n <span class=\"label\">天</span>\n </div>\n <div class=\"time-box\">\n <span id=\"hours\">00</span>\n <span class=\"label\">小时</span>\n </div>\n <div class=\"time-box\">\n <span id=\"minutes\">00</span>\n <span class=\"label\">分钟</span>\n </div>\n <div class=\"time-box\">\n <span id=\"seconds\">00</span>\n <span class=\"label\">秒</span>\n </div>\n </div>\n </section>\n</main>\n\n<footer class=\"footer\">\n <p>衷心祝愿姚总新年快乐,万事如意!</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #1a73e8;\n --secondary-color: #fbbc05;\n --background-color: #f8f9fa;\n --text-color: #202124;\n --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n}\n\nbody {\n margin: 0;\n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--background-color);\n line-height: 1.6;\n}\n\n.hero {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n padding: 100px 20px;\n text-align: center;\n}\n\n.hero-content h1 {\n font-size: 3rem;\n margin: 0;\n}\n\n.subtitle {\n font-size: 1.5rem;\n margin-top: 10px;\n}\n\n.content {\n padding: 40px 20px;\n max-width: 800px;\n margin: 0 auto;\n}\n\n.wishes, .countdown {\n margin-bottom: 40px;\n}\n\n.countdown h2 {\n text-align: center;\n margin-bottom: 20px;\n}\n\n.timer {\n display: flex;\n justify-content: center;\n gap: 20px;\n}\n\n.time-box {\n text-align: center;\n background: white;\n padding: 20px;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.time-box span {\n display: block;\n}\n\n.time-box span:first-child {\n font-size: 2rem;\n font-weight: bold;\n}\n\n.label {\n font-size: 1rem;\n color: #666;\n}\n\n.footer {\n text-align: center;\n padding: 20px;\n background: var(--primary-color);\n color: white;\n}\n\n@media (max-width: 600px) {\n .hero-content h1 {\n font-size: 2rem;\n }\n\n .subtitle {\n font-size: 1.2rem;\n }\n\n .timer {\n flex-direction: column;\n gap: 10px;\n }\n\n .time-box {\n padding: 15px;\n }\n\n .time-box span:first-child {\n font-size: 1.5rem;\n }\n}\n---script.js---\nfunction updateCountdown() {\n const now = new Date();\n const newYear = new Date(2025, 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---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 249, + "completion_tokens": 1179, + "total_tokens": 1428, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 249 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..fe51078 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# yao2025.scroll.pub +Website generated by DeepSeek from prompt: 做一个网页祝福姚总2025年新年快乐,网站要高端大气 \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..386f3f5 --- /dev/null +++ b/script.js @@ -0,0 +1,18 @@ +function updateCountdown() { + const now = new Date(); + const newYear = new Date(2025, 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(); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..28786aa --- /dev/null +++ b/style.css @@ -0,0 +1,105 @@ +:root { + --primary-color: #1a73e8; + --secondary-color: #fbbc05; + --background-color: #f8f9fa; + --text-color: #202124; + --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; +} + +body { + margin: 0; + font-family: var(--font-family); + color: var(--text-color); + background-color: var(--background-color); + line-height: 1.6; +} + +.hero { + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; + padding: 100px 20px; + text-align: center; +} + +.hero-content h1 { + font-size: 3rem; + margin: 0; +} + +.subtitle { + font-size: 1.5rem; + margin-top: 10px; +} + +.content { + padding: 40px 20px; + max-width: 800px; + margin: 0 auto; +} + +.wishes, .countdown { + margin-bottom: 40px; +} + +.countdown h2 { + text-align: center; + margin-bottom: 20px; +} + +.timer { + display: flex; + justify-content: center; + gap: 20px; +} + +.time-box { + text-align: center; + background: white; + padding: 20px; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +.time-box span { + display: block; +} + +.time-box span:first-child { + font-size: 2rem; + font-weight: bold; +} + +.label { + font-size: 1rem; + color: #666; +} + +.footer { + text-align: center; + padding: 20px; + background: var(--primary-color); + color: white; +} + +@media (max-width: 600px) { + .hero-content h1 { + font-size: 2rem; + } + + .subtitle { + font-size: 1.2rem; + } + + .timer { + flex-direction: column; + gap: 10px; + } + + .time-box { + padding: 15px; + } + + .time-box span:first-child { + font-size: 1.5rem; + } +} \ No newline at end of file