diff --git a/public/img/about/avatar.png b/public/img/about/avatar.png new file mode 100644 index 0000000..041410f Binary files /dev/null and b/public/img/about/avatar.png differ diff --git a/src/app/about/components/contributor-card.tsx b/src/app/about/components/contributor-card.tsx new file mode 100644 index 0000000..33a64e6 --- /dev/null +++ b/src/app/about/components/contributor-card.tsx @@ -0,0 +1,16 @@ +import Image from 'next/image'; + +import { ContributorCardType } from '../page'; + +export default function ContributorCard({ nickname, avatarUrl, occupation }: ContributorCardType) { + return ( +
+
+ {/* {`${nickname}-avatar`} */} + wechat qrCode +
+

{nickname}

+

{occupation}

+
+ ); +} diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 522a264..68aaaca 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -1,6 +1,96 @@ import Image from 'next/image'; import styles from './about.module.css'; +import ContributorCard from './components/contributor-card'; + +export interface ContributorCardType { + nickname: string; + avatarUrl: string; + occupation: string; +} + +const contributorList: ContributorCardType[] = [ + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, + { + nickname: 'Blaksder', + avatarUrl: '/img/about/avatar.png', + occupation: '前端工程师', + }, +]; export default function Download() { return ( @@ -60,6 +150,12 @@ export default function Download() {

- 雀乐团队

+
+ {contributorList.map((card) => ( + + ))} +
+ {/* contributor wall */} diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index cf8a0f2..97e5223 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -33,7 +33,7 @@ export default function Header() { {menuList.map(({ name, path }) => (
  • {name}