commit c96ee4829523d66abf294d175738f6e7205efcbc
Author: root <root@hub.scroll.pub>
Date: 2024-12-28 15:02:39 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..fc74465
--- /dev/null
+++ b/body.html
@@ -0,0 +1,78 @@
+<header class="header">
+ <div class="container">
+ <h1>Python Scroll</h1>
+ <p>Your ultimate resource for Python programming</p>
+ </div>
+</header>
+
+<nav class="navbar">
+ <div class="container">
+ <ul>
+ <li><a href="#about">About</a></li>
+ <li><a href="#features">Features</a></li>
+ <li><a href="#resources">Resources</a></li>
+ <li><a href="#contact">Contact</a></li>
+ </ul>
+ </div>
+</nav>
+
+<main class="main-content">
+ <section id="about" class="section">
+ <div class="container">
+ <h2>About Python Scroll</h2>
+ <p>Python Scroll is dedicated to providing high-quality resources and tutorials for Python developers of all skill levels. Whether you're a beginner or an experienced programmer, we've got something for you.</p>
+ </div>
+ </section>
+
+ <section id="features" class="section">
+ <div class="container">
+ <h2>Features</h2>
+ <div class="features-grid">
+ <div class="feature">
+ <h3>Comprehensive Tutorials</h3>
+ <p>Step-by-step guides to master Python programming.</p>
+ </div>
+ <div class="feature">
+ <h3>Code Examples</h3>
+ <p>Real-world examples to help you understand concepts better.</p>
+ </div>
+ <div class="feature">
+ <h3>Community Support</h3>
+ <p>Join a vibrant community of Python enthusiasts.</p>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <section id="resources" class="section">
+ <div class="container">
+ <h2>Resources</h2>
+ <ul>
+ <li><a href="#">Python Documentation</a></li>
+ <li><a href="#">Python Libraries</a></li>
+ <li><a href="#">Python Projects</a></li>
+ </ul>
+ </div>
+ </section>
+
+ <section id="contact" class="section">
+ <div class="container">
+ <h2>Contact Us</h2>
+ <form id="contact-form">
+ <label for="name">Name:</label>
+ <input type="text" id="name" name="name" required>
+ <label for="email">Email:</label>
+ <input type="email" id="email" name="email" required>
+ <label for="message">Message:</label>
+ <textarea id="message" name="message" required></textarea>
+ <button type="submit">Send</button>
+ </form>
+ </div>
+ </section>
+</main>
+
+<footer class="footer">
+ <div class="container">
+ <p>Python Scroll - Empowering Python Developers</p>
+ </div>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..2533bb8
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://pythonscroll.scroll.pub
+metaTags
+editButton /edit.html
+title Python Scroll - Your Python Resource Hub
+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..7bc507c
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "9085eb01-975a-41d7-a9dc-28e4b6fa5372",
+ "object": "chat.completion",
+ "created": 1735398135,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\npythonscroll.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://pythonscroll.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Python Scroll - Your Python Resource Hub\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"container\">\n <h1>Python Scroll</h1>\n <p>Your ultimate resource for Python programming</p>\n </div>\n</header>\n\n<nav class=\"navbar\">\n <div class=\"container\">\n <ul>\n <li><a href=\"#about\">About</a></li>\n <li><a href=\"#features\">Features</a></li>\n <li><a href=\"#resources\">Resources</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </div>\n</nav>\n\n<main class=\"main-content\">\n <section id=\"about\" class=\"section\">\n <div class=\"container\">\n <h2>About Python Scroll</h2>\n <p>Python Scroll is dedicated to providing high-quality resources and tutorials for Python developers of all skill levels. Whether you're a beginner or an experienced programmer, we've got something for you.</p>\n </div>\n </section>\n\n <section id=\"features\" class=\"section\">\n <div class=\"container\">\n <h2>Features</h2>\n <div class=\"features-grid\">\n <div class=\"feature\">\n <h3>Comprehensive Tutorials</h3>\n <p>Step-by-step guides to master Python programming.</p>\n </div>\n <div class=\"feature\">\n <h3>Code Examples</h3>\n <p>Real-world examples to help you understand concepts better.</p>\n </div>\n <div class=\"feature\">\n <h3>Community Support</h3>\n <p>Join a vibrant community of Python enthusiasts.</p>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"resources\" class=\"section\">\n <div class=\"container\">\n <h2>Resources</h2>\n <ul>\n <li><a href=\"#\">Python Documentation</a></li>\n <li><a href=\"#\">Python Libraries</a></li>\n <li><a href=\"#\">Python Projects</a></li>\n </ul>\n </div>\n </section>\n\n <section id=\"contact\" class=\"section\">\n <div class=\"container\">\n <h2>Contact Us</h2>\n <form id=\"contact-form\">\n <label for=\"name\">Name:</label>\n <input type=\"text\" id=\"name\" name=\"name\" required>\n <label for=\"email\">Email:</label>\n <input type=\"email\" id=\"email\" name=\"email\" required>\n <label for=\"message\">Message:</label>\n <textarea id=\"message\" name=\"message\" required></textarea>\n <button type=\"submit\">Send</button>\n </form>\n </div>\n </section>\n</main>\n\n<footer class=\"footer\">\n <div class=\"container\">\n <p>Python Scroll - Empowering Python Developers</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #306998;\n --secondary-color: #FFD43B;\n --background-color: #f4f4f4;\n --text-color: #333;\n --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 0;\n line-height: 1.6;\n}\n\n.container {\n width: 90%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.header {\n background: var(--primary-color);\n color: white;\n padding: 60px 0;\n text-align: center;\n}\n\n.header h1 {\n font-size: 3rem;\n margin: 0;\n}\n\n.header p {\n font-size: 1.2rem;\n margin: 10px 0 0;\n}\n\n.navbar {\n background: var(--secondary-color);\n padding: 10px 0;\n}\n\n.navbar ul {\n list-style: none;\n padding: 0;\n margin: 0;\n display: flex;\n justify-content: center;\n}\n\n.navbar ul li {\n margin: 0 15px;\n}\n\n.navbar ul li a {\n color: var(--text-color);\n text-decoration: none;\n font-weight: bold;\n}\n\n.navbar ul li a:hover {\n color: var(--primary-color);\n}\n\n.section {\n padding: 60px 0;\n}\n\n.section h2 {\n font-size: 2.5rem;\n margin-bottom: 20px;\n color: var(--primary-color);\n}\n\n.features-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 20px;\n}\n\n.feature {\n background: white;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n text-align: center;\n}\n\n.feature h3 {\n font-size: 1.5rem;\n color: var(--primary-color);\n}\n\n.feature p {\n font-size: 1rem;\n color: var(--text-color);\n}\n\n#contact-form {\n display: flex;\n flex-direction: column;\n}\n\n#contact-form label {\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n#contact-form input, #contact-form textarea {\n margin-bottom: 15px;\n padding: 10px;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\n#contact-form button {\n padding: 10px 20px;\n background: var(--primary-color);\n color: white;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n}\n\n#contact-form button:hover {\n background: #25567b;\n}\n\n.footer {\n background: var(--primary-color);\n color: white;\n text-align: center;\n padding: 20px 0;\n}\n\n@media (max-width: 768px) {\n .header h1 {\n font-size: 2rem;\n }\n\n .header p {\n font-size: 1rem;\n }\n\n .navbar ul {\n flex-direction: column;\n align-items: center;\n }\n\n .navbar ul li {\n margin: 10px 0;\n }\n\n .section h2 {\n font-size: 2rem;\n }\n\n .feature h3 {\n font-size: 1.2rem;\n }\n\n .feature p {\n font-size: 0.9rem;\n }\n}\n---script.js---\ndocument.getElementById('contact-form').addEventListener('submit', function(event) {\n event.preventDefault();\n alert('Thank you for contacting us! We will get back to you soon.');\n this.reset();\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 240,
+ "completion_tokens": 1585,
+ "total_tokens": 1825,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 240
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..c5fefbc
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# pythonscroll.scroll.pub
+Website generated by DeepSeek from prompt: 请帮我做一个网站使用python
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..c06cca4
--- /dev/null
+++ b/script.js
@@ -0,0 +1,5 @@
+document.getElementById('contact-form').addEventListener('submit', function(event) {
+ event.preventDefault();
+ alert('Thank you for contacting us! We will get back to you soon.');
+ this.reset();
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..9718e62
--- /dev/null
+++ b/style.css
@@ -0,0 +1,168 @@
+:root {
+ --primary-color: #306998;
+ --secondary-color: #FFD43B;
+ --background-color: #f4f4f4;
+ --text-color: #333;
+ --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+}
+
+body {
+ font-family: var(--font-family);
+ color: var(--text-color);
+ background-color: var(--background-color);
+ margin: 0;
+ padding: 0;
+ line-height: 1.6;
+}
+
+.container {
+ width: 90%;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.header {
+ background: var(--primary-color);
+ color: white;
+ padding: 60px 0;
+ text-align: center;
+}
+
+.header h1 {
+ font-size: 3rem;
+ margin: 0;
+}
+
+.header p {
+ font-size: 1.2rem;
+ margin: 10px 0 0;
+}
+
+.navbar {
+ background: var(--secondary-color);
+ padding: 10px 0;
+}
+
+.navbar ul {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+ display: flex;
+ justify-content: center;
+}
+
+.navbar ul li {
+ margin: 0 15px;
+}
+
+.navbar ul li a {
+ color: var(--text-color);
+ text-decoration: none;
+ font-weight: bold;
+}
+
+.navbar ul li a:hover {
+ color: var(--primary-color);
+}
+
+.section {
+ padding: 60px 0;
+}
+
+.section h2 {
+ font-size: 2.5rem;
+ margin-bottom: 20px;
+ color: var(--primary-color);
+}
+
+.features-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 20px;
+}
+
+.feature {
+ background: white;
+ padding: 20px;
+ border-radius: 8px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ text-align: center;
+}
+
+.feature h3 {
+ font-size: 1.5rem;
+ color: var(--primary-color);
+}
+
+.feature p {
+ font-size: 1rem;
+ color: var(--text-color);
+}
+
+#contact-form {
+ display: flex;
+ flex-direction: column;
+}
+
+#contact-form label {
+ margin-bottom: 5px;
+ font-weight: bold;
+}
+
+#contact-form input, #contact-form textarea {
+ margin-bottom: 15px;
+ padding: 10px;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+#contact-form button {
+ padding: 10px 20px;
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+}
+
+#contact-form button:hover {
+ background: #25567b;
+}
+
+.footer {
+ background: var(--primary-color);
+ color: white;
+ text-align: center;
+ padding: 20px 0;
+}
+
+@media (max-width: 768px) {
+ .header h1 {
+ font-size: 2rem;
+ }
+
+ .header p {
+ font-size: 1rem;
+ }
+
+ .navbar ul {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .navbar ul li {
+ margin: 10px 0;
+ }
+
+ .section h2 {
+ font-size: 2rem;
+ }
+
+ .feature h3 {
+ font-size: 1.2rem;
+ }
+
+ .feature p {
+ font-size: 0.9rem;
+ }
+}
\ No newline at end of file