mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 18:05:11 +03:00
https://github.com/user-attachments/assets/fba86c42-a122-4eb5-8531-db663d022100 Makes a few style and content changes focused on our quickstarts, starting with - docs/guides/getting-started/quickstarts/reactjs - docs/guides/getting-started/quickstarts/nextjs. Changes - Reduced container size and increased x padding for more breathing room - Adjusted header padding and spacing - Stripped non critical content from guides - Merged steps where possible e.g. one sql blocks to run instead of multiple - Moved shadcn/supabase ui components into a next step - Introduced a step for installing agent skills (in future can be plugin) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated multiple quickstarts to add an **“Open Connect panel”** primary action for environment-variable setup. * Removed extra UI CTA partials from several “Query” sections. * Added **Next steps** links to drop-in UI components and extended the database flow with an optional **agent skills** step. * **UI / Guide Layout** * Refreshed guide spacing/typography (breadcrumb spacing, header margins, and removed subtitle divider). * Adjusted guide/table-of-contents sizing and tightened step/details and code section alignment. * Updated main layout width and padding for docs pages. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Chris Chinchilla <chris.ward@supabase.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
24 lines
548 B
TypeScript
24 lines
548 B
TypeScript
import Breadcrumbs from '~/components/Breadcrumbs'
|
|
import { type ReactNode } from 'react'
|
|
import { cn } from 'ui'
|
|
|
|
interface GuideArticleProps {
|
|
children: ReactNode
|
|
className?: string
|
|
}
|
|
|
|
export function GuideArticle({ children, className }: GuideArticleProps) {
|
|
return (
|
|
<>
|
|
<Breadcrumbs className="mb-6" />
|
|
<article
|
|
// Used to get headings for the table of contents
|
|
id="sb-docs-guide-main-article"
|
|
className={cn('prose max-w-none', className)}
|
|
>
|
|
{children}
|
|
</article>
|
|
</>
|
|
)
|
|
}
|