diff --git a/src/app/components/UploadButton.tsx b/src/app/components/UploadButton.tsx new file mode 100644 index 0000000..5453f26 --- /dev/null +++ b/src/app/components/UploadButton.tsx @@ -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 ( + <> +
+ + + +
+ + ) +} diff --git a/src/app/game/berry-dash/splash/page.tsx b/src/app/game/berry-dash/splash/page.tsx index 474ce6b..4cc1754 100644 --- a/src/app/game/berry-dash/splash/page.tsx +++ b/src/app/game/berry-dash/splash/page.tsx @@ -2,6 +2,7 @@ import { BackButton } from '@/app/components/BackButton' import { ReloadButton } from '@/app/components/ReloadButton' +import { UploadButton } from '@/app/components/UploadButton' import axios from 'axios' import Link from 'next/link' import { useEffect, useState } from 'react' @@ -26,24 +27,16 @@ export default function BerryDashSplash () { return (
+ { setResponse(null) Refresh() }} /> -

+

Berry Dash Splash Texts

-
- - Want to submit a splash text? - -

{response == null ? 'Loading...'