feat: add basic webui

This commit is contained in:
2024-12-30 06:39:09 +08:00
parent 608a7fb9c6
commit a4c549e7c3
462 changed files with 35900 additions and 2491 deletions

1
apps/email-playground/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.react-email

View File

@@ -0,0 +1,11 @@
import { ContactTemplate } from '@konobangu/email/templates/contact';
const ExampleContactEmail = () => (
<ContactTemplate
name="Jane Smith"
email="jane.smith@example.com"
message="I'm interested in your services."
/>
);
export default ExampleContactEmail;

View File

@@ -0,0 +1,24 @@
{
"name": "email-playground",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "email build",
"dev": "email dev --port 3003",
"export": "email export",
"clean": "git clean -xdf .cache .turbo dist node_modules",
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
},
"dependencies": {
"@react-email/components": "0.0.31",
"@konobangu/email": "workspace:*",
"react": "^19.0.0",
"react-email": "3.0.4"
},
"devDependencies": {
"@konobangu/typescript-config": "workspace:*",
"@types/node": "22.10.1",
"@types/react": "19.0.1",
"typescript": "^5.7.2"
}
}

View File

@@ -0,0 +1,5 @@
{
"extends": "@konobangu/typescript-config/nextjs.json",
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}