Skip to content

Commit

Permalink
fix: images not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
gregermendle committed Nov 20, 2023
1 parent 108786f commit e21cf12
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions apps/example/app/emails/login-code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
Preview,
Text,
} from "@react-email/components";
import LinearLogo from "~/emails/assets/logo.png";

interface LoginCodeProps {
code?: string;
Expand All @@ -21,7 +20,7 @@ export const LoginCode = ({ code }: LoginCodeProps) => (
<Preview>Your login code</Preview>
<Body style={mainStyle}>
<Container>
<Img src={LinearLogo} width="33" height="25" alt="Remix Mailer" />
<Img src="/assets/logo.png" width="33" height="25" alt="Remix Mailer" />
<Heading style={headingStyle}>Your verification code.</Heading>
<code style={codeStyle}>{code}</code>
<Text style={paragraphStyle}>
Expand Down
3 changes: 1 addition & 2 deletions apps/example/app/emails/reset-password.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
Preview,
Text,
} from "@react-email/components";
import LinearLogo from "~/emails/assets/logo.png";

interface ResetPasswordProps {
resetLink?: string;
Expand All @@ -22,7 +21,7 @@ export const ResetPassword = ({ resetLink }: ResetPasswordProps) => (
<Preview>Your login code</Preview>
<Body style={mainStyle}>
<Container>
<Img src={LinearLogo} width="33" height="25" alt="Remix Mailer" />
<Img src="/assets/logo.png" width="33" height="25" alt="Remix Mailer" />
<Heading style={headingStyle}>Lets reset your password.</Heading>
<Link href={resetLink}>Reset Password</Link>
<Text style={paragraphStyle}>
Expand Down
File renamed without changes

0 comments on commit e21cf12

Please sign in to comment.