aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2018-10-23 17:15:40 +0200
committermarzavec <admin@marzavec.com>2018-10-23 17:15:40 +0200
commit9150325ca242761e351fa083863635363f38f2cd (patch)
tree0443fa5e7dfe247f97a1a12dff289217a37ef38f
parentdocumentation update, removing unused scripts (diff)
downloadhackchat-9150325ca242761e351fa083863635363f38f2cd.tar.gz
hackchat-9150325ca242761e351fa083863635363f38f2cd.zip
removed frontpage links, updated wording
-rw-r--r--client/client.js24
1 files changed, 18 insertions, 6 deletions
diff --git a/client/client.js b/client/client.js
index 8a0d2e5..5cf699f 100644
--- a/client/client.js
+++ b/client/client.js
@@ -1,4 +1,14 @@
+/*
+ *
+ * NOTE: The client side of hack.chat is currently in development,
+ * a new, more modern but still minimal version will be released
+ * soon. As a result of this, the current code has been deprecated
+ * and will not actively be updated.
+ *
+*/
+
const verifyNickname = (nick) => /^[a-zA-Z0-9_]{1,24}$/.test(nick);
+
var frontpage = [
" _ _ _ _ ",
" | |_ ___ ___| |_ ___| |_ ___| |_ ",
@@ -7,7 +17,9 @@ var frontpage = [
"",
"",
"Welcome to hack.chat, a minimal, distraction-free chat application.",
- "Channels are created and joined by going to https://hack.chat/?your-channel. There are no channel lists, so a secret channel name can be used for private discussions.",
+ "Channels are created, joined and shared with the url, create your own channel by changing the text after the question mark.",
+ "If you wanted your channel name to be 'your-channel': https://hack.chat/?your-channel",
+ "There are no channel lists, so a secret channel name can be used for private discussions.",
"",
"Here are some pre-made channels you can join:",
"?lounge ?meta",
@@ -19,13 +31,13 @@ var frontpage = [
"Formatting:",
"Whitespace is preserved, so source code can be pasted verbatim.",
"Surround LaTeX with a dollar sign for inline style $\\zeta(2) = \\pi^2/6$, and two dollars for display. $$\\int_0^1 \\int_0^1 \\frac{1}{1-xy} dx dy = \\frac{\\pi^2}{6}$$",
- "For syntax highlight, the first line of the code block must begin with #<format> where <format> can be html, js or any known format",
- "",
- "Current Github: https://github.com/hack-chat includes server and client source along with other resources",
+ "For syntax highlight, the first line of the code block must begin with #<format> where <format> can be html, js or any known format.",
"",
+ "Current Github: https://github.com/hack-chat",
"Legacy GitHub: https://github.com/AndrewBelt/hack.chat",
- "Android apps: https://goo.gl/UkbKYy https://goo.gl/qasdSu https://goo.gl/fGQFQN",
- "Other Softwares: https://github.com/hack-chat/3rd-party-software-list",
+ "",
+ "Bots, Android clients, desktop clients, browser extensions, docker images, programming libraries, server modules and more:",
+ "https://github.com/hack-chat/3rd-party-software-list",
"",
"Server and web client released under the WTFPL and MIT open source license.",
"No message history is retained on the hack.chat server."