diff --git a/src/components/Member/index.tsx b/src/components/Member/index.tsx index d979794..1abfbad 100644 --- a/src/components/Member/index.tsx +++ b/src/components/Member/index.tsx @@ -1,6 +1,6 @@ import { Avatar } from "@/components/ui/avatar" -import BrowserOnly from '@docusaurus/BrowserOnly'; import { memberData } from "@/components/Member/memberData"; +import GithubIcon from '@site/static/img/github.svg'; import React, { useState, useMemo, useEffect } from 'react'; export default function Component() { @@ -65,9 +65,9 @@ export default function Component() { ))} - {/* Focus 选择 */}
{member.major}
- {member.github !== "null" && {member.github}} +{member.major}
+ {member.github !== "null" && ( + +