0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-12-30 10:14:16 +09:00

Folder organizing, Modularize profile items

This commit is contained in:
2021-08-09 12:45:48 +09:00
parent 9532e0f48b
commit 3fdfcd4359
7 changed files with 112 additions and 119 deletions

View File

@@ -0,0 +1,21 @@
// Next.js
import Link from 'next/link'
// Font Awesome
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
const Contact = (props) => {
const { icon, dest, caption } = props
return (
<div className="hover:underline">
<Link href={`${dest}`}>
<a>
<FontAwesomeIcon icon={icon} className="w-7 h-7 inline lg:w-10 lg:h-10 md:w-7 md:h-7"/>
<p className="font-mono text-xl">{caption}</p>
</a>
</Link>
</div>
)
}
export default Contact