mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 19:38:36 +01:00
make the sh filter and stuff better :3
This commit is contained in:
parent
220e3bdea0
commit
5529ea0727
1 changed files with 26 additions and 14 deletions
|
@ -512,23 +512,35 @@ Web </a>
|
|||
</div>
|
||||
|
||||
<%
|
||||
const searchStrings = ["suicide", "no text to speech", "ntts", "vencord support", "murder", "how to murder"];
|
||||
if (searchStrings.some(str => q.includes(str))) {
|
||||
const searchStrings = [
|
||||
"suicide", "self harm", "self-harm", "support", "murder", "how to murder", "kill myself",
|
||||
"end my life", "depressed", "depression", "lonely",
|
||||
"hurt myself", "selfharm", "selfharm", "dying", "want to die",
|
||||
"kill", "die", "family problems", "family issues", "abuse",
|
||||
"domestic violence", "abusive parents", "family conflict",
|
||||
"estranged", "disowned", "run away", "runaway"
|
||||
];
|
||||
if (searchStrings.some(str => q.toLowerCase().includes(str))) {
|
||||
%>
|
||||
|
||||
<div class="container">
|
||||
<h2 style="font-family: 'PokeTube Flex';font-size: large;text-align: left;font-stretch: ultra-expanded;
|
||||
font-weight: 1000;">You are not alone</h2>
|
||||
<p>
|
||||
if you or somebody you know is having a bad time, talk to somebody today.
|
||||
</p>
|
||||
<p>
|
||||
if you are from the US, call 988. if you arent <a href="https://www.psychologytoday.com/us/basics/suicide/suicide-prevention-hotlines-resources-worldwide"> see this url.</a>
|
||||
<br> <br> dont worry, ur not alone <3 and you are really important btw!
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<% } %>
|
||||
<span style="font-size: xx-large; color: red;">❤️</span><br>
|
||||
<h2 style="font-family: 'PokeTube Flex'; font-size: large; text-align: left; font-weight: bold;">Ur not alone</h2>
|
||||
<p>
|
||||
If you're having a tough time or know someone who is, reaching out and talking to someone can really help.
|
||||
</p>
|
||||
<p>
|
||||
In the US? Call <strong>988</strong> for support. Not in the US? <a href="https://www.psychologytoday.com/us/basics/suicide/suicide-prevention-hotlines-resources-worldwide">Check out this link</a> for worldwide help.
|
||||
</p>
|
||||
<p>
|
||||
LGBTQ+ and need someone to talk to? Try the <a href="https://www.thetrevorproject.org/">Trevor Project</a> at <strong>1-866-488-7386</strong> or text <strong>START</strong> to <strong>678-678</strong>. For more options, <a href="https://www.imalive.org/">IMAlive</a> is also available.
|
||||
</p>
|
||||
<p>
|
||||
Remember, ur not alone. u matter, and there's always someone who cares. and you are really important btw! <span style="font-family: 'PokeTube Flex';">❤️</span>
|
||||
</p>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
|
||||
|
||||
<% if (!tab) { %>
|
||||
|
|
Loading…
Reference in a new issue