Skip to content

🎥 Make videos programmatically with React

Add video call button to experts

MehmetAdemi3f402fb1e354
diff --git a/packages/docs/src/components/icons.tsx b/packages/docs/src/components/icons.tsx
index f586178ccf..90e29b47d6 100644
--- a/packages/docs/src/components/icons.tsx
+++ b/packages/docs/src/components/icons.tsx
@@ -71,3 +71,40 @@ export const EmailLogo: React.FC = () => {
</svg>
);
};
+
+export const VideoCallLogo: React.FC = () => {
+ return (
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 1339 1339"
+ fill="none"
+ style={{
+ width: 30,
+ marginRight: 10,
+ }}
+ >
+ <g filter="url(#filter0_d_1118_90)">
+ <path
+ d="M229 483.994C229 450.86 255.86 424 288.994 424H708.949C792.654 424 860.511 491.857 860.511 575.563V855.006C860.511 888.14 833.651 915 800.518 915H380.563C296.857 915 229 847.143 229 763.437V483.994Z"
+ fill="white"
+ />
+ <path
+ d="M288.994 431.105H708.949C788.731 431.105 853.407 495.781 853.407 575.563V855.006C853.407 884.216 829.727 907.896 800.518 907.896H380.563C300.781 907.896 236.105 843.219 236.105 763.437V483.994C236.105 454.784 259.784 431.105 288.994 431.105Z"
+ stroke="#505050"
+ strokeWidth="14.209"
+ />
+ </g>
+ <g filter="url(#filter1_d_1118_90)">
+ <path
+ d="M898.402 597.835C898.402 577.414 907.19 557.98 922.522 544.492L1042.84 438.648C1068.34 416.217 1108.38 434.323 1108.38 468.283V871.921C1108.38 905.562 1068.99 923.782 1043.35 902L932.908 808.163C911.019 789.565 898.402 762.29 898.402 733.567V597.835Z"
+ fill="white"
+ />
+ <path
+ d="M927.215 549.827L1047.53 443.982C1068.44 425.589 1101.28 440.436 1101.28 468.283V871.921C1101.28 899.506 1068.98 914.447 1047.95 896.586L937.508 802.748C917.207 785.5 905.507 760.206 905.507 733.567V597.835C905.507 579.456 913.415 561.966 927.215 549.827Z"
+ stroke="#505050"
+ strokeWidth="14.209"
+ />
+ </g>
+ </svg>
+ );
+};
diff --git a/packages/docs/src/data/experts.tsx b/packages/docs/src/data/experts.tsx
index ded7ba7b0b..a845039b93 100644
--- a/packages/docs/src/data/experts.tsx
+++ b/packages/docs/src/data/experts.tsx
@@ -9,6 +9,7 @@ export type Expert = {
github: React.ReactNode;
linkedin: React.ReactNode;
email: React.ReactNode;
+ videocall: React.ReactNode;
slug: string;
since: number;
};
@@ -22,6 +23,7 @@ export const experts: Expert[] = [
github: "marcusstenbeck",
linkedin: "in/mstenbeck/",
+ videocall: null,
since: new Date("2022-08-15").getTime(),
description: (
<div>
@@ -52,6 +54,7 @@ export const experts: Expert[] = [
github: "florentpergoud",
linkedin: "in/florent-pergoud/",
+ videocall: null,
since: new Date("2022-08-15").getTime(),
description: (
<div>
@@ -76,6 +79,7 @@ export const experts: Expert[] = [
github: null,
linkedin: "in/sterv/",
+ videocall: null,
since: new Date("2022-08-15").getTime(),
description: (
<div>
@@ -96,6 +100,7 @@ export const experts: Expert[] = [
github: "Just-Moh-it",
linkedin: "in/just-moh-it/",
+ videocall: null,
since: new Date("2022-08-15").getTime(),
description: (
<div>
@@ -120,6 +125,7 @@ export const experts: Expert[] = [
github: "satelllte",
linkedin: "in/satelllte/",
+ videocall: null,
since: new Date("2022-09-16").getTime(),
description: (
@@ -151,6 +157,7 @@ export const experts: Expert[] = [
github: "BenjaminJameson",
linkedin: null,
+ videocall: null,
since: new Date("2022-11-03").getTime(),
description: (
<div>
@@ -174,6 +181,7 @@ export const experts: Expert[] = [
linkedin: "in/karelnagel/",
since: new Date("2022-08-22").getTime(),
+ videocall: null,
description: (
<div>
I made:{" "}
@@ -193,6 +201,7 @@ export const experts: Expert[] = [
github: "alexfernandez803",
linkedin: "in/alex-f-17a5bb56/",
+ videocall: "remotion-expert-alex-fernandez",
since: new Date("2022-12-02").getTime(),
description: (
<div>
@@ -210,6 +219,7 @@ export const experts: Expert[] = [
github: "UmungoBungo",
linkedin: "in/matthew-mcgillivray-68295a55",
+ videocall: "remotion-expert-matt-mcgillivray",
since: new Date("2023-01-30").getTime(),
description: (
<div>
@@ -236,6 +246,7 @@ export const experts: Expert[] = [
github: null,
linkedin: "in/raymond-lotmar/",
+ videocall: "remotion-expert-ray-lotmar",
since: new Date("2023-01-30").getTime(),
description: (
<div>
@@ -258,6 +269,7 @@ export const experts: Expert[] = [
github: "encho",
linkedin: "in/lorenzobertolini/",
+ videocall: null,
since: new Date("2023-03-14").getTime(),
description: (
<div>
@@ -288,6 +300,7 @@ export const experts: Expert[] = [
github: "Slashgear",
linkedin: "in/antoine-caron-slash/",
+ videocall: null,
since: new Date("2023-03-17").getTime(),
description: (
<div>
@@ -318,6 +331,7 @@ export const experts: Expert[] = [
github: "CruuzAzul",
linkedin: "in/mickaelalves/",
+ videocall: null,
since: new Date("2023-03-17").getTime(),
description: (
<div>
@@ -348,6 +362,7 @@ export const experts: Expert[] = [
github: "thecmdrunner",
linkedin: "in/pranavk7/",
+ videocall: null,
since: new Date("2023-07-03").getTime(),
description: (
<div>
diff --git a/packages/docs/src/pages/experts/index.tsx b/packages/docs/src/pages/experts/index.tsx
index 7962d11253..438dab478b 100644
--- a/packages/docs/src/pages/experts/index.tsx
+++ b/packages/docs/src/pages/experts/index.tsx
@@ -11,6 +11,7 @@ import {
GitHubLogo,
LinkedInLogo,
TwitterLogo,
+ VideoCallLogo,
} from "../../components/icons";
import { Seo } from "../../components/Seo";
import { experts } from "../../data/experts";
@@ -174,6 +175,21 @@ const Experts: React.FC = () => {
</a>
</div>
) : null}
+ <Spacer />
+ <Spacer />
+ {e.videocall ? (
+ <div style={flex}>
+ <a
+ style={docsButton}
+ target={"_blank"}
+ href={`https://cal.com/${e.videocall}`}
+ >
+ <BlueButton loading={false} fullWidth size="sm">
+ <VideoCallLogo /> Video call
+ </BlueButton>
+ </a>
+ </div>
+ ) : null}
</div>
</div>
);