@remotion/promo-pages 4.0.541 → 4.0.543
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Automate.js +21653 -21474
- package/dist/ExploreSection.js +4 -5
- package/dist/GetStartedCta.js +9667 -8968
- package/dist/Homepage.js +9849 -9150
- package/dist/components/3DEngine/Faces.js +1 -1
- package/dist/components/ExploreSection.js +3 -3
- package/dist/components/ManageTeamMembers.js +2 -4
- package/dist/components/automate/BuiltWithRemotionShowcase.js +1 -10
- package/dist/components/experts/ExpertsPage.js +1 -1
- package/dist/components/homepage/CommunityStatsItems.js +1 -1
- package/dist/components/homepage/Demo/Card.js +1 -1
- package/dist/components/homepage/Demo/DemoRender.d.ts +1 -1
- package/dist/components/homepage/Demo/EmojiCard.js +1 -1
- package/dist/components/homepage/Demo/PlayerVolume.js +1 -1
- package/dist/components/homepage/Demo/Spinner.js +1 -1
- package/dist/components/homepage/Demo/Temperature.js +1 -1
- package/dist/components/homepage/Demo/TrendingRepos.js +1 -1
- package/dist/components/homepage/EvaluateRemotion.js +1 -1
- package/dist/components/homepage/FreePricing.js +6 -6
- package/dist/components/homepage/GitHubButton.js +1 -1
- package/dist/components/homepage/HomepageHero.js +1 -1
- package/dist/components/homepage/IfYouKnowReact.js +3 -3
- package/dist/components/homepage/MakeVideosAgentically.js +1 -1
- package/dist/components/homepage/MakeVideosInteractively.js +1 -1
- package/dist/components/homepage/MakeVideosLinks.js +1 -1
- package/dist/components/homepage/MakeVideosProgrammatically.js +1 -1
- package/dist/components/homepage/Pricing.js +1 -1
- package/dist/components/homepage/StudioHandoffCanvas.js +1 -1
- package/dist/components/homepage/StudioHandoffTitle.js +1 -1
- package/dist/components/homepage/VideoApps.js +1 -1
- package/dist/components/homepage/automation-videos.d.ts +10 -10
- package/dist/components/homepage/layout/Button.js +4 -3
- package/dist/components/homepage/studio-handoff/app-icons.d.ts +43 -43
- package/dist/components/homepage/studio-handoff/draw-codex.js +1 -0
- package/dist/components/homepage/studio-handoff/primitives.d.ts +1 -1
- package/dist/components/homepage/studio-handoff/studio-icons.d.ts +30 -30
- package/dist/components/prompts/PromptsShow.js +1 -1
- package/dist/components/team/TrustSection.js +1 -1
- package/dist/components/template-modal-content.js +1 -1
- package/dist/components/templates.js +4 -4
- package/dist/design.js +9802 -9103
- package/dist/experts.js +7736 -6657
- package/dist/homepage/Pricing.js +9745 -9046
- package/dist/prompts/PromptsGallery.js +9705 -9006
- package/dist/prompts/PromptsShow.js +9689 -8990
- package/dist/prompts/PromptsSubmit.js +9668 -8969
- package/dist/team.js +9689 -8990
- package/dist/template-modal-content.js +9770 -9071
- package/dist/templates.js +9847 -9148
- package/package.json +14 -14
- package/dist/components/homepage/AutomationsSection.d.ts +0 -3
- package/dist/components/homepage/AutomationsSection.js +0 -85
- package/dist/components/icons/js.d.ts +0 -3
- package/dist/components/icons/js.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { threeDIntoSvgPath } from '@remotion/svg-3d-engine';
|
|
3
3
|
export const Faces = ({ elements, ...svgProps }) => {
|
|
4
4
|
return (_jsx(_Fragment, { children: elements.map(({ points, color, crispEdges }, idx) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
2
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect, useState } from 'react';
|
|
4
4
|
import { ExploreVideo } from './ExploreVideo';
|
|
5
5
|
import { SectionTitle } from './homepage/VideoAppsTitle';
|
|
@@ -25,7 +25,7 @@ const videoSources = {
|
|
|
25
25
|
'remotion.media': 'media-default-2026-10-28-98858a945958.mp4',
|
|
26
26
|
};
|
|
27
27
|
const imageSources = {
|
|
28
|
-
SDK: 'https://remotion.media/explore-remotion/sdk-code-
|
|
28
|
+
SDK: 'https://remotion.media/explore-remotion/sdk-code-dark-plus-2026-11-04-785159157fed.png',
|
|
29
29
|
};
|
|
30
30
|
export const ExploreSection = () => {
|
|
31
31
|
const [hoveredTitle, setHoveredTitle] = useState(null);
|
|
@@ -114,7 +114,7 @@ export const ExploreSection = () => {
|
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
title: 'Background removal',
|
|
117
|
-
href: '/docs/video-matting',
|
|
117
|
+
href: '/docs/video-matting-guide',
|
|
118
118
|
description: 'Separate layers locally using WebGPU',
|
|
119
119
|
},
|
|
120
120
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button, Input } from '@remotion/design';
|
|
3
3
|
import React, { useCallback, useState } from 'react';
|
|
4
4
|
function generateId() {
|
|
@@ -36,7 +36,5 @@ export const ManageTeamMembers = () => {
|
|
|
36
36
|
setLoading(false);
|
|
37
37
|
}, 1000);
|
|
38
38
|
}, []);
|
|
39
|
-
return (_jsxs(_Fragment, { children: [_jsx("h2", { children: "Manage team members" }), _jsx("p", { className: "font-brand", children: "Add a new team member to your team." }), displayedMembers.map((member, idx) => (
|
|
40
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
41
|
-
_jsxs(React.Fragment, { children: [_jsx(Row, { value: member.name, onChange: (val) => updateMember(idx, val), onDelete: idx < members.length ? () => deleteMember(idx) : undefined, disableDelete: idx >= members.length }), _jsx("div", { className: "h-2" })] }, idx))), _jsx("div", { className: "h-4" }), _jsx("div", { className: "flex flex-row justify-end", children: _jsx(Button, { className: "bg-brand text-white", loading: loading, onClick: save, children: "Save" }) })] }));
|
|
39
|
+
return (_jsxs(_Fragment, { children: [_jsx("h2", { children: "Manage team members" }), _jsx("p", { className: "font-brand", children: "Add a new team member to your team." }), displayedMembers.map((member, idx) => (_jsxs(React.Fragment, { children: [_jsx(Row, { value: member.name, onChange: (val) => updateMember(idx, val), onDelete: idx < members.length ? () => deleteMember(idx) : undefined, disableDelete: idx >= members.length }), _jsx("div", { className: "h-2" })] }, idx))), _jsx("div", { className: "h-4" }), _jsx("div", { className: "flex flex-row justify-end", children: _jsx(Button, { className: "bg-brand text-white", loading: loading, onClick: save, children: "Save" }) })] }));
|
|
42
40
|
};
|
|
@@ -23,15 +23,6 @@ const videoApps = [
|
|
|
23
23
|
muxId: 'pxqGEjlBBntnXrEe4v00pYUBw3FPgUPKumfhSym00Vs004',
|
|
24
24
|
buttonText: 'Submagic website',
|
|
25
25
|
},
|
|
26
|
-
{
|
|
27
|
-
title: 'Remotion Recorder',
|
|
28
|
-
description: 'The Remotion Recorder is a video production tool built entirely in JavaScript. Create high-quality videos that feel native on each platform while only editing them once.',
|
|
29
|
-
link: 'https://www.remotion.dev/recorder',
|
|
30
|
-
videoWidth: 1080,
|
|
31
|
-
videoHeight: 1080,
|
|
32
|
-
muxId: 'pHlwqDZFUH00Aubo9M001ty3gZ6YW8z689XTd9R479ayE',
|
|
33
|
-
buttonText: 'More infos',
|
|
34
|
-
},
|
|
35
26
|
{
|
|
36
27
|
title: 'GitHub Unwrapped',
|
|
37
28
|
description: 'Your coding year in review. Get a personalized video of your GitHub activity.',
|
|
@@ -113,7 +104,7 @@ const ShowcaseItem = ({ videoApp }) => {
|
|
|
113
104
|
} })) })] }), _jsxs("div", { className: 'p-6 min-[900px]:p-10 flex min-w-0 flex-col justify-center', children: [_jsx("div", { className: "text-3xl font-bold fontbrand mt-0", children: videoApp.title }), _jsx("div", { className: "text-muted mt-3 text-base fontbrand leading-relaxed", children: videoApp.description }), videoApp.additionalInfo ? (_jsx("div", { className: "text-muted mt-4 text-base fontbrand", children: videoApp.additionalInfo })) : null, _jsx("div", { className: "h-5" }), _jsxs("a", { className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center", href: videoApp.link, children: [videoApp.buttonText, _jsx(Arrow, {})] })] })] }) }));
|
|
114
105
|
};
|
|
115
106
|
export const BuiltWithRemotionShowcase = () => {
|
|
116
|
-
return (_jsxs("div", { children: [_jsx(SectionTitle, { children: "Built with Remotion" }),
|
|
107
|
+
return (_jsxs("div", { children: [_jsx(SectionTitle, { children: "Built with Remotion" }), _jsxs("div", { className: "mt-8 flex flex-col gap-8", children: [_jsxs("article", { className: "card grid gap-6 p-6 min-[900px]:grid-cols-[1fr_2fr] min-[900px]:gap-10 min-[900px]:p-10", "aria-labelledby": "trails-case-study", children: [_jsxs("div", { className: "fontbrand", children: [_jsx("h3", { id: "trails-case-study", className: "mt-0 mb-0 text-3xl font-bold", children: "Trails" }), _jsx("p", { className: "mt-3 mb-0 text-base leading-relaxed text-muted", children: "Process documentation and enterprise training." })] }), _jsxs("div", { className: "fontbrand text-base leading-relaxed min-[900px]:row-span-2", children: [_jsx("h4", { className: "mt-0 mb-3 text-xl font-bold", children: "Training videos that stay up to date" }), _jsx("p", { className: "mt-0 mb-4 text-muted", children: "Trails turns a screen capture into step-by-step guides and AI-narrated training videos, with Remotion powering the animations and rendering. When a process changes, users edit the affected steps and regenerate the video without recording it again." }), _jsx("p", { className: "mt-0 mb-5 text-muted", children: "Canary Technologies reported an 80\u201390% reduction in the time needed to create training resources with Trails and Remotion." }), _jsxs("figure", { className: "m-0", children: [_jsx("blockquote", { className: "m-0 border-0 p-0", children: "\u201CRemotion makes our entire product possible. It's the backbone of the value we provide to customers.\u201D" }), _jsx("figcaption", { className: "mt-3 text-sm text-muted", children: "Ryo Chiba, cofounder of Trails" })] })] }), _jsxs("a", { className: "no-underline text-brand fontbrand font-bold inline-flex items-center self-end justify-self-start min-[900px]:col-start-1 min-[900px]:row-start-2", href: "https://trails.so/", children: ["Trails website", _jsx(Arrow, {})] })] }), videoApps.map((videoApp) => (_jsx(ShowcaseItem, { videoApp: videoApp }, videoApp.title)))] }), _jsx("div", { style: {
|
|
117
108
|
marginTop: '1rem',
|
|
118
109
|
justifyContent: 'center',
|
|
119
110
|
display: 'flex',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { random } from 'remotion';
|
|
4
4
|
import { EmailLogo, GitHubLogo, LinkedInLogo, TwitterLogo, } from '../team/TeamCards';
|
|
@@ -3,6 +3,6 @@ const StatItem = ({ value, label, icon }) => (_jsxs("div", { className: "flex mi
|
|
|
3
3
|
export const InstallsPerMonth = () => (_jsx(StatItem, { value: "6M+", label: "installs/mo", icon: _jsx("svg", { width: "40", height: "40", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M0,16V0H16V16ZM3,3V13H8V5h3v8h2V3Z", fill: "currentColor" }) }) }));
|
|
4
4
|
export const PagesOfDocs = () => (_jsx(StatItem, { value: "1200", label: "pages of docs", icon: _jsx("svg", { width: "28", height: "40", viewBox: "0 0 640 640", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M96 128C96 92.7 124.7 64 160 64L496 64C522.5 64 544 85.5 544 112L544 432C544 452.9 530.6 470.7 512 477.3L512 544L528 544C536.8 544 544 551.2 544 560C544 568.8 536.8 576 528 576L160 576C124.7 576 96 547.3 96 512L96 512L96 128zM160 480C142.3 480 128 494.3 128 512C128 529.7 142.3 544 160 544L480 544L480 480L160 480zM128 456.6C137.4 451.2 148.3 448 160 448L496 448C504.8 448 512 440.8 512 432L512 112C512 103.2 504.8 96 496 96L160 96C142.3 96 128 110.3 128 128L128 456.6zM240 192L432 192C440.8 192 448 199.2 448 208C448 216.8 440.8 224 432 224L240 224C231.2 224 224 216.8 224 208C224 199.2 231.2 192 240 192zM240 288L432 288C440.8 288 448 295.2 448 304C448 312.8 440.8 320 432 320L240 320C231.2 320 224 312.8 224 304C224 295.2 231.2 288 240 288z", fill: "currentColor" }) }) }));
|
|
5
5
|
export const Since2021 = () => (_jsx(StatItem, { value: "2021", label: "since", icon: _jsx("svg", { width: "40", height: "40", viewBox: "7 0 410 425", preserveAspectRatio: "xMinYMid", className: "origin-left scale-75", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M99.3905 1.03656C90.5124 1.51846 83.358 2.92709 76.1481 5.67022C72.5523 7.02325 66.6583 9.97027 63.4148 12.0091C49.8474 20.5165 39.5051 33.3053 34.1115 48.1887C33.0365 51.1357 30.1266 60.5327 28.2546 67.0013C15.7808 110.243 8.70055 157.525 7.18071 207.568C6.93976 215.538 6.93976 234.517 7.18071 242.358C8.20012 275.535 11.3695 305.486 17.1153 336.032C19.4506 348.394 23.1946 365.001 25.3632 372.545C29.793 387.873 38.8379 400.921 51.7009 410.485C60.3195 416.898 70.1058 421.198 80.9485 423.311C86.1753 424.33 93.0702 424.794 98.1487 424.46C105.173 423.997 119.111 422.125 130.436 420.105C181.48 411.004 228.632 394.712 271.392 371.396C298.471 356.623 321.621 340.628 343.955 321.222C366.215 301.909 385.194 281.132 401.894 257.815C405.768 252.422 407.714 249.271 409.66 245.305C414.665 235.073 417.018 224.898 417 213.518C417 202.916 414.998 193.5 410.68 183.862C408.604 179.21 406.62 175.874 402.172 169.535C385.788 146.2 367.605 125.867 345.438 106.109C311.074 75.4902 270.261 50.3757 224.685 31.7855C214.806 27.7635 205.075 24.2234 193.361 20.3867C168.562 12.2871 137.868 5.26248 111.901 1.75943C107.824 1.20339 102.282 0.88827 99.3905 1.03656Z", fill: "currentColor" }) }) }));
|
|
6
|
-
export const GitHubStars = () => (_jsx(StatItem, { value: "
|
|
6
|
+
export const GitHubStars = () => (_jsx(StatItem, { value: "72K", label: "stars", icon: _jsx("svg", { width: "40", height: "40", viewBox: "0 0 1084 1084", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M542 0C242.545 0 0 242.545 0 542C0 781.835 155.147 984.408 370.592 1056.22C397.692 1060.97 407.855 1044.71 407.855 1030.48C407.855 1017.61 407.178 974.923 407.178 929.53C271 954.598 235.77 896.332 224.93 865.845C218.832 850.262 192.41 802.16 169.375 789.287C150.405 779.125 123.305 754.057 168.698 753.38C211.38 752.702 241.868 792.675 252.03 808.935C300.81 890.912 378.723 867.878 409.888 853.65C414.63 818.42 428.857 794.707 444.44 781.157C323.845 767.607 197.83 720.86 197.83 513.545C197.83 454.602 218.833 405.822 253.385 367.882C247.965 354.332 228.995 298.777 258.805 224.252C258.805 224.252 304.198 210.025 407.855 279.808C451.215 267.613 497.285 261.515 543.355 261.515C589.425 261.515 635.495 267.613 678.855 279.808C782.513 209.348 827.905 224.252 827.905 224.252C857.715 298.777 838.745 354.332 833.325 367.882C867.878 405.822 888.88 453.925 888.88 513.545C888.88 721.537 762.188 767.607 641.593 781.157C661.24 798.095 678.178 830.615 678.178 881.428C678.178 953.92 677.5 1012.19 677.5 1030.48C677.5 1044.71 687.663 1061.64 714.763 1056.22C822.365 1019.91 915.868 950.759 982.106 858.512C1048.34 766.264 1083.98 655.565 1084 542C1084 242.545 841.455 0 542 0Z", fill: "currentColor" }) }) }));
|
|
7
7
|
export const DiscordMembers = () => (_jsx(StatItem, { value: "12K+", label: "members", icon: _jsx("svg", { width: "61", height: "47", viewBox: "0 0 46 35", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M38.9978 2.95533C38.9843 2.93009 38.962 2.91064 38.9352 2.90065C35.955 1.53492 32.8101 0.560692 29.5791 0.00230404C29.55 -0.00300893 29.5201 0.00092017 29.4934 0.0135365C29.4667 0.0261528 29.4447 0.0468187 29.4304 0.0726144C29.0019 0.84938 28.6129 1.64724 28.2648 2.46316C24.7802 1.93495 21.2356 1.93495 17.7509 2.46316C17.4015 1.64523 17.0072 0.847165 16.5697 0.0726144C16.5546 0.0475873 16.5324 0.0275657 16.506 0.0150584C16.4795 0.00255114 16.45 -0.00188563 16.421 0.00230404C13.1844 0.558177 10.034 1.53248 7.04927 2.90065C7.0231 2.91173 7.00116 2.93089 6.98669 2.95533C1.02568 11.8535 -0.609293 20.5251 0.188637 29.0951C0.190896 29.1167 0.197628 29.1376 0.208402 29.1564C0.219177 29.1752 0.233759 29.1916 0.25122 29.2045C3.7235 31.7693 7.60667 33.7268 11.7352 34.9934C11.7648 35.0025 11.7966 35.0022 11.8261 34.9924C11.8556 34.9826 11.8812 34.9638 11.8994 34.9387C12.7852 33.7344 13.5702 32.4593 14.2463 31.1263C14.2553 31.108 14.2604 31.088 14.2613 31.0676C14.2622 31.0471 14.2589 31.0268 14.2516 31.0077C14.2442 30.9886 14.233 30.9713 14.2186 30.9567C14.2043 30.9422 14.1871 30.9308 14.1681 30.9232C12.9278 30.4486 11.7271 29.8765 10.5774 29.2123C10.5571 29.1999 10.54 29.1828 10.5277 29.1624C10.5154 29.142 10.5082 29.119 10.5067 29.0953C10.5051 29.0715 10.5093 29.0478 10.5189 29.026C10.5285 29.0042 10.5432 28.985 10.5617 28.9701C10.8042 28.7904 11.0468 28.6029 11.2736 28.4155C11.2936 28.3979 11.3182 28.3864 11.3445 28.3822C11.3708 28.3781 11.3978 28.3815 11.4222 28.392C18.9478 31.8216 27.0992 31.8216 34.5388 28.392C34.5625 28.3804 34.589 28.3757 34.6153 28.3785C34.6416 28.3813 34.6666 28.3914 34.6874 28.4076C34.9143 28.5951 35.1568 28.7904 35.3993 28.9701C35.4178 28.985 35.4325 29.0042 35.4421 29.026C35.4517 29.0478 35.4559 29.0715 35.4543 29.0953C35.4528 29.119 35.4456 29.142 35.4333 29.1624C35.421 29.1828 35.4039 29.1999 35.3836 29.2123C34.2369 29.8799 33.0357 30.4496 31.7929 30.9154C31.7739 30.923 31.7567 30.9344 31.7424 30.9489C31.728 30.9635 31.7168 30.9808 31.7095 30.9999C31.7021 31.019 31.6988 31.0393 31.6997 31.0597C31.7006 31.0801 31.7057 31.1001 31.7147 31.1185C32.4026 32.4449 33.187 33.7191 34.0616 34.9309C34.0798 34.956 34.1054 34.9748 34.1349 34.9846C34.1644 34.9944 34.1962 34.9947 34.2258 34.9856C38.3663 33.7246 42.2606 31.7669 45.7411 29.1967C45.7589 29.1841 45.7737 29.1679 45.7846 29.149C45.7954 29.1301 45.8019 29.109 45.8037 29.0873C46.758 19.1892 44.1922 10.5879 38.9978 2.95533ZM15.3728 23.8765C13.1042 23.8765 11.2423 21.7985 11.2423 19.2517C11.2423 16.7049 13.0729 14.619 15.3728 14.619C17.6962 14.619 19.5424 16.7127 19.5032 19.2439C19.5032 21.7985 17.6727 23.8765 15.3728 23.8765ZM30.6586 23.8765C28.39 23.8765 26.5282 21.7985 26.5282 19.2517C26.5282 16.7049 28.3509 14.619 30.6586 14.619C32.982 14.619 34.8282 16.7127 34.7891 19.2439C34.7891 21.7985 32.9742 23.8765 30.6586 23.8765Z", fill: "currentColor" }) }) }));
|
|
8
8
|
export const Contributors = () => (_jsx(StatItem, { value: "300+", label: "contributors", icon: _jsx("svg", { width: "60", height: "50", viewBox: "0 0 640 640", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M240 288C293 288 336 245 336 192C336 139 293 96 240 96C187 96 144 139 144 192C144 245 187 288 240 288zM119.6 400L65.4 576L31.9 576L95.9 368L383.9 368L447.9 576L414.4 576L360.2 400L119.5 400zM112 192C112 121.3 169.3 64 240 64C310.7 64 368 121.3 368 192C368 262.7 310.7 320 240 320C169.3 320 112 262.7 112 192zM393.5 278.1C404.9 284.4 418 288 432 288C476.2 288 512 252.2 512 208C512 163.8 476.2 128 432 128C422.8 128 413.9 129.6 405.7 132.4C402 122.2 397.5 112.5 392.1 103.3C404.5 98.6 418 96 432 96C493.9 96 544 146.1 544 208C544 269.9 493.9 320 432 320C411.3 320 391.9 314.4 375.3 304.6C382.1 296.4 388.3 287.5 393.5 278.2zM524.1 416L449 416L439.2 384L547.8 384L606.9 576L573.4 576L524.2 416z", fill: "currentColor" }) }) }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback, useRef } from 'react';
|
|
3
3
|
import { AbsoluteFill, spring } from 'remotion';
|
|
4
4
|
import { cardHeight, cardWidth, getIndexFromPosition, getInitialPositions, getPositionForIndex, } from './math';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, } from 'react';
|
|
3
3
|
import { AbsoluteFill, useRemotionEnvironment } from 'remotion';
|
|
4
4
|
import { DisplayedEmoji } from './DisplayedEmoji';
|
|
@@ -3,7 +3,7 @@ import { useCallback, useEffect, useRef, useState } from 'react';
|
|
|
3
3
|
import { PALETTE } from '../layout/colors';
|
|
4
4
|
import { IsMutedIcon, NotMutedIcon } from './icons';
|
|
5
5
|
export const PlayerVolume = ({ playerRef }) => {
|
|
6
|
-
const [muted, setIsMuted] = useState(() => { var _a
|
|
6
|
+
const [muted, setIsMuted] = useState(() => { var _a; var _b; return (_b = (_a = playerRef.current) === null || _a === void 0 ? void 0 : _a.isMuted()) !== null && _b !== void 0 ? _b : true; });
|
|
7
7
|
const [isHovered, setIsHovered] = useState(false);
|
|
8
8
|
const timerRef = useRef(null);
|
|
9
9
|
useEffect(() => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { PALETTE } from '../layout/colors';
|
|
4
4
|
const viewBox = 100;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { AbsoluteFill } from 'remotion';
|
|
3
3
|
import { TemperatureNumber } from './TemperatureNumber';
|
|
4
4
|
export const Temperature = ({ theme, city, temperatureInCelsius }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { AbsoluteFill, spring, useCurrentFrame, useVideoConfig } from 'remotion';
|
|
4
4
|
const TrendingRepoItem = ({ repo, theme, number }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useColorMode } from './layout/use-color-mode';
|
|
3
3
|
import { MakeVideosLinks } from './MakeVideosLinks';
|
|
4
4
|
import { useTransparentVideoSource } from './use-transparent-video-source';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Slider, Switch } from '@remotion/design';
|
|
3
3
|
import React, { useCallback, useMemo } from 'react';
|
|
4
4
|
import { cn } from '../../cn';
|
|
@@ -29,7 +29,7 @@ const textUnitWrapper = {
|
|
|
29
29
|
};
|
|
30
30
|
export const FreePricing = ({ termsHref, faqHref }) => {
|
|
31
31
|
const mobileLayout = useMobileLayout();
|
|
32
|
-
return (_jsx(Container, { children: _jsxs("div", { className: cn('flex gap-4', mobileLayout ? 'flex-col' : 'flex-row items-end justify-between'), children: [_jsxs("div", { className: mobileLayout ? undefined : 'flex-1 min-w-0', children: [_jsx(Audience, { children: "For individuals and companies of up to 3 people" }), _jsx(Title, { children: "Free License" }), _jsx(PricingBulletPoint, { text: "Create and automate", checked: true }), _jsx(PricingBulletPoint, { text: "All features included", checked: true }), _jsx(PricingBulletPoint, { text: "Unlimited commercial use", checked: true }), _jsx(PricingBulletPoint, { text: _jsxs(_Fragment, { children: [_jsx("a", { href: termsHref, className: "underline underline-offset-4 text-inherit font-brand", children: "Terms" }), ' ', "apply"] }), checked: false })] }), _jsx("div", { className: cn('flex flex-row justify-end shrink-0', mobileLayout && 'mt-4'), children: _jsx("div", { style: {
|
|
32
|
+
return (_jsx(Container, { children: _jsxs("div", { className: cn('flex gap-4', mobileLayout ? 'flex-col' : 'flex-row items-end justify-between'), children: [_jsxs("div", { className: mobileLayout ? undefined : 'flex-1 min-w-0', children: [_jsx(Audience, { children: "For individuals and companies of up to 3 people" }), _jsx(Title, { children: "Free License" }), _jsx(PricingBulletPoint, { text: "Create and automate", checked: true }), _jsx(PricingBulletPoint, { text: "All features included", checked: true }), _jsx(PricingBulletPoint, { text: "Unlimited commercial use", checked: true }), _jsx(PricingBulletPoint, { text: _jsxs(_Fragment, { children: [_jsx("a", { href: termsHref, target: termsHref.startsWith('http') ? '_blank' : undefined, rel: "noopener noreferrer", className: "underline underline-offset-4 text-inherit font-brand", children: "Terms" }), ' ', "apply"] }), checked: false })] }), _jsx("div", { className: cn('flex flex-row justify-end shrink-0', mobileLayout && 'mt-4'), children: _jsx("div", { style: {
|
|
33
33
|
...textUnitWrapper,
|
|
34
34
|
alignItems: 'flex-end',
|
|
35
35
|
}, children: _jsxs("a", { target: faqHref.startsWith('http') ? '_blank' : undefined, href: faqHref, className: "font-brand text-brand flex flex-row items-center gap-1 no-underline", children: ["Check eligibility", ' ', _jsx("svg", { style: icon, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", children: _jsx("path", { fill: "currentColor", d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z" }) })] }) }) })] }) }));
|
|
@@ -39,7 +39,7 @@ export const EnterpriseLicense = () => {
|
|
|
39
39
|
return (_jsx(Container, { children: _jsxs("div", { className: cn('flex gap-4', mobileLayout ? 'flex-col' : 'flex-row items-end justify-between'), children: [_jsxs("div", { className: mobileLayout ? undefined : 'flex-1 min-w-0', children: [_jsx(Audience, { children: "For advanced needs" }), _jsx(Title, { children: "Enterprise License" }), _jsx(PricingBulletPoint, { text: "Everything in Company License", checked: true }), _jsx(PricingBulletPoint, { text: "Private Slack, Discord, or Teams", checked: true }), _jsx(PricingBulletPoint, { text: "Monthly consulting session", checked: true }), _jsx(PricingBulletPoint, { text: "Custom terms, billing and pricing", checked: true }), _jsx(PricingBulletPoint, { text: "Compliance forms", checked: true }), _jsx(PricingBulletPoint, { text: "Prioritized feature requests", checked: true }), _jsx(PricingBulletPoint, { text: _jsxs("span", { children: [_jsx("a", { href: "https://www.remotion.dev/editor-starter", className: "underline underline-offset-4 text-inherit font-brand", children: "Editor Starter" }), ' ', "included"] }), checked: true })] }), _jsx("div", { className: cn('flex flex-row justify-end shrink-0', mobileLayout && 'mt-4'), children: _jsxs("div", { style: {
|
|
40
40
|
...textUnitWrapper,
|
|
41
41
|
alignItems: 'flex-end',
|
|
42
|
-
}, children: [_jsx(PriceTag, { children: _jsx("a", { className: "cursor-pointer no-underline text-inherit hover:text-brand", target: '_blank', href: "https://www.remotion.
|
|
42
|
+
}, children: [_jsx(PriceTag, { children: _jsx("a", { className: "cursor-pointer no-underline text-inherit hover:text-brand", target: '_blank', href: "https://www.remotion.dev/contact", children: "Contact us" }) }), _jsx("div", { className: 'text-[var(--subtitle)] fontbrand text-sm', children: "Starting at $500 per month" })] }) })] }) }));
|
|
43
43
|
};
|
|
44
44
|
const SEAT_PRICE = 25;
|
|
45
45
|
const RENDER_UNIT_PRICE = 10;
|
|
@@ -89,7 +89,7 @@ export const CompanyPricing = ({ purchaseHref, }) => {
|
|
|
89
89
|
transition: automatorsSelected
|
|
90
90
|
? 'grid-template-rows 150ms ease-out, opacity 150ms ease-out 75ms'
|
|
91
91
|
: 'opacity 150ms ease-out, grid-template-rows 150ms ease-out 75ms',
|
|
92
|
-
}, inert: !automatorsSelected, children: _jsxs("div", { className: "overflow-hidden pb-2", children: [_jsx("p", { className: "text-sm text-muted fontbrand pt-3 pb-1 text-balance", children: "For batch rendering and automated video products, such as video editors, prompt-to-video apps, and embedding the Remotion Player. Developers working on automation projects do not need a
|
|
92
|
+
}, inert: !automatorsSelected, children: _jsxs("div", { className: "overflow-hidden pb-2", children: [_jsx("p", { className: "text-sm text-muted fontbrand pt-3 pb-1 text-balance", children: "For batch rendering and automated video products, such as video editors, prompt-to-video apps, and embedding the Remotion Player. Developers working on automation projects do not need a Remotion for Creators seat." }), _jsxs("div", { className: "flex flex-row items-center gap-3 sm:gap-4 w-full pt-3 pb-1", children: [_jsx("div", { className: "flex-1 min-w-0", children: _jsx(Slider, { value: cloudRenders, onChange: setCloudRenders, min: 1000, max: 100000, step: 1000, unfilledColor: "var(--background)", "aria-label": "Number of renders" }) }), _jsxs("div", { className: "fontbrand shrink-0 whitespace-nowrap w-[135px] sm:w-[150px] text-left tabular-nums", children: [new Intl.NumberFormat('en-US').format(cloudRenders), " Renders"] }, `render-count-${cloudRenders}`), _jsxs("div", { className: "fontbrand font-bold min-w-[60px] text-right shrink-0 whitespace-nowrap tabular-nums", children: ["$", new Intl.NumberFormat('en-US', {
|
|
93
93
|
maximumFractionDigits: 0,
|
|
94
94
|
}).format(Math.ceil(cloudRenders / 1000) * RENDER_UNIT_PRICE)] }, `render-price-${cloudRenders}`)] })] }) }), _jsx("div", { className: "h-6" }), _jsx(SectionCheckbox, { checked: creatorsSelected, onChange: setCreatorsSelected, title: "Remotion for Creators", subtitle: _jsxs(_Fragment, { children: ["Create videos for our organization", _jsx("span", { children: mobileLayout ? _jsx("br", {}) : ' - ' }), "$25/mo per seat"] }) }), _jsx("div", { className: cn('grid ease-out', creatorsSelected
|
|
95
95
|
? 'grid-rows-[1fr] opacity-100'
|
|
@@ -97,7 +97,7 @@ export const CompanyPricing = ({ purchaseHref, }) => {
|
|
|
97
97
|
transition: creatorsSelected
|
|
98
98
|
? 'grid-template-rows 150ms ease-out, opacity 150ms ease-out 75ms'
|
|
99
99
|
: 'opacity 150ms ease-out, grid-template-rows 150ms ease-out 75ms',
|
|
100
|
-
}, inert: !creatorsSelected, children: _jsxs("div", { className: "overflow-hidden pb-2", children: [_jsx("p", { className: "text-sm text-muted fontbrand pt-3 pb-1 text-balance", children: "For low volume manual video creations, and building motion design systems in a local environment (including using AI agents and Remotion Studio). Get 1
|
|
100
|
+
}, inert: !creatorsSelected, children: _jsxs("div", { className: "overflow-hidden pb-2", children: [_jsx("p", { className: "text-sm text-muted fontbrand pt-3 pb-1 text-balance", children: "For low volume manual video creations, and building motion design systems in a local environment (including using AI agents and Remotion Studio). Get 1 seat per user." }), _jsxs("div", { className: "flex flex-row items-center gap-3 sm:gap-4 w-full pt-3 pb-1", children: [_jsx("div", { className: "flex-1 min-w-0", children: _jsx(Slider, { value: devSeatCount, onChange: setDevSeatCount, min: 1, max: 50, unfilledColor: "var(--background)", "aria-label": "Number of seats" }) }), _jsxs("div", { className: "fontbrand shrink-0 whitespace-nowrap w-[135px] sm:w-[150px] text-left tabular-nums", children: [devSeatCount, " ", devSeatCount === 1 ? 'Seat' : 'Seats'] }, `seat-count-${devSeatCount}`), _jsxs("div", { className: "fontbrand font-bold min-w-[60px] text-right shrink-0 whitespace-nowrap tabular-nums", children: ["$", new Intl.NumberFormat('en-US', {
|
|
101
101
|
maximumFractionDigits: 0,
|
|
102
102
|
}).format(SEAT_PRICE * devSeatCount)] }, `seat-price-${devSeatCount}`)] })] }) }), _jsx("div", { style: { height: 14 } }), _jsxs("div", { className: "flex flex-row items-baseline justify-end gap-2", children: [_jsx("div", { className: "fontbrand text-muted text-sm", children: "Total" }), _jsxs(PriceTag, { children: [totalPriceString, "/month"] }, totalPriceString)] }), _jsx("div", { className: cn('grid ease-out', bottomMessage
|
|
103
103
|
? 'grid-rows-[1fr] opacity-100'
|
|
@@ -105,7 +105,7 @@ export const CompanyPricing = ({ purchaseHref, }) => {
|
|
|
105
105
|
transition: bottomMessage
|
|
106
106
|
? 'grid-template-rows 150ms ease-out, opacity 150ms ease-out 75ms'
|
|
107
107
|
: 'opacity 150ms ease-out, grid-template-rows 150ms ease-out 75ms',
|
|
108
|
-
}, inert: !bottomMessage, children: _jsx("div", { className: "overflow-hidden flex flex-col items-stretch text-left", children: _jsx(BottomInfo, { className: "mt-1", children: bottomMessage === 'minimum' ? ('The minimum is $100 per month for Remotion for Automators') : (_jsxs(_Fragment, { children: ["At this spend, you are eligible for the Enterprise License.", _jsx("br", {}), " You can select it when setting up your license, or", ' ', _jsx("a", { className: "bluelink", target: "_blank", href: "https://www.remotion.
|
|
108
|
+
}, inert: !bottomMessage, children: _jsx("div", { className: "overflow-hidden flex flex-col items-stretch text-left", children: _jsx(BottomInfo, { className: "mt-1", children: bottomMessage === 'minimum' ? ('The minimum is $100 per month for Remotion for Automators') : (_jsxs(_Fragment, { children: ["At this spend, you are eligible for the Enterprise License.", _jsx("br", {}), " You can select it when setting up your license, or", ' ', _jsx("a", { className: "bluelink", target: "_blank", href: "https://www.remotion.dev/contact", children: "contact us" }), "."] })) }, bottomMessage) }) }), _jsx("div", { className: 'flex flex-row justify-end mt-4', children: _jsx("div", { style: {
|
|
109
109
|
...textUnitWrapper,
|
|
110
110
|
alignItems: 'flex-end',
|
|
111
111
|
}, children: _jsxs("a", { href: purchaseHref, className: "bluelink font-brand flex flex-row items-center gap-1", children: ["Buy now", ' ', _jsx("svg", { style: icon, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", children: _jsx("path", { fill: "currentColor", d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z" }) })] }) }) })] }));
|
|
@@ -3,5 +3,5 @@ const GithubIcon = () => {
|
|
|
3
3
|
return (_jsx("svg", { viewBox: "0 0 496 512", style: { height: 24, marginRight: 8 }, children: _jsx("path", { fill: "currentColor", d: "M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z" }) }));
|
|
4
4
|
};
|
|
5
5
|
export const GithubButton = () => {
|
|
6
|
-
return (_jsxs("div", { className: "flex flex-row items-center text-base", children: [_jsx(GithubIcon, {}), " ", _jsx("span", { children: "GitHub" }), ' ', _jsx("div", { className: "text-xs inline-block ml-2 leading-none mt-[3px] self-center", children: '
|
|
6
|
+
return (_jsxs("div", { className: "flex flex-row items-center text-base", children: [_jsx(GithubIcon, {}), " ", _jsx("span", { children: "GitHub" }), ' ', _jsx("div", { className: "text-xs inline-block ml-2 leading-none mt-[3px] self-center", children: '72k' })] }));
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useRef } from 'react';
|
|
3
3
|
import { automationVideos } from './automation-videos';
|
|
4
4
|
import { GetStarted } from './GetStartedStrip';
|
|
@@ -4,9 +4,9 @@ export const isWebkit = () => {
|
|
|
4
4
|
if (typeof window === 'undefined') {
|
|
5
5
|
return false;
|
|
6
6
|
}
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
const { userAgent } = window.navigator;
|
|
8
|
+
return (/AppleWebKit/.test(userAgent) &&
|
|
9
|
+
!/Chrome\/|Chromium\/|Android/.test(userAgent));
|
|
10
10
|
};
|
|
11
11
|
const icon = {
|
|
12
12
|
height: 16,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { MakeVideosLinks } from './MakeVideosLinks';
|
|
3
3
|
import { useAutoplayVideo } from './use-autoplay-video';
|
|
4
4
|
import { useTransparentVideoSource } from './use-transparent-video-source';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { MakeVideosLinks } from './MakeVideosLinks';
|
|
3
3
|
import { useAutoplayVideo } from './use-autoplay-video';
|
|
4
4
|
import { useTransparentVideoSource } from './use-transparent-video-source';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { MakeVideosLinks } from './MakeVideosLinks';
|
|
3
3
|
import { useAutoplayVideo } from './use-autoplay-video';
|
|
4
4
|
import { useTransparentVideoSource } from './use-transparent-video-source';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { CompanyPricing, EnterpriseLicense, FreePricing } from './FreePricing';
|
|
4
|
-
export const Pricing = ({ faqHref = '/docs/license/faq', faqLabel = 'License FAQ', licenseHref = 'https://github.com/remotion-dev/remotion/blob/main/LICENSE.md', termsHref = '/docs/terms', purchaseHref = 'https://remotion.
|
|
4
|
+
export const Pricing = ({ faqHref = '/docs/license/faq', faqLabel = 'License FAQ', licenseHref = 'https://github.com/remotion-dev/remotion/blob/main/LICENSE.md', termsHref = 'https://www.remotion.dev/docs/terms', purchaseHref = 'https://www.remotion.dev/dashboard', }) => {
|
|
5
5
|
const faqLinkTarget = useMemo(() => {
|
|
6
6
|
return faqHref.startsWith('http') ? '_blank' : undefined;
|
|
7
7
|
}, [faqHref]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useRef, useState } from 'react';
|
|
3
3
|
import { createStudioHandoffTransition, getStudioHandoffFrame, getStudioHandoffTransitionFrame, } from './studio-handoff/animation';
|
|
4
4
|
import { drawStudioHandoff, loadStudioHandoffAssets, STUDIO_HANDOFF_DURATION, STUDIO_HANDOFF_HEIGHT, STUDIO_HANDOFF_WIDTH, } from './studio-handoff/renderer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
3
|
import { BlueButton } from './layout/Button';
|
|
4
4
|
import { useColorMode } from './layout/use-color-mode';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export declare const automationVideos: {
|
|
2
2
|
readonly parameterization: {
|
|
3
|
-
readonly videoSrc:
|
|
4
|
-
readonly fallbackVideoSrc:
|
|
3
|
+
readonly videoSrc: 'https://remotion.media/homepage/parameterization-brand-4b037d1643f4.webm';
|
|
4
|
+
readonly fallbackVideoSrc: 'https://remotion.media/homepage/parameterization-brand-97e28abb2c0b.mp4';
|
|
5
5
|
};
|
|
6
6
|
readonly batchRendering: {
|
|
7
|
-
readonly videoSrc:
|
|
8
|
-
readonly fallbackVideoSrc:
|
|
7
|
+
readonly videoSrc: 'https://remotion.media/homepage/render-progress-inset-padded-c2444f4217c0.webm';
|
|
8
|
+
readonly fallbackVideoSrc: 'https://remotion.media/homepage/render-progress-inset-padded-25b72a686e9d.mp4';
|
|
9
9
|
};
|
|
10
10
|
readonly applications: {
|
|
11
|
-
readonly videoSrc:
|
|
12
|
-
readonly fallbackVideoSrc:
|
|
11
|
+
readonly videoSrc: 'https://remotion.media/homepage/applications-map-raised-1ea081adebd3.webm';
|
|
12
|
+
readonly fallbackVideoSrc: 'https://remotion.media/homepage/applications-map-raised-bcb117322f3a.mp4';
|
|
13
13
|
readonly videoStyle: {
|
|
14
|
-
readonly position:
|
|
14
|
+
readonly position: 'absolute';
|
|
15
15
|
readonly top: 0;
|
|
16
16
|
readonly left: "-23.809523809523807%";
|
|
17
17
|
readonly width: "152.38095238095238%";
|
|
18
|
-
readonly maxWidth:
|
|
19
|
-
readonly maxHeight:
|
|
20
|
-
readonly pointerEvents:
|
|
18
|
+
readonly maxWidth: 'none';
|
|
19
|
+
readonly maxHeight: 'none';
|
|
20
|
+
readonly pointerEvents: 'none';
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -3,12 +3,13 @@ import { opacify } from 'polished';
|
|
|
3
3
|
import { cn } from '../../../cn';
|
|
4
4
|
import { RED, UNDERLAY_RED } from './colors';
|
|
5
5
|
export const Button = (props) => {
|
|
6
|
-
var _a
|
|
6
|
+
var _a;
|
|
7
|
+
var _b, _c;
|
|
7
8
|
const { children, loading, hoverColor, fullWidth, color, size, className, ...other } = props;
|
|
8
9
|
const actualDisabled = other.disabled || loading;
|
|
9
10
|
return (_jsx("button", { type: "button", className: cn('text-base rounded-lg font-bold appearance-none border-2 border-solid border-black border-b-4 font-sans flex flex-row items-center justify-center ', className), disabled: actualDisabled, ...other, style: {
|
|
10
|
-
...((
|
|
11
|
-
padding: (_c = (
|
|
11
|
+
...((_b = props.style) !== null && _b !== void 0 ? _b : {}),
|
|
12
|
+
padding: (_c = (_a = props.style) === null || _a === void 0 ? void 0 : _a.padding) !== null && _c !== void 0 ? _c : (props.size === 'sm' ? '10px 16px' : '16px 22px'),
|
|
12
13
|
color: props.color,
|
|
13
14
|
cursor: props.disabled ? 'default' : 'pointer',
|
|
14
15
|
backgroundColor: props.background,
|