♻️ Remove references to old s3 URLs
This commit is contained in:
@ -5,6 +5,7 @@ import { Head, HeroImage, Text } from '../components'
|
||||
import { parseNumberWithCommas } from '@typebot.io/lib'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
import { env } from '@typebot.io/env'
|
||||
|
||||
type AlmostReachedChatsLimitEmailProps = {
|
||||
workspaceName: string
|
||||
@ -33,7 +34,9 @@ export const AlmostReachedChatsLimitEmail = ({
|
||||
<MjmlBody width={600}>
|
||||
<MjmlSection padding="0">
|
||||
<MjmlColumn>
|
||||
<HeroImage src="https://typebot.s3.fr-par.scw.cloud/public/assets/yourBotIsFlyingEmailBanner.png" />
|
||||
<HeroImage
|
||||
src={`${env.NEXTAUTH_URL}/images/yourBotIsFlyingBanner.png`}
|
||||
/>
|
||||
</MjmlColumn>
|
||||
</MjmlSection>
|
||||
<MjmlSection padding="0 24px" cssClass="smooth">
|
||||
|
@ -10,6 +10,7 @@ import { render } from '@faire/mjml-react/utils/render'
|
||||
import { HeroImage, Text, Button, Head } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
import { env } from '@typebot.io/env'
|
||||
|
||||
type GuestInvitationEmailProps = {
|
||||
workspaceName: string
|
||||
@ -31,7 +32,7 @@ export const GuestInvitationEmail = ({
|
||||
<MjmlBody width={600}>
|
||||
<MjmlSection padding="0">
|
||||
<MjmlColumn>
|
||||
<HeroImage src="https://typebot.s3.eu-west-3.amazonaws.com/assets/invitation-banner.png" />
|
||||
<HeroImage src={`${env.NEXTAUTH_URL}/images/invitationBanner.png`} />
|
||||
</MjmlColumn>
|
||||
</MjmlSection>
|
||||
<MjmlSection padding="0 24px" cssClass="smooth">
|
||||
|
@ -10,6 +10,7 @@ import { render } from '@faire/mjml-react/utils/render'
|
||||
import { HeroImage, Text, Button, Head } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
import { env } from '@typebot.io/env'
|
||||
|
||||
type Props = {
|
||||
url: string
|
||||
@ -21,7 +22,9 @@ export const MagicLinkEmail = ({ url }: Props) => (
|
||||
<MjmlBody width={600}>
|
||||
<MjmlSection padding="0">
|
||||
<MjmlColumn>
|
||||
<HeroImage src="https://s3.fr-par.scw.cloud/typebot/public/typebots/rxp84mn10va5iqek63enrg99/blocks/yfazs53p6coxe4u3tbbvkl0m" />
|
||||
<HeroImage
|
||||
src={`${env.NEXTAUTH_URL}/images/yourMagicLinkBanner.png`}
|
||||
/>
|
||||
</MjmlColumn>
|
||||
</MjmlSection>
|
||||
<MjmlSection padding="0 24px" cssClass="smooth">
|
||||
|
@ -11,6 +11,7 @@ import { Button, Head, HeroImage, Text } from '../components'
|
||||
import { parseNumberWithCommas } from '@typebot.io/lib'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
import { env } from '@typebot.io/env'
|
||||
|
||||
type ReachedChatsLimitEmailProps = {
|
||||
chatsLimit: number
|
||||
@ -29,7 +30,9 @@ export const ReachedChatsLimitEmail = ({
|
||||
<MjmlBody width={600}>
|
||||
<MjmlSection padding="0">
|
||||
<MjmlColumn>
|
||||
<HeroImage src="https://typebot.s3.fr-par.scw.cloud/public/assets/actionRequiredEmailBanner.png" />
|
||||
<HeroImage
|
||||
src={`${env.NEXTAUTH_URL}/images/actionRequiredBanner.png`}
|
||||
/>
|
||||
</MjmlColumn>
|
||||
</MjmlSection>
|
||||
<MjmlSection padding="0 24px" cssClass="smooth">
|
||||
|
@ -10,6 +10,7 @@ import { render } from '@faire/mjml-react/utils/render'
|
||||
import { HeroImage, Text, Button, Head } from '../components'
|
||||
import { SendMailOptions } from 'nodemailer'
|
||||
import { sendEmail } from '../sendEmail'
|
||||
import { env } from '@typebot.io/env'
|
||||
|
||||
type WorkspaceMemberInvitationProps = {
|
||||
workspaceName: string
|
||||
@ -29,7 +30,7 @@ export const WorkspaceMemberInvitation = ({
|
||||
<MjmlBody width={600}>
|
||||
<MjmlSection padding="0">
|
||||
<MjmlColumn>
|
||||
<HeroImage src="https://typebot.s3.eu-west-3.amazonaws.com/assets/invitation-banner.png" />
|
||||
<HeroImage src={`${env.NEXTAUTH_URL}/images/invitationBanner.png`} />
|
||||
</MjmlColumn>
|
||||
</MjmlSection>
|
||||
<MjmlSection padding="0 24px" cssClass="smooth">
|
||||
|
Reference in New Issue
Block a user