mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-08 16:06:13 +02:00
feat: stacked avatars for contributors
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import React from "react"
|
||||
|
||||
import * as SC from "./styles"
|
||||
|
||||
interface StackedAvatarsProps {
|
||||
authors: any
|
||||
}
|
||||
|
||||
export function StackedAvatars({ authors }: StackedAvatarsProps) {
|
||||
return (
|
||||
<SC.StackedAvatarsWrapper count={authors.length}>
|
||||
{authors.map((author, index) => (
|
||||
<SC.AuthorAvatar src={author.avatar} index={index} />
|
||||
))}
|
||||
</SC.StackedAvatarsWrapper>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user