diff --git a/app/(marketing)/oss-friends/page.tsx b/app/(marketing)/oss-friends/page.tsx new file mode 100644 index 00000000..bc7372e8 --- /dev/null +++ b/app/(marketing)/oss-friends/page.tsx @@ -0,0 +1,78 @@ +import { Button } from "@/components/ui/button"; + +export const metadata = { + title: "Projectx | Open Source Friends", + description: + "Open-source projects and tools for an open world.", +}; + +type OSSFriend = { + href: string; + name: string; + description: string; +}; + + +export default async function Friends() { + const friends: OSSFriend[] = await fetch( + "https://formbricks.com/api/oss-friends", + { + next: { + revalidate: 3600, + }, + } + ) + .then(async (res) => res.json()) + .then(({ data }) => data) + .catch(() => []); + + return ( +
+ Meet our friends who are also building and contributing to Open Source. +
++ {friend.description} +
+