diff --git a/apps/docs/components/HomePageCover.constants.ts b/apps/docs/components/HomePageCover.constants.ts index 14065615029..582a51fbf2a 100644 --- a/apps/docs/components/HomePageCover.constants.ts +++ b/apps/docs/components/HomePageCover.constants.ts @@ -6,4 +6,8 @@ export const setupCommand = { export const setupCommands = [setupCommand.installCli, setupCommand.installPlugin].join('\n') -export const setupPrompt = `Help me get set up with Supabase. Do the following: 1. Install the Supabase CLI as a project dev dependency with \`${setupCommand.installCli}\`, so the version is pinned per project. 2. Install the Supabase Plugin with \`${setupCommand.installPlugin}\`. 3. Review my project and determine whether Supabase is already initialized. If it is not initialized, run \`${setupCommand.initialize}\`. 4. Suggest the most relevant next steps.` +export const setupPrompt = `Help me get set up with Supabase. Do the following: +1. Install the Supabase CLI as a project dev dependency with \`${setupCommand.installCli}\`, so the version is pinned per project. +2. Install the Supabase Plugin with \`${setupCommand.installPlugin}\`. +3. Review my project and determine whether Supabase is already initialized. If it is not initialized, run \`${setupCommand.initialize}\`. +4. Suggest the most relevant next steps.` diff --git a/apps/docs/components/HomePageCover.tsx b/apps/docs/components/HomePageCover.tsx index b818ff79e4e..998b8b66236 100644 --- a/apps/docs/components/HomePageCover.tsx +++ b/apps/docs/components/HomePageCover.tsx @@ -4,45 +4,31 @@ import { Prompt, PromptContent, PromptCopy, + PromptMarkdown, PromptPanel, PromptTitle, } from '~/features/ui/PromptPanel' import { isFeatureEnabled } from 'common' -import { Sparkles, Terminal } from 'lucide-react' import { type ReactNode } from 'react' import { getCustomContent } from '../lib/custom-content/getCustomContent' import DocsCoverLogo from './DocsCoverLogo' -import { setupCommand, setupCommands, setupPrompt } from './HomePageCover.constants' +import { setupCommands, setupPrompt } from './HomePageCover.constants' const fullGettingStartedEnabled = isFeatureEnabled('docs:full_getting_started') function SetupPrompt({ cliCode }: { cliCode: ReactNode }) { return ( - - }>AI Prompt + + Agent Prompt {setupPrompt} - Help me get set up with Supabase. Do the following: 1. Install the Supabase CLI as a - project dev dependency with{' '} - - {setupCommand.installCli} - - , so the version is pinned per project. 2. Install the Supabase Plugin with{' '} - - {setupCommand.installPlugin} - - . 3. Review my project and determine whether Supabase is already initialized. If it is not - initialized, run{' '} - - {setupCommand.initialize} - - . 4. Suggest the most relevant next steps. + {setupPrompt} - }>CLI + CLI {setupCommands} {cliCode} @@ -56,8 +42,8 @@ const HomePageCover = ({ title, cliCode }: { title: string; cliCode: ReactNode } return (
-
-
+
+