mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-22 20:20:09 +09:00
Update index.js
This commit is contained in:
parent
3fdfcd4359
commit
d3bf8cc2f2
@ -1,23 +1,28 @@
|
|||||||
// Load base layout
|
// Load base layout
|
||||||
import Layout from "./components/Layout"
|
import Layout from "./components/Layout"
|
||||||
|
|
||||||
// Menu
|
// Menu
|
||||||
import FAMenu from "./components/Menu/FontAwesomeMenu"
|
import FAMenu from "./components/Menu/FontAwesomeMenu"
|
||||||
|
|
||||||
// Banner
|
// Banner
|
||||||
import BlueRibbon from "./components/Footer/BlueRibbon"
|
import BlueRibbon from "./components/Footer/BlueRibbon"
|
||||||
import HappyBusy from "./components/Footer/HappyBusy"
|
import HappyBusy from "./components/Footer/HappyBusy"
|
||||||
|
|
||||||
// Next.js
|
// Next.js
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
|
|
||||||
// i18n
|
// i18n
|
||||||
import useTranslation from 'next-translate/useTranslation'
|
import useTranslation from 'next-translate/useTranslation'
|
||||||
|
|
||||||
// React Router
|
// React Router
|
||||||
import { useRouter } from 'next/router'
|
import { useRouter } from 'next/router'
|
||||||
import MinecraftMenu from "./components/Menu/MinecraftMenu"
|
import MinecraftMenu from "./components/Menu/MinecraftMenu"
|
||||||
|
|
||||||
// Font Awesome
|
// Font Awesome
|
||||||
import { faDiscord, faGit, faMastodon, faGithub } from '@fortawesome/free-brands-svg-icons'
|
import { faDiscord, faGit, faMastodon, faGithub } from '@fortawesome/free-brands-svg-icons'
|
||||||
import { faBlog, faBook, faUser, faServer, faHouseUser, faHeart, faHome } from '@fortawesome/free-solid-svg-icons'
|
import { faBlog, faBook, faUser, faServer, faHouseUser, faHeart, faHome } from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
|
|
||||||
export default function Index(props) {
|
export default function Index(props) {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const { locale, locales, defaultLocale, pathname } = router
|
const { locale, locales, defaultLocale, pathname } = router
|
||||||
|
Loading…
Reference in New Issue
Block a user