Add proper button for splash page
This commit is contained in:
15
src/app/components/UploadButton.tsx
Normal file
15
src/app/components/UploadButton.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { faUpload } from '@fortawesome/free-solid-svg-icons'
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import Link from 'next/link'
|
||||
|
||||
export function UploadButton ({ href }: { href: string }) {
|
||||
return (
|
||||
<>
|
||||
<div className='relative'>
|
||||
<Link href={href} className='top-button absolute -top-4 right-8'>
|
||||
<FontAwesomeIcon icon={faUpload} />
|
||||
</Link>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user