@remotion/promo-pages 4.0.430 → 4.0.432
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/Homepage.js +52617 -50097
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/Homepage.js +52617 -50097
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/design.js +410 -219
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/experts/experts-data.js +15 -0
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/experts.js +264 -74
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/homepage/Pricing.js +410 -219
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/prompts/PromptsGallery.js +410 -219
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/prompts/PromptsShow.js +410 -219
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/prompts/PromptsSubmit.js +410 -219
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/team.js +15 -0
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/template-modal-content.js +410 -219
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/templates.js +410 -219
- package/dist/design.js +410 -219
- package/dist/experts/experts-data.js +15 -0
- package/dist/experts.js +264 -74
- package/dist/homepage/Pricing.js +410 -219
- package/dist/prompts/PromptsGallery.js +410 -219
- package/dist/prompts/PromptsShow.js +410 -219
- package/dist/prompts/PromptsSubmit.js +410 -219
- package/dist/team.js +15 -0
- package/dist/template-modal-content.js +410 -219
- package/dist/templates.js +410 -219
- package/package.json +13 -13
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/Homepage.css +0 -32
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/Homepage.js +0 -63571
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/design.js +0 -20053
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/experts/experts-data.js +0 -689
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/experts.js +0 -8378
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/homepage/Pricing.js +0 -21502
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/prompts/PromptsGallery.js +0 -19934
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/prompts/PromptsShow.css +0 -2578
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/prompts/PromptsShow.js +0 -39755
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/prompts/PromptsSubmit.css +0 -2578
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/prompts/PromptsSubmit.js +0 -39846
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/prompts/prompt-types.js +0 -0
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/team.js +0 -292
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/template-modal-content.css +0 -32
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/template-modal-content.js +0 -21671
- package/dist/Users/jonathanburger/remotion2/packages/promo-pages/dist/templates.js +0 -21014
- package/dist/cn.d.ts +0 -2
- package/dist/cn.js +0 -5
- package/dist/components/3DEngine/ButtonDemo.d.ts +0 -2
- package/dist/components/3DEngine/ButtonDemo.js +0 -43
- package/dist/components/3DEngine/Faces.d.ts +0 -5
- package/dist/components/3DEngine/Faces.js +0 -7
- package/dist/components/3DEngine/Outer.d.ts +0 -8
- package/dist/components/3DEngine/Outer.js +0 -56
- package/dist/components/3DEngine/Switch.d.ts +0 -4
- package/dist/components/3DEngine/Switch.js +0 -4
- package/dist/components/3DEngine/get-child-node-from.d.ts +0 -1
- package/dist/components/3DEngine/get-child-node-from.js +0 -14
- package/dist/components/3DEngine/hover-transforms.d.ts +0 -9
- package/dist/components/3DEngine/hover-transforms.js +0 -177
- package/dist/components/BackButton.d.ts +0 -6
- package/dist/components/BackButton.js +0 -9
- package/dist/components/CommandCopyButton.d.ts +0 -5
- package/dist/components/CommandCopyButton.js +0 -4
- package/dist/components/Homepage.d.ts +0 -6
- package/dist/components/Homepage.js +0 -20
- package/dist/components/ManageTeamMembers.d.ts +0 -2
- package/dist/components/ManageTeamMembers.js +0 -42
- package/dist/components/Spinner.d.ts +0 -3
- package/dist/components/Spinner.js +0 -4
- package/dist/components/TeamPicture.d.ts +0 -1
- package/dist/components/TeamPicture.js +0 -4
- package/dist/components/design.d.ts +0 -1
- package/dist/components/design.js +0 -33
- package/dist/components/experts/ExpertsPage.d.ts +0 -11
- package/dist/components/experts/ExpertsPage.js +0 -50
- package/dist/components/experts/experts-data.d.ts +0 -15
- package/dist/components/experts/experts-data.js +0 -263
- package/dist/components/experts/experts-icons.d.ts +0 -7
- package/dist/components/experts/experts-icons.js +0 -36
- package/dist/components/experts.d.ts +0 -3
- package/dist/components/experts.js +0 -2
- package/dist/components/homepage/BackgroundAnimation.d.ts +0 -2
- package/dist/components/homepage/BackgroundAnimation.js +0 -66
- package/dist/components/homepage/ChooseTemplate.d.ts +0 -2
- package/dist/components/homepage/ChooseTemplate.js +0 -25
- package/dist/components/homepage/CommunityStats.d.ts +0 -3
- package/dist/components/homepage/CommunityStats.js +0 -6
- package/dist/components/homepage/CommunityStatsItems.d.ts +0 -7
- package/dist/components/homepage/CommunityStatsItems.js +0 -58
- package/dist/components/homepage/Demo/Card.d.ts +0 -15
- package/dist/components/homepage/Demo/Card.js +0 -174
- package/dist/components/homepage/Demo/Cards.d.ts +0 -15
- package/dist/components/homepage/Demo/Cards.js +0 -57
- package/dist/components/homepage/Demo/Comp.d.ts +0 -38
- package/dist/components/homepage/Demo/Comp.js +0 -72
- package/dist/components/homepage/Demo/CurrentCountry.d.ts +0 -9
- package/dist/components/homepage/Demo/CurrentCountry.js +0 -48
- package/dist/components/homepage/Demo/DemoError.d.ts +0 -2
- package/dist/components/homepage/Demo/DemoError.js +0 -10
- package/dist/components/homepage/Demo/DemoErrorIcon.d.ts +0 -2
- package/dist/components/homepage/Demo/DemoErrorIcon.js +0 -16
- package/dist/components/homepage/Demo/DemoRender.d.ts +0 -33
- package/dist/components/homepage/Demo/DemoRender.js +0 -107
- package/dist/components/homepage/Demo/DigitWheel.d.ts +0 -9
- package/dist/components/homepage/Demo/DigitWheel.js +0 -94
- package/dist/components/homepage/Demo/DisplayedEmoji.d.ts +0 -5
- package/dist/components/homepage/Demo/DisplayedEmoji.js +0 -59
- package/dist/components/homepage/Demo/DoneCheckmark.d.ts +0 -2
- package/dist/components/homepage/Demo/DoneCheckmark.js +0 -20
- package/dist/components/homepage/Demo/DownloadNudge.d.ts +0 -2
- package/dist/components/homepage/Demo/DownloadNudge.js +0 -27
- package/dist/components/homepage/Demo/DragAndDropNudge.d.ts +0 -3
- package/dist/components/homepage/Demo/DragAndDropNudge.js +0 -26
- package/dist/components/homepage/Demo/EmojiCard.d.ts +0 -10
- package/dist/components/homepage/Demo/EmojiCard.js +0 -120
- package/dist/components/homepage/Demo/Minus.d.ts +0 -5
- package/dist/components/homepage/Demo/Minus.js +0 -11
- package/dist/components/homepage/Demo/PlayPauseButton.d.ts +0 -5
- package/dist/components/homepage/Demo/PlayPauseButton.js +0 -47
- package/dist/components/homepage/Demo/PlayerControls.d.ts +0 -8
- package/dist/components/homepage/Demo/PlayerControls.js +0 -15
- package/dist/components/homepage/Demo/PlayerSeekBar.d.ts +0 -11
- package/dist/components/homepage/Demo/PlayerSeekBar.js +0 -216
- package/dist/components/homepage/Demo/PlayerVolume.d.ts +0 -5
- package/dist/components/homepage/Demo/PlayerVolume.js +0 -53
- package/dist/components/homepage/Demo/Progress.d.ts +0 -4
- package/dist/components/homepage/Demo/Progress.js +0 -14
- package/dist/components/homepage/Demo/Spinner.d.ts +0 -5
- package/dist/components/homepage/Demo/Spinner.js +0 -37
- package/dist/components/homepage/Demo/Switcher.d.ts +0 -6
- package/dist/components/homepage/Demo/Switcher.js +0 -25
- package/dist/components/homepage/Demo/Temperature.d.ts +0 -6
- package/dist/components/homepage/Demo/Temperature.js +0 -21
- package/dist/components/homepage/Demo/TemperatureNumber.d.ts +0 -5
- package/dist/components/homepage/Demo/TemperatureNumber.js +0 -36
- package/dist/components/homepage/Demo/ThemeNudge.d.ts +0 -3
- package/dist/components/homepage/Demo/ThemeNudge.js +0 -35
- package/dist/components/homepage/Demo/TimeDisplay.d.ts +0 -6
- package/dist/components/homepage/Demo/TimeDisplay.js +0 -27
- package/dist/components/homepage/Demo/TrendingRepos.d.ts +0 -6
- package/dist/components/homepage/Demo/TrendingRepos.js +0 -65
- package/dist/components/homepage/Demo/icons.d.ts +0 -10
- package/dist/components/homepage/Demo/icons.js +0 -22
- package/dist/components/homepage/Demo/index.d.ts +0 -2
- package/dist/components/homepage/Demo/index.js +0 -95
- package/dist/components/homepage/Demo/math.d.ts +0 -10
- package/dist/components/homepage/Demo/math.js +0 -29
- package/dist/components/homepage/Demo/types.d.ts +0 -6
- package/dist/components/homepage/Demo/types.js +0 -0
- package/dist/components/homepage/EditorStarterSection.d.ts +0 -3
- package/dist/components/homepage/EditorStarterSection.js +0 -8
- package/dist/components/homepage/EvaluateRemotion.d.ts +0 -3
- package/dist/components/homepage/EvaluateRemotion.js +0 -21
- package/dist/components/homepage/FreePricing.d.ts +0 -4
- package/dist/components/homepage/FreePricing.js +0 -134
- package/dist/components/homepage/GetStartedStrip.d.ts +0 -2
- package/dist/components/homepage/GetStartedStrip.js +0 -14
- package/dist/components/homepage/GitHubButton.d.ts +0 -2
- package/dist/components/homepage/GitHubButton.js +0 -7
- package/dist/components/homepage/IconForTemplate.d.ts +0 -6
- package/dist/components/homepage/IconForTemplate.js +0 -101
- package/dist/components/homepage/IfYouKnowReact.d.ts +0 -3
- package/dist/components/homepage/IfYouKnowReact.js +0 -23
- package/dist/components/homepage/InfoTooltip.d.ts +0 -6
- package/dist/components/homepage/InfoTooltip.js +0 -6
- package/dist/components/homepage/MoreTemplatesButton.d.ts +0 -2
- package/dist/components/homepage/MoreTemplatesButton.js +0 -11
- package/dist/components/homepage/MuxVideo.d.ts +0 -7
- package/dist/components/homepage/MuxVideo.js +0 -45
- package/dist/components/homepage/NewsletterButton.d.ts +0 -2
- package/dist/components/homepage/NewsletterButton.js +0 -38
- package/dist/components/homepage/ParameterizeAndEdit.d.ts +0 -2
- package/dist/components/homepage/ParameterizeAndEdit.js +0 -22
- package/dist/components/homepage/Pricing.d.ts +0 -2
- package/dist/components/homepage/Pricing.js +0 -15
- package/dist/components/homepage/PricingBulletPoint.d.ts +0 -6
- package/dist/components/homepage/PricingBulletPoint.js +0 -19
- package/dist/components/homepage/RealMp4Videos.d.ts +0 -2
- package/dist/components/homepage/RealMp4Videos.js +0 -41
- package/dist/components/homepage/Spacer.d.ts +0 -2
- package/dist/components/homepage/Spacer.js +0 -4
- package/dist/components/homepage/TemplateIcon.d.ts +0 -5
- package/dist/components/homepage/TemplateIcon.js +0 -24
- package/dist/components/homepage/TextInput.d.ts +0 -7
- package/dist/components/homepage/TextInput.js +0 -34
- package/dist/components/homepage/TrustedByBanner.d.ts +0 -2
- package/dist/components/homepage/TrustedByBanner.js +0 -27
- package/dist/components/homepage/VideoApps.d.ts +0 -4
- package/dist/components/homepage/VideoApps.js +0 -72
- package/dist/components/homepage/VideoAppsShowcase.d.ts +0 -3
- package/dist/components/homepage/VideoAppsShowcase.js +0 -139
- package/dist/components/homepage/VideoAppsTitle.d.ts +0 -4
- package/dist/components/homepage/VideoAppsTitle.js +0 -4
- package/dist/components/homepage/VideoPlayerWithControls.d.ts +0 -20
- package/dist/components/homepage/VideoPlayerWithControls.js +0 -105
- package/dist/components/homepage/WriteInReact.d.ts +0 -2
- package/dist/components/homepage/WriteInReact.js +0 -10
- package/dist/components/homepage/YouAreHere.d.ts +0 -2
- package/dist/components/homepage/YouAreHere.js +0 -23
- package/dist/components/homepage/layout/Button.d.ts +0 -22
- package/dist/components/homepage/layout/Button.js +0 -30
- package/dist/components/homepage/layout/colors.d.ts +0 -13
- package/dist/components/homepage/layout/colors.js +0 -14
- package/dist/components/homepage/layout/use-color-mode.d.ts +0 -21
- package/dist/components/homepage/layout/use-color-mode.js +0 -22
- package/dist/components/homepage/layout/use-el-size.d.ts +0 -5
- package/dist/components/homepage/layout/use-el-size.js +0 -40
- package/dist/components/homepage/layout/use-mobile-layout.d.ts +0 -1
- package/dist/components/homepage/layout/use-mobile-layout.js +0 -6
- package/dist/components/icons/blank.d.ts +0 -3
- package/dist/components/icons/blank.js +0 -4
- package/dist/components/icons/brain.d.ts +0 -2
- package/dist/components/icons/brain.js +0 -4
- package/dist/components/icons/clone.d.ts +0 -2
- package/dist/components/icons/clone.js +0 -2
- package/dist/components/icons/code-hike.d.ts +0 -3
- package/dist/components/icons/code-hike.js +0 -4
- package/dist/components/icons/cubes.d.ts +0 -3
- package/dist/components/icons/cubes.js +0 -4
- package/dist/components/icons/editor.d.ts +0 -3
- package/dist/components/icons/editor.js +0 -4
- package/dist/components/icons/js.d.ts +0 -3
- package/dist/components/icons/js.js +0 -4
- package/dist/components/icons/music.d.ts +0 -2
- package/dist/components/icons/music.js +0 -4
- package/dist/components/icons/next.d.ts +0 -4
- package/dist/components/icons/next.js +0 -4
- package/dist/components/icons/overlay.d.ts +0 -3
- package/dist/components/icons/overlay.js +0 -4
- package/dist/components/icons/prompt-to-video.d.ts +0 -2
- package/dist/components/icons/prompt-to-video.js +0 -4
- package/dist/components/icons/recorder.d.ts +0 -3
- package/dist/components/icons/recorder.js +0 -4
- package/dist/components/icons/remix.d.ts +0 -3
- package/dist/components/icons/remix.js +0 -4
- package/dist/components/icons/render-server.d.ts +0 -3
- package/dist/components/icons/render-server.js +0 -4
- package/dist/components/icons/skia.d.ts +0 -3
- package/dist/components/icons/skia.js +0 -4
- package/dist/components/icons/stargazer.d.ts +0 -3
- package/dist/components/icons/stargazer.js +0 -4
- package/dist/components/icons/still.d.ts +0 -3
- package/dist/components/icons/still.js +0 -4
- package/dist/components/icons/tailwind.d.ts +0 -3
- package/dist/components/icons/tailwind.js +0 -4
- package/dist/components/icons/tiktok.d.ts +0 -3
- package/dist/components/icons/tiktok.js +0 -4
- package/dist/components/icons/timeline.d.ts +0 -3
- package/dist/components/icons/timeline.js +0 -4
- package/dist/components/icons/ts.d.ts +0 -3
- package/dist/components/icons/ts.js +0 -4
- package/dist/components/icons/tts.d.ts +0 -3
- package/dist/components/icons/tts.js +0 -4
- package/dist/components/icons/undo.d.ts +0 -3
- package/dist/components/icons/undo.js +0 -2
- package/dist/components/icons/vercel.d.ts +0 -4
- package/dist/components/icons/vercel.js +0 -4
- package/dist/components/icons/waveform.d.ts +0 -3
- package/dist/components/icons/waveform.js +0 -4
- package/dist/components/prompts/CardLikeButton.d.ts +0 -5
- package/dist/components/prompts/CardLikeButton.js +0 -49
- package/dist/components/prompts/ClipboardIcon.d.ts +0 -5
- package/dist/components/prompts/ClipboardIcon.js +0 -4
- package/dist/components/prompts/CopyPromptButton.d.ts +0 -4
- package/dist/components/prompts/CopyPromptButton.js +0 -13
- package/dist/components/prompts/LikeButton.d.ts +0 -5
- package/dist/components/prompts/LikeButton.js +0 -49
- package/dist/components/prompts/MuxPlayer.d.ts +0 -8
- package/dist/components/prompts/MuxPlayer.js +0 -21
- package/dist/components/prompts/NewBackButton.d.ts +0 -5
- package/dist/components/prompts/NewBackButton.js +0 -8
- package/dist/components/prompts/Page.d.ts +0 -8
- package/dist/components/prompts/Page.js +0 -7
- package/dist/components/prompts/PromptsGallery.d.ts +0 -7
- package/dist/components/prompts/PromptsGallery.js +0 -60
- package/dist/components/prompts/PromptsShow.d.ts +0 -5
- package/dist/components/prompts/PromptsShow.js +0 -17
- package/dist/components/prompts/PromptsSubmit.d.ts +0 -2
- package/dist/components/prompts/PromptsSubmit.js +0 -173
- package/dist/components/prompts/config.d.ts +0 -1
- package/dist/components/prompts/config.js +0 -1
- package/dist/components/prompts/prompt-helpers.d.ts +0 -8
- package/dist/components/prompts/prompt-helpers.js +0 -76
- package/dist/components/prompts/prompt-types.d.ts +0 -14
- package/dist/components/prompts/prompt-types.js +0 -0
- package/dist/components/prompts/use-heart-animation.d.ts +0 -5
- package/dist/components/prompts/use-heart-animation.js +0 -29
- package/dist/components/team/TeamCards.d.ts +0 -6
- package/dist/components/team/TeamCards.js +0 -19
- package/dist/components/team/TitleTeamCards.d.ts +0 -2
- package/dist/components/team/TitleTeamCards.js +0 -6
- package/dist/components/team.d.ts +0 -3
- package/dist/components/team.js +0 -14
- package/dist/components/template-modal-content.d.ts +0 -5
- package/dist/components/template-modal-content.js +0 -73
- package/dist/components/templates.d.ts +0 -2
- package/dist/components/templates.js +0 -27
- package/dist/helpers/mobile-layout.d.ts +0 -1
- package/dist/helpers/mobile-layout.js +0 -6
- package/dist/helpers/use-el-size.d.ts +0 -5
- package/dist/helpers/use-el-size.js +0 -40
- package/dist/main.d.ts +0 -1
- package/dist/main.js +0 -6
- package/dist/prompts-show.d.ts +0 -1
- package/dist/prompts-show.js +0 -20
- package/dist/prompts-submit.d.ts +0 -1
- package/dist/prompts-submit.js +0 -6
- package/dist/prompts.d.ts +0 -1
- package/dist/prompts.js +0 -6
- package/dist/team.d.ts +0 -1
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
export const formatLikeCount = (n) => {
|
|
2
|
-
if (n < 1000)
|
|
3
|
-
return String(n);
|
|
4
|
-
if (n < 10000)
|
|
5
|
-
return `${(n / 1000).toFixed(1).replace(/\.0$/, '')}k`;
|
|
6
|
-
if (n < 1000000)
|
|
7
|
-
return `${Math.floor(n / 1000)}k`;
|
|
8
|
-
return `${(n / 1000000).toFixed(1).replace(/\.0$/, '')}M`;
|
|
9
|
-
};
|
|
10
|
-
const LIKED_KEY = 'remotion-prompt-likes';
|
|
11
|
-
export const getLikedIds = () => {
|
|
12
|
-
try {
|
|
13
|
-
const stored = localStorage.getItem(LIKED_KEY);
|
|
14
|
-
return new Set(stored ? JSON.parse(stored) : []);
|
|
15
|
-
}
|
|
16
|
-
catch (_a) {
|
|
17
|
-
return new Set();
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
export const saveLikedId = (id) => {
|
|
21
|
-
const liked = getLikedIds();
|
|
22
|
-
liked.add(id);
|
|
23
|
-
try {
|
|
24
|
-
localStorage.setItem(LIKED_KEY, JSON.stringify([...liked]));
|
|
25
|
-
}
|
|
26
|
-
catch (_a) {
|
|
27
|
-
// Ignore storage errors to avoid breaking like functionality
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
export const removeLikedId = (id) => {
|
|
31
|
-
const liked = getLikedIds();
|
|
32
|
-
liked.delete(id);
|
|
33
|
-
try {
|
|
34
|
-
localStorage.setItem(LIKED_KEY, JSON.stringify([...liked]));
|
|
35
|
-
}
|
|
36
|
-
catch (_a) {
|
|
37
|
-
// Ignore storage errors to avoid breaking like functionality
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
export const getAvatarUrl = (s) => {
|
|
41
|
-
if (s.customAvatarUrl)
|
|
42
|
-
return s.customAvatarUrl;
|
|
43
|
-
if (s.githubUsername)
|
|
44
|
-
return `https://github.com/${s.githubUsername}.png`;
|
|
45
|
-
if (s.xUsername)
|
|
46
|
-
return `https://unavatar.io/x/${s.xUsername}`;
|
|
47
|
-
return null;
|
|
48
|
-
};
|
|
49
|
-
export const getAuthorName = (s) => {
|
|
50
|
-
if (s.githubUsername)
|
|
51
|
-
return s.githubUsername;
|
|
52
|
-
if (s.xUsername)
|
|
53
|
-
return `@${s.xUsername}`;
|
|
54
|
-
return 'Anonymous';
|
|
55
|
-
};
|
|
56
|
-
export const getRelativeTime = (dateStr) => {
|
|
57
|
-
const now = Date.now();
|
|
58
|
-
const then = new Date(dateStr).getTime();
|
|
59
|
-
const seconds = Math.floor((now - then) / 1000);
|
|
60
|
-
if (seconds < 60)
|
|
61
|
-
return 'just now';
|
|
62
|
-
const minutes = Math.floor(seconds / 60);
|
|
63
|
-
if (minutes < 60)
|
|
64
|
-
return `${minutes} minute${minutes === 1 ? '' : 's'} ago`;
|
|
65
|
-
const hours = Math.floor(minutes / 60);
|
|
66
|
-
if (hours < 24)
|
|
67
|
-
return `${hours} hour${hours === 1 ? '' : 's'} ago`;
|
|
68
|
-
const days = Math.floor(hours / 24);
|
|
69
|
-
if (days < 30)
|
|
70
|
-
return `${days} day${days === 1 ? '' : 's'} ago`;
|
|
71
|
-
const months = Math.floor(days / 30);
|
|
72
|
-
if (months < 12)
|
|
73
|
-
return `${months} month${months === 1 ? '' : 's'} ago`;
|
|
74
|
-
const years = Math.floor(months / 12);
|
|
75
|
-
return `${years} year${years === 1 ? '' : 's'} ago`;
|
|
76
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type PromptSubmission = {
|
|
2
|
-
id: string;
|
|
3
|
-
createdAt: string;
|
|
4
|
-
title: string;
|
|
5
|
-
slug: string;
|
|
6
|
-
muxPlaybackId: string;
|
|
7
|
-
prompt: string;
|
|
8
|
-
githubUsername: string | null;
|
|
9
|
-
xUsername: string | null;
|
|
10
|
-
customAvatarUrl: string | null;
|
|
11
|
-
likeCount: number;
|
|
12
|
-
toolUsed?: string | null;
|
|
13
|
-
modelUsed?: string | null;
|
|
14
|
-
};
|
|
File without changes
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { useCallback, useRef, useState } from 'react';
|
|
2
|
-
const DURATION = 300;
|
|
3
|
-
export const useHeartAnimation = () => {
|
|
4
|
-
const [scale, setScale] = useState(1);
|
|
5
|
-
const [roundness, setRoundness] = useState(0.09);
|
|
6
|
-
const rafRef = useRef(0);
|
|
7
|
-
const animate = useCallback(() => {
|
|
8
|
-
cancelAnimationFrame(rafRef.current);
|
|
9
|
-
const start = performance.now();
|
|
10
|
-
const tick = (now) => {
|
|
11
|
-
const elapsed = now - start;
|
|
12
|
-
const t = Math.min(elapsed / DURATION, 1);
|
|
13
|
-
// ease-out quad for the up phase, then ease-in for down
|
|
14
|
-
const half = t < 0.5 ? t * 2 : (1 - t) * 2;
|
|
15
|
-
const eased = half * (2 - half); // ease-out quad
|
|
16
|
-
setScale(1 + 0.1 * eased);
|
|
17
|
-
setRoundness(0.09 + 0.1 * eased);
|
|
18
|
-
if (t < 1) {
|
|
19
|
-
rafRef.current = requestAnimationFrame(tick);
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
setScale(1);
|
|
23
|
-
setRoundness(0.09);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
rafRef.current = requestAnimationFrame(tick);
|
|
27
|
-
}, []);
|
|
28
|
-
return { scale, roundness, animate };
|
|
29
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export const LinkedInLogo = () => {
|
|
3
|
-
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1000 1000", className: "w-[30px]", children: _jsx("path", { fill: "currentcolor", d: "M195.877 0C88.16 0 0 88.158 0 195.877V803.718C0 911.435 88.158 999.563 195.877 999.563H803.718C911.436 999.563 999.563 911.436 999.563 803.718V195.877C999.563 88.16 911.436 0 803.718 0H195.877ZM245.143 164.948C296.791 164.948 328.604 198.854 329.586 243.423C329.586 287.008 296.789 321.867 244.144 321.867H243.175C192.51 321.867 159.763 287.01 159.763 243.423C159.763 198.855 193.501 164.948 245.142 164.948H245.143ZM690.223 373.258C789.552 373.258 864.013 438.18 864.013 577.694V838.143H713.06V595.156C713.06 534.096 691.213 492.438 636.584 492.438C594.88 492.438 570.022 520.516 559.108 547.64C555.121 557.344 554.141 570.897 554.141 584.472V838.143H403.188C403.188 838.143 405.169 426.53 403.188 383.91H554.172V448.234C574.232 417.284 610.114 373.257 690.223 373.257V373.258ZM168.667 383.943H319.62V838.145H168.667V383.943V383.943Z" }) }));
|
|
4
|
-
};
|
|
5
|
-
export const TwitterLogo = () => {
|
|
6
|
-
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 530 570", className: "w-[32px]", children: _jsx("path", { fill: "currentcolor", d: "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z" }) }));
|
|
7
|
-
};
|
|
8
|
-
export const GitHubLogo = () => {
|
|
9
|
-
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1084 1084", className: "w-[30px]", children: _jsx("path", { fill: "currentcolor", 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" }) }));
|
|
10
|
-
};
|
|
11
|
-
export const EmailLogo = () => {
|
|
12
|
-
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1299 1299", className: "w-[30px]", children: _jsx("path", { fill: "currentcolor", d: "M1177.22 202.969H121.781C99.3278 202.969 81.1875 221.109 81.1875 243.562V1055.44C81.1875 1077.89 99.3278 1096.03 121.781 1096.03H1177.22C1199.67 1096.03 1217.81 1077.89 1217.81 1055.44V243.562C1217.81 221.109 1199.67 202.969 1177.22 202.969ZM1126.48 343.525V1004.7H172.523V343.525L137.511 316.251L187.366 252.189L241.66 294.432H1057.47L1111.76 252.189L1161.62 316.251L1126.48 343.525V343.525ZM1057.47 294.305L649.5 611.443L241.533 294.305L187.239 252.062L137.384 316.124L172.397 343.398L605.735 680.326C618.197 690.008 633.529 695.263 649.31 695.263C665.091 695.263 680.422 690.008 692.885 680.326L1126.48 343.525L1161.49 316.251L1111.63 252.189L1057.47 294.305Z" }) }));
|
|
13
|
-
};
|
|
14
|
-
const TeamMemberCard = ({ name, title, description, image, twitter, linkedin, github, email, }) => {
|
|
15
|
-
return (_jsxs("div", { className: "flex-1 rounded-[15px] flex flex-col md:flex-row gap-2 md:gap-4", children: [_jsx("img", { src: image, className: "w-[250px] h-[250px] rounded-xl border-effect" }), _jsxs("div", { className: "flex flex-col border-effect px-4 py-3 bg-pane", children: [_jsx("h2", { className: "ext-[1.6em] mb-1 mt-3 text-[var(--ifm-color-primary)] font-brand", children: name }), _jsx("strong", { className: "font-brand", children: title }), _jsx("div", { className: "mt-5 mb-5 leading-normal font-brand", children: description }), _jsx("div", { className: "flex-1" }), _jsxs("div", { className: "gap-3 flex flex-row", children: [_jsx("a", { className: "no-underline text-inherit", target: "_blank", href: twitter, children: _jsx(TwitterLogo, {}) }), _jsx("a", { className: "no-underline text-inherit", target: "_blank", href: linkedin, children: _jsx(LinkedInLogo, {}) }), _jsx("a", { className: "no-underline text-inherit", target: "_blank", href: github, children: _jsx(GitHubLogo, {}) }), _jsx("a", { className: "no-underline text-inherit", target: "_blank", href: `mailto:${email}`, children: _jsx(EmailLogo, {}) })] })] })] }));
|
|
16
|
-
};
|
|
17
|
-
export const TeamCardsLayout = () => {
|
|
18
|
-
return (_jsxs("div", { className: "flex flex-col gap-12 md:gap-4", children: [_jsx(TeamMemberCard, { name: "Jonny Burger", title: "Chief Hacker", description: "Making cool software for myself and others and getting to know all kinds of different people - that's what makes Remotion my dream job!", image: "/img/team/jonny.png", twitter: "https://twitter.com/JNYBGR", linkedin: "https://ch.linkedin.com/in/jonny-burger-4115109b", github: "https://github.com/JonnyBurger", email: "jonny@remotion.dev" }), _jsx(TeamMemberCard, { name: "Mehmet Ademi", title: "Business Manager", description: "Transitioning from traditional business, Remotion allowed me to merge my passion for technology and business in a distinctive way.", image: "/img/team/mehmet.png", twitter: "https://twitter.com/mehmetademi", linkedin: "https://www.linkedin.com/in/mehmetademi", github: "https://github.com/MehmetAdemi", email: "mehmet@remotion.dev" }), _jsx(TeamMemberCard, { name: "Igor Samokhovets", title: "Product Engineer", description: "With a background in music industry and a passion for coding, I've been building tools to help musicians create. Remotion is the perfect place to blend my tech skills and creativity.", image: "/img/team/igor.jpg", twitter: "https://x.com/tequilafunks", linkedin: "https://www.linkedin.com/in/samohovets/", github: "https://github.com/samohovets", email: "igor@remotion.dev" })] }));
|
|
19
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { TeamPicture } from '../TeamPicture';
|
|
3
|
-
import { TeamCardsLayout } from './TeamCards';
|
|
4
|
-
export const TitleTeamCards = () => {
|
|
5
|
-
return (_jsxs("div", { children: [_jsx("h1", { className: "font-brand", children: "Team" }), _jsx(TeamPicture, {}), _jsx(TeamCardsLayout, {}), _jsx("h1", { className: "font-brand mt-8", children: "Company" }), _jsxs("p", { className: "font-brand leading-normal", children: ["Wonder how we operate? If we are stable? Who is backing us? ", _jsx("br", {}), "Check our our", ' ', _jsx("a", { href: "/investors", className: "font-brand no-underline text-brand", children: "investors page" }), "!"] })] }));
|
|
6
|
-
};
|
package/dist/components/team.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { TitleTeamCards } from './team/TitleTeamCards';
|
|
3
|
-
export const AboutUsHeader = () => {
|
|
4
|
-
return (_jsx("div", { className: "flex flex-row items-center md:flex-col pt-10", children: _jsxs("div", { className: "flex-1", children: [_jsxs("h1", { className: "text-3xl font-bold font-['GTPlanar'] leading-tight max-w-[1000px] md:text-5xl", children: [_jsx("svg", { className: "h-6 md:h-8 mr-3 md:mr-6", viewBox: "0 0 105 107", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M24.0635 0.00717926C21.8217 0.12886 20.0152 0.48455 18.1946 1.17721C17.2867 1.51886 15.7984 2.26301 14.9794 2.77782C11.5535 4.926 8.94203 8.15529 7.58011 11.9134C7.30866 12.6576 6.57388 15.0304 6.10119 16.6638C2.95146 27.5825 1.16365 39.5215 0.779884 52.1579C0.719043 54.1703 0.719043 58.9628 0.779884 60.9425C1.03729 69.3199 1.83759 76.883 3.28843 84.5958C3.87813 87.7175 4.82352 91.9109 5.37109 93.8157C6.48964 97.6861 8.77354 100.981 12.0216 103.396C14.1978 105.015 16.6689 106.101 19.4068 106.635C20.7266 106.892 22.4676 107.009 23.75 106.925C25.5237 106.808 29.0432 106.335 31.9027 105.825C44.7918 103.527 56.6981 99.4131 67.4951 93.5255C74.3328 89.7954 80.1783 85.7565 85.8178 80.8564C91.4386 75.9797 96.2311 70.7333 100.448 64.8457C101.426 63.4838 101.917 62.6881 102.409 61.6866C103.673 59.1032 104.267 56.5338 104.262 53.6602C104.262 50.9831 103.757 48.6056 102.666 46.172C102.142 44.9973 101.641 44.1548 100.518 42.5542C96.3809 36.662 91.7897 31.5278 86.1922 26.5388C77.5153 18.8073 67.2096 12.4657 55.7012 7.77151C53.2067 6.75593 50.7496 5.86202 47.7918 4.89323C41.5298 2.84802 33.7795 1.07425 27.2226 0.189705C26.193 0.0493011 24.7936 -0.0302582 24.0635 0.00717926Z", fill: "#0B84F3" }) }), "The programmatic video dream", ' '] }), _jsx("p", { className: "leading-relaxed text-balance font-brand", children: "Started as a side project in 2021, we are now a company in Zurich, Switzerland and are pushing to combine the powers of video editing and programming!" })] }) }));
|
|
5
|
-
};
|
|
6
|
-
const container = {
|
|
7
|
-
maxWidth: 1000,
|
|
8
|
-
margin: 'auto',
|
|
9
|
-
paddingLeft: 16,
|
|
10
|
-
paddingRight: 16,
|
|
11
|
-
};
|
|
12
|
-
export const TeamPage = () => {
|
|
13
|
-
return (_jsx("div", { className: "bg-[var(--background)]", children: _jsxs("div", { style: container, children: [_jsx("br", {}), _jsx(AboutUsHeader, {}), _jsx("br", {}), _jsx(TitleTeamCards, {}), _jsx("br", {})] }) }));
|
|
14
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Card, Triangle } from '@remotion/design';
|
|
3
|
-
import { useCallback, useState } from 'react';
|
|
4
|
-
import { cn } from '../cn';
|
|
5
|
-
import { useMobileLayout } from '../helpers/mobile-layout';
|
|
6
|
-
import { BackButton } from './BackButton';
|
|
7
|
-
import { CommandCopyButton } from './CommandCopyButton';
|
|
8
|
-
import { MuxVideo } from './homepage/MuxVideo';
|
|
9
|
-
import { Tailwind } from './icons/tailwind';
|
|
10
|
-
const RESERVED_FOR_SIDEBAR = 350;
|
|
11
|
-
const GithubIcon = () => {
|
|
12
|
-
return (_jsx("svg", { viewBox: "0 0 496 512", height: "22", width: "22", 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" }) }));
|
|
13
|
-
};
|
|
14
|
-
const StackBlitzIcon = () => {
|
|
15
|
-
return (_jsx("svg", { viewBox: "0 0 28 28", "aria-hidden": "true", width: "24", height: "24", children: _jsx("path", { fill: "currentColor", d: "M12.747 16.273h-7.46L18.925 1.5l-3.671 10.227h7.46L9.075 26.5l3.671-10.227z" }) }));
|
|
16
|
-
};
|
|
17
|
-
const PreviewIcon = () => {
|
|
18
|
-
return (_jsx("svg", { viewBox: "0 0 512 512", "aria-hidden": "true", width: "24", height: "24", children: _jsx("path", { fill: "currentColor", d: "M368 208A160 160 0 1 0 48 208a160 160 0 1 0 320 0zM337.1 371.1C301.7 399.2 256.8 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 48.8-16.8 93.7-44.9 129.1l124 124 17 17L478.1 512l-17-17-124-124zM145.8 116.2l24 14 110.2 64L303.9 208 280 221.8l-110.2 64-24 14V272 144 116.2z" }) }));
|
|
19
|
-
};
|
|
20
|
-
let copyTimeout = null;
|
|
21
|
-
export const TemplateModalContent = ({ template }) => {
|
|
22
|
-
var _a;
|
|
23
|
-
const [copied, setCopied] = useState(false);
|
|
24
|
-
const mobileLayout = useMobileLayout();
|
|
25
|
-
const copyCommand = useCallback(async (command) => {
|
|
26
|
-
clearTimeout(copyTimeout);
|
|
27
|
-
const permissionName = 'clipboard-write';
|
|
28
|
-
try {
|
|
29
|
-
const result = await navigator.permissions.query({
|
|
30
|
-
name: permissionName,
|
|
31
|
-
});
|
|
32
|
-
if (result.state === 'granted' || result.state === 'prompt') {
|
|
33
|
-
await navigator.clipboard.writeText(command);
|
|
34
|
-
setCopied(command);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
catch (_a) {
|
|
38
|
-
// eslint-disable-next-line no-alert
|
|
39
|
-
alert('Copying is not supported on this device');
|
|
40
|
-
}
|
|
41
|
-
copyTimeout = setTimeout(() => {
|
|
42
|
-
setCopied(false);
|
|
43
|
-
}, 2000);
|
|
44
|
-
}, []);
|
|
45
|
-
const npmCommand = `npx create-video@latest --${template.cliId}`;
|
|
46
|
-
const pnpmCommand = `pnpm create video --${template.cliId}`;
|
|
47
|
-
const bunCommand = `bun create video --${template.cliId}`;
|
|
48
|
-
return (_jsxs("div", { children: [_jsx(BackButton, { link: "/templates", text: "Back to Templates", color: "currentcolor" }), _jsx("h1", { className: "mt-0", children: template.shortName }), _jsxs(Card, { className: "mb-7 overflow-hidden w-full", children: [_jsxs("div", { className: `mb-0 flex overflow-auto ${mobileLayout ? 'flex-col h-full left-0 top-0' : 'flex-row'} w-full border-b-2 border-black`, children: [_jsx("div", { className: cn('flex w-full border-black flex-row', mobileLayout ? 'border-b-2' : 'border-r-2'), style: {
|
|
49
|
-
aspectRatio: template.type === 'video'
|
|
50
|
-
? `${template.promoVideo.width} / ${template.promoVideo.height}`
|
|
51
|
-
: undefined,
|
|
52
|
-
flex: 1,
|
|
53
|
-
maxHeight: 500,
|
|
54
|
-
}, children: template.type === 'video' ? (_jsx(MuxVideo, { muxId: template.promoVideo.muxId, loop: true, autoPlay: true, muted: true, playsInline: true, style: {
|
|
55
|
-
aspectRatio: `${template.promoVideo.width} / ${template.promoVideo.height}`,
|
|
56
|
-
width: '100%',
|
|
57
|
-
height: 'auto',
|
|
58
|
-
overflow: 'hidden',
|
|
59
|
-
display: 'block',
|
|
60
|
-
} })) : (_jsx("img", { src: template.promoBanner.src, className: "w-full h-auto border border-[var(--ifm-color-emphasis-300)]" })) }), _jsxs("div", { className: `overflow-auto ${mobileLayout ? 'w-full' : ''} p-5 font-brand`, style: {
|
|
61
|
-
width: mobileLayout ? '100%' : RESERVED_FOR_SIDEBAR,
|
|
62
|
-
}, children: [_jsx("div", { className: "flex flex-row items-center pt-1 pb-1 align-middle pr-4", children: _jsxs("a", { className: "text-inherit inline-flex flex-row items-center cursor-pointer select-none", onPointerDown: () => copyCommand(npmCommand), children: [_jsx("div", { className: "w-6 h-9 mr-3 inline-flex items-center justify-center", children: _jsx(CommandCopyButton, { customSvg: _jsxs("svg", { viewBox: "0 0 2500 2500", xmlns: "http://www.w3.org/2000/svg", className: "h-5", children: [_jsx("path", { d: "M0 0h2500v2500H0z", fill: "#CB0201" }), _jsx("path", { d: "M1241.5 268.5h-973v1962.9h972.9V763.5h495v1467.9h495V268.5z", fill: "white" })] }), copied: copied === npmCommand }) }), _jsx("div", { className: "mr-3", children: npmCommand })] }) }), _jsx("div", { className: "flex flex-row items-center pt-1 pb-1 align-middle pr-4", children: _jsxs("a", { target: "_blank", className: "text-inherit inline-flex flex-row items-center cursor-pointer select-none", onPointerDown: () => copyCommand(bunCommand), children: [_jsx("div", { className: "w-6 h-9 mr-3 inline-flex items-center justify-center", children: _jsx(CommandCopyButton, { customSvg: _jsxs("svg", { id: "Bun", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 80 70", className: "h-5", children: [_jsx("path", { id: "Shadow", d: "M71.09,20.74c-.16-.17-.33-.34-.5-.5s-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5A26.46,26.46,0,0,1,75.5,35.7c0,16.57-16.82,30.05-37.5,30.05-11.58,0-21.94-4.23-28.83-10.86l.5.5.5.5.5.5.5.5.5.5.5.5.5.5C19.55,65.3,30.14,69.75,42,69.75c20.68,0,37.5-13.48,37.5-30C79.5,32.69,76.46,26,71.09,20.74Z" }), _jsxs("g", { id: "Body", children: [_jsx("path", { id: "Background", d: "M73,35.7c0,15.21-15.67,27.54-35,27.54S3,50.91,3,35.7C3,26.27,9,17.94,18.22,13S33.18,3,38,3s8.94,4.13,19.78,10C67,17.94,73,26.27,73,35.7Z", style: { fill: '#fbf0df' } }), _jsx("path", { id: "Bottom_Shadow", "data-name": "Bottom Shadow", d: "M73,35.7a21.67,21.67,0,0,0-.8-5.78c-2.73,33.3-43.35,34.9-59.32,24.94A40,40,0,0,0,38,63.24C57.3,63.24,73,50.89,73,35.7Z", style: { fill: '#f6dece' } }), _jsx("path", { id: "Light_Shine", "data-name": "Light Shine", d: "M24.53,11.17C29,8.49,34.94,3.46,40.78,3.45A9.29,9.29,0,0,0,38,3c-2.42,0-5,1.25-8.25,3.13-1.13.66-2.3,1.39-3.54,2.15-2.33,1.44-5,3.07-8,4.7C8.69,18.13,3,26.62,3,35.7c0,.4,0,.8,0,1.19C9.06,15.48,20.07,13.85,24.53,11.17Z", style: { fill: '#fffefc' } }), _jsx("path", { id: "Top", d: "M35.12,5.53A16.41,16.41,0,0,1,29.49,18c-.28.25-.06.73.3.59,3.37-1.31,7.92-5.23,6-13.14C35.71,5,35.12,5.12,35.12,5.53Zm2.27,0A16.24,16.24,0,0,1,39,19c-.12.35.31.65.55.36C41.74,16.56,43.65,11,37.93,5,37.64,4.74,37.19,5.14,37.39,5.49Zm2.76-.17A16.42,16.42,0,0,1,47,17.12a.33.33,0,0,0,.65.11c.92-3.49.4-9.44-7.17-12.53C40.08,4.54,39.82,5.08,40.15,5.32ZM21.69,15.76a16.94,16.94,0,0,0,10.47-9c.18-.36.75-.22.66.18-1.73,8-7.52,9.67-11.12,9.45C21.32,16.4,21.33,15.87,21.69,15.76Z", style: { fill: '#ccbea7', fillRule: 'evenodd' } }), _jsx("path", { id: "Outline", d: "M38,65.75C17.32,65.75.5,52.27.5,35.7c0-10,6.18-19.33,16.53-24.92,3-1.6,5.57-3.21,7.86-4.62,1.26-.78,2.45-1.51,3.6-2.19C32,1.89,35,.5,38,.5s5.62,1.2,8.9,3.14c1,.57,2,1.19,3.07,1.87,2.49,1.54,5.3,3.28,9,5.27C69.32,16.37,75.5,25.69,75.5,35.7,75.5,52.27,58.68,65.75,38,65.75ZM38,3c-2.42,0-5,1.25-8.25,3.13-1.13.66-2.3,1.39-3.54,2.15-2.33,1.44-5,3.07-8,4.7C8.69,18.13,3,26.62,3,35.7,3,50.89,18.7,63.25,38,63.25S73,50.89,73,35.7C73,26.62,67.31,18.13,57.78,13,54,11,51.05,9.12,48.66,7.64c-1.09-.67-2.09-1.29-3-1.84C42.63,4,40.42,3,38,3Z" })] }), _jsxs("g", { id: "Mouth", children: [_jsx("g", { id: "Background-2", "data-name": "Background", children: _jsx("path", { d: "M45.05,43a8.93,8.93,0,0,1-2.92,4.71,6.81,6.81,0,0,1-4,1.88A6.84,6.84,0,0,1,34,47.71,8.93,8.93,0,0,1,31.12,43a.72.72,0,0,1,.8-.81H44.26A.72.72,0,0,1,45.05,43Z", style: { fill: '#b71422' } }) }), _jsxs("g", { id: "Tongue", children: [_jsx("path", { id: "Background-3", "data-name": "Background", d: "M34,47.79a6.91,6.91,0,0,0,4.12,1.9,6.91,6.91,0,0,0,4.11-1.9,10.63,10.63,0,0,0,1-1.07,6.83,6.83,0,0,0-4.9-2.31,6.15,6.15,0,0,0-5,2.78C33.56,47.4,33.76,47.6,34,47.79Z", style: { fill: '#ff6164' } }), _jsx("path", { id: "Outline-2", "data-name": "Outline", d: "M34.16,47a5.36,5.36,0,0,1,4.19-2.08,6,6,0,0,1,4,1.69c.23-.25.45-.51.66-.77a7,7,0,0,0-4.71-1.93,6.36,6.36,0,0,0-4.89,2.36A9.53,9.53,0,0,0,34.16,47Z" })] }), _jsx("path", { id: "Outline-3", "data-name": "Outline", d: "M38.09,50.19a7.42,7.42,0,0,1-4.45-2,9.52,9.52,0,0,1-3.11-5.05,1.2,1.2,0,0,1,.26-1,1.41,1.41,0,0,1,1.13-.51H44.26a1.44,1.44,0,0,1,1.13.51,1.19,1.19,0,0,1,.25,1h0a9.52,9.52,0,0,1-3.11,5.05A7.42,7.42,0,0,1,38.09,50.19Zm-6.17-7.4c-.16,0-.2.07-.21.09a8.29,8.29,0,0,0,2.73,4.37A6.23,6.23,0,0,0,38.09,49a6.28,6.28,0,0,0,3.65-1.73,8.3,8.3,0,0,0,2.72-4.37.21.21,0,0,0-.2-.09Z" })] }), _jsxs("g", { id: "Face", children: [_jsx("ellipse", { id: "Right_Blush", "data-name": "Right Blush", cx: "53.22", cy: "40.18", rx: "5.85", ry: "3.44", style: { fill: '#febbd0' } }), _jsx("ellipse", { id: "Left_Bluch", "data-name": "Left Bluch", cx: "22.95", cy: "40.18", rx: "5.85", ry: "3.44", style: { fill: '#febbd0' } }), _jsx("path", { id: "Eyes", d: "M25.7,38.8a5.51,5.51,0,1,0-5.5-5.51A5.51,5.51,0,0,0,25.7,38.8Zm24.77,0A5.51,5.51,0,1,0,45,33.29,5.5,5.5,0,0,0,50.47,38.8Z", style: { fillRule: 'evenodd' } }), _jsx("path", { id: "Iris", d: "M24,33.64a2.07,2.07,0,1,0-2.06-2.07A2.07,2.07,0,0,0,24,33.64Zm24.77,0a2.07,2.07,0,1,0-2.06-2.07A2.07,2.07,0,0,0,48.75,33.64Z", style: { fill: '#fff', fillRule: 'evenodd' } })] })] }), copied: copied === bunCommand }) }), _jsx("div", { className: "mr-3", children: bunCommand })] }) }), _jsx("div", { className: "flex flex-row items-center pt-1 pb-1 align-middle pr-4", children: _jsxs("a", { className: "text-inherit inline-flex flex-row items-center cursor-pointer select-none", onPointerDown: () => copyCommand(pnpmCommand), children: [_jsx("div", { className: "w-6 h-9 mr-3 inline-flex items-center justify-center", children: _jsx(CommandCopyButton, { customSvg: _jsxs("svg", { version: "1.1", xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "76.58987244897958 44 164.00775510204068 164", width: "160.01", height: "160", className: "h-5", children: [_jsxs("defs", { children: [_jsx("path", { d: "M237.6 95L187.6 95L187.6 45L237.6 45L237.6 95Z", id: "b45vdTD8hs" }), _jsx("path", { d: "M182.59 95L132.59 95L132.59 45L182.59 45L182.59 95Z", id: "a40WtxIl8d" }), _jsx("path", { d: "M127.59 95L77.59 95L77.59 45L127.59 45L127.59 95Z", id: "h2CN9AEEpe" }), _jsx("path", { d: "M237.6 150L187.6 150L187.6 100L237.6 100L237.6 150Z", id: "dqv5133G8" }), _jsx("path", { d: "M182.59 150L132.59 150L132.59 100L182.59 100L182.59 150Z", id: "b1Lv79ypvm" }), _jsx("path", { d: "M182.59 205L132.59 205L132.59 155L182.59 155L182.59 205Z", id: "hy1IZWwLX" }), _jsx("path", { d: "M237.6 205L187.6 205L187.6 155L237.6 155L237.6 205Z", id: "akQfjxQes" }), _jsx("path", { d: "M127.59 205L77.59 205L77.59 155L127.59 155L127.59 205Z", id: "bdSrwE5pk" })] }), _jsxs("g", { children: [_jsx("g", { children: _jsx("use", { xlinkHref: "#b45vdTD8hs", opacity: "1", fill: "#f9ad00", fillOpacity: "1" }) }), _jsx("g", { children: _jsx("use", { xlinkHref: "#a40WtxIl8d", opacity: "1", fill: "#f9ad00", fillOpacity: "1" }) }), _jsx("g", { children: _jsx("use", { xlinkHref: "#h2CN9AEEpe", opacity: "1", fill: "#f9ad00", fillOpacity: "1" }) }), _jsx("g", { children: _jsx("use", { xlinkHref: "#dqv5133G8", opacity: "1", fill: "#f9ad00", fillOpacity: "1" }) }), _jsx("g", { children: _jsx("use", { xlinkHref: "#b1Lv79ypvm", opacity: "1", fill: "currentColor", fillOpacity: "1" }) }), _jsx("g", { children: _jsx("use", { xlinkHref: "#hy1IZWwLX", opacity: "1", fill: "currentColor", fillOpacity: "1" }) }), _jsx("g", { children: _jsx("use", { xlinkHref: "#akQfjxQes", opacity: "1", fill: "currentColor", fillOpacity: "1" }) }), _jsx("g", { children: _jsx("use", { xlinkHref: "#bdSrwE5pk", opacity: "1", fill: "currentColor", fillOpacity: "1" }) })] })] }), copied: copied === pnpmCommand }) }), _jsx("div", { className: "mr-3", children: pnpmCommand })] }) }), _jsx("div", { className: "flex flex-row items-center pt-1 pb-1 align-middle pr-4", children: _jsxs("a", { target: "_blank", className: "text-inherit inline-flex flex-row items-center cursor-pointer select-none", href: `https://github.com/${template.org}/${template.repoName}/generate`, children: [_jsx("div", { className: "w-6 h-9 mr-3 inline-flex items-center justify-center", children: _jsx(GithubIcon, {}) }), ' ', "Fork template"] }) }), _jsx("div", { className: "flex flex-row items-center pt-1 pb-1 align-middle pr-4", children: _jsxs("a", { target: "_blank", className: "text-inherit inline-flex flex-row items-center cursor-pointer select-none", href: `https://github.com/${template.org}/${template.repoName}`, children: [_jsx("div", { className: "w-6 h-9 mr-3 inline-flex items-center justify-center", children: _jsx(GithubIcon, {}) }), ' ', "View source"] }) }), template.previewURL && (_jsx("a", { target: "_blank", className: "text-inherit inline-flex flex-row items-center cursor-pointer select-none", href: template.previewURL, children: _jsxs("div", { className: "flex flex-row items-center pt-1 pb-1 align-middle pr-4", children: [_jsx("div", { className: "w-6 h-9 mr-3 inline-flex items-center justify-center", children: _jsx(PreviewIcon, {}) }), (_a = template.previewLabel) !== null && _a !== void 0 ? _a : (_jsxs(_Fragment, { children: ["See Preview", ' ', _jsxs("span", { className: "whitespace-pre text-[var(--light-text-color)]", children: [' ', "via Remotion Studio"] })] }))] }) })), template.showStackblitz ? (_jsx("a", { target: "_blank", className: "text-inherit inline-flex flex-row items-center cursor-pointer select-none", href: `https://stackblitz.com/github/${template.org}/${template.repoName}`, children: _jsxs("div", { className: "flex flex-row items-center pt-1 pb-1 align-middle pr-4", children: [_jsx("div", { className: "w-6 h-9 mr-3 inline-flex items-center justify-center", children: _jsx(StackBlitzIcon, {}) }), "Try online", ' ', _jsxs("span", { className: "whitespace-pre text-[var(--light-text-color)]", children: [' ', "via StackBlitz"] })] }) })) : null, template.allowEnableTailwind ? (_jsxs("div", { className: "flex flex-row items-center pt-1 pb-1 align-middle pr-4", children: [_jsx("div", { className: "w-6 h-9 mr-3 inline-flex items-center justify-center", children: _jsx(Tailwind, {}) }), "Supports Tailwind"] })) : null] })] }), _jsxs("div", { className: cn('flex flex-row w-full', template.contributedBy !== null && mobileLayout
|
|
63
|
-
? 'flex-col'
|
|
64
|
-
: 'flex-row'), children: [_jsx("div", {
|
|
65
|
-
// eslint-disable-next-line react/no-danger
|
|
66
|
-
dangerouslySetInnerHTML: {
|
|
67
|
-
__html: template.longerDescription,
|
|
68
|
-
}, className: cn('p-5 font-brand flex-1', mobileLayout ? null : 'border-r-2 border-black') }), _jsx("div", { style: { width: mobileLayout ? '100%' : RESERVED_FOR_SIDEBAR }, className: cn(mobileLayout && template.contributedBy === null
|
|
69
|
-
? 'hidden'
|
|
70
|
-
: 'flex', template.contributedBy !== null && mobileLayout
|
|
71
|
-
? 'border-t-2 border-black w-full py-4 justify-start px-5'
|
|
72
|
-
: 'pl-5 pr-8 justify-end ', 'items-center text-brand dark:text-white gap-2'), children: template.contributedBy ? (_jsxs("div", { className: cn('flex flex-row pt-1 pb-1 pr-4 gap-2 text-text font-brand items-center'), children: [_jsx("img", { src: `https://github.com/${template.contributedBy}.png`, className: "w-6 h-6 rounded-full" }), _jsxs("div", { className: "text-text leading-tight", children: ["Thanks to", ' ', _jsx("a", { href: `https://github.com/${template.contributedBy}`, target: "_blank", className: "text-inherit underline", children: template.contributedBy }), ' ', "for contributing this template!"] })] })) : (_jsx(Triangle, { className: "h-7" })) })] })] })] }));
|
|
73
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from '@remotion/design';
|
|
3
|
-
import { CreateVideoInternals } from 'create-video';
|
|
4
|
-
import { IconForTemplate } from './homepage/IconForTemplate';
|
|
5
|
-
import { EditorIcon } from './icons/editor';
|
|
6
|
-
import { SkiaIcon } from './icons/skia';
|
|
7
|
-
import { TimelineIcon } from './icons/timeline';
|
|
8
|
-
const Item = ({ children, label, description }) => {
|
|
9
|
-
return (_jsxs("div", { className: "h-full w-full flex-1", children: [_jsxs("div", { className: "flex flex-row items-center", children: [_jsx("div", { className: "flex mr-2.5 h-[30px] w-[30px] justify-center items-center", children: children }), _jsx("div", { className: "font-bold", children: label })] }), _jsx("div", { children: _jsx("p", {
|
|
10
|
-
// eslint-disable-next-line react/no-danger
|
|
11
|
-
dangerouslySetInnerHTML: {
|
|
12
|
-
__html: description,
|
|
13
|
-
}, className: "text-sm mt-2.5 text-gray-500 dark:text-gray-200 mb-2.5" }) })] }));
|
|
14
|
-
};
|
|
15
|
-
export const Templates = () => {
|
|
16
|
-
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "max-w-[1000px] mx-auto px-5 bg-[var(--background)]", children: [_jsxs("h1", { className: "text-4xl md:text-7xl lg:text-8xl font-black leading-none mt-[75px] text-center mb-10", children: ["Find the right", _jsx("br", {}), "template"] }), _jsx("p", { className: "text-center mb-[50px] font-brand", children: "Jumpstart your project with a template that fits your usecase." }), _jsx("h3", { children: "Free templates" }), _jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-[15px]", children: CreateVideoInternals.FEATURED_TEMPLATES.map((template) => {
|
|
17
|
-
return (_jsx(Button, { href: `/templates/${template.cliId}`, depth: 0.5, className: "justify-start text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] h-full w-full items-start", children: _jsx(Item, { label: template.homePageLabel, description: template.description, children: _jsx(IconForTemplate, { scale: 0.7, template: template }) }) }, template.cliId));
|
|
18
|
-
}) }), _jsx("br", {}), _jsx("br", {}), _jsx("h3", { children: "Paid templates" }), _jsxs("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-[15px]", children: [_jsx(Button, { href: "https://www.remotion.pro/editor-starter", depth: 0.5, className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] h-full w-full items-start", children: _jsx(Item, { label: 'Editor Starter', description: 'A boilerplate for starting your own video editor', children: _jsx(EditorIcon, { style: {
|
|
19
|
-
height: 0.7 * 32,
|
|
20
|
-
overflow: 'visible',
|
|
21
|
-
} }) }) }), _jsx(Button, { href: "https://www.remotion.pro/watercolor-map", depth: 0.5, className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] h-full w-full items-start", children: _jsx(Item, { label: 'Watercolor Map', description: 'A beautiful 2D map for travel videos', children: _jsx(SkiaIcon, { style: {
|
|
22
|
-
height: 0.7 * 32,
|
|
23
|
-
overflow: 'visible',
|
|
24
|
-
} }) }) }), _jsx(Button, { href: "https://www.remotion.pro/timeline", depth: 0.5, className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] h-full w-full items-start", children: _jsx(Item, { label: '<Timeline />', description: 'A copy pasteable component for timeline-based editing', children: _jsx(TimelineIcon, { style: {
|
|
25
|
-
height: 0.7 * 32,
|
|
26
|
-
} }) }) })] }), _jsx("br", {}), _jsxs("p", { className: "text-center text-gray-500 font-brand text-sm", children: ["Couldn't", " find what you need? Find more in the list of", ' ', _jsx("a", { href: '/docs/resources', children: "Resources" }), "."] })] }), _jsx("br", {})] }));
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useMobileLayout: () => boolean;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { useElementSize } from './use-el-size';
|
|
2
|
-
export const useMobileLayout = () => {
|
|
3
|
-
var _a;
|
|
4
|
-
const containerSize = useElementSize(typeof document === 'undefined' ? null : document.body);
|
|
5
|
-
return ((_a = containerSize === null || containerSize === void 0 ? void 0 : containerSize.width) !== null && _a !== void 0 ? _a : Infinity) < 900;
|
|
6
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
2
|
-
export const useElementSize = (ref) => {
|
|
3
|
-
const [size, setSize] = useState(null);
|
|
4
|
-
const observer = useMemo(() => {
|
|
5
|
-
if (typeof ResizeObserver === 'undefined') {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
return new ResizeObserver((entries) => {
|
|
9
|
-
setSize({
|
|
10
|
-
width: entries[0].contentRect.width,
|
|
11
|
-
height: entries[0].contentRect.height,
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
}, []);
|
|
15
|
-
const updateSize = useCallback(() => {
|
|
16
|
-
if (ref === null) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
const rect = ref.getClientRects();
|
|
20
|
-
setSize({
|
|
21
|
-
width: rect[0].width,
|
|
22
|
-
height: rect[0].height,
|
|
23
|
-
});
|
|
24
|
-
}, [ref]);
|
|
25
|
-
useEffect(() => {
|
|
26
|
-
updateSize();
|
|
27
|
-
if (!observer) {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
if (ref) {
|
|
31
|
-
observer.observe(ref);
|
|
32
|
-
}
|
|
33
|
-
return () => {
|
|
34
|
-
if (ref) {
|
|
35
|
-
observer.unobserve(ref);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
}, [observer, ref, updateSize]);
|
|
39
|
-
return size;
|
|
40
|
-
};
|
package/dist/main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
package/dist/main.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { StrictMode } from 'react';
|
|
3
|
-
import { createRoot } from 'react-dom/client';
|
|
4
|
-
import { NewLanding } from './components/Homepage';
|
|
5
|
-
import './index.css';
|
|
6
|
-
createRoot(document.getElementById('root')).render(_jsx(StrictMode, { children: _jsx("div", { "data-theme": "light", children: _jsx(NewLanding, { colorMode: "light", setColorMode: () => { } }) }) }));
|
package/dist/prompts-show.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
package/dist/prompts-show.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { StrictMode } from 'react';
|
|
3
|
-
import { createRoot } from 'react-dom/client';
|
|
4
|
-
import { PromptsShowPage } from './components/prompts/PromptsShow';
|
|
5
|
-
import './index.css';
|
|
6
|
-
const mockPromptSubmission = {
|
|
7
|
-
id: 'mock-id',
|
|
8
|
-
slug: 'mock-prompt',
|
|
9
|
-
title: 'Mock Prompt',
|
|
10
|
-
prompt: 'Create a video with a bouncing ball',
|
|
11
|
-
muxPlaybackId: 'mock-playback-id',
|
|
12
|
-
likeCount: 42,
|
|
13
|
-
createdAt: new Date().toISOString(),
|
|
14
|
-
githubUsername: 'remotion-dev',
|
|
15
|
-
xUsername: null,
|
|
16
|
-
customAvatarUrl: null,
|
|
17
|
-
toolUsed: 'Claude Code',
|
|
18
|
-
modelUsed: 'claude-sonnet-4-20250514',
|
|
19
|
-
};
|
|
20
|
-
createRoot(document.getElementById('root')).render(_jsx(StrictMode, { children: _jsx("div", { "data-theme": "light", children: _jsx(PromptsShowPage, { promptSubmission: mockPromptSubmission }) }) }));
|
package/dist/prompts-submit.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
package/dist/prompts-submit.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { StrictMode } from 'react';
|
|
3
|
-
import { createRoot } from 'react-dom/client';
|
|
4
|
-
import { PromptsSubmitPage } from './components/prompts/PromptsSubmit';
|
|
5
|
-
import './index.css';
|
|
6
|
-
createRoot(document.getElementById('root')).render(_jsx(StrictMode, { children: _jsx("div", { "data-theme": "light", children: _jsx(PromptsSubmitPage, {}) }) }));
|
package/dist/prompts.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
package/dist/prompts.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { StrictMode } from 'react';
|
|
3
|
-
import { createRoot } from 'react-dom/client';
|
|
4
|
-
import { PromptsGalleryPage } from './components/prompts/PromptsGallery';
|
|
5
|
-
import './index.css';
|
|
6
|
-
createRoot(document.getElementById('root')).render(_jsx(StrictMode, { children: _jsx("div", { "data-theme": "light", children: _jsx(PromptsGalleryPage, { promptSubmissions: [], currentPage: 1, totalPages: 1 }) }) }));
|
package/dist/team.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.css';
|