Move componets and make it so escape clicks the back button for you
This commit is contained in:
34 files changed
+460
-159
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { faUser } from '@fortawesome/free-regular-svg-icons'
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import Link from 'next/link'
|
||||
|
||||
export function AccountButton () {
|
||||
return (
|
||||
<>
|
||||
<div className='relative'>
|
||||
<Link href='/account' className='top-button absolute -top-4 -left-4'>
|
||||
<FontAwesomeIcon icon={faUser} />
|
||||
</Link>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user