0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-11-05 09:58:00 +09:00

Revert "Try to fix CI"

This reverts commit 7f2411b2f6.
This commit is contained in:
yude 2021-08-09 11:47:11 +09:00
parent 7f2411b2f6
commit 9d77edd973
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 } = props const { icon, dest } = props
return ( return (
<div> <div>
<Link> <Link href={dest}>
<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 icon={faUser} /> <FontAwesomeMenu dest="/profile" icon={faUser} />
<FontAwesomeMenu icon={faServer} /> <FontAwesomeMenu dest="/server" icon={faServer} />
<FontAwesomeMenu icon={faHouseUser} /> <FontAwesomeMenu dest="/house" icon={faHouseUser} />
<FontAwesomeMenu icon={faBook} /> <FontAwesomeMenu dest="https://scrapbox.io/yude" icon={faBook} />
<FontAwesomeMenu icon={faDiscord} /> <FontAwesomeMenu dest="https://discord.gg/X6srY7X" icon={faDiscord} />
<FontAwesomeMenu icon={faGithub} /> <FontAwesomeMenu dest="https://github.com/yudejp" icon={faGithub} />
<FontAwesomeMenu icon={faGit} /> <FontAwesomeMenu dest="https://git.yude.jp" icon={faGit} />
<FontAwesomeMenu icon={faMastodon} /> <FontAwesomeMenu dest="https://mstdn.yude.jp" icon={faMastodon} />
<MinecraftMenu /> <MinecraftMenu />
<FontAwesomeMenu icon={faHeart} /> <FontAwesomeMenu dest="/mutual" icon={faHeart} />
</div> </div>
{/* Banner */} {/* Banner */}