Skip to content

Commit

Permalink
move from slack to discord
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedElywa committed Mar 24, 2021
1 parent 22d9318 commit 42da325
Show file tree
Hide file tree
Showing 7 changed files with 987 additions and 2,977 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn pretty-quick --pattern "**/*.*(ts|tsx|graphql)" --staged
45 changes: 23 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"version": "0.1.0",
"author": "Ahmed Elywa",
"dependencies": {
"@ckeditor/ckeditor5-build-classic": "24.0.0",
"@ckeditor/ckeditor5-react": "3.0.0",
"@paljs/icons": "1.0.4",
"@paljs/ui": "1.0.4",
"@tinymce/tinymce-react": "3.8.3",
"@ckeditor/ckeditor5-build-classic": "26.0.0",
"@ckeditor/ckeditor5-react": "3.0.2",
"@paljs/icons": "1.0.5",
"@paljs/ui": "1.1.1",
"@tinymce/tinymce-react": "3.11.0",
"babel-plugin-styled-components": "^1.12.0",
"next": "^10.0.3",
"react": "17.0.1",
"react-dom": "17.0.1",
"next": "^10.0.9",
"react": "17.0.2",
"react-dom": "17.0.2",
"styled-components": "5.2.1"
},
"keywords": [
Expand All @@ -26,7 +26,8 @@
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
"start": "next start",
"prepare": "husky install"
},
"repository": {
"type": "git",
Expand All @@ -36,23 +37,23 @@
"url": "https://github.com/paljs/nextjs-admin-template/issues"
},
"devDependencies": {
"@types/node": "14.14.12",
"@types/react": "17.0.0",
"@types/react-dom": "17.0.0",
"@types/react-select": "3.0.27",
"@types/styled-components": "5.1.5",
"@typescript-eslint/eslint-plugin": "4.9.1",
"@typescript-eslint/parser": "4.9.1",
"eslint": "7.15.0",
"eslint-config-prettier": "7.0.0",
"eslint-plugin-prettier": "3.2.0",
"eslint-plugin-react": "7.21.5",
"@types/node": "14.14.35",
"@types/react": "17.0.3",
"@types/react-dom": "17.0.3",
"@types/react-select": "4.0.13",
"@types/styled-components": "5.1.9",
"@typescript-eslint/eslint-plugin": "4.19.0",
"@typescript-eslint/parser": "4.19.0",
"eslint": "7.22.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "7.23.0",
"gh-pages": "3.1.0",
"husky": "4.3.5",
"husky": "5.2.0",
"prettier": "2.2.1",
"pretty-quick": "3.1.0",
"react-live": "2.2.3",
"typescript": "4.1.2"
"typescript": "4.2.3"
},
"husky": {
"hooks": {
Expand Down
6 changes: 6 additions & 0 deletions public/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/slack.svg

This file was deleted.

8 changes: 2 additions & 6 deletions src/Layouts/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,8 @@ const Header: React.FC<HeaderProps> = (props) => {
},
{
content: (
<a
href="https://join.slack.com/t/paljs/shared_invite/zt-ju5j9bb9-onkc9ZksqPZq~yIYJ3BfKw"
target="_blank"
rel="noreferrer"
>
<img height="20" src="/slack.svg" alt="slack" />
<a href="https://discord.gg/NRmdvDxsT8" target="_blank" rel="noreferrer">
<img height="20" src="/discord.svg" alt="slack" />
</a>
),
},
Expand Down
Loading

1 comment on commit 42da325

@vercel
Copy link

@vercel vercel bot commented on 42da325 Mar 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.