Skip to content

🎥 Make videos programmatically with React

Docs: Simplify Elements navigation

Igor Samokhovets649020a4aedd
diff --git a/packages/docs/elements-sidebars.ts b/packages/docs/elements-sidebars.ts
index a6f95e5801..bd263d5404 100644
--- a/packages/docs/elements-sidebars.ts
+++ b/packages/docs/elements-sidebars.ts
@@ -22,25 +22,12 @@ const sidebars: SidebarsConfig = {
elementsSidebar: [
{
type: 'category',
- label: 'Elements',
+ label: 'All Elements',
className: 'elements-sidebar-root',
link: {type: 'doc', id: 'index'},
collapsible: true,
collapsed: false,
items: [
- {
- type: 'link',
- label: 'Contribute an Element',
- href: '/docs/contributing/elements',
- className: 'elements-sidebar-standalone-only',
- },
- {
- type: 'html',
- className: 'elements-sidebar-standalone-only',
- value:
- '<hr style="margin-top: 4px; margin-bottom: 4px; border-bottom: none"/>',
- defaultStyle: true,
- },
...elementCategories.map(({category, label}) => ({
type: 'category' as const,
label,
diff --git a/packages/docs/elements/index.mdx b/packages/docs/elements/index.mdx
index 2ec3acd4d9..11453f73ae 100644
--- a/packages/docs/elements/index.mdx
+++ b/packages/docs/elements/index.mdx
@@ -21,4 +21,4 @@ Browse the catalog here or [directly inside Remotion Studio](/docs/studio/browse
Add [third-party Element Libraries](/elements/libraries) to browse and install Elements from other creators in Studio.
-To contribute, read the [Element contribution guide](/docs/contributing/elements).
+Have an Element idea? [Contribute](/docs/contributing/elements).