mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 22:37:56 +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>
|
</div>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
const searchStrings = ["suicide", "no text to speech", "ntts", "vencord support", "murder", "how to murder"];
|
const searchStrings = [
|
||||||
if (searchStrings.some(str => q.includes(str))) {
|
"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">
|
<div class="container">
|
||||||
<h2 style="font-family: 'PokeTube Flex';font-size: large;text-align: left;font-stretch: ultra-expanded;
|
<span style="font-size: xx-large; color: red;">❤️</span><br>
|
||||||
font-weight: 1000;">You are not alone</h2>
|
<h2 style="font-family: 'PokeTube Flex'; font-size: large; text-align: left; font-weight: bold;">Ur not alone</h2>
|
||||||
<p>
|
<p>
|
||||||
if you or somebody you know is having a bad time, talk to somebody today.
|
If you're having a tough time or know someone who is, reaching out and talking to someone can really help.
|
||||||
</p>
|
</p>
|
||||||
<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>
|
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.
|
||||||
<br> <br> dont worry, ur not alone <3 and you are really important btw!
|
</p>
|
||||||
</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.
|
||||||
</div>
|
</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) { %>
|
<% if (!tab) { %>
|
||||||
|
|
Loading…
Reference in a new issue