OSS Friends list is out of date (#3192)
* OSS Friends list is out of date Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> * Add icons Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> * Refactor according to review Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> * OSS Friends list is out of date Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> Co-authored-by: niteshsingh1357 <niteshsingh1357@gmail.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: niteshsingh1357 <niteshsingh1357@gmail.com>
This commit is contained in:
25
packages/twenty-website/src/app/oss-friends/page.tsx
Normal file
25
packages/twenty-website/src/app/oss-friends/page.tsx
Normal file
@ -0,0 +1,25 @@
|
||||
import { Background } from '@/app/components/oss-friends/Background';
|
||||
import { Card, OssData } from '@/app/components/oss-friends/Card';
|
||||
import { CardContainer } from '@/app/components/oss-friends/CardContainer';
|
||||
import { ContentContainer } from '@/app/components/oss-friends/ContentContainer';
|
||||
import { Header } from '@/app/components/oss-friends/Header';
|
||||
|
||||
export default async function OssFriends() {
|
||||
const ossList = await fetch('https://formbricks.com/api/oss-friends');
|
||||
|
||||
const listJson = await ossList.json();
|
||||
|
||||
return (
|
||||
<>
|
||||
<Background />
|
||||
<ContentContainer>
|
||||
<Header />
|
||||
<CardContainer>
|
||||
{listJson.data.map((data: OssData, index: number) => (
|
||||
<Card key={index} data={data} />
|
||||
))}
|
||||
</CardContainer>
|
||||
</ContentContainer>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user