Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor #18

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
/shell.js
/utils.db
utils.db-shm
utils.db-wal
utils.db-wal
.env
7 changes: 1 addition & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
{
"cSpell.words": [
"sqlx"
],
"workbench.colorCustomizations": {
"activityBar.background": "#462511",
"titleBar.activeBackground": "#613417",
"titleBar.activeForeground": "#FDFAF8"
}
]
}
98 changes: 98 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ clap = {version = "4.3.23", features = ["derive"]}
console = "0.15.7"
dialoguer = {version = "0.10.4", features = ["fuzzy-select", "completion"]}
dirs = "5.0.1"
handlebars = "4.4.0"
include_dir = "0.7.3"
indicatif = "0.17.6"
lazy_static = "1.4.0"
lettre = "0.10.4"
lettre = { version = "0.10.4", features = ["tokio1", "tokio1-native-tls"] }
serde = {versio = "1.0.185", features = ["derive"]}
serde_json = "1.0.105"
sqlx = {version = "0.6.2", features = ["runtime-tokio-native-tls", "sqlite"]}
tokio = {version = "1.20.0", features = ["macros"]}
uuid = {version = "1.4.1", features = ["v4", "fast-rng", "macro-diagnostics"]}
20 changes: 0 additions & 20 deletions src/assets/email.hbs

This file was deleted.

19 changes: 13 additions & 6 deletions src/assets/email.mjml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
<mjml>
<mj-body background-color="#fcfcfc">

<mj-wrapper background-color="#ffbb45">
</mj-wrapper>

<mj-section background-color="#FFF">
<mj-column width="100%">
<mj-image src="https://ik.imagekit.io/nethbooks/cdn/mailer_IIjJfa1vo.png?updatedAt=1694136384730" alt="opeolluwa::maier" />
<mj-text font-size="16px" line-height="32px" font-family="Urbanist, arial, 'san-serif'" color="#0B0C14" padding-top="20px">
Hi <span>{{recipient}}</span>,
Hi <span style="text-transform:capitalize:font-weight:bold">{{recipient}}</span>,
</mj-text>

<mj-text font-size="16px" line-height="32px" font-family="Urbanist, arial, 'san-serif'" color="#0B0C14" padding-top="10px">
{{content}}
</mj-text>
{{#each body}}
<mj-text font-size="16px" line-height="32px" font-family="Urbanist, arial, 'san-serif'" color="#0B0C14" padding-top="10px" padding-bottom="25px">
{{this}}
</mj-text>

{{/each}}
</mj-column>

<mj-column width="100%">
Expand All @@ -26,6 +31,8 @@
</mj-column>
</mj-section>


<!-- <mj-include path="./footer.mjml" /> -->
<mj-wrapper background-color="#ffbb45">
</mj-wrapper>
</mj-body>
</mjml>
Loading
Loading