diff options
| author | 2023-11-03 21:13:33 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:13:33 +0800 | |
| commit | 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (patch) | |
| tree | 51614fe47bff8bb11028a07d4a35c34c9ff6594a /docs/components/Authors.tsx | |
| parent | 8f135707d069c900e055dae71e69909d6b9a41bb (diff) | |
| download | HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.tar.gz HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.zip | |
chore: delete useless codes
Diffstat (limited to 'docs/components/Authors.tsx')
| -rw-r--r-- | docs/components/Authors.tsx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/docs/components/Authors.tsx b/docs/components/Authors.tsx deleted file mode 100644 index 0623440..0000000 --- a/docs/components/Authors.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { Avatar } from "./Avatar"; -import cn from "classnames"; -import HYDROROLL_TEAM from "../content/team"; -import type { Author } from "../content/team"; - -export function Authors({ authors }: { authors: Array<Author> }) { - const validAuthors = authors.filter((author) => HYDROROLL_TEAM[author]); - return ( - <div className="w-full border-b border-gray-400 authors border-opacity-20"> - <div - className={cn( - "flex flex-wrap justify-center py-8 mx-auto gap-7", - authors.length > 4 && "max-w-3xl" - )} - > - {validAuthors.map((username) => ( - <Avatar key={username} {...HYDROROLL_TEAM[username]} /> - ))} - </div> - </div> - ); -} |
