1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00

removed frontpage links, updated wording

This commit is contained in:
marzavec 2018-10-23 10:15:40 -05:00
parent 4a2f0d6f59
commit 9150325ca2

View File

@ -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."