mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 18:05:11 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? This adds a component showing a list of AI curated related threads to the detail thread view. ## What is the current behavior? This is not available. ## What is the new behavior? A new component on the thread view. ## Additional context Add any other context or screenshots. --------- Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
622 B
TypeScript
19 lines
622 B
TypeScript
import DefaultLayout from '~/components/Layouts/Default'
|
|
import { BackToThreadsLink } from '~/components/Contribute/BackToThreadsLink'
|
|
import { ContributeGuard } from '~/app/contribute/ContributeGuard'
|
|
|
|
export function ContributePageLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<ContributeGuard>
|
|
<DefaultLayout>
|
|
<main className="min-h-screen flex flex-col items-center">
|
|
<div className="flex-1 w-full max-w-4xl mx-auto px-4 py-16">
|
|
<BackToThreadsLink />
|
|
{children}
|
|
</div>
|
|
</main>
|
|
</DefaultLayout>
|
|
</ContributeGuard>
|
|
)
|
|
}
|