mirror of
https://github.com/yude-jp/yude.jp
synced 2024-11-05 09:58:00 +09:00
parent
7f2411b2f6
commit
9d77edd973
@ -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>
|
||||||
|
@ -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 */}
|
||||||
|
Loading…
Reference in New Issue
Block a user