commit acfc506e91988f17a5bd9acad71bc3d09b0c1c8d
Author: root <root@hub.scroll.pub> Date: 2024-12-28 11:39:40 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..113be12 --- /dev/null +++ b/body.html @@ -0,0 +1,43 @@ +<header> + <h1>Should I Stay?</h1> + <p>Decide if your online relationship with that untrustworthy Spanish man is worth it.</p> +</header> + +<main> + <section class="decision-tool"> + <h2>Relationship Decision Calculator</h2> + <form id="relationship-form"> + <label for="trust">Trust Level (1-10):</label> + <input type="number" id="trust" name="trust" min="1" max="10" required> + + <label for="communication">Communication Quality (1-10):</label> + <input type="number" id="communication" name="communication" min="1" max="10" required> + + <label for="effort">Effort He Puts In (1-10):</label> + <input type="number" id="effort" name="effort" min="1" max="10" required> + + <label for="red-flags">Number of Red Flags:</label> + <input type="number" id="red-flags" name="red-flags" min="0" required> + + <button type="submit">Calculate</button> + </form> + <div id="result" class="hidden"> + <h3>Your Decision:</h3> + <p id="decision-text"></p> + </div> + </section> + + <section class="tips"> + <h2>Things to Consider</h2> + <ul> + <li>Does he respect your boundaries?</li> + <li>Is he consistent in his actions?</li> + <li>Does he make you feel valued?</li> + <li>Are you happy more often than not?</li> + </ul> + </section> +</main> + +<footer> + <p>Made with ❤️ to help you make the best decision for your heart.</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..8874852 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://shouldistay.scroll.pub +metaTags +editButton /edit.html +title Should I Stay? - Decide Your Online Relationship +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..2c858c5 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "4dffe3d9-b54e-4e57-9d7c-80751efd167a", + "object": "chat.completion", + "created": 1735385962, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nshouldistay.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://shouldistay.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Should I Stay? - Decide Your Online Relationship\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Should I Stay?</h1>\n <p>Decide if your online relationship with that untrustworthy Spanish man is worth it.</p>\n</header>\n\n<main>\n <section class=\"decision-tool\">\n <h2>Relationship Decision Calculator</h2>\n <form id=\"relationship-form\">\n <label for=\"trust\">Trust Level (1-10):</label>\n <input type=\"number\" id=\"trust\" name=\"trust\" min=\"1\" max=\"10\" required>\n \n <label for=\"communication\">Communication Quality (1-10):</label>\n <input type=\"number\" id=\"communication\" name=\"communication\" min=\"1\" max=\"10\" required>\n \n <label for=\"effort\">Effort He Puts In (1-10):</label>\n <input type=\"number\" id=\"effort\" name=\"effort\" min=\"1\" max=\"10\" required>\n \n <label for=\"red-flags\">Number of Red Flags:</label>\n <input type=\"number\" id=\"red-flags\" name=\"red-flags\" min=\"0\" required>\n \n <button type=\"submit\">Calculate</button>\n </form>\n <div id=\"result\" class=\"hidden\">\n <h3>Your Decision:</h3>\n <p id=\"decision-text\"></p>\n </div>\n </section>\n\n <section class=\"tips\">\n <h2>Things to Consider</h2>\n <ul>\n <li>Does he respect your boundaries?</li>\n <li>Is he consistent in his actions?</li>\n <li>Does he make you feel valued?</li>\n <li>Are you happy more often than not?</li>\n </ul>\n </section>\n</main>\n\n<footer>\n <p>Made with ❤️ to help you make the best decision for your heart.</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #e63946;\n --secondary-color: #f1faee;\n --accent-color: #a8dadc;\n --dark-color: #1d3557;\n --light-color: #ffffff;\n}\n\nbody {\n font-family: 'Arial', sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 0;\n background-color: var(--secondary-color);\n color: var(--dark-color);\n}\n\nheader {\n background-color: var(--primary-color);\n color: var(--light-color);\n padding: 2rem;\n text-align: center;\n}\n\nh1 {\n font-size: 2.5rem;\n margin-bottom: 0.5rem;\n}\n\nmain {\n padding: 2rem;\n}\n\n.decision-tool {\n background-color: var(--light-color);\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-bottom: 2rem;\n}\n\nform {\n display: grid;\n gap: 1rem;\n}\n\nlabel {\n font-weight: bold;\n}\n\ninput {\n padding: 0.5rem;\n border: 1px solid var(--accent-color);\n border-radius: 5px;\n}\n\nbutton {\n background-color: var(--primary-color);\n color: var(--light-color);\n padding: 0.75rem;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: var(--dark-color);\n}\n\n#result {\n margin-top: 2rem;\n padding: 1rem;\n background-color: var(--accent-color);\n border-radius: 5px;\n}\n\n.hidden {\n display: none;\n}\n\n.tips {\n background-color: var(--light-color);\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: var(--dark-color);\n color: var(--light-color);\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2rem;\n }\n\n main {\n padding: 1rem;\n }\n\n .decision-tool, .tips {\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('relationship-form').addEventListener('submit', function(event) {\n event.preventDefault();\n \n const trust = parseInt(document.getElementById('trust').value);\n const communication = parseInt(document.getElementById('communication').value);\n const effort = parseInt(document.getElementById('effort').value);\n const redFlags = parseInt(document.getElementById('red-flags').value);\n \n const totalScore = (trust + communication + effort) - (redFlags * 2);\n \n const resultText = document.getElementById('decision-text');\n const resultDiv = document.getElementById('result');\n \n if (totalScore >= 20) {\n resultText.textContent = \"Stay! It seems like this relationship has potential.\";\n } else if (totalScore >= 10) {\n resultText.textContent = \"Proceed with caution. There are some positive aspects, but be mindful of the red flags.\";\n } else {\n resultText.textContent = \"Leave. It's not worth the heartache. You deserve better!\";\n }\n \n resultDiv.classList.remove('hidden');\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 264, + "completion_tokens": 1272, + "total_tokens": 1536, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 264 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..748b7d3 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# shouldistay1.scroll.pub +Website generated by DeepSeek from prompt: A website helps me decide if I should continue with an online relationship with an untrustworthy Spanish man. It should have some numerical tools. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..2057b99 --- /dev/null +++ b/script.js @@ -0,0 +1,23 @@ +document.getElementById('relationship-form').addEventListener('submit', function(event) { + event.preventDefault(); + + const trust = parseInt(document.getElementById('trust').value); + const communication = parseInt(document.getElementById('communication').value); + const effort = parseInt(document.getElementById('effort').value); + const redFlags = parseInt(document.getElementById('red-flags').value); + + const totalScore = (trust + communication + effort) - (redFlags * 2); + + const resultText = document.getElementById('decision-text'); + const resultDiv = document.getElementById('result'); + + if (totalScore >= 20) { + resultText.textContent = "Stay! It seems like this relationship has potential."; + } else if (totalScore >= 10) { + resultText.textContent = "Proceed with caution. There are some positive aspects, but be mindful of the red flags."; + } else { + resultText.textContent = "Leave. It's not worth the heartache. You deserve better!"; + } + + resultDiv.classList.remove('hidden'); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..59b8d6a --- /dev/null +++ b/style.css @@ -0,0 +1,108 @@ +:root { + --primary-color: #e63946; + --secondary-color: #f1faee; + --accent-color: #a8dadc; + --dark-color: #1d3557; + --light-color: #ffffff; +} + +body { + font-family: 'Arial', sans-serif; + line-height: 1.6; + margin: 0; + padding: 0; + background-color: var(--secondary-color); + color: var(--dark-color); +} + +header { + background-color: var(--primary-color); + color: var(--light-color); + padding: 2rem; + text-align: center; +} + +h1 { + font-size: 2.5rem; + margin-bottom: 0.5rem; +} + +main { + padding: 2rem; +} + +.decision-tool { + background-color: var(--light-color); + padding: 2rem; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + margin-bottom: 2rem; +} + +form { + display: grid; + gap: 1rem; +} + +label { + font-weight: bold; +} + +input { + padding: 0.5rem; + border: 1px solid var(--accent-color); + border-radius: 5px; +} + +button { + background-color: var(--primary-color); + color: var(--light-color); + padding: 0.75rem; + border: none; + border-radius: 5px; + cursor: pointer; + transition: background-color 0.3s ease; +} + +button:hover { + background-color: var(--dark-color); +} + +#result { + margin-top: 2rem; + padding: 1rem; + background-color: var(--accent-color); + border-radius: 5px; +} + +.hidden { + display: none; +} + +.tips { + background-color: var(--light-color); + padding: 2rem; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +footer { + text-align: center; + padding: 1rem; + background-color: var(--dark-color); + color: var(--light-color); +} + +@media (max-width: 768px) { + h1 { + font-size: 2rem; + } + + main { + padding: 1rem; + } + + .decision-tool, .tips { + padding: 1rem; + } +} \ No newline at end of file