commit 52283c2e11203ffcc94f900624dc6873811fe73d parent d82b2dd62bdb8dca2116814bf19175df17128393 Author: MTRNord <mtrnord1@gmail.com> Date: Tue, 19 Apr 2022 19:09:38 +0200 Fix link to join page Diffstat:
| M | src/components/header.tsx | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/header.tsx b/src/components/header.tsx @@ -21,7 +21,7 @@ export class Header extends PureComponent { </div> { - !client?.isLoggedIn() ? <Link href="/join" class="text-white font-bold text-1xl logo-bg rounded-2xl py-3 px-12 shadow mt-4 sm:mt-0 transform transition-transform ease-in-out duration-300 hover:scale-105">Join</Link> : + !client?.isLoggedIn() ? <Link href={`${import.meta.env.BASE_URL}/join`} class="text-white font-bold text-1xl logo-bg rounded-2xl py-3 px-12 shadow mt-4 sm:mt-0 transform transition-transform ease-in-out duration-300 hover:scale-105">Join</Link> : <Link class="text-white font-bold text-1xl logo-bg rounded-2xl py-3 px-12 shadow mt-4 sm:mt-0 transform transition-transform ease-in-out duration-300 hover:scale-105">Post</Link> }