Skip to content

🎥 Make videos programmatically with React

improved file naming

MehmetAdemi35884f304b62
diff --git a/packages/docs/components/LandingPage/DeveloperCommunityStats-StatComponents.tsx b/packages/docs/components/LandingPage/CommunityStatItems.tsx
similarity index 99%
rename from packages/docs/components/LandingPage/DeveloperCommunityStats-StatComponents.tsx
rename to packages/docs/components/LandingPage/CommunityStatItems.tsx
index 232975f04f..ab0f4493a0 100644
--- a/packages/docs/components/LandingPage/DeveloperCommunityStats-StatComponents.tsx
+++ b/packages/docs/components/LandingPage/CommunityStatItems.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import styles from './DeveloperCommunityStats.module.css';
+import styles from './CommunityStats.module.css';
// StatItemContent component
const StatItemContent: React.FC<{
diff --git a/packages/docs/components/LandingPage/DeveloperCommunityStats.module.css b/packages/docs/components/LandingPage/CommunityStats.module.css
similarity index 100%
rename from packages/docs/components/LandingPage/DeveloperCommunityStats.module.css
rename to packages/docs/components/LandingPage/CommunityStats.module.css
diff --git a/packages/docs/components/LandingPage/DeveloperCommunityStats.tsx b/packages/docs/components/LandingPage/CommunityStats.tsx
similarity index 85%
rename from packages/docs/components/LandingPage/DeveloperCommunityStats.tsx
rename to packages/docs/components/LandingPage/CommunityStats.tsx
index db9bf5435e..4f29e8461d 100644
--- a/packages/docs/components/LandingPage/DeveloperCommunityStats.tsx
+++ b/packages/docs/components/LandingPage/CommunityStats.tsx
@@ -6,10 +6,10 @@ import {
InstallsPerMonth,
PagesOfDocs,
TemplatesAndExamples,
-} from './DeveloperCommunityStats-StatComponents';
-import styles from './DeveloperCommunityStats.module.css';
+} from './CommunityStatItems';
+import styles from './CommunityStats.module.css';
-const DeveloperCommunityStats: React.FC = () => (
+const CommunityStats: React.FC = () => (
<div className={styles.container}>
<h2 className={styles.title}>Never build alone</h2>
<p className={styles.subtitle}>Join a thriving community of developers.</p>
@@ -55,4 +55,4 @@ const DeveloperCommunityStats: React.FC = () => (
</div>
);
-export default DeveloperCommunityStats;
+export default CommunityStats;
diff --git a/packages/docs/src/pages/index.tsx b/packages/docs/src/pages/index.tsx
index 038ff97c87..4a9c0172fe 100644
--- a/packages/docs/src/pages/index.tsx
+++ b/packages/docs/src/pages/index.tsx
@@ -7,7 +7,7 @@ import {
VideoAppsTitle,
} from '../../components/LambdaSplash/VideoAppsTitle';
import {BackgroundAnimation} from '../../components/LandingPage/BackgroundAnimation';
-import DeveloperCommunityStats from '../../components/LandingPage/DeveloperCommunityStats';
+import CommunityStats from '../../components/LandingPage/CommunityStats';
import EvaluateRemotionSection from '../../components/LandingPage/EvaluateRemotionSection';
import {NewsletterButton} from '../../components/LandingPage/NewsletterButton';
import {Pricing} from '../../components/LandingPage/Pricing';
@@ -19,9 +19,6 @@ import {Parametrize} from '../../components/LandingPage/parametrize';
import {RealMP4Videos} from '../../components/LandingPage/real-mp4-videos';
import styles from './landing.module.css';
-const SHOW_DEVELOPER_COMMUNITY_STATS = true;
-const SHOW_TRUSTED_BY_BANNER = true;
-
const NewLanding: React.FC = () => {
return (
<Layout>
@@ -69,10 +66,10 @@ const NewLanding: React.FC = () => {
<PricingTitle />
<Pricing />
- {SHOW_TRUSTED_BY_BANNER && <TrustedByBanner />}
+ <TrustedByBanner />
<br />
<br />
- {SHOW_DEVELOPER_COMMUNITY_STATS && <DeveloperCommunityStats />}
+ <CommunityStats />
<EvaluateRemotionSection />
<NewsletterButton />
<br />