Skip to content
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
2 changes: 1 addition & 1 deletion apps/web/components/bento-grid/inline-styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>Coffee Storage</Preview>
<Body>
<Preview>Coffee Storage</Preview>
<Container
style={{
backgroundColor: 'rgb(255,255,255)',
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/bento-grid/tailwind.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>Coffee Storage</Preview>
<Body>
<Preview>Coffee Storage</Preview>
<Container className="bg-white rounded-[8px] mx-auto max-w-[900px] overflow-hidden p-0">
<Section>
<Row className="bg-[rgb(41,37,36)] border-separate [border-spacing:24px] m-0 table-fixed w-full">
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/customer-reviews/inline-styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>Customer Reviews</Preview>
<Body>
<Preview>Customer Reviews</Preview>
<Container
style={{
backgroundColor: 'rgb(255,255,255)',
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/customer-reviews/tailwind.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>Customer Reviews</Preview>
<Body>
<Preview>Customer Reviews</Preview>
<Container className="mx-auto max-w-[400px] rounded-[8px] bg-white px-[42px] py-[24px]">
<Section>
<Heading as="h1" className="text-[24px] leading-[32px]">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>How Our Service Works: 5 Simple Steps</Preview>
<Body
style={{
backgroundColor: 'rgb(255,255,255)',
}}
>
<Preview>How Our Service Works: 5 Simple Steps</Preview>
<Container
style={{
backgroundColor: 'rgb(255,255,255)',
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/list-with-image-on-left/tailwind.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>How Our Service Works: 5 Simple Steps</Preview>
<Body className="bg-white">
<Preview>How Our Service Works: 5 Simple Steps</Preview>
<Container className="mx-auto max-w-[600px] rounded-[8px] bg-white px-[24px] pt-[24px] pb-0">
<Heading
as="h1"
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/simple-list/inline-styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>Top 5 Features of Our Service</Preview>
<Body>
<Preview>Top 5 Features of Our Service</Preview>
<Container
style={{
backgroundColor: 'rgb(255,255,255)',
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/simple-list/tailwind.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>Top 5 Features of Our Service</Preview>
<Body>
<Preview>Top 5 Features of Our Service</Preview>
<Container className="mx-auto max-w-[600px] rounded-[8px] bg-white p-[24px]">
<Heading className="mb-[42px] text-center text-[24px] leading-[32px]">
Top 5 Features of Our Service
Expand Down
6 changes: 3 additions & 3 deletions apps/web/components/simple-pricing-table/inline-styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>
Exclusive Offer Just For You: Unlock Premium Features at $12/month
</Preview>
<Body>
<Preview>
Exclusive Offer Just For You: Unlock Premium Features at $12/month
</Preview>
<Container
style={{
backgroundColor: 'rgb(255,255,255)',
Expand Down
6 changes: 3 additions & 3 deletions apps/web/components/simple-pricing-table/tailwind.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>
Exclusive Offer Just For You: Unlock Premium Features at $12/month
</Preview>
<Body>
<Preview>
Exclusive Offer Just For You: Unlock Premium Features at $12/month
</Preview>
<Container className="bg-white rounded-[12px] mx-auto max-w-[500px] p-[24px]">
<Section className="bg-white border border-solid border-gray-300 rounded-[12px] text-gray-600 p-[28px] w-full text-left mb-0">
<Text className="text-indigo-600 text-[12px] leading-[20px] font-semibold tracking-wide mb-[16px] mt-[16px] uppercase">
Expand Down
8 changes: 4 additions & 4 deletions apps/web/components/simple-rating-survey/inline-styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>
How satisfied were you overall with the initial conversation about your
claim?
</Preview>
<Body>
<Preview>
How satisfied were you overall with the initial conversation about your
claim?
</Preview>
<Container
style={{
backgroundColor: 'rgb(255,255,255)',
Expand Down
8 changes: 4 additions & 4 deletions apps/web/components/simple-rating-survey/tailwind.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>
How satisfied were you overall with the initial conversation about your
claim?
</Preview>
<Body>
<Preview>
How satisfied were you overall with the initial conversation about your
claim?
</Preview>
<Container className="mx-auto max-w-[600px] rounded-[8px] bg-white px-[42px] py-[24px]">
<Heading className="mb-[16px] text-[24px] leading-[32px]">
How satisfied were you overall with the initial conversation about
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>Choose the right plan for you</Preview>
<Body>
<Preview>Choose the right plan for you</Preview>
<Container
style={{
backgroundColor: 'rgb(255,255,255)',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import { Layout } from '../_components/layout';
export const component = (
<Html>
<Head />
<Preview>Choose the right plan for you</Preview>
<Body>
<Preview>Choose the right plan for you</Preview>
<Container className="bg-white rounded-[8px] mx-auto max-w-[600px] p-[24px]">
<Section className="mb-[42px]">
<Heading className="text-[24px] leading-[32px] mb-[12px] text-center">
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/tailwind-component/src/emails/with-tailwind.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export const GooglePlayPolicyUpdateEmailWithTailwind = ({
>
<Html>
<Head />
<Preview>Google Play developers</Preview>
<Body className="bg-[#dbddde] font-main">
<Preview>Google Play developers</Preview>
<Container className="mx-auto my-7 w-[610px] overflow-hidden rounded-md bg-white">
<Section>
<Row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const baseUrl = process.env.VERCEL_URL
export const GooglePlayPolicyUpdateEmail = () => (
<Html>
<Head />
<Preview>Google Play developers</Preview>
<Body style={main}>
<Preview>Google Play developers</Preview>
<Container style={container}>
<Section>
<Row>
Expand Down
4 changes: 3 additions & 1 deletion examples/resend/transactional/emails/waitlist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ export const WaitlistEmail: React.FC<Readonly<WaitlistEmailProps>> = ({
}) => (
<Html>
<Head />
<Preview>Thank you for joining our waitlist and for your patience</Preview>
<Body style={main}>
<Preview>
Thank you for joining our waitlist and for your patience
</Preview>
<Container style={container}>
<Heading style={h1}>Coming Soon.</Heading>
<Text style={text}>
Expand Down
4 changes: 3 additions & 1 deletion examples/scaleway/next/transactional/emails/waitlist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ export const WaitlistEmail: React.FC<Readonly<WaitlistEmailProps>> = ({
}) => (
<Html>
<Head />
<Preview>Thank you for joining our waitlist and for your patience</Preview>
<Body style={main}>
<Preview>
Thank you for joining our waitlist and for your patience
</Preview>
<Container style={container}>
<Heading style={h1}>Coming Soon.</Heading>
<Text style={text}>
Expand Down
2 changes: 1 addition & 1 deletion examples/scaleway/node/src/email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export const Email: FC<Readonly<EmailProps>> = ({
return (
<Html lang="en">
<Head />
<Preview>{previewText}</Preview>
<Body>
<Preview>{previewText}</Preview>
<Container>
<Section>
<Img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export const NotionMagicLinkEmail = ({
}: NotionMagicLinkEmailProps) => (
<Html>
<Head />
<Preview>Log in with this magic link</Preview>
<Body style={main}>
<Preview>Log in with this magic link</Preview>
<Container style={container}>
<Heading style={h1}>Login</Heading>
<Link
Expand Down
2 changes: 1 addition & 1 deletion packages/create-email/template/emails/stripe-welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const baseUrl = process.env.VERCEL_URL
export const StripeWelcomeEmail = () => (
<Html>
<Head />
<Preview>You're now ready to make live transactions with Stripe!</Preview>
<Body style={main}>
<Preview>You're now ready to make live transactions with Stripe!</Preview>
<Container style={container}>
<Section style={box}>
<Img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ export const VercelInviteUserEmail = ({
return (
<Html>
<Head />
<Preview>{previewText}</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white px-2 font-sans">
<Preview>{previewText}</Preview>
<Container className="mx-auto my-[40px] max-w-[465px] rounded border border-[#eaeaea] border-solid p-[20px]">
<Section className="mt-[32px]">
<Img
Expand Down
Loading