Change library for home icon + set favicon and title
This commit is contained in:
@@ -6,15 +6,18 @@ import { Navigation, Keyboard } from 'swiper/modules'
|
||||
import 'swiper/css'
|
||||
import 'swiper/css/navigation'
|
||||
import Link from 'next/link'
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import { faHome } from '@fortawesome/free-solid-svg-icons'
|
||||
import { useEffect } from 'react'
|
||||
|
||||
export default function BerryDashGameInfo () {
|
||||
useEffect(() => {
|
||||
document.title = 'Lncvrt Games - Berry Dash'
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<div className='box text-center'>
|
||||
<div className='relative'>
|
||||
<Link href='/' className='home-button absolute -top-4 -left-4'>
|
||||
<FontAwesomeIcon icon={faHome} />
|
||||
<span className='material-symbols-outlined'>home</span>
|
||||
</Link>
|
||||
</div>
|
||||
<p className='text-4xl'>Berry Dash</p>
|
||||
|
||||
@@ -6,15 +6,18 @@ import { Navigation, Keyboard } from 'swiper/modules'
|
||||
import 'swiper/css'
|
||||
import 'swiper/css/navigation'
|
||||
import Link from 'next/link'
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import { faHome } from '@fortawesome/free-solid-svg-icons'
|
||||
import { useEffect } from 'react'
|
||||
|
||||
export default function TrianglesGameInfo () {
|
||||
useEffect(() => {
|
||||
document.title = 'Lncvrt Games - Triangles'
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<div className='box text-center'>
|
||||
<div className='relative'>
|
||||
<Link href='/' className='home-button absolute -top-4 -left-4'>
|
||||
<FontAwesomeIcon icon={faHome} />
|
||||
<span className='material-symbols-outlined'>home</span>
|
||||
</Link>
|
||||
</div>
|
||||
<p className='text-4xl'>Triangles</p>
|
||||
|
||||
Reference in New Issue
Block a user