Remove chat with Neuron links from gallery page
This commit is contained in:
+2
-3
@@ -57,7 +57,7 @@ fn gallery_page(cards_json: String, supabase_url: String, supabase_anon_key: Str
|
||||
let i = i + 1
|
||||
}
|
||||
let empty_html: String = if str_eq(cards_html, "") {
|
||||
"<div style=\"grid-column:1/-1;padding:4rem 0;text-align:center\"><p class=\"label\" style=\"margin-bottom:1rem\">Nothing yet</p><p style=\"font-family:var(--body);font-weight:300;color:var(--t2);line-height:1.7\">Chat with Neuron and share a response to be the first.</p><a href=\"/?open=chat\" class=\"btn-primary\" style=\"margin-top:1.5rem;display:inline-flex\">Start chatting →</a></div>"
|
||||
"<div style=\"grid-column:1/-1;padding:4rem 0;text-align:center\"><p class=\"label\" style=\"margin-bottom:1rem\">Nothing yet</p><p style=\"font-family:var(--body);font-weight:300;color:var(--t2);line-height:1.7\">Nothing shared yet.</p></div>"
|
||||
} else { "" }
|
||||
|
||||
return "<!DOCTYPE html>
|
||||
@@ -245,8 +245,7 @@ body::before {
|
||||
<div id=\"no-results\" style=\"display:none;padding:3rem 0;text-align:center\">
|
||||
<p style=\"font-family:var(--body);font-weight:300;color:var(--t3)\">No conversations match that search.</p>
|
||||
</div>
|
||||
<div style=\"margin-top:3rem;display:flex;align-items:center;gap:1.5rem\">
|
||||
<a href=\"/?open=chat\" class=\"btn-primary\">Chat with Neuron →</a>
|
||||
<div style=\"margin-top:3rem\">
|
||||
<a href=\"/\" class=\"btn-ghost\">← Back to site</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user