diff --git a/src/components/MoreLink/index.tsx b/src/components/MoreLink/index.tsx index 8f118ab..b8f570a 100644 --- a/src/components/MoreLink/index.tsx +++ b/src/components/MoreLink/index.tsx @@ -3,10 +3,38 @@ import { css } from '@emotion/react'; import React from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faAt, faCode, faLink, faPencilAlt } from '@fortawesome/free-solid-svg-icons'; -import { faGithub } from '@fortawesome/free-brands-svg-icons'; +import { faGithub, faLinkedin } from '@fortawesome/free-brands-svg-icons'; import ContentBlock from '../ContentBlock'; import { Title } from '../Typography'; +const links = [ + { + title: 'GitHub', + link: 'https://github.com/SkyLightQP/', + icon: faGithub + }, + { + title: 'Blog', + link: 'https://blog.skylightqp.kr/', + icon: faLink + }, + { + title: 'Baekjoon', + link: 'https://www.acmicpc.net/user/combbm', + icon: faCode + }, + { + title: 'Today I Learned', + link: 'https://til.skylightqp.kr/', + icon: faPencilAlt + }, + { + title: 'Linkedin', + link: 'https://www.linkedin.com/in/daegyeom/', + icon: faLinkedin + } +]; + const MoreLink: React.FC = () => { const onEmailClick = () => { window.open('mailto:combbm@gmail.com'); @@ -18,11 +46,10 @@ const MoreLink: React.FC = () => { e.key === 'Enter' && onEmailClick()} + onKeyUp={(e) => e.key === 'Enter' && onEmailClick()} onClick={onEmailClick} css={css` cursor: pointer; - &:hover { text-decoration: underline; } @@ -32,29 +59,13 @@ const MoreLink: React.FC = () => { -