From aa0eb3af332466dcc2de6ba47082f36ab0dfc8b9 Mon Sep 17 00:00:00 2001 From: Colin Key Date: Mon, 3 Jan 2022 10:16:55 -0700 Subject: [PATCH] Update links for discord and code of conduct (#1633) * Updates most discord links to the chat url on the official site * Updates links to code of conduct and repo in contributing.md --- .github/ISSUE_TEMPLATE/config.yml | 2 +- CONTRIBUTING.md | 8 ++++---- README.md | 2 +- src/lucky/welcome_page.cr | 6 +++--- tasks/watch.cr | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 933a320b2..9487ea004 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -7,5 +7,5 @@ contact_links: url: https://github.com/luckyframework/lucky/discussions about: Ask questions and discuss with other community members - name: Chat - url: https://discord.com/invite/HeqJUcb + url: https://luckyframework.org/chat about: Chat with the community diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3a13032ef..014f07718 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,9 +1,9 @@ # Contributing to Lucky We love pull requests from everyone. By participating in this project, you -agree to abide by the thoughtbot [code of conduct]. +agree to abide by the project [code of conduct]. -[code of conduct]: https://thoughtbot.com/open-source-code-of-conduct +[code of conduct]: https://github.com/luckyframework/lucky/blob/master/CODE_OF_CONDUCT.md Here are some ways *you* can contribute: @@ -41,7 +41,7 @@ already been submitted. ## Setting Up Local Environment -1. Fork it ( https://github.com/luckyframework/web/fork ) +1. Fork it ( https://github.com/luckyframework/lucky/fork ) 1. Create your feature branch (git checkout -b my-new-feature) 1. Install docker and docker-compose: https://docs.docker.com/compose/install/ 1. Run `script/setup` to build the Docker containers with everything you need. @@ -67,7 +67,7 @@ already been submitted. asking for help. We love helping! * Please don't update the Gem version. -[repo]: https://github.com/luckyframework/web/tree/master +[repo]: https://github.com/luckyframework/lucky/tree/master [fork]: https://help.github.com/articles/fork-a-repo/ [branch]: https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/ [pr]: https://help.github.com/articles/using-pull-requests/ diff --git a/README.md b/README.md index 1c4084ae6..cff84a787 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Lucky has a [fresh new set of guides](https://luckyframework.org/guides/) that make it easy to get started. Feel free to say hi or ask questions on our -[chat room](https://discord.gg/HeqJUcb). +[chat room](https://luckyframework.org/chat). Or you can copy a real working app with [Lucky JumpStart](https://github.com/stephendolan/lucky_jumpstart/). diff --git a/src/lucky/welcome_page.cr b/src/lucky/welcome_page.cr index 12e0a071f..4b609fdd0 100644 --- a/src/lucky/welcome_page.cr +++ b/src/lucky/welcome_page.cr @@ -69,15 +69,15 @@ class Lucky::WelcomePage tr do td "Ask for ideas in our chatroom", class: "left-column" td class: "right-column" do - a discord_url, href: discord_url, target: "_blank" + a chat_url, href: chat_url, target: "_blank" end end end end end - private def discord_url - "https://discord.gg/HeqJUcb" + private def chat_url + "https://luckyframework.org/chat" end private def welcome_page_styles diff --git a/tasks/watch.cr b/tasks/watch.cr index f2fdf9850..f5a2c4d3d 100644 --- a/tasks/watch.cr +++ b/tasks/watch.cr @@ -192,7 +192,7 @@ module LuckySentry ▸ Run setup: #{"script/setup".colorize.bold} ▸ Reinstall shards: #{"rm -rf lib bin && shards install".colorize.bold} - ▸ Ask for help: #{"https://discord.gg/HeqJUcb".colorize.bold} + ▸ Ask for help: #{"https://luckyframework.org/chat".colorize.bold} ERROR end end