import Layout from "./components/Layout" import Link from 'next/link' import { faDiscord, faGit, faMastodon, faGithub } from '@fortawesome/free-brands-svg-icons' import { faBlog, faBook, faUser, faServer, faHouseUser } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import Image from 'next/image' import useTranslation from 'next-translate/useTranslation' import { useRouter } from 'next/router' export default function Index(props) { // Translation const router = useRouter() const { locale, locales, defaultLocale, pathname } = router const { t, lang } = useTranslation("index") const home = t('home') const profile = t('profile') const blog = t('blog') const status = t('status') const house = t('house') const discord = t('discord') const mastodon = t('mastodon') const minecraft = t('minecraft:title') return (
yude's avatar
{profile}
{blog}
{status}
{house}
Scrapbox
{discord}
Spaces on Matrix
GitHub Organization
Gitea
{mastodon}
{minecraft}
) }