Skip to content

Commit

Permalink
fix(email): switch email logo back to using url
Browse files Browse the repository at this point in the history
  • Loading branch information
tbolt authored Jan 7, 2025
1 parent 097d933 commit ba4f3a6
Show file tree
Hide file tree
Showing 13 changed files with 158 additions and 161 deletions.
3 changes: 1 addition & 2 deletions lib/libs/email/content/email-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Column, Heading, Hr, Link, Row, Section, Text } from "@react-email/comp
import { ReactNode } from "react";
import { Attachment, AttachmentKey, AttachmentTitle } from "shared-types";
import { styles } from "./email-styles";
import { ONEMAC_LOGO_BASE64 } from "./onemac-logo-base64";

export const EMAIL_CONFIG = {
DEV_EMAIL: "[email protected]",
Expand Down Expand Up @@ -52,7 +51,7 @@ const EmailNav = ({ appEndpointUrl }: { appEndpointUrl: string }) => (
height={40}
width={112}
style={{ maxWidth: "112px" }}
src={`data:image/png;base64,${ONEMAC_LOGO_BASE64}`}
src={`${appEndpointUrl}onemac-logo.png`}
alt="OneMAC Logo"
/>
</Link>
Expand Down
2 changes: 0 additions & 2 deletions lib/libs/email/content/onemac-logo-base64.ts

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit ba4f3a6

Please sign in to comment.