Add back button instead of home button for this

This commit is contained in:
2026-01-30 20:38:13 -07:00
parent a145d8cc2b
commit f96b01e6a5
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
import { faArrowLeft } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import Link from 'next/link'
export function BackButton ({ href }: { href: string }) {
return (
<>
<div className='relative'>
<Link href={href} className='top-button absolute -top-4 -left-4'>
<FontAwesomeIcon icon={faArrowLeft} />
</Link>
</div>
</>
)
}