Home / Function/ AiPromptsIndex() — supabase Function Reference

AiPromptsIndex() — supabase Function Reference

Architecture documentation for the AiPromptsIndex() function in AiPromptsIndex.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/app/guides/getting-started/ai-prompts/[slug]/AiPromptsIndex.tsx lines 7–26

export async function AiPromptsIndex() {
  const prompts = await getAiPrompts()

  return (
    <div className="grid grid-cols-[repeat(auto-fit,minmax(200px,1fr))] gap-6 not-prose">
      {prompts.map((prompt) => (
        <Link
          key={prompt.filename}
          href={`/guides/getting-started/ai-prompts/${prompt.filename}`}
          passHref
        >
          <GlassPanel
            key={prompt.filename}
            title={prompt.heading ?? prompt.filename.replaceAll('-', ' ')}
          />
        </Link>
      ))}
    </div>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free