From f3491a1b37152caa211aa19b8a863c3666e2aa0d Mon Sep 17 00:00:00 2001 From: swve Date: Sat, 25 Apr 2026 10:47:47 +0200 Subject: [PATCH] feat: add automations --- app/[[...mdxPath]]/page.jsx | 29 +- app/layout.jsx | 18 +- components/Sidebar/Sidebar.jsx | 6 + content/platform/_meta.json | 3 +- content/platform/automations/_meta.json | 6 + content/platform/automations/events.mdx | 426 ++++++++++++++++++++++ content/platform/automations/index.mdx | 37 ++ content/platform/automations/webhooks.mdx | 237 ++++++++++++ content/platform/automations/zapier.mdx | 111 ++++++ content/platform/index.mdx | 1 + 10 files changed, 830 insertions(+), 44 deletions(-) create mode 100644 content/platform/automations/_meta.json create mode 100644 content/platform/automations/events.mdx create mode 100644 content/platform/automations/index.mdx create mode 100644 content/platform/automations/webhooks.mdx create mode 100644 content/platform/automations/zapier.mdx diff --git a/app/[[...mdxPath]]/page.jsx b/app/[[...mdxPath]]/page.jsx index b6928f2..1368a62 100644 --- a/app/[[...mdxPath]]/page.jsx +++ b/app/[[...mdxPath]]/page.jsx @@ -22,33 +22,10 @@ const Wrapper = getMDXComponents().wrapper export default async function Page(props) { const params = await props.params const { default: MDXContent, toc, metadata } = await importPage(params.mdxPath) - const path = params.mdxPath ? `/${params.mdxPath.join('/')}` : '' - - const articleJsonLd = { - '@context': 'https://schema.org', - '@type': 'TechArticle', - headline: metadata.title || 'LearnHouse Docs', - url: `${SITE_URL}${path}`, - publisher: { - '@type': 'Organization', - name: 'LearnHouse', - url: 'https://learnhouse.app', - }, - isPartOf: { - '@type': 'WebSite', - url: SITE_URL, - }, - } return ( - <> -