Add discord button to pages
This commit is contained in:
15
src/app/components/DiscordButton.tsx
Normal file
15
src/app/components/DiscordButton.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { faDiscord } from '@fortawesome/free-brands-svg-icons'
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import Link from 'next/link'
|
||||
|
||||
export function DiscordButton () {
|
||||
return (
|
||||
<>
|
||||
<div className='relative'>
|
||||
<Link href='/' className='home-button absolute -top-4 -right-4'>
|
||||
<FontAwesomeIcon icon={faDiscord} />
|
||||
</Link>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user