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/Avatar.tsx | |
| parent | 8f135707d069c900e055dae71e69909d6b9a41bb (diff) | |
| download | HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.tar.gz HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.zip | |
chore: delete useless codes
Diffstat (limited to 'docs/components/Avatar.tsx')
| -rw-r--r-- | docs/components/Avatar.tsx | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/docs/components/Avatar.tsx b/docs/components/Avatar.tsx deleted file mode 100644 index 8914269..0000000 --- a/docs/components/Avatar.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import Image from "next/image"; -import type { AuthorDetails } from "../content/team"; - -export const Avatar = ({ name, picture, GithubUsername }: AuthorDetails) => ( - <div className="flex items-center flex-shrink-0 md:justify-start"> - <div className="w-[32px] h-[32px]"> - <Image - src={picture} - height={32} - width={32} - title={name} - className="w-full rounded-full" - alt={name} - priority - /> - </div> - <dl className="ml-2 text-sm font-medium leading-4 text-left whitespace-no-wrap"> - <dt className="sr-only">Name</dt> - <dd className="text-gray-900 dark:text-white">{name}</dd> - {GithubUsername && ( - <> - <dt className="sr-only">Github</dt> - <dd> - <a - href={`https://github.com/${GithubUsername}`} - className="text-xs text-blue-500 no-underline betterhover:hover:text-blue-600 betterhover:hover:underline" - target="_blank" - rel="noopener noreferrer" - > - {`@${GithubUsername}`} - </a> - </dd> - </> - )} - </dl> - </div> -); |
