diff --git a/src/app/components/BackButton.tsx b/src/app/components/BackButton.tsx new file mode 100644 index 0000000..5500d50 --- /dev/null +++ b/src/app/components/BackButton.tsx @@ -0,0 +1,15 @@ +import { faArrowLeft } from '@fortawesome/free-solid-svg-icons' +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' +import Link from 'next/link' + +export function BackButton ({ href }: { href: string }) { + return ( + <> +
+ + + +
+ + ) +} diff --git a/src/app/game/berry-dash/icon-marketplace/page.tsx b/src/app/game/berry-dash/icon-marketplace/page.tsx index 785d62c..7418f8d 100644 --- a/src/app/game/berry-dash/icon-marketplace/page.tsx +++ b/src/app/game/berry-dash/icon-marketplace/page.tsx @@ -4,6 +4,7 @@ import { useEffect, useState } from 'react' import { HomeButton } from '@/app/components/HomeButton' import { DiscordButton } from '@/app/components/DiscordButton' import axios from 'axios' +import { BackButton } from '@/app/components/BackButton' interface MarketplaceIcon { username: string @@ -33,7 +34,7 @@ export default function BerryDashGameInfo () { return (
- +

Berry Dash Icon Marketplace

A browser for the in game icon marketplace!