-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5aa40f1
commit 6420046
Showing
3 changed files
with
115 additions
and
2 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
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,56 @@ | ||
const saleEmailTemplate = ` | ||
doctype html | ||
html | ||
head | ||
style(type='text/css'). | ||
.cta-container { | ||
margin: 32px 0px; | ||
text-align: center; | ||
} | ||
.cta { | ||
border: 1px solid #07077b; | ||
border-radius: 4px; | ||
padding: 4px 8px; | ||
text-decoration: none; | ||
color: white; | ||
background-color: #07077b; | ||
font-weight: bold; | ||
} | ||
.cta:hover { | ||
background-color: #060665; | ||
} | ||
.courselit-branding-container { | ||
margin: 40px 0px; | ||
} | ||
.courselit-branding-cta { | ||
text-decoration: none; | ||
color: #000000; | ||
padding: 6px 10px; | ||
background-color: #FFFFFF; | ||
border: 1px solid; | ||
border-radius: 6px; | ||
text-align: center; | ||
} | ||
.signature { | ||
padding-top: 20px; | ||
} | ||
body | ||
p Yay! You have made a sale! | ||
p Order: #{order} | ||
p Date: #{date} | ||
p Email: #{email} | ||
p Course Title: #{courseName} | ||
p Course Price: #{coursePrice} | ||
p(class="signature") | ||
| Best, | ||
p #[a(href="https://x.com/courselit") @CourseLit] | ||
if !hideCourseLitBranding | ||
div(class="courselit-branding-container") | ||
a( | ||
href="https://courselit.app" | ||
target="_blank" | ||
class="courselit-branding-cta" | ||
) Powered by <strong> CourseLit </strong> | ||
`; | ||
|
||
export default saleEmailTemplate; |