Skip to content

Commit 5d7a4c8

Browse files
committed
Add anchors for team page
1 parent fe04c07 commit 5d7a4c8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/Team.jsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ function Members({ className, people, ...props }) {
3131
</div>
3232
<div>
3333
<div className="flex items-baseline gap-x-2">
34-
<h4 className="text-lg font-medium">{person.name}</h4>
34+
<h4
35+
id={person.name.toLowerCase().replace(/[^a-z0-9]/g, '-')}
36+
className="text-lg font-medium"
37+
>
38+
{person.name}
39+
</h4>
3540
{person.email ? (
3641
<Link
3742
href={`mailto:${person.email}`}

0 commit comments

Comments
 (0)