Skip to content

🎥 Make videos programmatically with React

remove id and avatarUrl

Jonny Burgerd9bfeb67ff1a
diff --git a/packages/docs/docs/audio.md b/packages/docs/docs/audio.md
index f5cab29a02..231c178bee 100644
--- a/packages/docs/docs/audio.md
+++ b/packages/docs/docs/audio.md
@@ -144,17 +144,13 @@ In the Remotion Studio, the volume will be limited to `1`, since the browser can
<Credits contributors={[
{
-id: 1,
name: "Sahil Bhardwaj",
username: "evoxf1",
-avatarUrl: "https://github.com/evoxf1.png",
contributionType: "Tone Frequency Prop & Documentation."
},
- {
-id: 2,
+{
name: "Jonny Burger",
username: "jonnyburger",
-avatarUrl: "https://github.com/jonnyburger.png",
contributionType: "Tone Frequency Prop & Documentation."
},
]} />
diff --git a/packages/docs/docs/creating-a-library.md b/packages/docs/docs/creating-a-library.md
index f2fffd777a..1e9804376b 100644
--- a/packages/docs/docs/creating-a-library.md
+++ b/packages/docs/docs/creating-a-library.md
@@ -29,10 +29,8 @@ You have three options to publish your library:
<Credits contributors={[
{
-id: 1,
name: "Mohit Yadav",
username: "Just-Moh-it",
-avatarUrl: "https://github.com/Just-Moh-it.png",
contributionType: "Added library starter template docs."
},
]} />
diff --git a/packages/docs/docs/easing.md b/packages/docs/docs/easing.md
index 3f80b9a9e4..93530a04cc 100644
--- a/packages/docs/docs/easing.md
+++ b/packages/docs/docs/easing.md
@@ -308,10 +308,8 @@ Makes any easing function symmetrical. The easing function will run forwards for
<Credits contributors={[
{
-id: 1,
name: "Alubọsa",
username: "kaf-lamed-beyt",
-avatarUrl: "https://github.com/kaf-lamed-beyt.png",
contributionType: "Updated Easing Documentation."
},
]} />
diff --git a/packages/docs/docs/motion-blur/camera-motion-blur.md b/packages/docs/docs/motion-blur/camera-motion-blur.md
index 97f68fc188..6624025e27 100644
--- a/packages/docs/docs/motion-blur/camera-motion-blur.md
+++ b/packages/docs/docs/motion-blur/camera-motion-blur.md
@@ -108,17 +108,13 @@ export const MyComposition = () => {
<Credits contributors={[
{
-id: 1,
name: "Marcus Stenbeck",
username: "marcusstenbeck",
-avatarUrl: "https://github.com/marcusstenbeck.png",
contributionType: "Implemented the feature & Documentation."
},
{
-id: 2,
name: "UmungoBungo",
username: "UmungoBungo",
-avatarUrl: "https://github.com/UmungoBungo.png",
contributionType: "Inspired the Camera Motion Blur feature."
},
]} />
diff --git a/packages/docs/docs/motion-blur/trail.md b/packages/docs/docs/motion-blur/trail.md
index 78f64004d9..dd17654ec8 100644
--- a/packages/docs/docs/motion-blur/trail.md
+++ b/packages/docs/docs/motion-blur/trail.md
@@ -70,10 +70,8 @@ export const MyComposition = () => {
<Credits contributors={[
{
-id: 1,
name: "UmungoBungo",
username: "UmungoBungo",
-avatarUrl: "https://github.com/UmungoBungo.png",
contributionType: "Implemented Trail feature & Docs."
},
]} />
diff --git a/packages/docs/docs/player/thumbnail.md b/packages/docs/docs/player/thumbnail.md
index 1ac5b11353..2a449e3be4 100644
--- a/packages/docs/docs/player/thumbnail.md
+++ b/packages/docs/docs/player/thumbnail.md
@@ -281,10 +281,8 @@ See: [`<Player>` -> Handling errors](/docs/player/player#handling-errors)
<Credits contributors={[
{
-id: 1,
name: "Antoine Caron",
username: "Slashgear",
-avatarUrl: "https://github.com/Slashgear.png",
contributionType: "Implementd the featurea & updated the documentation."
},
]} />
diff --git a/packages/docs/docs/spline.md b/packages/docs/docs/spline.md
index ff39741c0a..6bb87499c6 100644
--- a/packages/docs/docs/spline.md
+++ b/packages/docs/docs/spline.md
@@ -193,10 +193,8 @@ npm run build
<Credits contributors={[
{
-id: 1,
name: "Dhroov Makwana",
username: "pabloescoder",
-avatarUrl: "https://github.com/pabloescoder.png",
contributionType: "Added Spline tutorial on exporting a spline design and animating in remotion."
},
]} />
diff --git a/packages/docs/src/components/Credits.tsx b/packages/docs/src/components/Credits.tsx
index 693755d0ba..749761d485 100644
--- a/packages/docs/src/components/Credits.tsx
+++ b/packages/docs/src/components/Credits.tsx
@@ -27,10 +27,8 @@ const linkStyle: React.CSSProperties = {
};
interface Contributor {
- id: number;
name: string;
username: string;
- avatarUrl: string;
contributionType: string;
}
@@ -60,9 +58,9 @@ export const Credits: React.FC<CreditsProps> = ({ contributors }) => {
<div style={containerStyle}>
<div style={cardContainerStyle}>
{contributors.map((contributor) => (
- <div key={contributor.id} style={cardStyle}>
+ <div key={contributor.username} style={cardStyle}>
<img
- src={contributor.avatarUrl}
+ src={`https://github.com/${contributor.username}.png`}
alt={contributor.username}
style={avatarStyle}
/>