import { fetchTeampilotData } from '@teampilot/sdk'
import { z } from 'zod'
import { env } from '~/env.mjs'
export const Reasons = async () => {
const reasons = await fetchTeampilotData({
launchpadSlugId: env.LAUNCHPAD_SLUG_ID_SDK_EXPERT,
message: '5 Reasons why Teampilot SDK is awesome',
schema: z.array(z.string()),
})
return (
<ul className="list-disc space-y-2">
{reasons.map((reason, idx) => (
<li key={idx}>{reason}</li>
))}
</ul>
)
}
-
Notifications
You must be signed in to change notification settings - Fork 0
SODEFA-GmbH-Co-KG/teampilot-sdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published