0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-06-09 23:36:01 +09:00

Try to fix CI

This commit is contained in:
yude 2021-08-09 11:15:16 +09:00
parent 18473ec7fd
commit 7932b63d60
Signed by: yude
GPG Key ID: EB0FE5D925C4A968
2 changed files with 11 additions and 11 deletions

View File

@ -13,11 +13,11 @@ import { fas } from '@fortawesome/free-solid-svg-icons'
library.add(fab, fas)
const FontAwesomeMenu = (props) => {
const { icon, href } = props
const { icon, dest } = props
return (
<div>
<Link href={href}>
<Link href={dest}>
<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" />
</a>

View File

@ -34,16 +34,16 @@ export default function Index(props) {
{/* Index menu */}
<div className="grid grid-cols-4 gap-10">
<FontAwesomeMenu href="/profile" icon={['fas', 'user']} />
<FontAwesomeMenu href="/server" icon={['fas', 'server']} />
<FontAwesomeMenu href="/house" icon={['fas', 'house-user']} />
<FontAwesomeMenu href="https://scrapbox.io/yude" icon={['fas', 'book']} />
<FontAwesomeMenu href="https://discord.gg/X6srY7X" icon={['fab', 'discord']} />
<FontAwesomeMenu href="https://github.com/yudejp" icon={['fab', 'github']} />
<FontAwesomeMenu href="https://git.yude.jp" icon={['fab', 'git']} />
<FontAwesomeMenu href="https://mstdn.yude.jp" icon={['fab', 'mastodon']} />
<FontAwesomeMenu dest="/profile" icon={['fas', 'user']} />
<FontAwesomeMenu dest="/server" icon={['fas', 'server']} />
<FontAwesomeMenu dest="/house" icon={['fas', 'house-user']} />
<FontAwesomeMenu dest="https://scrapbox.io/yude" icon={['fas', 'book']} />
<FontAwesomeMenu dest="https://discord.gg/X6srY7X" icon={['fab', 'discord']} />
<FontAwesomeMenu dest="https://github.com/yudejp" icon={['fab', 'github']} />
<FontAwesomeMenu dest="https://git.yude.jp" icon={['fab', 'git']} />
<FontAwesomeMenu dest="https://mstdn.yude.jp" icon={['fab', 'mastodon']} />
<MinecraftMenu />
<FontAwesomeMenu href="/mutual" icon="faHeart" />
<FontAwesomeMenu dest="/mutual" icon="faHeart" />
</div>
{/* Banner */}