Add component for Home button
This commit is contained in:
@@ -7,6 +7,7 @@ import 'swiper/css'
|
||||
import 'swiper/css/navigation'
|
||||
import Link from 'next/link'
|
||||
import { useEffect } from 'react'
|
||||
import { HomeButton } from '@/app/components/HomeButton'
|
||||
|
||||
export default function TrianglesGameInfo () {
|
||||
useEffect(() => {
|
||||
@@ -15,11 +16,7 @@ export default function TrianglesGameInfo () {
|
||||
|
||||
return (
|
||||
<div className='box text-center'>
|
||||
<div className='relative'>
|
||||
<Link href='/' className='home-button absolute -top-4 -left-4'>
|
||||
<span className='material-symbols-outlined'>home</span>
|
||||
</Link>
|
||||
</div>
|
||||
<HomeButton />
|
||||
<p className='text-4xl'>Triangles</p>
|
||||
<p>Triangles is a Geometry Dash fan game made in the Unity Game Engine</p>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user