🎥 Make videos programmatically with React
Move 3DCheck composition to brand package
Jonny Burgerb4eed515e8df
diff --git a/packages/example/src/3DCheck/index.tsx b/packages/brand/src/3DCheck/index.tsxsimilarity index 98%rename from packages/example/src/3DCheck/index.tsxrename to packages/brand/src/3DCheck/index.tsxindex cf0b2817f3..39b3f64323 100644--- a/packages/example/src/3DCheck/index.tsx+++ b/packages/brand/src/3DCheck/index.tsx@@ -69,7 +69,7 @@ const Comp = () => {fill="none"xmlns="http://www.w3.org/2000/svg">- <g clip-path="url(#clip0_24_162)">+ <g clipPath="url(#clip0_24_162)"><pathd="M0 98.5C0 44.0941 44.0941 0 98.5 0C152.906 0 197 44.0941 197 98.5C197 152.906 152.906 197 98.5 197C44.0941 197 0 152.906 0 98.5ZM143.056 81.4934C147.25 77.2994 147.25 70.4506 143.056 66.2566C138.862 62.0627 132.013 62.0627 127.819 66.2566L86.1875 107.888L69.1809 90.8816C64.9869 86.6877 58.1381 86.6877 53.9441 90.8816C49.7502 95.0756 49.7502 101.924 53.9441 106.118L78.5691 130.743C82.7631 134.937 89.6119 134.937 93.8059 130.743L143.056 81.4934Z"fill="#0B84F3"diff --git a/packages/brand/src/Root.tsx b/packages/brand/src/Root.tsxindex f036b33bf6..e6b1b1359b 100644--- a/packages/brand/src/Root.tsx+++ b/packages/brand/src/Root.tsx@@ -4,6 +4,7 @@ import {AnimatedLogo} from './animated-logo/AnimatedLogo';import {AnimatedLogoStringer} from './animated-logo/AnimatedLogoStinger';import {AnimatedMaster} from './animated-logo/AnimatedMaster';import {ExplodingLogo} from './animated-logo/ExplodingLogo';+import {ThreeDCheck} from './3DCheck';import {AppIcons} from './AppIcons';import {ApplicationRenderButton,@@ -786,6 +787,14 @@ export const RemotionRoot: React.FC = () => {/></Folder><Folder name="brand-assets">+ <Composition+ id="3DCheck"+ component={ThreeDCheck}+ width={1080}+ height={1080}+ fps={30}+ durationInFrames={1000}+ /><Compositionid="logo-horn"component={LogoHorn}diff --git a/packages/example/src/Root.tsx b/packages/example/src/Root.tsxindex 7c6a88a94e..039a5d3d65 100644--- a/packages/example/src/Root.tsx+++ b/packages/example/src/Root.tsx@@ -197,7 +197,6 @@ const INCLUDE_COMP_BREAKING_GET_COMPOSITIONS = false;import {parseMedia} from '@remotion/media-parser';import {zMatrix} from '@remotion/zod-types';-import {ThreeDCheck} from './3DCheck';import {ThreeDContext} from './3DContext';import {ThreeDSvgContent} from './3DSvgContent';import {AnimatedImages} from './AnimatedImage/Avif';@@ -2504,14 +2503,6 @@ export const Index: React.FC = () => {<Still id="Emojis" component={EmojiTestbed} height={800} width={1024} /><Still id="HugeImage" component={HugeImage} height={9000} width={9000} /><Folder name="3DEngine">- <Composition- id="3DCheck"- component={ThreeDCheck}- width={1080}- height={1080}- fps={30}- durationInFrames={1000}- /><Compositionid="3DContext"component={ThreeDContext}