2021-08-09 12:45:48 +09:00
|
|
|
// 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">
|
2021-12-11 19:07:11 +09:00
|
|
|
<Link href={{ pathname: dest }}>
|
2021-08-09 12:45:48 +09:00
|
|
|
<a>
|
2021-12-12 07:15:34 +09:00
|
|
|
<FontAwesomeIcon icon={icon} className="text-3xl inline lg:text-4xl md:w-7 md:h-7"/>
|
2021-08-09 12:45:48 +09:00
|
|
|
<p className="font-mono text-xl">{caption}</p>
|
|
|
|
</a>
|
|
|
|
</Link>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Contact
|