Skip to content

Commit

Permalink
Add anchors for team page
Browse files Browse the repository at this point in the history
  • Loading branch information
cyderize committed Oct 1, 2024
1 parent fe04c07 commit 5d7a4c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Team.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ function Members({ className, people, ...props }) {
</div>
<div>
<div className="flex items-baseline gap-x-2">
<h4 className="text-lg font-medium">{person.name}</h4>
<h4
id={person.name.toLowerCase().replace(/[^a-z0-9]/g, '-')}
className="text-lg font-medium"
>
{person.name}
</h4>
{person.email ? (
<Link
href={`mailto:${person.email}`}
Expand Down

0 comments on commit 5d7a4c8

Please sign in to comment.