-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Bloxs <[email protected]>
- Loading branch information
1 parent
fe7b079
commit 1494754
Showing
15 changed files
with
4,728 additions
and
202 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 |
---|---|---|
|
@@ -6,4 +6,5 @@ IMAGEKIT_PUBLIC_KEY=<imagekit public key> (i.e. "public_...") | |
IMAGEKIT_PRIVATE_KEY=<imagekit private key> (i.e. "private_...") | ||
IMAGEKIT_URL_ENDPOINT=<imagekit url> (i.e. "https://ik.imagekit.io/...") | ||
AWS_ACCESS_KEY_ID=.... | ||
AWS_SECRET_ACCESS_KEY=.... | ||
AWS_SECRET_ACCESS_KEY=.... | ||
AWS_EMAIL_SOURCE="Name <[email protected]>" |
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 |
---|---|---|
|
@@ -10,4 +10,6 @@ | |
|
||
# Fresh build directory | ||
/_fresh | ||
/db | ||
/db | ||
/.react-email | ||
/out |
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"lock": false, | ||
"nodeModulesDir": true, | ||
"tasks": { | ||
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", | ||
"fmt": "npx prettier . --write", | ||
|
@@ -11,7 +10,7 @@ | |
}, | ||
"lint": { "rules": { "tags": ["fresh", "recommended"] } }, | ||
"imports": { | ||
"$fresh/": "https://deno.land/x/[email protected].1/", | ||
"$fresh/": "https://deno.land/x/[email protected].3/", | ||
"preact": "https://esm.sh/[email protected]", | ||
"preact/": "https://esm.sh/[email protected]/", | ||
"preact-render-to-string": "https://esm.sh/*[email protected]", | ||
|
@@ -26,7 +25,9 @@ | |
"tailwindcss": "npm:[email protected]", | ||
"tailwindcss/": "npm:/[email protected]/", | ||
"tailwindcss/plugin": "npm:/[email protected]/plugin.js", | ||
"@tailwindcss/typography": "npm:@tailwindcss/typography" | ||
"@tailwindcss/typography": "npm:@tailwindcss/typography", | ||
"react": "npm:react", | ||
"@react-email/components": "npm:@react-email/components" | ||
}, | ||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, | ||
"exclude": ["**/_fresh/*"] | ||
|
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,52 @@ | ||
import { | ||
Body, | ||
Container, | ||
Head, | ||
Heading, | ||
Html, | ||
Img, | ||
Link, | ||
Section, | ||
Tailwind, | ||
Text, | ||
} from "@react-email/components"; | ||
import * as React from "react"; | ||
import config from "../tailwind.config.ts" | ||
|
||
export default function LoginEmail({ otp = "123456" }: { otp: string }) { | ||
return ( | ||
<Html> | ||
<Head /> | ||
<Tailwind config={{ | ||
theme: config.theme | ||
}}> | ||
<Body className="bg-white"> | ||
<Container className=""> | ||
<Img | ||
src={`https://events.deno.dev/orange-logo.svg`} | ||
width="212" | ||
height="88" | ||
alt="Plaid" | ||
/> | ||
<Text >Verify Your Identity</Text> | ||
<Heading > | ||
Enter the following code to finish linking Venmo. | ||
</Heading> | ||
<Section> | ||
<Text>{otp}</Text> | ||
</Section> | ||
<Text>Not expecting this email?</Text> | ||
<Text> | ||
Contact{" "} | ||
<Link href="mailto:[email protected]"> | ||
[email protected] | ||
</Link>{" "} | ||
if you did not request this code. | ||
</Text> | ||
</Container> | ||
</Body> | ||
</Tailwind> | ||
</Html> | ||
); | ||
} | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { defineConfig } from "$fresh/server.ts"; | ||
import tailwind from "./plugins/tailwind.ts"; | ||
import tailwind from "$fresh/plugins/tailwind.ts"; | ||
import { kvInsightsPlugin } from "https://deno.land/x/[email protected]/mod.ts"; | ||
import { kv } from "@/utils/db/kv.ts"; | ||
|
||
|
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,17 @@ | ||
{ | ||
"name": "emails", | ||
"version": "0.0.18", | ||
"private": true, | ||
|
||
"workspaces": [ | ||
".react-email" | ||
], | ||
"scripts": { | ||
"dev": "email dev", | ||
"export": "email export" | ||
}, | ||
"dependencies": { | ||
"@react-email/components": "^0.0.12", | ||
"react-email": "1.10.0" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.