-
-
© Talo Platform Ltd {new Date().getFullYear()}
-
Self-funded and independent
-
- About us
-
-
+
+
+
+
+
+
Integrations
+
+ -
+
+ Steamworks integration
+
+
+ -
+
+ Unity package
+
+
+ -
+
+ Godot plugin
+
+
+
+
+
+
+
Links
+
+ -
+ GitHub
+
+ -
+
+ Docs
+
+
+ -
+
+ Blog
+
+
+ -
+
+ Showcase
+
+
+ -
+
+ Pricing
+
+
+ -
+
+ Privacy
+
+
+ -
+
+ Terms
+
+
+
+
+
+
+
)
}
diff --git a/src/components/HideForSelfService.tsx b/src/components/HideForSelfService.tsx
new file mode 100644
index 0000000..1e447de
--- /dev/null
+++ b/src/components/HideForSelfService.tsx
@@ -0,0 +1,12 @@
+import { ReactNode } from 'react'
+import { useLocation } from 'react-router-dom'
+
+export function HideForSelfService({ children }: { children: ReactNode }) {
+ const location = useLocation()
+
+ if (location.pathname.startsWith('/manage/')) {
+ return null
+ }
+
+ return children
+}
diff --git a/src/components/NavBar.tsx b/src/components/NavBar.tsx
index eb0a754..9e43479 100644
--- a/src/components/NavBar.tsx
+++ b/src/components/NavBar.tsx
@@ -7,6 +7,7 @@ import routes from '../constants/routes'
import activeGameState from '../state/activeGameState'
import Button from './Button'
import GameSwitcher from './GameSwitcher'
+import { HideForSelfService } from './HideForSelfService'
import Link from './Link'
import LinkButton from './LinkButton'
import MobileMenu from './MobileMenu'
@@ -49,24 +50,26 @@ export default function NavBar() {
)
return (
-
+
)
}
diff --git a/src/components/UnauthedContainer.tsx b/src/components/UnauthedContainer.tsx
index 7bea804..d686cff 100644
--- a/src/components/UnauthedContainer.tsx
+++ b/src/components/UnauthedContainer.tsx
@@ -1,7 +1,16 @@
+import { clsx } from 'clsx'
import { ReactNode } from 'react'
-export function UnauthedContainer({ children }: { children: ReactNode }) {
+export function UnauthedContainer({
+ children,
+ className,
+}: {
+ children: ReactNode
+ className?: string
+}) {
return (
-
{children}
+
+ {children}
+
)
}
diff --git a/src/components/UnauthedContainerInner.tsx b/src/components/UnauthedContainerInner.tsx
index 7e05c5f..2ddcbd6 100644
--- a/src/components/UnauthedContainerInner.tsx
+++ b/src/components/UnauthedContainerInner.tsx
@@ -5,17 +5,18 @@ import { unauthedContainerStyle } from '../styles/theme'
type Props
= {
as?: T
children: ReactNode
-} & Omit, 'as' | 'children' | 'className'>
+} & Omit, 'as' | 'children'>
export function UnauthedContainerInner({
as: As,
children,
+ className,
...props
}: Props) {
const Tag = As ?? 'div'
return (
-
+
{children}
)
diff --git a/src/pages/self-service/DeletePlayer.tsx b/src/pages/self-service/DeletePlayer.tsx
index a1d7f89..a9aa1c8 100644
--- a/src/pages/self-service/DeletePlayer.tsx
+++ b/src/pages/self-service/DeletePlayer.tsx
@@ -37,7 +37,7 @@ export default function DeletePlayer() {
if (loading) {
return (
-
+