From 93ef7f379008697a1c58c8620b28e5a17d706ff6 Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 26 Dec 2023 04:32:20 +0000 Subject: [PATCH] fix contunation lol --- html/search.ejs | 43 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/html/search.ejs b/html/search.ejs index 0facadf1..670f7682 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -23,7 +23,7 @@ - + @@ -99,8 +99,20 @@ summary:hover{ white-space: nowrap; font-family: ubuntu, sans-serif; } - +.container { + max-width: 800px; + margin: 0 auto; + padding: 20px; + background-color: #333; + border: 1px solid #ccc; + border-radius: 5px; + text-align:center; + } + .container > * { + text-align:center !important; + + } .info > div { font-family:Ubuntu, sans-serif; } @@ -467,6 +479,23 @@ Web + + <% if (q.includes("suicide")) { %> + +
+

You are not alone

+

+ if you or somebody you know is having a bad time, talk to somebody today. +

+

+ if you are from the US, call 988. if you arent see this url. +

dont worry, ur not alone <3 and you are really important btw! +

+ +
+ <% } %> + <% if (!tab) { %> @@ -509,7 +538,7 @@ font-weight: 1000;
- <% if (continuation !== "1") { %> + <% if (Number(continuation) >= "2") { %>

First Page

@@ -518,7 +547,7 @@ font-weight: 1000;

<% } %> - <% if (continuation == "1" || !continuation) { %> + <% if (Number(continuation) <= "0" || !continuation) { %>

Next Page @@ -575,8 +604,7 @@ font-weight: 1000;

- - - \ No newline at end of file + + \ No newline at end of file