From ac4d04220dff9937d8764361831feef685482863 Mon Sep 17 00:00:00 2001
From: "Jason R. Stevens, CFA"
Date: Sat, 16 Mar 2024 17:19:54 -0600
Subject: [PATCH 1/2] :sparkles: add open-in-tab for ad preview
---
src/components/AdDisplay/AdDisplay.tsx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/components/AdDisplay/AdDisplay.tsx b/src/components/AdDisplay/AdDisplay.tsx
index a1f35d3..64080b7 100644
--- a/src/components/AdDisplay/AdDisplay.tsx
+++ b/src/components/AdDisplay/AdDisplay.tsx
@@ -31,7 +31,11 @@ function Ad({
)}
-
+
{mediaUrlType === 'image' ? (
{target || `https://tincre.dev/promo`}
From e820b7ac7f7b3d5462547ef2b53636118fb4b0c4 Mon Sep 17 00:00:00 2001
From: "Jason R. Stevens, CFA"
Date: Sat, 16 Mar 2024 17:47:00 -0600
Subject: [PATCH 2/2] :bug: fix .mov display bug for quicktime video formats
---
src/components/AdDisplay/AdDisplay.tsx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/components/AdDisplay/AdDisplay.tsx b/src/components/AdDisplay/AdDisplay.tsx
index 64080b7..f2dd73a 100644
--- a/src/components/AdDisplay/AdDisplay.tsx
+++ b/src/components/AdDisplay/AdDisplay.tsx
@@ -53,6 +53,12 @@ function Ad({
className="promo-button-ad-display-video"
>
+ {secure_url.endsWith('.mov') ? (
+
+ ) : null}
)}