commit 8136aefed069b2530770ecd3085992af11685b52
Author: root <root@hub.scroll.pub> Date: 2025-01-03 10:11:19 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..cc9e999 --- /dev/null +++ b/body.html @@ -0,0 +1,97 @@ +<header class="header"> + <div class="container"> + <h1>ToolHub</h1> + <p>Your Gateway to Mastering Software Tools</p> + </div> +</header> + +<nav class="navbar"> + <div class="container"> + <ul> + <li><a href="#downloads">Downloads</a></li> + <li><a href="#guides">User Guides</a></li> + <li><a href="#cases">Case Studies</a></li> + <li><a href="#tutorials">Tutorials</a></li> + </ul> + </div> +</nav> + +<main class="main-content"> + <section id="downloads" class="section"> + <div class="container"> + <h2>Software Downloads</h2> + <div class="card-grid"> + <div class="card"> + <h3>Tool A</h3> + <p>Version 1.2.3</p> + <a href="/downloads/tool-a.zip" class="btn">Download</a> + </div> + <div class="card"> + <h3>Tool B</h3> + <p>Version 2.0.1</p> + <a href="/downloads/tool-b.zip" class="btn">Download</a> + </div> + </div> + </div> + </section> + + <section id="guides" class="section"> + <div class="container"> + <h2>User Guides</h2> + <div class="guide-list"> + <article class="guide"> + <h3>Getting Started with Tool A</h3> + <p>Learn the basics of Tool A with our comprehensive guide.</p> + <a href="/guides/tool-a.html" class="btn">Read Guide</a> + </article> + <article class="guide"> + <h3>Mastering Tool B</h3> + <p>Advanced techniques and tips for Tool B.</p> + <a href="/guides/tool-b.html" class="btn">Read Guide</a> + </article> + </div> + </div> + </section> + + <section id="cases" class="section"> + <div class="container"> + <h2>Application Cases</h2> + <div class="case-grid"> + <div class="case"> + <h3>Case Study: Tool A in Action</h3> + <p>See how Tool A revolutionized Company X's workflow.</p> + <a href="/cases/tool-a-case.html" class="btn">View Case</a> + </div> + <div class="case"> + <h3>Success Story: Tool B Implementation</h3> + <p>Learn how Tool B boosted productivity at Startup Y.</p> + <a href="/cases/tool-b-case.html" class="btn">View Case</a> + </div> + </div> + </div> + </section> + + <section id="tutorials" class="section"> + <div class="container"> + <h2>Video Tutorials</h2> + <div class="video-grid"> + <div class="video-card"> + <h3>Tool A Basics</h3> + <div class="video-placeholder"></div> + <a href="/tutorials/tool-a-basics.html" class="btn">Watch Tutorial</a> + </div> + <div class="video-card"> + <h3>Tool B Advanced</h3> + <div class="video-placeholder"></div> + <a href="/tutorials/tool-b-advanced.html" class="btn">Watch Tutorial</a> + </div> + </div> + </div> + </section> +</main> + +<footer class="footer"> + <div class="container"> + <p>ToolHub - Empowering Your Software Journey</p> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..7c50c08 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://toolhub.scroll.pub +metaTags +editButton /edit.html +title ToolHub - Discover, Learn, and Master Software Tools +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..c770019 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "f38901d9-e038-4e86-87de-1a2a5e775bfb", + "object": "chat.completion", + "created": 1735899049, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\ntoolhub.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://toolhub.scroll.pub\nmetaTags\neditButton /edit.html\ntitle ToolHub - Discover, Learn, and Master Software Tools\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"container\">\n <h1>ToolHub</h1>\n <p>Your Gateway to Mastering Software Tools</p>\n </div>\n</header>\n\n<nav class=\"navbar\">\n <div class=\"container\">\n <ul>\n <li><a href=\"#downloads\">Downloads</a></li>\n <li><a href=\"#guides\">User Guides</a></li>\n <li><a href=\"#cases\">Case Studies</a></li>\n <li><a href=\"#tutorials\">Tutorials</a></li>\n </ul>\n </div>\n</nav>\n\n<main class=\"main-content\">\n <section id=\"downloads\" class=\"section\">\n <div class=\"container\">\n <h2>Software Downloads</h2>\n <div class=\"card-grid\">\n <div class=\"card\">\n <h3>Tool A</h3>\n <p>Version 1.2.3</p>\n <a href=\"/downloads/tool-a.zip\" class=\"btn\">Download</a>\n </div>\n <div class=\"card\">\n <h3>Tool B</h3>\n <p>Version 2.0.1</p>\n <a href=\"/downloads/tool-b.zip\" class=\"btn\">Download</a>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"guides\" class=\"section\">\n <div class=\"container\">\n <h2>User Guides</h2>\n <div class=\"guide-list\">\n <article class=\"guide\">\n <h3>Getting Started with Tool A</h3>\n <p>Learn the basics of Tool A with our comprehensive guide.</p>\n <a href=\"/guides/tool-a.html\" class=\"btn\">Read Guide</a>\n </article>\n <article class=\"guide\">\n <h3>Mastering Tool B</h3>\n <p>Advanced techniques and tips for Tool B.</p>\n <a href=\"/guides/tool-b.html\" class=\"btn\">Read Guide</a>\n </article>\n </div>\n </div>\n </section>\n\n <section id=\"cases\" class=\"section\">\n <div class=\"container\">\n <h2>Application Cases</h2>\n <div class=\"case-grid\">\n <div class=\"case\">\n <h3>Case Study: Tool A in Action</h3>\n <p>See how Tool A revolutionized Company X's workflow.</p>\n <a href=\"/cases/tool-a-case.html\" class=\"btn\">View Case</a>\n </div>\n <div class=\"case\">\n <h3>Success Story: Tool B Implementation</h3>\n <p>Learn how Tool B boosted productivity at Startup Y.</p>\n <a href=\"/cases/tool-b-case.html\" class=\"btn\">View Case</a>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"tutorials\" class=\"section\">\n <div class=\"container\">\n <h2>Video Tutorials</h2>\n <div class=\"video-grid\">\n <div class=\"video-card\">\n <h3>Tool A Basics</h3>\n <div class=\"video-placeholder\"></div>\n <a href=\"/tutorials/tool-a-basics.html\" class=\"btn\">Watch Tutorial</a>\n </div>\n <div class=\"video-card\">\n <h3>Tool B Advanced</h3>\n <div class=\"video-placeholder\"></div>\n <a href=\"/tutorials/tool-b-advanced.html\" class=\"btn\">Watch Tutorial</a>\n </div>\n </div>\n </div>\n </section>\n</main>\n\n<footer class=\"footer\">\n <div class=\"container\">\n <p>ToolHub - Empowering Your Software Journey</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #f8fafc;\n --text-color: #1e293b;\n --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: system-ui, -apple-system, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n}\n\n.container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 20px;\n}\n\n.header {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n padding: 4rem 0;\n text-align: center;\n}\n\n.header h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n}\n\n.navbar {\n background-color: white;\n box-shadow: var(--card-shadow);\n position: sticky;\n top: 0;\n z-index: 100;\n}\n\n.navbar ul {\n display: flex;\n justify-content: center;\n list-style: none;\n padding: 1rem 0;\n}\n\n.navbar a {\n color: var(--text-color);\n text-decoration: none;\n padding: 0.5rem 1rem;\n transition: color 0.3s;\n}\n\n.navbar a:hover {\n color: var(--primary-color);\n}\n\n.section {\n padding: 4rem 0;\n}\n\n.section h2 {\n font-size: 2rem;\n margin-bottom: 2rem;\n text-align: center;\n}\n\n.card-grid, .guide-list, .case-grid, .video-grid {\n display: grid;\n gap: 2rem;\n}\n\n.card-grid {\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n}\n\n.card {\n background: white;\n padding: 2rem;\n border-radius: 8px;\n box-shadow: var(--card-shadow);\n text-align: center;\n}\n\n.card h3 {\n margin-bottom: 1rem;\n}\n\n.btn {\n display: inline-block;\n background-color: var(--primary-color);\n color: white;\n padding: 0.5rem 1rem;\n border-radius: 4px;\n text-decoration: none;\n transition: background-color 0.3s;\n}\n\n.btn:hover {\n background-color: var(--secondary-color);\n}\n\n.guide-list {\n max-width: 800px;\n margin: 0 auto;\n}\n\n.guide {\n background: white;\n padding: 1.5rem;\n border-radius: 8px;\n box-shadow: var(--card-shadow);\n}\n\n.video-card {\n background: white;\n padding: 1.5rem;\n border-radius: 8px;\n box-shadow: var(--card-shadow);\n text-align: center;\n}\n\n.video-placeholder {\n background: #e2e8f0;\n height: 200px;\n border-radius: 8px;\n margin: 1rem 0;\n}\n\n.footer {\n background-color: var(--text-color);\n color: white;\n text-align: center;\n padding: 2rem 0;\n}\n\n@media (max-width: 768px) {\n .header h1 {\n font-size: 2rem;\n }\n\n .navbar ul {\n flex-direction: column;\n align-items: center;\n }\n\n .card-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\n// Smooth scrolling for anchor links\ndocument.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n});\n\n// Sticky navbar\nconst navbar = document.querySelector('.navbar');\nconst header = document.querySelector('.header');\nconst headerHeight = header.offsetHeight;\n\nwindow.addEventListener('scroll', () => {\n if (window.scrollY > headerHeight) {\n navbar.classList.add('sticky');\n } else {\n navbar.classList.remove('sticky');\n }\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 263, + "completion_tokens": 1888, + "total_tokens": 2151, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 263 + }, + "system_fingerprint": "fp_3a5770e1b4" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..d132236 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# toolhub1.scroll.pub +Website generated by DeepSeek from prompt: 帮我创建一个网站,是一个展示软件工具的网站,上面有软件的下载,有软件的使用说明,有软件的应用案例,有软件的使用教程 \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..2c33053 --- /dev/null +++ b/script.js @@ -0,0 +1,22 @@ +// Smooth scrolling for anchor links +document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); +}); + +// Sticky navbar +const navbar = document.querySelector('.navbar'); +const header = document.querySelector('.header'); +const headerHeight = header.offsetHeight; + +window.addEventListener('scroll', () => { + if (window.scrollY > headerHeight) { + navbar.classList.add('sticky'); + } else { + navbar.classList.remove('sticky'); + } +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..e42a1fa --- /dev/null +++ b/style.css @@ -0,0 +1,158 @@ +:root { + --primary-color: #2563eb; + --secondary-color: #1e40af; + --background-color: #f8fafc; + --text-color: #1e293b; + --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: system-ui, -apple-system, sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 0 20px; +} + +.header { + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; + padding: 4rem 0; + text-align: center; +} + +.header h1 { + font-size: 3rem; + margin-bottom: 1rem; +} + +.navbar { + background-color: white; + box-shadow: var(--card-shadow); + position: sticky; + top: 0; + z-index: 100; +} + +.navbar ul { + display: flex; + justify-content: center; + list-style: none; + padding: 1rem 0; +} + +.navbar a { + color: var(--text-color); + text-decoration: none; + padding: 0.5rem 1rem; + transition: color 0.3s; +} + +.navbar a:hover { + color: var(--primary-color); +} + +.section { + padding: 4rem 0; +} + +.section h2 { + font-size: 2rem; + margin-bottom: 2rem; + text-align: center; +} + +.card-grid, .guide-list, .case-grid, .video-grid { + display: grid; + gap: 2rem; +} + +.card-grid { + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); +} + +.card { + background: white; + padding: 2rem; + border-radius: 8px; + box-shadow: var(--card-shadow); + text-align: center; +} + +.card h3 { + margin-bottom: 1rem; +} + +.btn { + display: inline-block; + background-color: var(--primary-color); + color: white; + padding: 0.5rem 1rem; + border-radius: 4px; + text-decoration: none; + transition: background-color 0.3s; +} + +.btn:hover { + background-color: var(--secondary-color); +} + +.guide-list { + max-width: 800px; + margin: 0 auto; +} + +.guide { + background: white; + padding: 1.5rem; + border-radius: 8px; + box-shadow: var(--card-shadow); +} + +.video-card { + background: white; + padding: 1.5rem; + border-radius: 8px; + box-shadow: var(--card-shadow); + text-align: center; +} + +.video-placeholder { + background: #e2e8f0; + height: 200px; + border-radius: 8px; + margin: 1rem 0; +} + +.footer { + background-color: var(--text-color); + color: white; + text-align: center; + padding: 2rem 0; +} + +@media (max-width: 768px) { + .header h1 { + font-size: 2rem; + } + + .navbar ul { + flex-direction: column; + align-items: center; + } + + .card-grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file