diff --git a/web/components/header.tsx b/web/components/header.tsx
index 57f021a7..b723ebb7 100644
--- a/web/components/header.tsx
+++ b/web/components/header.tsx
@@ -11,24 +11,32 @@ import { MenuButton } from './menu'
const hoverClasses =
'hover:underline hover:decoration-indigo-400 hover:decoration-2'
-const mobileNavigation = [
- {
- name: 'Home',
- href: '/',
- },
- {
- name: 'Account',
- href: '/account',
- },
- {
- name: 'Your bets',
- href: '/bets',
- },
- {
- name: 'Create a market',
- href: '/create',
- },
-]
+function getNavigationOptions(user: User, options: { mobile: boolean }) {
+ const { mobile } = options
+ return [
+ {
+ name: 'Home',
+ href: '/',
+ },
+ ...(mobile
+ ? [
+ { name: 'FAQ', href: '/about' },
+ {
+ name: 'Create a market',
+ href: '/create',
+ },
+ ]
+ : []),
+ {
+ name: 'Your bets',
+ href: '/bets',
+ },
+ {
+ name: 'Your markets',
+ href: `/${user.username}`,
+ },
+ ]
+}
function ProfileSummary(props: { user: User }) {
const { user } = props
@@ -50,6 +58,17 @@ function SignedInHeaders(props: { user: User; themeClasses?: string }) {
return (
<>
+
+
+ FAQ
+
+
+
-
-
- Your bets
-
-
-
-
-
-