commit 14f6edc69ae1db30f35b3e661f7776c87bcbdb95
Author: root <root@hub.scroll.pub> Date: 2024-12-28 11:35:49 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..6b9f550 --- /dev/null +++ b/body.html @@ -0,0 +1,41 @@ +<header> + <h1>Should I Stay?</h1> + <p>Decide if your online relationship with an unfaithful Spanish man is worth continuing.</p> +</header> + +<main> + <section class="decision-tool"> + <h2>Relationship Decision Calculator</h2> + <form id="decisionForm"> + <label for="trust">Trust Level (0-10):</label> + <input type="number" id="trust" name="trust" min="0" max="10" required> + + <label for="communication">Communication Quality (0-10):</label> + <input type="number" id="communication" name="communication" min="0" max="10" required> + + <label for="distance">Distance (km):</label> + <input type="number" id="distance" name="distance" min="0" required> + + <label for="investment">Emotional Investment (0-10):</label> + <input type="number" id="investment" name="investment" min="0" max="10" required> + + <button type="submit">Calculate</button> + </form> + <div id="result" class="hidden"> + <h3>Your Decision:</h3> + <p id="decisionText"></p> + </div> + </section> + + <section class="visual-guide"> + <h2>Visual Guide to Your Decision</h2> + <div class="image-grid"> + <img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0MCIgZmlsbD0iI2ZmY2M2NiIvPjx0ZXh0IHg9IjUwIiB5PSI1MCIgZm9udC1zaXplPSIyMCIgZm9udC1mYW1pbHk9IkFyaWFsIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmaWxsPSIjZmZmIj5TdGF5PzwvdGV4dD48L3N2Zz4=" alt="Stay"> + <img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0MCIgZmlsbD0iI2ZmNjY2NiIvPjx0ZXh0IHg9IjUwIiB5PSI1MCIgZm9udC1zaXplPSIyMCIgZm9udC1mYW1pbHk9IkFyaWFsIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmaWxsPSIjZmZmIj5MZWF2ZSE8L3RleHQ+PC9zdmc+" alt="Leave"> + </div> + </section> +</main> + +<footer> + <p>Remember, your happiness comes first. Trust your instincts.</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..fa24c81 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "cd171192-512e-46ca-a5cf-772bd7a0eca1", + "object": "chat.completion", + "created": 1735385726, + "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 an unfaithful Spanish man is worth continuing.</p>\n</header>\n\n<main>\n <section class=\"decision-tool\">\n <h2>Relationship Decision Calculator</h2>\n <form id=\"decisionForm\">\n <label for=\"trust\">Trust Level (0-10):</label>\n <input type=\"number\" id=\"trust\" name=\"trust\" min=\"0\" max=\"10\" required>\n \n <label for=\"communication\">Communication Quality (0-10):</label>\n <input type=\"number\" id=\"communication\" name=\"communication\" min=\"0\" max=\"10\" required>\n \n <label for=\"distance\">Distance (km):</label>\n <input type=\"number\" id=\"distance\" name=\"distance\" min=\"0\" required>\n \n <label for=\"investment\">Emotional Investment (0-10):</label>\n <input type=\"number\" id=\"investment\" name=\"investment\" min=\"0\" max=\"10\" required>\n \n <button type=\"submit\">Calculate</button>\n </form>\n <div id=\"result\" class=\"hidden\">\n <h3>Your Decision:</h3>\n <p id=\"decisionText\"></p>\n </div>\n </section>\n\n <section class=\"visual-guide\">\n <h2>Visual Guide to Your Decision</h2>\n <div class=\"image-grid\">\n <img src=\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0MCIgZmlsbD0iI2ZmY2M2NiIvPjx0ZXh0IHg9IjUwIiB5PSI1MCIgZm9udC1zaXplPSIyMCIgZm9udC1mYW1pbHk9IkFyaWFsIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmaWxsPSIjZmZmIj5TdGF5PzwvdGV4dD48L3N2Zz4=\" alt=\"Stay\">\n <img src=\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0MCIgZmlsbD0iI2ZmNjY2NiIvPjx0ZXh0IHg9IjUwIiB5PSI1MCIgZm9udC1zaXplPSIyMCIgZm9udC1mYW1pbHk9IkFyaWFsIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmaWxsPSIjZmZmIj5MZWF2ZSE8L3RleHQ+PC9zdmc+\" alt=\"Leave\">\n </div>\n </section>\n</main>\n\n<footer>\n <p>Remember, your happiness comes first. Trust your instincts.</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #ffcc66;\n --secondary-color: #ff6666;\n --background-color: #f5f5f5;\n --text-color: #333;\n}\n\nbody {\n font-family: 'Arial', sans-serif;\n background-color: var(--background-color);\n color: var(--text-color);\n margin: 0;\n padding: 0;\n line-height: 1.6;\n}\n\nheader {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\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 max-width: 800px;\n margin: 0 auto;\n}\n\n.decision-tool {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 2px 10px 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 #ccc;\n border-radius: 5px;\n}\n\nbutton {\n background: var(--primary-color);\n color: white;\n padding: 0.75rem;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n transition: background 0.3s;\n}\n\nbutton:hover {\n background: var(--secondary-color);\n}\n\n#result {\n margin-top: 1rem;\n padding: 1rem;\n border-radius: 5px;\n text-align: center;\n}\n\n.hidden {\n display: none;\n}\n\n.visual-guide {\n text-align: center;\n}\n\n.image-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n gap: 1rem;\n margin-top: 1rem;\n}\n\nimg {\n width: 100%;\n height: auto;\n border-radius: 10px;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: var(--text-color);\n color: white;\n}\n\n@media (max-width: 600px) {\n h1 {\n font-size: 2rem;\n }\n}\n---script.js---\ndocument.getElementById('decisionForm').addEventListener('submit', function(e) {\n e.preventDefault();\n \n const trust = parseInt(document.getElementById('trust').value);\n const communication = parseInt(document.getElementById('communication').value);\n const distance = parseInt(document.getElementById('distance').value);\n const investment = parseInt(document.getElementById('investment').value);\n \n const score = (trust * 0.4) + (communication * 0.3) + (investment * 0.3) - (distance * 0.01);\n \n const result = document.getElementById('result');\n const decisionText = document.getElementById('decisionText');\n \n if (score >= 7) {\n decisionText.textContent = \"Stay and work on the relationship!\";\n result.style.backgroundColor = '#ffcc66';\n } else {\n decisionText.textContent = \"It might be time to leave...\";\n result.style.backgroundColor = '#ff6666';\n }\n \n result.classList.remove('hidden');\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 268, + "completion_tokens": 1618, + "total_tokens": 1886, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 268 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..a54721b --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# shouldistay.scroll.pub +Website generated by DeepSeek from prompt: I want a website helps me decide if I should continue an online relationship with an unfaithful Spanish man. It should have some numerical tools, some images. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..f92a780 --- /dev/null +++ b/script.js @@ -0,0 +1,23 @@ +document.getElementById('decisionForm').addEventListener('submit', function(e) { + e.preventDefault(); + + const trust = parseInt(document.getElementById('trust').value); + const communication = parseInt(document.getElementById('communication').value); + const distance = parseInt(document.getElementById('distance').value); + const investment = parseInt(document.getElementById('investment').value); + + const score = (trust * 0.4) + (communication * 0.3) + (investment * 0.3) - (distance * 0.01); + + const result = document.getElementById('result'); + const decisionText = document.getElementById('decisionText'); + + if (score >= 7) { + decisionText.textContent = "Stay and work on the relationship!"; + result.style.backgroundColor = '#ffcc66'; + } else { + decisionText.textContent = "It might be time to leave..."; + result.style.backgroundColor = '#ff6666'; + } + + result.classList.remove('hidden'); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..598b6c3 --- /dev/null +++ b/style.css @@ -0,0 +1,111 @@ +:root { + --primary-color: #ffcc66; + --secondary-color: #ff6666; + --background-color: #f5f5f5; + --text-color: #333; +} + +body { + font-family: 'Arial', sans-serif; + background-color: var(--background-color); + color: var(--text-color); + margin: 0; + padding: 0; + line-height: 1.6; +} + +header { + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; + padding: 2rem; + text-align: center; +} + +h1 { + font-size: 2.5rem; + margin-bottom: 0.5rem; +} + +main { + padding: 2rem; + max-width: 800px; + margin: 0 auto; +} + +.decision-tool { + background: white; + padding: 2rem; + border-radius: 10px; + box-shadow: 0 2px 10px 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 #ccc; + border-radius: 5px; +} + +button { + background: var(--primary-color); + color: white; + padding: 0.75rem; + border: none; + border-radius: 5px; + cursor: pointer; + transition: background 0.3s; +} + +button:hover { + background: var(--secondary-color); +} + +#result { + margin-top: 1rem; + padding: 1rem; + border-radius: 5px; + text-align: center; +} + +.hidden { + display: none; +} + +.visual-guide { + text-align: center; +} + +.image-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + gap: 1rem; + margin-top: 1rem; +} + +img { + width: 100%; + height: auto; + border-radius: 10px; +} + +footer { + text-align: center; + padding: 1rem; + background: var(--text-color); + color: white; +} + +@media (max-width: 600px) { + h1 { + font-size: 2rem; + } +} \ No newline at end of file