-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from moinulmoin/upgrade-deps
chore: upgrade all dependencies and add react-email preview
- Loading branch information
Showing
11 changed files
with
2,986 additions
and
2,227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,4 @@ next-env.d.ts | |
# worker | ||
sw.* | ||
workbox-*.* | ||
.react-email |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import { | ||
Body, | ||
Button, | ||
Container, | ||
Head, | ||
Html, | ||
Preview, | ||
Section, | ||
Tailwind, | ||
Text, | ||
} from "@react-email/components"; | ||
|
||
interface ThanksTemplateProps { | ||
userName: string; | ||
} | ||
|
||
const ThanksTemp: React.FC<Readonly<ThanksTemplateProps>> = ({ userName }) => ( | ||
<Html> | ||
<Head /> | ||
<Preview>Welcome to ChadNext.</Preview> | ||
<Tailwind> | ||
<Body className=" bg-gray-100"> | ||
<Container className="mx-auto my-10 bg-white"> | ||
<Section className="my-8"> | ||
<Text className="mx-10 text-lg font-bold">Hi {userName} 👋 ,</Text> | ||
<Text className="mx-10 text-base"> | ||
Welcome to ChadNext. Now you can build your idea faster. You can | ||
star the project on GitHub. That would be very helpful. | ||
</Text> | ||
<Section className="my-5 text-center"> | ||
<Button | ||
className="bg-bg-white inline-block rounded-md bg-slate-900 px-6 py-3 text-base text-white" | ||
href="https://github.com/moinulmoin/chadnext" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Star on GitHub | ||
</Button> | ||
</Section> | ||
<Text className="mx-10 text-base font-light">Best,</Text> | ||
<Text className="mx-10 text-base font-bold">ChadNext</Text> | ||
</Section> | ||
</Container> | ||
</Body> | ||
</Tailwind> | ||
</Html> | ||
); | ||
|
||
export default ThanksTemp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
c5bcef6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
chadnext – ./
chadnext-git-main-moinulmoin.vercel.app
chadnext.vercel.app
chadnext-moinulmoin.vercel.app
chadnext.moinulmoin.com