mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
import Layout from '~/layouts/DefaultGuideLayout'
|
|
import { getAnalyticsConfigV0 } from '~/lib/mdx/getConfig'
|
|
import Param from '~/components/Params'
|
|
|
|
export const spec = getAnalyticsConfigV0()
|
|
|
|
export const meta = {
|
|
title: 'Analytics Self-hosting Config',
|
|
description: 'How to configure and deploy Supabase Analytics.',
|
|
}
|
|
|
|
<div>{spec.info.description}</div>
|
|
|
|
<div>
|
|
{spec.info.tags.map(tag => {
|
|
return (
|
|
<>
|
|
<h2 className="text-scale-1200">{tag.title}</h2>
|
|
<p className="text-scale-1000">{tag.description}</p>
|
|
<div className="not-prose">
|
|
<h5 className="text-base text-scale-1200 mb-3">Parameters</h5>
|
|
<ul>
|
|
{spec.parameters.filter(param => param.tags.includes(tag.id)).map((param) => {
|
|
return <Param name={param.title} type={param.type} description={param.description} required={param.required} />
|
|
})}
|
|
|
|
</ul>
|
|
</div>
|
|
</>
|
|
)
|
|
|
|
})}
|
|
|
|
</div>
|
|
|
|
export const Page = ({ children }) => <Layout meta={meta} children={children} />
|
|
|
|
export default Page
|