-
-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update index.tsx * Update index.tsx * Update index.tsx * add posthog * posthog feature flag * update demo * chore(release): publish * update demo * update demo * Simplified demo * update 50% * update * update demo * migrate to pnpm
- Loading branch information
Showing
98 changed files
with
37,106 additions
and
17,890 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
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,19 @@ | ||
import cloudinary from 'cloudinary'; | ||
|
||
module.exports = async (request, response) => { | ||
const timestamp = Math.round(new Date().getTime() / 1000); | ||
const signature = cloudinary.v2.utils.api_sign_request( | ||
{ | ||
timestamp: timestamp, | ||
folder: `easy-email-demo`, | ||
}, | ||
process.env.CLOUDINARY_API_SECRET, | ||
); | ||
|
||
response.status(200).send({ | ||
timestamp, | ||
signature, | ||
cloudName: process.env.CLOUDINARY_NAME, | ||
apiKey: process.env.CLOUDINARY_API_KEY, | ||
}); | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"author": "m-Ryan", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:m-Ryan/easy-email.git" | ||
"url": "[email protected]:zalify/easy-email.git" | ||
}, | ||
"keywords": [ | ||
"easy email editor demo" | ||
|
@@ -57,12 +57,14 @@ | |
"@types/react-router-dom": "^5.1.9", | ||
"axios": "^0.24.0", | ||
"browser-image-compression": "^1.0.17", | ||
"file-saver": "^2.0.5", | ||
"final-form": "^4.20.4", | ||
"fs-extra": "^10.0.1", | ||
"html2canvas": "^1.3.2", | ||
"liquidjs": "^9.40.0", | ||
"mjml-browser": "^4.10.4", | ||
"mustache": "^4.2.0", | ||
"posthog-js": "^1.121.4", | ||
"qs": "^6.10.1", | ||
"react": "17.0.2", | ||
"react-color": "^2.19.3", | ||
|
@@ -76,4 +78,4 @@ | |
"uuid": "^8.3.2", | ||
"yup": "^0.32.11" | ||
} | ||
} | ||
} |
Oops, something went wrong.