Skip to content

Commit

Permalink
Merge pull request #16 from badging:develop
Browse files Browse the repository at this point in the history
updated badge urls in emails
  • Loading branch information
kaxada authored Jan 6, 2024
2 parents d88ac1b + 9933f13 commit 28fcabd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions badges/bronzeBadge.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ const bronzeBadge = async (
} else if (hasAllTitles) {
// email content
const markdownLink =
"![Bronze Badge](https://raw.githubusercontent.com/badging/BadgingAPI/main/assets/badges/bronze-badge.svg)";
"![Bronze Badge](https://raw.githubusercontent.com/badging/badging/main/src/assets/images/badges/bronze-badge.svg)";
const htmlLink =
"<img src="https://raw.githubusercontent.com/badging/BadgingAPI/main/assets/badges/bronze-badge.svg" alt="DEI Badging Bronze Badge" />";
"<img src="https://raw.githubusercontent.com/badging/badging/main/src/assets/images/badges/bronze-badge.svg" alt="DEI Badging Bronze Badge" />";

// send email
mailer(email, userName, "Bronze", markdownLink, htmlLink);
Expand Down
12 changes: 0 additions & 12 deletions helpers/email_templates/success.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,6 @@
</head>
<body>
<div class="container">
<header>
<img
src="https://raw.githubusercontent.com/badging/BadgingAPI/main/assets/images/logo.svg"
alt="badging logo"
id="logo"
/>
<img
src="https://raw.githubusercontent.com/badging/BadgingAPI/main/assets/images/carousel.svg"
alt="email carousel"
id="carousel"
/>
</header>
<h1>Congratulations on Your DEI Badge!</h1>
<p class="email_content">
Dear {{recipientName}},
Expand Down

0 comments on commit 28fcabd

Please sign in to comment.