commit 9d5833c2d365b98a5ece64fb8a64b5a025540ca8
Author: root <root@hub.scroll.pub> Date: 2024-12-30 01:34:05 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..f003c20 --- /dev/null +++ b/body.html @@ -0,0 +1,37 @@ +<header> + <div class="search-container"> + <input type="text" placeholder="Search for help..." aria-label="Search for help"> + <button type="submit">Search</button> + </div> +</header> + +<main> + <section class="modules"> + <h2>Help Modules</h2> + <div class="grid"> + <div class="module">Risk Control</div> + <div class="module">Transactions</div> + <div class="module">Framework</div> + <div class="module">Security</div> + <div class="module">Account</div> + <div class="module">Payments</div> + <div class="module">API</div> + <div class="module">Integrations</div> + <div class="module">Reporting</div> + <div class="module">Compliance</div> + <div class="module">Settings</div> + <div class="module">Troubleshooting</div> + </div> + </section> + + <section class="bottom-section"> + <div class="announcements"> + <h2>Announcements</h2> + <p>Latest updates and news will appear here.</p> + </div> + <div class="faq"> + <h2>FAQ</h2> + <p>Common questions and answers will be listed here.</p> + </div> + </section> +</main> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..b7fef30 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://helpcenter.scroll.pub +metaTags +editButton /edit.html +title Help Center +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..30931a5 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "73af2ca6-8534-4ba9-82e7-f3b3943b1208", + "object": "chat.completion", + "created": 1735522430, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nhelpcenter.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://helpcenter.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Help Center\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <div class=\"search-container\">\n <input type=\"text\" placeholder=\"Search for help...\" aria-label=\"Search for help\">\n <button type=\"submit\">Search</button>\n </div>\n</header>\n\n<main>\n <section class=\"modules\">\n <h2>Help Modules</h2>\n <div class=\"grid\">\n <div class=\"module\">Risk Control</div>\n <div class=\"module\">Transactions</div>\n <div class=\"module\">Framework</div>\n <div class=\"module\">Security</div>\n <div class=\"module\">Account</div>\n <div class=\"module\">Payments</div>\n <div class=\"module\">API</div>\n <div class=\"module\">Integrations</div>\n <div class=\"module\">Reporting</div>\n <div class=\"module\">Compliance</div>\n <div class=\"module\">Settings</div>\n <div class=\"module\">Troubleshooting</div>\n </div>\n </section>\n\n <section class=\"bottom-section\">\n <div class=\"announcements\">\n <h2>Announcements</h2>\n <p>Latest updates and news will appear here.</p>\n </div>\n <div class=\"faq\">\n <h2>FAQ</h2>\n <p>Common questions and answers will be listed here.</p>\n </div>\n </section>\n</main>\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #f8fafc;\n --text-color: #1e293b;\n --border-radius: 8px;\n --spacing: 1rem;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n padding: 0 10%;\n}\n\nheader {\n padding: var(--spacing) 0;\n}\n\n.search-container {\n display: flex;\n gap: var(--spacing);\n max-width: 600px;\n margin: 0 auto;\n}\n\n.search-container input {\n flex: 1;\n padding: 0.75rem;\n border: 1px solid #ddd;\n border-radius: var(--border-radius);\n}\n\n.search-container button {\n padding: 0.75rem 1.5rem;\n background-color: var(--primary-color);\n color: white;\n border: none;\n border-radius: var(--border-radius);\n cursor: pointer;\n}\n\n.search-container button:hover {\n background-color: var(--secondary-color);\n}\n\nmain {\n padding: var(--spacing) 0;\n}\n\nh2 {\n margin-bottom: var(--spacing);\n color: var(--primary-color);\n}\n\n.grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: var(--spacing);\n margin-bottom: calc(var(--spacing) * 2);\n}\n\n.module {\n background: white;\n padding: var(--spacing);\n border-radius: var(--border-radius);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n text-align: center;\n transition: transform 0.2s;\n}\n\n.module:hover {\n transform: translateY(-5px);\n}\n\n.bottom-section {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: var(--spacing);\n}\n\n.announcements, .faq {\n background: white;\n padding: var(--spacing);\n border-radius: var(--border-radius);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n@media (max-width: 768px) {\n body {\n padding: 0 5%;\n }\n\n .grid {\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n }\n}\n---script.js---\n// Add any interactive functionality here if needed\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 276, + "completion_tokens": 990, + "total_tokens": 1266, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 276 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..2c42df5 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# helpcenter.scroll.pub +Website generated by DeepSeek from prompt: 创建一个网站的帮助中心,最上方是搜索框,中间是具体模块如风控、交易、框架等一个12个,最下方是公告和常见问题,左右都留有10%的空幅 \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..684d949 --- /dev/null +++ b/script.js @@ -0,0 +1 @@ +// Add any interactive functionality here if needed \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..b8b43b8 --- /dev/null +++ b/style.css @@ -0,0 +1,105 @@ +:root { + --primary-color: #2563eb; + --secondary-color: #1e40af; + --background-color: #f8fafc; + --text-color: #1e293b; + --border-radius: 8px; + --spacing: 1rem; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); + padding: 0 10%; +} + +header { + padding: var(--spacing) 0; +} + +.search-container { + display: flex; + gap: var(--spacing); + max-width: 600px; + margin: 0 auto; +} + +.search-container input { + flex: 1; + padding: 0.75rem; + border: 1px solid #ddd; + border-radius: var(--border-radius); +} + +.search-container button { + padding: 0.75rem 1.5rem; + background-color: var(--primary-color); + color: white; + border: none; + border-radius: var(--border-radius); + cursor: pointer; +} + +.search-container button:hover { + background-color: var(--secondary-color); +} + +main { + padding: var(--spacing) 0; +} + +h2 { + margin-bottom: var(--spacing); + color: var(--primary-color); +} + +.grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: var(--spacing); + margin-bottom: calc(var(--spacing) * 2); +} + +.module { + background: white; + padding: var(--spacing); + border-radius: var(--border-radius); + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + text-align: center; + transition: transform 0.2s; +} + +.module:hover { + transform: translateY(-5px); +} + +.bottom-section { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: var(--spacing); +} + +.announcements, .faq { + background: white; + padding: var(--spacing); + border-radius: var(--border-radius); + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); +} + +@media (max-width: 768px) { + body { + padding: 0 5%; + } + + .grid { + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + } +} \ No newline at end of file