commit 6d402f90a324ffc6302152e93f907ad66a92365f
Author: root <root@hub.scroll.pub> Date: 2024-12-27 18:26:02 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..82aba45 --- /dev/null +++ b/body.html @@ -0,0 +1,30 @@ +<header> + <h1>Join Our Community</h1> + <p>Register now to unlock exclusive features and connect with like-minded individuals.</p> +</header> + +<main> + <form id="registerForm"> + <div class="form-group"> + <label for="name">Full Name</label> + <input type="text" id="name" name="name" required> + </div> + <div class="form-group"> + <label for="email">Email Address</label> + <input type="email" id="email" name="email" required> + </div> + <div class="form-group"> + <label for="password">Password</label> + <input type="password" id="password" name="password" required> + </div> + <div class="form-group"> + <label for="confirmPassword">Confirm Password</label> + <input type="password" id="confirmPassword" name="confirmPassword" required> + </div> + <button type="submit">Register</button> + </form> +</main> + +<footer> + <p>Already have an account? <a href="/login">Login here</a></p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..8264a3c --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://registerme.scroll.pub +metaTags +editButton /edit.html +title Register Now - Join Our Community +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..a1eaad4 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "500aab66-1412-467f-b561-1e4ff534accb", + "object": "chat.completion", + "created": 1735323949, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nregisterme.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://registerme.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Register Now - Join Our Community\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Join Our Community</h1>\n <p>Register now to unlock exclusive features and connect with like-minded individuals.</p>\n</header>\n\n<main>\n <form id=\"registerForm\">\n <div class=\"form-group\">\n <label for=\"name\">Full Name</label>\n <input type=\"text\" id=\"name\" name=\"name\" required>\n </div>\n <div class=\"form-group\">\n <label for=\"email\">Email Address</label>\n <input type=\"email\" id=\"email\" name=\"email\" required>\n </div>\n <div class=\"form-group\">\n <label for=\"password\">Password</label>\n <input type=\"password\" id=\"password\" name=\"password\" required>\n </div>\n <div class=\"form-group\">\n <label for=\"confirmPassword\">Confirm Password</label>\n <input type=\"password\" id=\"confirmPassword\" name=\"confirmPassword\" required>\n </div>\n <button type=\"submit\">Register</button>\n </form>\n</main>\n\n<footer>\n <p>Already have an account? <a href=\"/login\">Login here</a></p>\n</footer>\n---style.css---\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin: 0;\n padding: 0;\n background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n color: #fff;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n}\n\nheader {\n text-align: center;\n margin-bottom: 2rem;\n}\n\nheader h1 {\n font-size: 2.5rem;\n margin-bottom: 0.5rem;\n}\n\nheader p {\n font-size: 1.1rem;\n opacity: 0.9;\n}\n\nmain {\n background: rgba(255, 255, 255, 0.1);\n padding: 2rem;\n border-radius: 10px;\n width: 100%;\n max-width: 400px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.form-group {\n margin-bottom: 1.5rem;\n}\n\nlabel {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: 600;\n}\n\ninput {\n width: 100%;\n padding: 0.75rem;\n border: none;\n border-radius: 5px;\n background: rgba(255, 255, 255, 0.9);\n color: #333;\n font-size: 1rem;\n}\n\ninput:focus {\n outline: none;\n box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);\n}\n\nbutton {\n width: 100%;\n padding: 0.75rem;\n background: #667eea;\n border: none;\n border-radius: 5px;\n color: #fff;\n font-size: 1rem;\n font-weight: 600;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\nbutton:hover {\n background: #5568c2;\n}\n\nfooter {\n margin-top: 2rem;\n text-align: center;\n}\n\nfooter a {\n color: #667eea;\n text-decoration: none;\n font-weight: 600;\n}\n\nfooter a:hover {\n text-decoration: underline;\n}\n\n@media (max-width: 480px) {\n main {\n padding: 1.5rem;\n }\n\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('registerForm').addEventListener('submit', function(event) {\n event.preventDefault();\n \n const password = document.getElementById('password').value;\n const confirmPassword = document.getElementById('confirmPassword').value;\n \n if (password !== confirmPassword) {\n alert('Passwords do not match. Please try again.');\n return;\n }\n \n // Here you would typically send the form data to the server\n alert('Registration successful! Welcome to our community.');\n \n // Reset the form\n this.reset();\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 242, + "completion_tokens": 1013, + "total_tokens": 1255, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 242 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..cd86b55 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# registerme.scroll.pub +Website generated by DeepSeek from prompt: can you design me a register webpage, \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..a526913 --- /dev/null +++ b/script.js @@ -0,0 +1,17 @@ +document.getElementById('registerForm').addEventListener('submit', function(event) { + event.preventDefault(); + + const password = document.getElementById('password').value; + const confirmPassword = document.getElementById('confirmPassword').value; + + if (password !== confirmPassword) { + alert('Passwords do not match. Please try again.'); + return; + } + + // Here you would typically send the form data to the server + alert('Registration successful! Welcome to our community.'); + + // Reset the form + this.reset(); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..cd0efd2 --- /dev/null +++ b/style.css @@ -0,0 +1,107 @@ +body { + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + margin: 0; + padding: 0; + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + color: #fff; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + min-height: 100vh; +} + +header { + text-align: center; + margin-bottom: 2rem; +} + +header h1 { + font-size: 2.5rem; + margin-bottom: 0.5rem; +} + +header p { + font-size: 1.1rem; + opacity: 0.9; +} + +main { + background: rgba(255, 255, 255, 0.1); + padding: 2rem; + border-radius: 10px; + width: 100%; + max-width: 400px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +.form-group { + margin-bottom: 1.5rem; +} + +label { + display: block; + margin-bottom: 0.5rem; + font-weight: 600; +} + +input { + width: 100%; + padding: 0.75rem; + border: none; + border-radius: 5px; + background: rgba(255, 255, 255, 0.9); + color: #333; + font-size: 1rem; +} + +input:focus { + outline: none; + box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5); +} + +button { + width: 100%; + padding: 0.75rem; + background: #667eea; + border: none; + border-radius: 5px; + color: #fff; + font-size: 1rem; + font-weight: 600; + cursor: pointer; + transition: background 0.3s ease; +} + +button:hover { + background: #5568c2; +} + +footer { + margin-top: 2rem; + text-align: center; +} + +footer a { + color: #667eea; + text-decoration: none; + font-weight: 600; +} + +footer a:hover { + text-decoration: underline; +} + +@media (max-width: 480px) { + main { + padding: 1.5rem; + } + + header h1 { + font-size: 2rem; + } + + header p { + font-size: 1rem; + } +} \ No newline at end of file