Skip to content

🎥 Make videos programmatically with React

blue link

Jonny Burger52e0aea21bf8
diff --git a/packages/docs/docs/audio.md b/packages/docs/docs/audio.md
index 9352c70247..0a4eccf66b 100644
--- a/packages/docs/docs/audio.md
+++ b/packages/docs/docs/audio.md
@@ -149,11 +149,11 @@ In the Remotion Studio, the volume will be limited to `1`, since the browser can
<Credits contributors={[
{
-username: "evoxf1",
-contribution: "Tone Frequency Prop & Documentation."
+username: "JonnyBurger",
+contribution: "Implementation"
},
{
-username: "JonnyBurger",
-contribution: "Tone Frequency Prop & Documentation."
+username: "evoxf1",
+contribution: <><code>toneFrequency</code> prop</>
},
]} />
diff --git a/packages/docs/src/components/Credits.tsx b/packages/docs/src/components/Credits.tsx
index d88e32975e..0ef403fac9 100644
--- a/packages/docs/src/components/Credits.tsx
+++ b/packages/docs/src/components/Credits.tsx
@@ -1,7 +1,6 @@
import { useColorMode } from "@docusaurus/theme-common";
import React from "react";
-
-const containerStyle: React.CSSProperties = {};
+import "./credits.css";
const cardContainerStyle: React.CSSProperties = {
display: "flex",
@@ -40,9 +39,7 @@ const ContributorComp: React.FC<{
const textColor = colorMode === "dark" ? "#ffffff" : "#000000";
const cardStyle: React.CSSProperties = {
- maxWidth: "300px",
- width: "100%",
- borderRadius: "10px",
+ width: "300px",
overflow: "hidden",
display: "flex",
color: textColor,
@@ -64,6 +61,7 @@ const ContributorComp: React.FC<{
href={`https://github.com/${contributor.username}`}
target="_blank"
rel="noopener noreferrer"
+ className="credits-contributors"
style={{ ...linkStyle, color: textColor }}
>
<div key={contributor.username} style={cardStyle}>
@@ -115,7 +113,7 @@ const title: React.CSSProperties = {
export const Credits: React.FC<CreditsProps> = ({ contributors }) => {
return (
- <div style={containerStyle}>
+ <div>
<div style={titleContainer}>
<div style={title}>CONTRIBUTORS</div>
<div style={titleLine} />
diff --git a/packages/docs/src/components/credits.css b/packages/docs/src/components/credits.css
new file mode 100644
index 0000000000..50481c94bb
--- /dev/null
+++ b/packages/docs/src/components/credits.css
@@ -0,0 +1,3 @@
+.credits-contributors code {
+ color: var(--ifm-color-primary);
+}