Skip to content

Commit

Permalink
feat: Added the memberViewCard to the page
Browse files Browse the repository at this point in the history
  • Loading branch information
lisay committed Sep 15, 2024
1 parent ae11930 commit 34abf7a
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/app/[locale]/(default)/members/[member]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { unstable_setRequestLocale } from 'next-intl/server';
import { notFound } from 'next/navigation';

//import { useRouter } from 'next/navigation';
import { MemberViewCard } from '@/components/members/MemberViewCard';

export async function generateMetadata({
params,
Expand Down Expand Up @@ -34,7 +35,25 @@ export default function memberPage({
}

return (
<div>hei</div>
<>
<h2 className='my-4 py-4'>{member.name}</h2>
<div className='h-screen'>
<MemberViewCard
key={member.id}
id={member.id}
internal={member.internal}
name={member.name}
group={member.group}
photoUrl={member.photoUrl}
bio={member.bio}
mail={member.mail}
instagram={member.instagram}
discord={member.discord}
github={member.github}
linkedin={member.linkedin}
/>
</div>
</>
/* <article>
<header>
<div className='mb-10 mt-5 flex justify-center grid-cols-2 bg-red-500'>
Expand Down

0 comments on commit 34abf7a

Please sign in to comment.