Skip to content

🎥 Make videos programmatically with React

Left-align license questions animation

JonnyBurgerd38957296267
diff --git a/packages/brand/src/HomepageAssets/LicenseQuestionsGraphic.tsx b/packages/brand/src/HomepageAssets/LicenseQuestionsGraphic.tsx
index 708e94af39..84f0e2506f 100644
--- a/packages/brand/src/HomepageAssets/LicenseQuestionsGraphic.tsx
+++ b/packages/brand/src/HomepageAssets/LicenseQuestionsGraphic.tsx
@@ -34,14 +34,14 @@ export const LicenseQuestionsGraphic: React.FC = () => {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
})}
- x="379"
+ x="274"
y="500"
/>
</clipPath>
</defs>
<g clipPath="url(#license-line-reveal)">
<path
- d="M385 540H695"
+ d="M280 540H590"
fill="none"
stroke="black"
strokeDasharray="28 28"
@@ -63,7 +63,7 @@ export const LicenseQuestionsGraphic: React.FC = () => {
name="Mehmet avatar"
style={{
height: 280,
- left: 695,
+ left: 590,
opacity: interpolate(frame, [23, 24, 158, 168], [0, 1, 1, 0], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
@@ -144,7 +144,7 @@ export const LicenseQuestionsGraphic: React.FC = () => {
display: 'flex',
height: 280,
justifyContent: 'center',
- left: 105,
+ left: 0,
position: 'absolute',
rotate: interpolate(
frame,
diff --git a/packages/docs/static/img/license-questions.mp4 b/packages/docs/static/img/license-questions.mp4
index 4df9ce8306..e8369c771f 100644
Binary files a/packages/docs/static/img/license-questions.mp4 and b/packages/docs/static/img/license-questions.mp4 differ
diff --git a/packages/docs/static/img/license-questions.webm b/packages/docs/static/img/license-questions.webm
index 3ee8d49117..0dd149606e 100644
Binary files a/packages/docs/static/img/license-questions.webm and b/packages/docs/static/img/license-questions.webm differ
diff --git a/packages/promo-pages/public/img/license-questions.mp4 b/packages/promo-pages/public/img/license-questions.mp4
index 4df9ce8306..e8369c771f 100644
Binary files a/packages/promo-pages/public/img/license-questions.mp4 and b/packages/promo-pages/public/img/license-questions.mp4 differ
diff --git a/packages/promo-pages/public/img/license-questions.webm b/packages/promo-pages/public/img/license-questions.webm
index 3ee8d49117..0dd149606e 100644
Binary files a/packages/promo-pages/public/img/license-questions.webm and b/packages/promo-pages/public/img/license-questions.webm differ