Skip to content

Commit cd969d9

Browse files
committed
Merge branch 'main' of https://github.com/remotion-dev/remotion into feature/can-render-media-on-web
2 parents 5f6363f + 9f311d4 commit cd969d9

File tree

12 files changed

+429
-422
lines changed

12 files changed

+429
-422
lines changed

packages/docs/route-plugin/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ module.exports = function () {
66
name: 'slug-plugin',
77
loadContent() {
88
const experts = fs.readFileSync(
9-
path.join(__dirname, '../src/data/experts.tsx'),
9+
path.join(
10+
__dirname,
11+
'../../../packages/promo-pages/src/components/experts/experts-data.tsx',
12+
),
1013
'utf-8',
1114
);
1215
const templates = fs.readFileSync(

packages/docs/src/components/ExpertPage.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import Head from '@docusaurus/Head';
22
import {useLocation} from '@docusaurus/router';
3+
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
4+
import {experts} from '@remotion/promo-pages/dist/experts/experts-data.js';
35
import Layout from '@theme/Layout';
46
import React from 'react';
57
import {Button} from '../../components/layout/Button';
6-
import {Spacer} from '../../components/layout/Spacer';
7-
import {experts} from '../data/experts';
8-
9-
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
108
import {PALETTE} from '../../components/layout/colors';
9+
import {Spacer} from '../../components/layout/Spacer';
1110
import {BackButton} from './BackButton';
1211
import {Seo} from './Seo';
1312

@@ -17,6 +16,7 @@ const layout: React.CSSProperties = {
1716
paddingLeft: 16,
1817
paddingRight: 16,
1918
paddingTop: 30,
19+
textAlign: 'left',
2020
};
2121

2222
const header: React.CSSProperties = {
@@ -127,7 +127,7 @@ export default () => {
127127
<div style={layout}>
128128
<BackButton link="/experts" color="white" text="Back to Experts" />
129129
<div style={headerRow}>
130-
<img style={img} src={expert.image} />
130+
<img alt={expert.name} style={img} src={expert.image} />
131131
<h2 className="big-title-on-desktop" style={title}>
132132
{expert.name}
133133
</h2>
@@ -323,8 +323,9 @@ export default () => {
323323
</svg>
324324
<div style={{flex: 1}}>
325325
Remotion Experts are independent freelancers with proven Remotion
326-
expertise and portfolios. However, due diligence is recommended
327-
before hiring.
326+
expertise and portfolios. However,{' '}
327+
<strong> perform due diligence </strong> before hiring. Remotion
328+
does not arbitrate disputes between experts and clients.
328329
</div>
329330
</div>
330331
<Spacer />

packages/docs/src/pages/experts/experts.module.css

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
 (0)