Add component for Home button

This commit is contained in:
2025-11-06 22:04:38 -07:00
parent 4637f73c85
commit b638f30a18
7 changed files with 25 additions and 30 deletions

View File

@@ -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>