0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-23 04:30:11 +09:00

Try to fix CI

This commit is contained in:
yude 2021-08-09 11:43:30 +09:00
parent ffc6acb9cb
commit 7f2411b2f6
Signed by: yude
GPG Key ID: EB0FE5D925C4A968
2 changed files with 11 additions and 11 deletions

View File

@ -9,11 +9,11 @@ import Link from 'next/link'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
const FontAwesomeMenu = (props) => { const FontAwesomeMenu = (props) => {
const { icon, dest } = props const { icon } = props
return ( return (
<div> <div>
<Link href={dest}> <Link>
<a> <a>
<FontAwesomeIcon icon={icon} className="w-10 h-10 fill-current inline transition duration-200 ease-in-out transform hover:-translate-y-1 hover:scale-110" /> <FontAwesomeIcon icon={icon} className="w-10 h-10 fill-current inline transition duration-200 ease-in-out transform hover:-translate-y-1 hover:scale-110" />
</a> </a>

View File

@ -38,16 +38,16 @@ export default function Index(props) {
{/* Index menu */} {/* Index menu */}
<div className="grid grid-cols-4 gap-10"> <div className="grid grid-cols-4 gap-10">
<FontAwesomeMenu dest="/profile" icon={faUser} /> <FontAwesomeMenu icon={faUser} />
<FontAwesomeMenu dest="/server" icon={faServer} /> <FontAwesomeMenu icon={faServer} />
<FontAwesomeMenu dest="/house" icon={faHouseUser} /> <FontAwesomeMenu icon={faHouseUser} />
<FontAwesomeMenu dest="https://scrapbox.io/yude" icon={faBook} /> <FontAwesomeMenu icon={faBook} />
<FontAwesomeMenu dest="https://discord.gg/X6srY7X" icon={faDiscord} /> <FontAwesomeMenu icon={faDiscord} />
<FontAwesomeMenu dest="https://github.com/yudejp" icon={faGithub} /> <FontAwesomeMenu icon={faGithub} />
<FontAwesomeMenu dest="https://git.yude.jp" icon={faGit} /> <FontAwesomeMenu icon={faGit} />
<FontAwesomeMenu dest="https://mstdn.yude.jp" icon={faMastodon} /> <FontAwesomeMenu icon={faMastodon} />
<MinecraftMenu /> <MinecraftMenu />
<FontAwesomeMenu dest="/mutual" icon={faHeart} /> <FontAwesomeMenu icon={faHeart} />
</div> </div>
{/* Banner */} {/* Banner */}