Skip to content

🎥 Make videos programmatically with React

make stats clickable

MehmetAdemi9e72b4d19202
diff --git a/packages/docs/components/LandingPage/DeveloperCommunityStats.module.css b/packages/docs/components/LandingPage/DeveloperCommunityStats.module.css
index dcbadc84a3..31869ebaaf 100644
--- a/packages/docs/components/LandingPage/DeveloperCommunityStats.module.css
+++ b/packages/docs/components/LandingPage/DeveloperCommunityStats.module.css
@@ -28,7 +28,7 @@
.statItemLink {
text-decoration: none;
color: inherit;
- display: flex;
+ display: contents; /* "display: contents" causes an element's children to appear as if they were direct children of the element's parent, ignoring the element itself. This can be useful when a wrapper element should be ignored when using CSS grid or similar layout techniques. */
}
.statItemLink:hover,
diff --git a/packages/docs/components/LandingPage/DeveloperCommunityStats.tsx b/packages/docs/components/LandingPage/DeveloperCommunityStats.tsx
index f4c7f1fe33..bf6ca4ff6b 100644
--- a/packages/docs/components/LandingPage/DeveloperCommunityStats.tsx
+++ b/packages/docs/components/LandingPage/DeveloperCommunityStats.tsx
@@ -11,15 +11,46 @@ import styles from './DeveloperCommunityStats.module.css';
const DeveloperCommunityStats: React.FC = () => (
<div className={styles.container}>
- <h2 className={styles.title}>Developer community stats</h2>
+ <h2 className={styles.title}>Never build alone</h2>
<p className={styles.subtitle}>A thriving community of developers.</p>
<div className={styles.statsGrid}>
- <InstallsPerMonth />
- <PagesOfDocs />
- <TemplatesAndExamples />
- <GitHubStars />
- <DiscordMembers />
- <Contributors />
+ <a
+ target="_blank"
+ href="https://www.npmjs.com/package/remotion"
+ className={styles.statItemLink}
+ >
+ <InstallsPerMonth />
+ </a>
+ <a href="https://www.remotion.dev/docs/" className={styles.statItemLink}>
+ <PagesOfDocs />
+ </a>
+ <a
+ href="https://www.remotion.dev/templates"
+ className={styles.statItemLink}
+ >
+ <TemplatesAndExamples />
+ </a>
+ <a
+ target="_blank"
+ href="https://github.com/remotion-dev/remotion"
+ className={styles.statItemLink}
+ >
+ <GitHubStars />
+ </a>
+ <a
+ target="_blank"
+ href="https://remotion.dev/discord"
+ className={styles.statItemLink}
+ >
+ <DiscordMembers />
+ </a>
+ <a
+ target="_blank"
+ href="https://github.com/remotion-dev/remotion/graphs/contributors"
+ className={styles.statItemLink}
+ >
+ <Contributors />
+ </a>
</div>
</div>
);