Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
<div align="center">The next generation of writing emails.<br />High-quality, unstyled components for creating emails.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>
</div>

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/contributing/development-workflow/1-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ To contribute to the project, you must use **Node 18** or higher.

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

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).
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).
2 changes: 1 addition & 1 deletion apps/docs/contributing/opening-pull-requests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ Writing down your specific changes—both generally and technically—makes it c

## Getting in touch with us

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

5 changes: 0 additions & 5 deletions apps/docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,6 @@
"href": "https://demo.react.email/preview/notifications/vercel-invite-user",
"icon": "arrow-pointer"
},
{
"anchor": "Discord",
"href": "https://react.email/discord",
"icon": "discord"
},
{
"anchor": "GitHub",
"href": "https://github.com/resend/react-email",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/roadmap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: 'Understand what is currently being prioritized and what we are pla
icon: 'map'
---

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

Feel free to contribute to any of them as well.

Expand Down
5 changes: 0 additions & 5 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ module.exports = {
serverExternalPackages: ['@react-email/components', '@react-email/render'],
async redirects() {
return [
{
source: '/discord',
destination: 'https://discord.com/invite/n2pWEjjNnD',
permanent: true,
},
{
source: '/examples',
destination: '/templates',
Expand Down
58 changes: 16 additions & 42 deletions apps/web/src/components/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ interface MenuItemProps {
}

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

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

const SocialIcons = ({ onItemClick }: { onItemClick: () => void }) => (
<>
<MenuItem
className="w-8 justify-center"
href={GITHUB_URL}
onClick={onItemClick}
>
<svg
height="20"
viewBox="0 0 24 24"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<path
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"
fill="currentColor"
/>
</svg>
</MenuItem>
<MenuItem
className="w-8 justify-center"
href={DISCORD_URL}
onClick={onItemClick}
<MenuItem
className="w-8 justify-center"
href={GITHUB_URL}
onClick={onItemClick}
>
<svg
height="20"
viewBox="0 0 24 24"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<svg
height="20"
viewBox="0 0 127.14 96.36"
width="20"
xmlns="http://www.w3.org/2000/svg"
>
<g>
<g data-name="Discord Logos">
<g data-name="Discord Logo - Large - White">
<path
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"
fill="currentColor"
/>
</g>
</g>
</g>
</svg>
</MenuItem>
</>
<path
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"
fill="currentColor"
/>
</svg>
</MenuItem>
);

export const Menu: React.FC = () => {
Expand Down
7 changes: 3 additions & 4 deletions packages/button/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">A link that is styled to look like a button.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/code-block/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">Display code with a selected theme and regex highlighting using Prism.js.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/code-inline/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">Display a predictable inline code HTML element that works on all email clients.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resendlabs/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resendlabs/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/column/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">Display a column that separates content areas vertically in your email.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/components/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">A collection of all components React Email.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/container/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">A layout component that centers all the email content.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/create-email/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">The easiest way to get started with React Email.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Getting started
Expand Down
7 changes: 3 additions & 4 deletions packages/head/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">Contains head components such as style and meta elements.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/heading/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">A block of heading text.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/hr/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">Display a divider that separates content areas in your email.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/img/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">Display an image in your email.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/link/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">A hyperlink to web pages, email addresses, or anything else a URL can address.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/preview-server/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
<div align="center">A live preview of your emails right in your browser.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

This package is used to store the preview server, it is also published and versioned so that it can be installed when the [CLI](../react-email) is being used.
Expand Down
7 changes: 3 additions & 4 deletions packages/preview/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">A preview text that will be displayed in the inbox of the recipient.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/react-email/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">The next generation of writing emails.<br />High-quality, unstyled components for creating emails.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Getting started
Expand Down
7 changes: 3 additions & 4 deletions packages/render/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">Transform React components into HTML email templates.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
7 changes: 3 additions & 4 deletions packages/section/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
<div align="center">Display a section that can be formatted using columns.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
<a href="https://github.com/resend/react-email">GitHub</a>

</div>

## Install
Expand Down
Loading
Loading