commit 7da2bdff3afdf2c8e307f8d303d516b00e359ad5
Author: root <root@hub.scroll.pub> Date: 2025-01-07 01:44:11 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..fb6bfbd --- /dev/null +++ b/body.html @@ -0,0 +1,52 @@ +<header> + <nav> + <a href="#home">Home</a> + <a href="#about">About</a> + <a href="#services">Services</a> + <a href="#contact">Contact</a> + </nav> + <h1>Welcome to Creative Scroll</h1> + <p>Your journey to a stunning online presence starts here.</p> +</header> + +<main> + <section id="home"> + <h2>Home</h2> + <p>Discover the art of web design with Creative Scroll. We specialize in creating beautiful, responsive websites that captivate and engage.</p> + </section> + + <section id="about"> + <h2>About Us</h2> + <p>We are a team of passionate web developers dedicated to crafting unique digital experiences. Our mission is to bring your vision to life with creativity and precision.</p> + </section> + + <section id="services"> + <h2>Our Services</h2> + <ul> + <li>Custom Web Design</li> + <li>Responsive Development</li> + <li>SEO Optimization</li> + <li>Content Creation</li> + </ul> + </section> + + <section id="contact"> + <h2>Contact Us</h2> + <form id="contactForm"> + <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> + </section> +</main> + +<footer> + <p>Thank you for visiting Creative Scroll. Let's create something amazing together!</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..d157f66 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://creativescroll.scroll.pub +metaTags +editButton /edit.html +title Creative Scroll +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..7c649b7 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "450e8c51-52d9-42f2-a0d7-a8fcb15bc37a", + "object": "chat.completion", + "created": 1736214232, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\ncreativescroll.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://creativescroll.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Creative Scroll\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <a href=\"#home\">Home</a>\n <a href=\"#about\">About</a>\n <a href=\"#services\">Services</a>\n <a href=\"#contact\">Contact</a>\n </nav>\n <h1>Welcome to Creative Scroll</h1>\n <p>Your journey to a stunning online presence starts here.</p>\n</header>\n\n<main>\n <section id=\"home\">\n <h2>Home</h2>\n <p>Discover the art of web design with Creative Scroll. We specialize in creating beautiful, responsive websites that captivate and engage.</p>\n </section>\n\n <section id=\"about\">\n <h2>About Us</h2>\n <p>We are a team of passionate web developers dedicated to crafting unique digital experiences. Our mission is to bring your vision to life with creativity and precision.</p>\n </section>\n\n <section id=\"services\">\n <h2>Our Services</h2>\n <ul>\n <li>Custom Web Design</li>\n <li>Responsive Development</li>\n <li>SEO Optimization</li>\n <li>Content Creation</li>\n </ul>\n </section>\n\n <section id=\"contact\">\n <h2>Contact Us</h2>\n <form id=\"contactForm\">\n <label for=\"name\">Name:</label>\n <input type=\"text\" id=\"name\" name=\"name\" required>\n \n <label for=\"email\">Email:</label>\n <input type=\"email\" id=\"email\" name=\"email\" required>\n \n <label for=\"message\">Message:</label>\n <textarea id=\"message\" name=\"message\" required></textarea>\n \n <button type=\"submit\">Send</button>\n </form>\n </section>\n</main>\n\n<footer>\n <p>Thank you for visiting Creative Scroll. Let's create something amazing together!</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 0;\n background: #f4f4f4;\n color: #333;\n}\n\nheader {\n background: #333;\n color: #fff;\n padding: 20px 0;\n text-align: center;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5em;\n}\n\nheader p {\n font-size: 1.2em;\n}\n\nnav {\n display: flex;\n justify-content: center;\n background: #444;\n padding: 10px 0;\n}\n\nnav a {\n color: #fff;\n text-decoration: none;\n margin: 0 15px;\n font-size: 1.1em;\n}\n\nnav a:hover {\n text-decoration: underline;\n}\n\nmain {\n padding: 20px;\n}\n\nsection {\n margin-bottom: 40px;\n}\n\nh2 {\n font-size: 2em;\n margin-bottom: 10px;\n}\n\nul {\n list-style-type: none;\n padding: 0;\n}\n\nul li {\n background: #fff;\n margin: 5px 0;\n padding: 10px;\n border-left: 5px solid #333;\n}\n\nform {\n display: flex;\n flex-direction: column;\n}\n\nform label {\n margin-bottom: 5px;\n font-weight: bold;\n}\n\nform input, form textarea {\n margin-bottom: 10px;\n padding: 10px;\n border: 1px solid #ccc;\n border-radius: 5px;\n}\n\nform button {\n padding: 10px;\n background: #333;\n color: #fff;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n}\n\nform button:hover {\n background: #555;\n}\n\nfooter {\n text-align: center;\n padding: 20px;\n background: #333;\n color: #fff;\n margin-top: 40px;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2em;\n }\n\n header p {\n font-size: 1em;\n }\n\n nav {\n flex-direction: column;\n }\n\n nav a {\n margin: 5px 0;\n }\n\n h2 {\n font-size: 1.5em;\n }\n\n form input, form textarea {\n padding: 8px;\n }\n\n form button {\n padding: 8px;\n }\n}\n---script.js---\ndocument.getElementById('contactForm').addEventListener('submit', function(event) {\n event.preventDefault();\n alert('Thank you for your message! We will get back to you soon.');\n this.reset();\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 238, + "completion_tokens": 1094, + "total_tokens": 1332, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 238 + }, + "system_fingerprint": "fp_3a5770e1b4" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..cc7f9ba --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# creativescroll.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..d4ea588 --- /dev/null +++ b/script.js @@ -0,0 +1,5 @@ +document.getElementById('contactForm').addEventListener('submit', function(event) { + event.preventDefault(); + alert('Thank you for your message! 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..573f5d4 --- /dev/null +++ b/style.css @@ -0,0 +1,135 @@ +body { + font-family: 'Arial', sans-serif; + line-height: 1.6; + margin: 0; + padding: 0; + background: #f4f4f4; + color: #333; +} + +header { + background: #333; + color: #fff; + padding: 20px 0; + text-align: center; +} + +header h1 { + margin: 0; + font-size: 2.5em; +} + +header p { + font-size: 1.2em; +} + +nav { + display: flex; + justify-content: center; + background: #444; + padding: 10px 0; +} + +nav a { + color: #fff; + text-decoration: none; + margin: 0 15px; + font-size: 1.1em; +} + +nav a:hover { + text-decoration: underline; +} + +main { + padding: 20px; +} + +section { + margin-bottom: 40px; +} + +h2 { + font-size: 2em; + margin-bottom: 10px; +} + +ul { + list-style-type: none; + padding: 0; +} + +ul li { + background: #fff; + margin: 5px 0; + padding: 10px; + border-left: 5px solid #333; +} + +form { + display: flex; + flex-direction: column; +} + +form label { + margin-bottom: 5px; + font-weight: bold; +} + +form input, form textarea { + margin-bottom: 10px; + padding: 10px; + border: 1px solid #ccc; + border-radius: 5px; +} + +form button { + padding: 10px; + background: #333; + color: #fff; + border: none; + border-radius: 5px; + cursor: pointer; +} + +form button:hover { + background: #555; +} + +footer { + text-align: center; + padding: 20px; + background: #333; + color: #fff; + margin-top: 40px; +} + +@media (max-width: 768px) { + header h1 { + font-size: 2em; + } + + header p { + font-size: 1em; + } + + nav { + flex-direction: column; + } + + nav a { + margin: 5px 0; + } + + h2 { + font-size: 1.5em; + } + + form input, form textarea { + padding: 8px; + } + + form button { + padding: 8px; + } +} \ No newline at end of file