🎥 Make videos programmatically with React
how to add to showcase
Jonny Burger1ac08014a403
diff --git a/packages/docs/docusaurus.config.js b/packages/docs/docusaurus.config.jsindex ed94ebe4e4..fb52a87971 100644--- a/packages/docs/docusaurus.config.js+++ b/packages/docs/docusaurus.config.js@@ -52,7 +52,7 @@ module.exports = {],},footer: {- style: "dark",+ style: "light",links: [{title: "Docs",@@ -113,7 +113,7 @@ module.exports = {],},],- copyright: `Copyright © ${new Date().getFullYear()} Jonny Burger. Built with Docusaurus.`,+ copyright: `Copyright © ${new Date().getFullYear()} remotion.dev. Built with Docusaurus.`,},},presets: [diff --git a/packages/docs/src/pages/showcase/add.tsx b/packages/docs/src/pages/showcase/add.tsxnew file mode 100644index 0000000000..e0a23c2a7d--- /dev/null+++ b/packages/docs/src/pages/showcase/add.tsx@@ -0,0 +1,110 @@+import Layout from "@theme/Layout";+import clsx from "clsx";+import React from "react";+import headerStyles from "./header.module.css";+import styles from "./styles.module.css";++const PageHeader: React.FC = () => {+ return (+ <div className={headerStyles.row}>+ <div style={{ flex: 1 }}>+ <h1 className={headerStyles.title}>Add to showcase</h1>+ <p>+ The <a href="/showcase">Showcase</a> features videos made with+ Remotion to show use cases, share code and celebrate the creations of+ the Remotion community.+ </p>+ <p>+ You too can add your creations to the showcase! Please read carefully+ the instructions to make it as effortlessly as possible for us to+ accept your video to the showcase.+ </p>+ <h2>Guidelines</h2>+ <ul>+ <li>Metadata:</li>+ <ul>+ <li>Title: Max 80 characters, no emojis, no CAPS text</li>+ <li>+ Description: Max 280 characters, use descriptive and neutral+ language, focusing on how Remotion was used for your project. To+ plug your project, use the links section.+ </li>+ <li>+ There are 4 types of links that you can add - all of them are+ optional:+ </li>+ <ul>+ <li>+ Video: A link to where you published your video originally.+ </li>+ <li>+ Source code: A direct link to the source code of the video if it+ is public.+ </li>+ <li>+ Website: An opportunity to link to your product if you have one+ </li>+ <li>+ Tutorial: If you have a blog or video tutorial about the process+ of your video, you can link it.+ </li>+ </ul>+ </ul>+ <li>+ Order: The videos will be reshuffled every day again to balance out+ the videos who appear on top.+ </li>+ <li>+ Quality: We aim to keep a minimum bar of quality for the showcase,+ therefore we will sometimes reject submissions. Don{"'"}t submit+ videos that are overly simplistic, similar to videos already in the+ showcase or don{"'"}t live up to your ability. Only submit your best+ videos and if you submit multiple videos, remove the ones that you+ like the least.+ </li>+ <li>+ Permission: By submitting, you allow us to host your video and to+ repost it on other channels like Twitter and Instagram (we will+ always attribute you).+ </li>+ </ul>+ <h2>How to submit</h2>+ <ol>+ <li>+ <a href="https://showcase-upload.remotion.dev/" target="_blank">+ Click here+ </a>{" "}+ to upload your video.+ </li>+ <li>+ We will automatically host your video, and create static and+ animated preview images. These assets are associated with the{" "}+ <code>muxId</code>. Once uploaded, you will see a JSON markup and a+ Github link where you can edit the list of showcase videos.+ </li>+ <li>+ Edit the list of showcase videos on Github by adding the JSON object+ to the bottom of the list. Fill in the placeholders in angle+ brackets according to the guidelines above and send your pull+ request.+ </li>+ </ol>+ <p>We look forward to your submissions! 🙌</p>+ </div>+ </div>+ );+};++const ShowcaseAdd: React.FC = () => {+ return (+ <Layout title="Add to showcase" description="hihi">+ <header className={clsx("hero ", styles.heroBanner)}>+ <div className="container">+ <PageHeader />+ </div>+ </header>+ </Layout>+ );+};++export default ShowcaseAdd;diff --git a/packages/docs/src/pages/showcase/index.tsx b/packages/docs/src/pages/showcase/index.tsxindex 8e8405c01b..2543384abf 100644--- a/packages/docs/src/pages/showcase/index.tsx+++ b/packages/docs/src/pages/showcase/index.tsx@@ -16,7 +16,8 @@ const PageHeader: React.FC = () => {<h1 className={headerStyles.title}>Showcase</h1><p>Some awesome creations from the community, many with source code. Have- you made your own video with Remotion? Add it to the showcase!+ you made your own video with Remotion?{" "}+ <a href="/showcase/add">Add it to the showcase!</a></p></div></div>