Skip to content

Create professional demos and 3D mockups in seconds, directly in your browser

feat: update DailyTipEmail component with improved styling and new banner image

CristianOlivera1f9079763b2a8
diff --git a/components/emails/DailyTipEmail.tsx b/components/emails/DailyTipEmail.tsx
index 3c05419..b197b72 100644
--- a/components/emails/DailyTipEmail.tsx
+++ b/components/emails/DailyTipEmail.tsx
@@ -29,71 +29,77 @@ export default function DailyTipEmail({ firstName }: DailyTipEmailProps) {
<Tailwind>
<Head />
<Preview>A quick tip to make your product demos look way better.</Preview>
-
- <Body className="my-auto mx-auto font-sans text-gray-200">
- <Container className="border border-solid border-[#222222] bg-[#000000] rounded-md my-[40px] mx-auto p-[40px] max-w-[480px]">
-
- <Section className="mb-[32px]">
+ <Body className="bg-[#f9fafb] my-auto mx-auto font-sans text-[#111827]">
+ <Container className="border border-solid border-[#e5e7eb] bg-white rounded-xl my-10 mx-auto p-8 max-w-[480px]">
+ <Section className="mb-6">
<Img
- src="https://openvid.dev/images/pages/openvid.svg"
+ src="https://openvid.dev/svg/openvid-complete-light.svg"
height="32"
alt="Openvid Logo"
className="block"
/>
</Section>
- <Heading className="text-white text-[24px] font-semibold p-0 my-[24px] mx-0">
+ <Section className="mb-6">
+ <Img
+ src="https://openvid.dev/images/pages/banner-email.webp"
+ width="414"
+ height="233"
+ alt="3D Mockup Editor Preview"
+ className="block w-full rounded-lg border border-solid border-[#f3f4f6] object-cover"
+ />
+ </Section>
+
+ <Heading className="text-[#111827] text-[24px] font-medium p-0 mb-6 mx-0 tracking-tight">
Ready for your next demo?
</Heading>
- <Text className="text-gray-300 text-[14px] leading-[24px]">
+ <Text className="text-[#4b5563] text-[15px] leading-relaxed mb-4">
{greeting}
</Text>
-
- <Text className="text-gray-300 text-[14px] leading-[24px]">
- Next time you jump into the editor, try placing your recording inside one of our 3D mockups and add a camera pan. It only takes a couple of clicks, but the final output looks incredibly professional.
+ <Text className="text-[#4b5563] text-[15px] leading-relaxed mb-4">
+ Next time you jump into the editor, try placing your recording inside
+ one of our 3D mockups and add a camera pan. It only takes a couple of
+ clicks, but the final output looks incredibly professional.
</Text>
-
- <Text className="text-gray-300 text-[14px] leading-[24px]">
- The best part is that everything runs directly in your browser, so you can export the final result in 4K within seconds.
+ <Text className="text-[#4b5563] text-[15px] leading-relaxed mb-6">
+ The best part is that everything runs directly in your browser, so you
+ can export the final result in 4K within seconds.
</Text>
- <Section className="mt-[32px] mb-[32px]">
+ <Section className="mb-8 mt-2">
<Button
href="https://openvid.dev/en/editor"
- className="bg-white rounded-md text-black text-[14px] font-semibold no-underline px-[20px] py-[12px] block text-center transition-opacity hover:opacity-80"
+ className="bg-[#111827] rounded-lg text-white text-[14px] font-medium no-underline px-6 py-3 block text-center"
>
Open the editor
</Button>
</Section>
- <Hr className="border border-solid border-[#222222] my-[24px] mx-0 w-full" />
+ <Hr className="border border-solid border-[#e5e7eb] my-6 mx-0 w-full" />
<Section>
<Row>
<Column align="left">
<Link
- style={{ color: "#9ca3af" }}
- className="text-gray-400 text-[12px] underline transition-colors hover:text-gray-300"
href="https://openvid.dev/en"
+ className="text-[#6b7280] text-[13px] underline-offset-4 hover:text-[#374151] transition-colors"
>
Website
</Link>
</Column>
<Column align="center">
<Link
- style={{ color: "#9ca3af" }}
- className="text-gray-400 text-[12px] underline transition-colors hover:text-gray-300"
href="https://discord.com/invite/aBu5A2tBXb"
+ className="text-[#6b7280] text-[13px] underline-offset-4 hover:text-[#374151] transition-colors"
>
Discord
</Link>
</Column>
<Column align="right">
<Link
- style={{ color: "#9ca3af" }}
- className="text-gray-400 text-[12px] underline transition-colors hover:text-gray-300"
href="https://github.com/CristianOlivera1/openvid"
+ className="text-[#6b7280] text-[13px] underline-offset-4 hover:text-[#374151] transition-colors"
>
GitHub
</Link>
@@ -105,4 +111,4 @@ export default function DailyTipEmail({ firstName }: DailyTipEmailProps) {
</Tailwind>
</Html>
);
-}
+}
\ No newline at end of file
diff --git a/public/images/pages/banner-email.webp b/public/images/pages/banner-email.webp
new file mode 100644
index 0000000..e892add
Binary files /dev/null and b/public/images/pages/banner-email.webp differ