🎥 Make videos programmatically with React
`@remotion/brand`: Add SVG logo banners (#9165)
Jonny Burgerf63371cbac42
diff --git a/packages/brand/src/SvgLogos/Banner.tsx b/packages/brand/src/SvgLogos/Banner.tsxnew file mode 100644index 0000000000..9e5873ca85--- /dev/null+++ b/packages/brand/src/SvgLogos/Banner.tsx@@ -0,0 +1,145 @@+import {Interactive} from 'remotion';++export const Banner = ({+ theme,+ withBackground,+}: {+ readonly theme: 'light' | 'dark';+ readonly withBackground: boolean;+}) => {+ const foregroundColor = theme === 'light' ? 'black' : 'white';+ const backgroundColor = theme === 'light' ? 'white' : 'black';+ const markColor = theme === 'light' ? '#0B84F3' : 'white';++ return (+ <Interactive.Svg+ name="Remotion banner"+ width={2000}+ height={800}+ viewBox="0 0 2000 800"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ style={{display: 'block'}}+ >+ {withBackground ? (+ <rect width={2000} height={800} fill={backgroundColor} />+ ) : null}+ <path+ d="M1266.38 359.572C1298.97 359.572 1326.27 386.765 1326.27 421.418C1326.27 456.071 1298.97 483.264 1266.38 483.264C1233.79 483.264 1206.48 456.071 1206.48 421.418C1206.48 386.765 1233.79 359.572 1266.38 359.572Z"+ stroke={foregroundColor}+ strokeWidth={44.8018}+ />+ <circle+ cx={1619.92}+ cy={421.418}+ r={61.846}+ stroke={foregroundColor}+ strokeWidth={44.8018}+ />+ <path+ d="M944.485 483.264V406.764C944.485 380.163 966.05 358.598 992.651 358.598C1019.25 358.598 1040.82 380.163 1040.82 406.764V483.264"+ stroke={foregroundColor}+ strokeWidth={44.8018}+ strokeLinecap="square"+ />+ <path+ d="M1041.44 483.264V406.764C1041.44 380.163 1063 358.598 1089.6 358.598C1116.21 358.598 1137.77 380.163 1137.77 406.764V483.264"+ stroke={foregroundColor}+ strokeWidth={44.8018}+ strokeLinecap="square"+ />+ <path+ d="M1745.07 483.264V415.087C1745.07 384.427 1769.93 359.572 1800.59 359.572C1831.25 359.572 1856.1 384.427 1856.1 415.087V483.264"+ stroke={foregroundColor}+ strokeWidth={44.8018}+ strokeLinecap="square"+ />+ <path+ d="M1393.48 317.692L1393.48 483.264"+ stroke={foregroundColor}+ strokeWidth={44.8018}+ strokeLinecap="square"+ />+ <path+ d="M1491.85 359.572L1491.85 483.264"+ stroke={foregroundColor}+ strokeWidth={44.8018}+ strokeLinecap="square"+ />+ <path+ d="M1393.48 359.572L1433.41 359.572"+ stroke={foregroundColor}+ strokeWidth={44.8018}+ strokeLinecap="round"+ />+ <circle cx={1491.36} cy={296.752} r={21.9139} fill={foregroundColor} />+ <mask+ id="banner-light-mask-0"+ style={{maskType: 'alpha'}}+ maskUnits="userSpaceOnUse"+ x={730}+ y={337}+ width={168}+ height={168}+ >+ <circle+ cx={813.975}+ cy={420.931}+ r={64.2809}+ fill={foregroundColor}+ stroke={foregroundColor}+ strokeWidth={38.9581}+ />+ </mask>+ <g mask="url(#banner-light-mask-0)">+ <path+ d="M746.772 403.4H888.969C901.341 403.4 911.37 413.429 911.37 425.801V435.54H746.772V403.4Z"+ fill={foregroundColor}+ />+ </g>+ <mask+ id="banner-light-mask-1"+ style={{maskType: 'alpha'}}+ maskUnits="userSpaceOnUse"+ x={705}+ y={317}+ width={205}+ height={223}+ >+ <path+ d="M837.35 421.905H901.144L909.423 323.049L877.769 317.692L715.119 323.049L705.866 539.753H852.933L903.579 451.61H837.35V421.905Z"+ fill="black"+ />+ </mask>+ <g mask="url(#banner-light-mask-1)">+ <path+ d="M813.975 359.572C847.74 359.572 875.334 387.139 875.334 421.418C875.334 455.697 847.74 483.264 813.975 483.264C780.21 483.264 752.617 455.697 752.617 421.418C752.617 387.139 780.21 359.572 813.975 359.572Z"+ stroke={foregroundColor}+ strokeWidth={44.8018}+ />+ </g>+ <path+ d="M637.69 483.264V415.087C637.69 384.427 662.545 359.572 693.205 359.572"+ stroke={foregroundColor}+ strokeWidth={44.8018}+ strokeLinecap="square"+ />+ <g transform={theme === 'dark' ? 'translate(0 -1)' : undefined}>+ <path+ d="M253.407 237.954C246.603 238.324 241.119 239.403 235.594 241.506C232.838 242.543 228.321 244.801 225.835 246.364C215.437 252.884 207.51 262.685 203.377 274.092C202.553 276.351 200.323 283.552 198.888 288.51C189.328 321.65 183.902 357.887 182.737 396.241C182.552 402.349 182.552 416.895 182.737 422.904C183.518 448.331 185.947 471.286 190.351 494.696C192.14 504.171 195.01 516.899 196.672 522.68C200.067 534.428 206.999 544.428 216.857 551.758C223.463 556.673 230.963 559.968 239.273 561.588C243.279 562.369 248.563 562.724 252.455 562.468C257.839 562.113 268.521 560.679 277.2 559.13C316.321 552.156 352.459 539.669 385.23 521.799C405.983 510.478 423.725 498.219 440.842 483.346C457.902 468.545 472.448 452.621 485.247 434.751C488.216 430.617 489.708 428.202 491.199 425.162C495.034 417.321 496.838 409.523 496.824 400.801C496.824 392.676 495.29 385.459 491.98 378.073C490.389 374.507 488.869 371.95 485.46 367.092C472.903 349.208 458.968 333.625 441.979 318.483C415.643 295.016 384.363 275.768 349.433 261.521C341.862 258.438 334.404 255.725 325.426 252.784C306.42 246.577 282.896 241.193 262.995 238.508C259.87 238.082 255.623 237.841 253.407 237.954Z"+ fill={markColor}+ fillOpacity={0.3}+ />+ <path+ d="M229.984 194.036C221.337 194.505 214.369 195.877 207.347 198.549C203.845 199.866 198.104 202.737 194.945 204.722C181.731 213.008 171.658 225.464 166.405 239.96C165.358 242.83 162.524 251.982 160.701 258.282C148.552 300.397 141.656 346.447 140.176 395.187C139.941 402.95 139.941 421.435 140.176 429.071C141.169 461.383 144.256 490.555 149.852 520.305C152.126 532.345 155.773 548.52 157.885 555.867C162.199 570.796 171.009 583.504 183.537 592.819C191.931 599.065 201.462 603.253 212.022 605.311C217.113 606.304 223.828 606.755 228.774 606.43C235.616 605.979 249.191 604.155 260.221 602.188C309.936 593.324 355.859 577.457 397.505 554.748C423.879 540.36 446.426 524.782 468.178 505.881C489.858 487.071 508.343 466.835 524.608 444.126C528.381 438.873 530.276 435.804 532.172 431.941C537.046 421.976 539.338 412.066 539.32 400.982C539.32 390.656 537.371 381.486 533.165 372.099C531.143 367.568 529.211 364.319 524.879 358.145C508.921 335.418 491.212 315.615 469.622 296.372C436.154 266.55 396.404 242.09 352.014 223.984C342.393 220.066 332.916 216.618 321.507 212.882C297.353 204.993 267.46 198.151 242.169 194.74C238.198 194.198 232.8 193.891 229.984 194.036Z"+ fill={markColor}+ fillOpacity={0.15}+ />+ <path+ d="M277.65 283.507C272.757 283.773 268.814 284.549 264.84 286.061C262.858 286.807 259.61 288.431 257.822 289.555C250.344 294.244 244.644 301.292 241.671 309.495C241.079 311.119 239.475 316.299 238.443 319.864C231.568 343.696 227.666 369.756 226.828 397.337C226.696 401.73 226.696 412.191 226.828 416.512C227.39 434.797 229.137 451.306 232.304 468.141C233.591 474.954 235.655 484.107 236.85 488.265C239.291 496.713 244.276 503.905 251.366 509.176C256.116 512.71 261.51 515.08 267.486 516.245C270.367 516.807 274.167 517.062 276.966 516.878C280.837 516.623 288.519 515.591 294.761 514.478C322.894 509.462 348.882 500.483 372.449 487.632C387.374 479.49 400.133 470.674 412.443 459.978C424.711 449.334 435.172 437.882 444.376 425.031C446.511 422.059 447.584 420.322 448.656 418.136C451.414 412.497 452.712 406.889 452.701 400.617C452.701 394.773 451.598 389.584 449.218 384.272C448.074 381.708 446.981 379.869 444.529 376.375C435.499 363.514 425.477 352.308 413.26 341.418C394.32 324.542 371.826 310.701 346.706 300.454C341.262 298.238 335.898 296.287 329.442 294.172C315.774 289.708 298.857 285.836 284.546 283.906C282.298 283.599 279.244 283.425 277.65 283.507Z"+ fill={markColor}+ />+ </g>+ </Interactive.Svg>+ );+};diff --git a/packages/brand/src/SvgLogos/Logos.tsx b/packages/brand/src/SvgLogos/Logos.tsxindex 1e8396c424..1ddc44b659 100644--- a/packages/brand/src/SvgLogos/Logos.tsx+++ b/packages/brand/src/SvgLogos/Logos.tsx@@ -1,3 +1,6 @@+import {Interactive} from 'remotion';+import {Banner} from './Banner';+type CompactLogoProps = {readonly color: string;readonly onWhite: boolean;@@ -5,7 +8,8 @@ type CompactLogoProps = {const CompactLogo = ({color, onWhite}: CompactLogoProps) => {return (- <svg+ <Interactive.Svg+ name="Compact Remotion logo"width={410}height={425}viewBox="0 0 410 425"@@ -13,27 +17,21 @@ const CompactLogo = ({color, onWhite}: CompactLogoProps) => {xmlns="http://www.w3.org/2000/svg"style={{display: 'block'}}>- <path- d="M116.44 45.697C109.454 46.0762 103.824 47.1846 98.1503 49.3432C95.3208 50.4079 90.6828 52.7269 88.1304 54.3313C77.4543 61.0258 69.3159 71.0894 65.0717 82.8011C64.2257 85.1201 61.9359 92.5146 60.4628 97.6048C50.6472 131.631 45.0757 168.838 43.8798 208.217C43.6901 214.488 43.6901 229.423 43.8798 235.593C44.6819 261.7 47.1759 285.269 51.6973 309.305C53.535 319.033 56.4811 332.101 58.1876 338.037C61.6734 350.099 68.7908 360.367 78.9128 367.893C85.6948 372.939 93.3956 376.323 101.928 377.986C106.041 378.788 111.466 379.152 115.463 378.89C120.99 378.525 131.958 377.052 140.87 375.462C181.036 368.301 218.141 355.481 251.788 337.133C273.097 325.509 291.313 312.922 308.888 297.652C326.405 282.454 341.34 266.105 354.481 247.757C357.529 243.512 359.06 241.033 360.592 237.912C364.53 229.861 366.382 221.854 366.367 212.899C366.367 204.556 364.792 197.147 361.394 189.563C359.76 185.902 358.2 183.277 354.699 178.289C341.806 159.926 327.498 143.927 310.055 128.379C283.014 104.285 250.898 84.5221 215.034 69.8934C207.26 66.7285 199.603 63.9427 190.385 60.9237C170.871 54.55 146.718 49.0224 126.285 46.2658C123.076 45.8282 118.715 45.5803 116.44 45.697Z"- fill={onWhite ? 'none' : color}- fillOpacity={onWhite ? undefined : 0.2}- /><pathd="M92.3905 0.603638C83.5124 1.08554 76.358 2.49417 69.1481 5.2373C65.5523 6.59033 59.6583 9.53735 56.4148 11.5762C42.8474 20.0836 32.5051 32.8724 27.1115 47.7558C26.0365 50.7028 23.1266 60.0998 21.2546 66.5684C8.78078 109.81 1.70055 157.092 0.180713 207.135C-0.0602375 215.105 -0.0602375 234.084 0.180713 241.925C1.20012 275.102 4.36954 305.053 10.1153 335.599C12.4506 347.961 16.1946 364.568 18.3632 372.112C22.793 387.44 31.8379 400.488 44.7009 410.052C53.3195 416.465 63.1058 420.765 73.9485 422.878C79.1753 423.897 86.0702 424.361 91.1487 424.027C98.1733 423.564 112.111 421.692 123.436 419.672C174.48 410.571 221.632 394.279 264.392 370.963C291.471 356.19 314.621 340.195 336.955 320.789C359.215 301.476 378.194 280.699 394.894 257.382C398.768 251.989 400.714 248.838 402.66 244.872C407.665 234.64 410.018 224.465 410 213.085C410 202.483 407.998 193.067 403.68 183.429C401.604 178.777 399.62 175.441 395.172 169.102C378.788 145.767 360.605 125.434 338.438 105.676C304.074 75.0573 263.261 49.9428 217.685 31.3526C207.806 27.3306 198.075 23.7905 186.361 19.9538C161.562 11.8542 130.868 4.82956 104.901 1.32651C100.824 0.770477 95.2819 0.455353 92.3905 0.603638Z"fill={onWhite ? '#E7F3FE' : color}fillOpacity={onWhite ? undefined : 0.1}/>- {onWhite ? (- <path- d="M116.44 45.697C109.454 46.0762 103.824 47.1846 98.1503 49.3432C95.3208 50.4079 90.6828 52.7269 88.1304 54.3313C77.4543 61.0258 69.3159 71.0894 65.0717 82.8011C64.2257 85.1201 61.9359 92.5146 60.4628 97.6048C50.6472 131.631 45.0757 168.838 43.8798 208.217C43.6901 214.488 43.6901 229.423 43.8798 235.593C44.6819 261.7 47.1759 285.269 51.6973 309.305C53.535 319.033 56.4811 332.101 58.1876 338.037C61.6734 350.099 68.7908 360.367 78.9128 367.893C85.6948 372.939 93.3956 376.323 101.928 377.986C106.041 378.788 111.466 379.152 115.463 378.89C120.99 378.525 131.958 377.052 140.87 375.462C181.036 368.301 218.141 355.481 251.788 337.133C273.097 325.509 291.313 312.922 308.888 297.652C326.405 282.454 341.34 266.105 354.481 247.757C357.529 243.512 359.06 241.033 360.592 237.912C364.53 229.861 366.382 221.854 366.367 212.899C366.367 204.556 364.792 197.147 361.394 189.563C359.76 185.902 358.2 183.277 354.699 178.289C341.806 159.926 327.498 143.927 310.055 128.379C283.014 104.285 250.898 84.5221 215.034 69.8934C207.26 66.7285 199.603 63.9427 190.385 60.9237C170.871 54.55 146.718 49.0224 126.285 46.2658C123.076 45.8282 118.715 45.5803 116.44 45.697Z"- fill="#BBDDFC"- />- ) : null}+ <path+ d="M116.44 45.697C109.454 46.0762 103.824 47.1846 98.1503 49.3432C95.3208 50.4079 90.6828 52.7269 88.1304 54.3313C77.4543 61.0258 69.3159 71.0894 65.0717 82.8011C64.2257 85.1201 61.9359 92.5146 60.4628 97.6048C50.6472 131.631 45.0757 168.838 43.8798 208.217C43.6901 214.488 43.6901 229.423 43.8798 235.593C44.6819 261.7 47.1759 285.269 51.6973 309.305C53.535 319.033 56.4811 332.101 58.1876 338.037C61.6734 350.099 68.7908 360.367 78.9128 367.893C85.6948 372.939 93.3956 376.323 101.928 377.986C106.041 378.788 111.466 379.152 115.463 378.89C120.99 378.525 131.958 377.052 140.87 375.462C181.036 368.301 218.141 355.481 251.788 337.133C273.097 325.509 291.313 312.922 308.888 297.652C326.405 282.454 341.34 266.105 354.481 247.757C357.529 243.512 359.06 241.033 360.592 237.912C364.53 229.861 366.382 221.854 366.367 212.899C366.367 204.556 364.792 197.147 361.394 189.563C359.76 185.902 358.2 183.277 354.699 178.289C341.806 159.926 327.498 143.927 310.055 128.379C283.014 104.285 250.898 84.5221 215.034 69.8934C207.26 66.7285 199.603 63.9427 190.385 60.9237C170.871 54.55 146.718 49.0224 126.285 46.2658C123.076 45.8282 118.715 45.5803 116.44 45.697Z"+ fill={onWhite ? '#BBDDFC' : color}+ fillOpacity={onWhite ? undefined : 0.2}+ /><pathd="M141.332 92.4681C136.307 92.7408 132.259 93.5379 128.179 95.0902C126.144 95.8559 122.809 97.5236 120.973 98.6774C113.295 103.492 107.443 110.729 104.391 119.151C103.782 120.819 102.136 126.137 101.076 129.797C94.0174 154.267 90.0107 181.023 89.1506 209.343C89.0143 213.853 89.0143 224.593 89.1506 229.03C89.7275 247.804 91.5211 264.754 94.7725 282.039C96.0941 289.035 98.2128 298.433 99.44 302.702C101.947 311.376 107.065 318.76 114.344 324.172C119.221 327.801 124.759 330.235 130.895 331.43C133.853 332.007 137.755 332.269 140.629 332.081C144.604 331.818 152.491 330.759 158.9 329.616C187.786 324.466 214.469 315.246 238.666 302.052C253.99 293.692 267.09 284.641 279.729 273.659C292.326 262.73 303.066 250.972 312.516 237.777C314.708 234.725 315.81 232.942 316.911 230.698C319.743 224.908 321.075 219.15 321.064 212.71C321.064 206.71 319.932 201.382 317.488 195.928C316.313 193.295 315.191 191.407 312.674 187.82C303.402 174.615 293.112 163.109 280.568 151.928C261.122 134.601 238.026 120.389 212.235 109.869C206.644 107.593 201.138 105.589 194.509 103.418C180.475 98.8347 163.106 94.8595 148.411 92.8771C146.104 92.5625 142.968 92.3842 141.332 92.4681Z"fill={color}/>- </svg>+ </Interactive.Svg>);};@@ -43,7 +41,8 @@ type SquareBlueLogoProps = {const SquareBlueLogo = ({onWhite}: SquareBlueLogoProps) => {return (- <svg+ <Interactive.Svg+ name="Square blue Remotion logo"width={1024}height={1024}viewBox="0 0 1024 1024"@@ -68,33 +67,14 @@ const SquareBlueLogo = ({onWhite}: SquareBlueLogoProps) => {d="M404.816 310.99C396.398 311.447 389.614 312.783 382.777 315.384C379.368 316.667 373.779 319.461 370.703 321.395C357.839 329.461 348.032 341.588 342.918 355.701C341.898 358.495 339.139 367.405 337.364 373.539C325.536 414.541 318.823 459.375 317.381 506.827C317.153 514.384 317.153 532.38 317.381 539.815C318.348 571.273 321.353 599.674 326.802 628.638C329.016 640.36 332.566 656.107 334.622 663.26C338.823 677.795 347.399 690.167 359.596 699.236C367.768 705.317 377.048 709.394 387.329 711.398C392.285 712.364 398.823 712.804 403.639 712.487C410.3 712.048 423.516 710.273 434.254 708.357C482.655 699.728 527.365 684.28 567.911 662.17C593.587 648.163 615.538 632.996 636.716 614.595C657.823 596.282 675.82 576.581 691.655 554.472C695.328 549.358 697.173 546.37 699.019 542.609C703.764 532.908 705.996 523.259 705.978 512.468C705.978 502.415 704.08 493.487 699.985 484.348C698.017 479.937 696.137 476.774 691.919 470.763C676.382 448.636 659.142 429.357 638.122 410.622C605.538 381.588 566.839 357.774 523.622 340.147C514.255 336.333 505.028 332.976 493.921 329.338C470.405 321.658 441.302 314.997 416.679 311.676C412.813 311.148 407.558 310.85 404.816 310.99Z"fill="#0B84F3"/>- </svg>+ </Interactive.Svg>);};-export const LogoSvg = () => {- return <CompactLogo color="#0B84F3" onWhite={false} />;-};--export const LogoOnWhiteSvg = () => {- return <CompactLogo color="#0B84F3" onWhite />;-};--export const LogoWhiteSvg = () => {- return <CompactLogo color="white" onWhite={false} />;-};--export const LogoOnlySvg = () => {- return <SquareBlueLogo onWhite={false} />;-};--export const LogoOnlyOnWhiteSvg = () => {- return <SquareBlueLogo onWhite />;-};--export const LogoOnlyWhiteSvg = () => {+const SquareWhiteLogo = () => {return (- <svg+ <Interactive.Svg+ name="Square white Remotion logo"width={1024}height={1024}viewBox="0 0 1024 1024"@@ -116,6 +96,45 @@ export const LogoOnlyWhiteSvg = () => {d="M398.951 299.18C390.03 299.665 382.841 301.08 375.597 303.836C371.984 305.196 366.061 308.157 362.802 310.206C349.17 318.754 338.778 331.604 333.358 346.559C332.278 349.52 329.354 358.962 327.473 365.462C314.939 408.911 307.825 456.42 306.298 506.704C306.056 514.712 306.056 533.783 306.298 541.661C307.322 574.997 310.507 605.093 316.28 635.785C318.627 648.207 322.389 664.894 324.568 672.474C329.019 687.875 338.107 700.987 351.032 710.596C359.692 717.04 369.525 721.361 380.42 723.484C385.672 724.508 392.6 724.974 397.703 724.639C404.761 724.173 418.766 722.292 430.145 720.262C481.435 711.118 528.814 694.748 571.779 671.319C598.988 656.476 622.249 640.404 644.69 620.905C667.057 601.499 686.128 580.622 702.908 557.193C706.8 551.774 708.756 548.608 710.711 544.622C715.74 534.342 718.105 524.117 718.086 512.682C718.086 502.03 716.075 492.569 711.736 482.885C709.65 478.21 707.657 474.858 703.187 468.488C686.724 445.041 668.454 424.611 646.18 404.758C611.652 373.992 570.642 348.757 524.847 330.077C514.92 326.036 505.143 322.479 493.373 318.624C468.454 310.485 437.613 303.427 411.522 299.907C407.424 299.348 401.856 299.031 398.951 299.18Z"fill="white"/>- </svg>+ </Interactive.Svg>);};++export type SvgLogoVariant =+ | 'compact-blue'+ | 'compact-blue-on-white'+ | 'compact-white'+ | 'square-blue'+ | 'square-blue-on-white'+ | 'square-white'+ | 'banner-light'+ | 'banner-light-on-white'+ | 'banner-dark'+ | 'banner-dark-on-black';++export const SvgLogo = ({variant}: {readonly variant: SvgLogoVariant}) => {+ switch (variant) {+ case 'compact-blue':+ return <CompactLogo color="#0B84F3" onWhite={false} />;+ case 'compact-blue-on-white':+ return <CompactLogo color="#0B84F3" onWhite />;+ case 'compact-white':+ return <CompactLogo color="white" onWhite={false} />;+ case 'square-blue':+ return <SquareBlueLogo onWhite={false} />;+ case 'square-blue-on-white':+ return <SquareBlueLogo onWhite />;+ case 'square-white':+ return <SquareWhiteLogo />;+ case 'banner-light':+ return <Banner theme="light" withBackground={false} />;+ case 'banner-light-on-white':+ return <Banner theme="light" withBackground />;+ case 'banner-dark':+ return <Banner theme="dark" withBackground={false} />;+ case 'banner-dark-on-black':+ return <Banner theme="dark" withBackground />;+ default:+ throw new Error(`Unknown SVG logo variant: ${variant satisfies never}`);+ }+};diff --git a/packages/brand/src/SvgLogos/index.tsx b/packages/brand/src/SvgLogos/index.tsxindex 8821d9bcb3..5f673e29ec 100644--- a/packages/brand/src/SvgLogos/index.tsx+++ b/packages/brand/src/SvgLogos/index.tsx@@ -1,64 +1,75 @@import {Composition, Folder} from 'remotion';-import {- LogoOnlyOnWhiteSvg,- LogoOnlySvg,- LogoOnlyWhiteSvg,- LogoOnWhiteSvg,- LogoSvg,- LogoWhiteSvg,-} from './Logos';+import type {SvgLogoVariant} from './Logos';+import {SvgLogo} from './Logos';++const logos: readonly {+ readonly id: string;+ readonly variant: SvgLogoVariant;+ readonly width: number;+ readonly height: number;+}[] = [+ {id: 'SvgLogo', variant: 'compact-blue', width: 410, height: 425},+ {+ id: 'SvgLogoOnWhite',+ variant: 'compact-blue-on-white',+ width: 410,+ height: 425,+ },+ {id: 'SvgLogoWhite', variant: 'compact-white', width: 410, height: 425},+ {id: 'SvgLogoOnly', variant: 'square-blue', width: 1024, height: 1024},+ {+ id: 'SvgLogoOnlyOnWhite',+ variant: 'square-blue-on-white',+ width: 1024,+ height: 1024,+ },+ {+ id: 'SvgLogoOnlyWhite',+ variant: 'square-white',+ width: 1024,+ height: 1024,+ },+ {+ id: 'SvgBannerLight',+ variant: 'banner-light',+ width: 2000,+ height: 800,+ },+ {+ id: 'SvgBannerLightOnWhite',+ variant: 'banner-light-on-white',+ width: 2000,+ height: 800,+ },+ {+ id: 'SvgBannerDark',+ variant: 'banner-dark',+ width: 2000,+ height: 800,+ },+ {+ id: 'SvgBannerDarkOnBlack',+ variant: 'banner-dark-on-black',+ width: 2000,+ height: 800,+ },+];export const SvgLogoCompositions = () => {return (<Folder name="svg-logos">- <Composition- id="SvgLogo"- component={LogoSvg}- width={410}- height={425}- fps={30}- durationInFrames={1}- />- <Composition- id="SvgLogoOnWhite"- component={LogoOnWhiteSvg}- width={410}- height={425}- fps={30}- durationInFrames={1}- />- <Composition- id="SvgLogoWhite"- component={LogoWhiteSvg}- width={410}- height={425}- fps={30}- durationInFrames={1}- />- <Composition- id="SvgLogoOnly"- component={LogoOnlySvg}- width={1024}- height={1024}- fps={30}- durationInFrames={1}- />- <Composition- id="SvgLogoOnlyOnWhite"- component={LogoOnlyOnWhiteSvg}- width={1024}- height={1024}- fps={30}- durationInFrames={1}- />- <Composition- id="SvgLogoOnlyWhite"- component={LogoOnlyWhiteSvg}- width={1024}- height={1024}- fps={30}- durationInFrames={1}- />+ {logos.map((logo) => (+ <Composition+ key={logo.id}+ id={logo.id}+ component={SvgLogo}+ defaultProps={{variant: logo.variant}}+ width={logo.width}+ height={logo.height}+ fps={30}+ durationInFrames={1}+ />+ ))}</Folder>);};