website refactor
This commit is contained in:
@@ -13,7 +13,7 @@ interface TeamMembership {
|
||||
name: string;
|
||||
};
|
||||
role: string;
|
||||
joinedAt: Date;
|
||||
joinedAtLabel: string;
|
||||
}
|
||||
|
||||
interface TeamMembershipGridProps {
|
||||
@@ -46,7 +46,7 @@ export function TeamMembershipGrid({ memberships }: TeamMembershipGridProps) {
|
||||
<Surface variant="muted" rounded="full" padding={1} style={{ paddingLeft: '0.5rem', paddingRight: '0.5rem', backgroundColor: 'rgba(147, 51, 234, 0.2)', color: '#a855f7' }}>
|
||||
<Text size="xs" weight="medium" style={{ textTransform: 'capitalize' }}>{membership.role}</Text>
|
||||
</Surface>
|
||||
<Text size="xs" color="text-gray-500">Since {membership.joinedAt.toLocaleDateString('en-US', { month: 'short', year: 'numeric' })}</Text>
|
||||
<Text size="xs" color="text-gray-400">Since {membership.joinedAtLabel}</Text>
|
||||
</Stack>
|
||||
</Stack>
|
||||
<ChevronRight style={{ width: '1rem', height: '1rem', color: '#737373' }} />
|
||||
|
||||
Reference in New Issue
Block a user