|
1 | 1 | import { GetStaticProps } from 'next'; |
2 | 2 | import { useTranslation } from 'next-i18next'; |
3 | 3 | import Image from 'next/image'; |
| 4 | +import Link from 'next/link'; |
4 | 5 | import React from 'react'; |
5 | 6 | import styled from 'styled-components'; |
6 | 7 | import { CubeIcon } from '@components/common'; |
@@ -107,18 +108,28 @@ function About() { |
107 | 108 | </Content> |
108 | 109 | <Content> |
109 | 110 | <Title>Developed By</Title> |
110 | | - {DEVELOPER_INFORMATION.map(({ name, introduction, field, career }) => ( |
| 111 | + {DEVELOPER_INFORMATION.map(({ name, introduction, github, blog, email, field }) => ( |
111 | 112 | <Profile key={name}> |
112 | 113 | <Name> |
113 | 114 | {name} |
114 | 115 | <div> |
115 | | - <Image src='/icons/github.svg' alt='깃허브 아이콘' width={20} height={20} quality={100} /> |
116 | | - <Image src='/icons/link.svg' alt='링크 아이콘' width={20} height={20} quality={100} /> |
| 116 | + <Link href={github} legacyBehavior> |
| 117 | + <a> |
| 118 | + <Image src='/icons/github.svg' alt='깃허브 아이콘' width={20} height={20} quality={100} /> |
| 119 | + </a> |
| 120 | + </Link> |
| 121 | + {blog && ( |
| 122 | + <Link href={blog} legacyBehavior> |
| 123 | + <a> |
| 124 | + <Image src='/icons/link.svg' alt='링크 아이콘' width={20} height={20} quality={100} /> |
| 125 | + </a> |
| 126 | + </Link> |
| 127 | + )} |
117 | 128 | </div> |
118 | 129 | </Name> |
119 | 130 | <Description> |
120 | | - <li>· 개발경력 : {career}</li> |
121 | 131 | <li>· 담당 : {field}</li> |
| 132 | + <li>· 이메일: {email}</li> |
122 | 133 | <li>· {introduction}</li> |
123 | 134 | </Description> |
124 | 135 | </Profile> |
@@ -226,10 +237,10 @@ const Profile = styled.div` |
226 | 237 | `; |
227 | 238 |
|
228 | 239 | const Name = styled.div` |
| 240 | + ${({ theme }) => theme.common.flexRow} |
229 | 241 | font-size: ${({ theme }) => theme.fontSize.xl}; |
230 | 242 | color: ${({ theme }) => theme.colors.logo}; |
231 | 243 | margin-left: 20px; |
232 | | - ${({ theme }) => theme.common.flexCenter} |
233 | 244 | gap: 10px; |
234 | 245 | `; |
235 | 246 |
|
|
0 commit comments