Skip to content

Commit 847b1d5

Browse files
refactor: remove discord link (#2423)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
1 parent b2407a1 commit 847b1d5

File tree

25 files changed

+75
-131
lines changed

25 files changed

+75
-131
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
<div align="center">The next generation of writing emails.<br />High-quality, unstyled components for creating emails.</div>
55
<br />
66
<div align="center">
7-
<a href="https://react.email">Website</a>
7+
<a href="https://react.email">Website</a>
88
<span> · </span>
9-
<a href="https://github.com/resend/react-email">GitHub</a>
10-
<span> · </span>
11-
<a href="https://react.email/discord">Discord</a>
9+
<a href="https://github.com/resend/react-email">GitHub</a>
1210
</div>
1311

1412
## Introduction

apps/docs/contributing/development-workflow/1-setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ To contribute to the project, you must use **Node 18** or higher.
4141

4242
If you plan to contribute to the docs, view our [Writing docs](/contributing/development-workflow/5-writing-docs) guide for additional setup.
4343

44-
If you have have any trouble, please [reach out on Discord](https://discord.com/invite/n2pWEjjNnD) or consider [opening up an issue on GitHub](https://github.com/resend/react-email/issues/new?assignees=&labels=Type%3A+Bug&projects=&template=1.bug_report.yml) after reading the [issue guidelines](/contributing/opening-issues).
44+
If you have any trouble, please [reach out on GitHub Discussions](https://github.com/resend/react-email/discussions) or consider [opening up an issue on GitHub](https://github.com/resend/react-email/issues/new?assignees=&labels=Type%3A+Bug&projects=&template=1.bug_report.yml) after reading the [issue guidelines](/contributing/opening-issues).

apps/docs/contributing/opening-pull-requests.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ Writing down your specific changes—both generally and technically—makes it c
6767

6868
## Getting in touch with us
6969

70-
If you have any questions or need help, you can find us on [Discord](https://discord.com/invite/n2pWEjjNnD).
70+
If you have any questions or need help, you can find us on [GitHub Discussions](https://github.com/resend/react-email/discussions).
7171

apps/docs/docs.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@
121121
"href": "https://demo.react.email/preview/notifications/vercel-invite-user",
122122
"icon": "arrow-pointer"
123123
},
124-
{
125-
"anchor": "Discord",
126-
"href": "https://react.email/discord",
127-
"icon": "discord"
128-
},
129124
{
130125
"anchor": "GitHub",
131126
"href": "https://github.com/resend/react-email",

apps/docs/roadmap.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: 'Understand what is currently being prioritized and what we are pla
66
icon: 'map'
77
---
88

9-
If any of these are important to you please let us know. We use community feedback to plan our roadmap, and we also encourage contributors to submit their ideas on [Discord](https://react.email/discord) so that we can discuss them with the community.
9+
If any of these are important to you please let us know. We use community feedback to plan our roadmap, and we also encourage contributors to submit their ideas on [GitHub Discussions](https://github.com/resend/react-email/discussions) so that we can discuss them with the community.
1010

1111
Feel free to contribute to any of them as well.
1212

apps/web/next.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ module.exports = {
88
serverExternalPackages: ['@react-email/components', '@react-email/render'],
99
async redirects() {
1010
return [
11-
{
12-
source: '/discord',
13-
destination: 'https://discord.com/invite/n2pWEjjNnD',
14-
permanent: true,
15-
},
1611
{
1712
source: '/examples',
1813
destination: '/templates',

apps/web/src/components/menu.tsx

Lines changed: 16 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ interface MenuItemProps {
1414
}
1515

1616
const GITHUB_URL = 'https://github.com/resend/react-email';
17-
const DISCORD_URL = '/discord';
1817

1918
const MenuItem: React.FC<Readonly<MenuItemProps>> = ({
2019
className,
@@ -64,48 +63,23 @@ const MenuItems = ({ onItemClick }: { onItemClick: () => void }) => (
6463
);
6564

6665
const SocialIcons = ({ onItemClick }: { onItemClick: () => void }) => (
67-
<>
68-
<MenuItem
69-
className="w-8 justify-center"
70-
href={GITHUB_URL}
71-
onClick={onItemClick}
72-
>
73-
<svg
74-
height="20"
75-
viewBox="0 0 24 24"
76-
width="20"
77-
xmlns="http://www.w3.org/2000/svg"
78-
>
79-
<path
80-
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
81-
fill="currentColor"
82-
/>
83-
</svg>
84-
</MenuItem>
85-
<MenuItem
86-
className="w-8 justify-center"
87-
href={DISCORD_URL}
88-
onClick={onItemClick}
66+
<MenuItem
67+
className="w-8 justify-center"
68+
href={GITHUB_URL}
69+
onClick={onItemClick}
70+
>
71+
<svg
72+
height="20"
73+
viewBox="0 0 24 24"
74+
width="20"
75+
xmlns="http://www.w3.org/2000/svg"
8976
>
90-
<svg
91-
height="20"
92-
viewBox="0 0 127.14 96.36"
93-
width="20"
94-
xmlns="http://www.w3.org/2000/svg"
95-
>
96-
<g>
97-
<g data-name="Discord Logos">
98-
<g data-name="Discord Logo - Large - White">
99-
<path
100-
d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"
101-
fill="currentColor"
102-
/>
103-
</g>
104-
</g>
105-
</g>
106-
</svg>
107-
</MenuItem>
108-
</>
77+
<path
78+
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
79+
fill="currentColor"
80+
/>
81+
</svg>
82+
</MenuItem>
10983
);
11084

11185
export const Menu: React.FC = () => {

packages/button/readme.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
<div align="center">A link that is styled to look like a button.</div>
55
<br />
66
<div align="center">
7-
<a href="https://react.email">Website</a>
7+
<a href="https://react.email">Website</a>
88
<span> · </span>
9-
<a href="https://github.com/resend/react-email">GitHub</a>
10-
<span> · </span>
11-
<a href="https://react.email/discord">Discord</a>
9+
<a href="https://github.com/resend/react-email">GitHub</a>
10+
1211
</div>
1312

1413
## Install

packages/code-block/readme.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
<div align="center">Display code with a selected theme and regex highlighting using Prism.js.</div>
55
<br />
66
<div align="center">
7-
<a href="https://react.email">Website</a>
7+
<a href="https://react.email">Website</a>
88
<span> · </span>
9-
<a href="https://github.com/resend/react-email">GitHub</a>
10-
<span> · </span>
11-
<a href="https://react.email/discord">Discord</a>
9+
<a href="https://github.com/resend/react-email">GitHub</a>
10+
1211
</div>
1312

1413
## Install

packages/code-inline/readme.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
<div align="center">Display a predictable inline code HTML element that works on all email clients.</div>
55
<br />
66
<div align="center">
7-
<a href="https://react.email">Website</a>
7+
<a href="https://react.email">Website</a>
88
<span> · </span>
9-
<a href="https://github.com/resendlabs/react-email">GitHub</a>
10-
<span> · </span>
11-
<a href="https://react.email/discord">Discord</a>
9+
<a href="https://github.com/resendlabs/react-email">GitHub</a>
10+
1211
</div>
1312

1413
## Install

0 commit comments

Comments
 (0)