lp: Update oss friends page (#1225)

This commit is contained in:
Johannes
2023-10-16 14:44:41 +02:00
committed by GitHub
parent f2d4cf4087
commit 4b3547c96e
2 changed files with 12 additions and 5 deletions

View File

@@ -135,6 +135,11 @@ const nextConfig = {
destination: "https://www.producthunt.com/products/formbricks",
permanent: true,
},
{
source: "/join-oss-friends",
destination: "https://formbricks.com/clhys1p9r001cpr0hu65rwh17",
permanent: true,
},
];
},
async rewrites() {

View File

@@ -1,5 +1,5 @@
import Layout from "@/components/shared/Layout";
import HeroTitle from "@/components/shared/HeroTitle";
import Layout from "@/components/shared/Layout";
import { Button } from "@formbricks/ui/Button";
type OSSFriend = {
@@ -18,19 +18,21 @@ export default function OSSFriendsPage({ OSSFriends }: Props) {
<HeroTitle headingPt1="Our" headingTeal="Open-source" headingPt2="Friends" />
<div className="m-4 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3">
{OSSFriends.map((friend, index) => (
<div key={index} className="overflow-hidden rounded bg-slate-100 p-6 shadow-md">
<a href={friend.href} className="mb-2 text-xl font-bold">
<div key={index} className="overflow-hidden rounded bg-slate-100 dark:bg-slate-800 p-6 shadow-md">
<a href={friend.href} className="mb-2 text-xl font-bold text-slate-900 dark:text-slate-100">
{friend.name}
</a>
<p className="mt-4 text-sm text-gray-700">{friend.description}</p>
<p className="mt-4 text-sm text-slate-700 dark:text-slate-300">{friend.description}</p>
<div className="mt-4">
<Button target="_blank" variant="primary" href={friend.href}>
<Button target="_blank" variant="secondary" href={friend.href}>
Learn more
</Button>
</div>
</div>
))}
</div>
<div className="text-center mt-4">
<Button variant="minimal" className="dark:text-slate-400" href="https://formbricks.com/clhys1p9r001cpr0hu65rwh17" target="_blank">Wanna join OSS Friends?</Button></div>
</Layout>
);
}