Add component for Home button
This commit is contained in:
13
src/app/components/HomeButton.tsx
Normal file
13
src/app/components/HomeButton.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import Link from 'next/link'
|
||||
|
||||
export function HomeButton () {
|
||||
return (
|
||||
<>
|
||||
<div className='relative'>
|
||||
<Link href='/' className='home-button absolute -top-4 -left-4'>
|
||||
<span className='material-symbols-outlined'>home</span>
|
||||
</Link>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user