🎥 Make videos programmatically with React
remove our own ai widget
Jonny Burger3a975fd87e16
diff --git a/packages/docs/src/theme/Layout/index.tsx b/packages/docs/src/theme/Layout/index.tsxindex ebcc6416a0..1e029d8dc9 100644--- a/packages/docs/src/theme/Layout/index.tsx+++ b/packages/docs/src/theme/Layout/index.tsx@@ -1,5 +1,4 @@import type {WrapperProps} from '@docusaurus/types';-import {AskAi} from '@remotion/promo-pages/dist/Ai.js';import '@remotion/promo-pages/dist/tailwind.css';import Layout from '@theme-original/Layout';import type LayoutType from '@theme/Layout';@@ -23,8 +22,6 @@ const LayoutWrapper = (props: Props): ReactNode => {data-ask-ai-position="br"data-ask-ai-radius="20px"/>-- <AskAi /></>);};diff --git a/packages/promo-pages/bundle.ts b/packages/promo-pages/bundle.tsindex fbdf18a3da..f5a843861f 100644--- a/packages/promo-pages/bundle.ts+++ b/packages/promo-pages/bundle.ts@@ -26,7 +26,6 @@ const result = await Bun.build({entrypoints: ['./src/components/Homepage.tsx','./src/components/homepage/Pricing.tsx',- './src/components/Ai.tsx',],format: 'esm',external: [diff --git a/packages/promo-pages/src/components/Ai.tsx b/packages/promo-pages/src/components/Ai.tsxdeleted file mode 100644index 45fc9b4dcf..0000000000--- a/packages/promo-pages/src/components/Ai.tsx+++ /dev/null@@ -1,22 +0,0 @@-import React, {useCallback} from 'react';--export const AskAi: React.FC = () => {- const click = useCallback(() => {- // @ts-expect-error- window.crawlchatEmbed.show();- }, []);-- return (- <button- type="button"- onClick={click}- style={{- backgroundColor: '#282A36',- cursor: 'pointer',- }}- className="rounded-full text-white fixed z-10 bottom-8 right-8 fontbrand appearance-none border-none px-4 py-2 font-medium text-sm"- >- Ask AI- </button>- );-};