Add discord link
This commit is contained in:
parent
d70838c09b
commit
960b118e90
|
@ -51,6 +51,7 @@ function getNavigation() {
|
||||||
function getMoreNavigation(user?: User | null) {
|
function getMoreNavigation(user?: User | null) {
|
||||||
if (IS_PRIVATE_MANIFOLD) {
|
if (IS_PRIVATE_MANIFOLD) {
|
||||||
return [
|
return [
|
||||||
|
{ name: 'Discord', href: 'https://discord.gg/ZtT7PxapSS' },
|
||||||
{ name: 'Manifold Markets', href: 'https://manifold.markets' },
|
{ name: 'Manifold Markets', href: 'https://manifold.markets' },
|
||||||
{
|
{
|
||||||
name: 'Sign out',
|
name: 'Sign out',
|
||||||
|
@ -113,7 +114,15 @@ const signedOutNavigation = [
|
||||||
]
|
]
|
||||||
|
|
||||||
const signedOutMobileNavigation = IS_PRIVATE_MANIFOLD
|
const signedOutMobileNavigation = IS_PRIVATE_MANIFOLD
|
||||||
? [{ name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon }]
|
? [
|
||||||
|
{ name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon },
|
||||||
|
|
||||||
|
{
|
||||||
|
name: 'Discord',
|
||||||
|
href: 'https://discord.gg/ZtT7PxapSS',
|
||||||
|
icon: ChatIcon,
|
||||||
|
},
|
||||||
|
]
|
||||||
: [
|
: [
|
||||||
{ name: 'Charity', href: '/charity', icon: HeartIcon },
|
{ name: 'Charity', href: '/charity', icon: HeartIcon },
|
||||||
{ name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon },
|
{ name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon },
|
||||||
|
@ -141,7 +150,10 @@ const signedInMobileNavigation = [
|
||||||
function getMoreMobileNav() {
|
function getMoreMobileNav() {
|
||||||
return [
|
return [
|
||||||
...(IS_PRIVATE_MANIFOLD
|
...(IS_PRIVATE_MANIFOLD
|
||||||
? [{ name: 'Manifold Markets', href: 'https://manifold.markets' }]
|
? [
|
||||||
|
{ name: 'Manifold Markets', href: 'https://manifold.markets' },
|
||||||
|
{ name: 'Discord', href: 'https://discord.gg/ZtT7PxapSS' },
|
||||||
|
]
|
||||||
: CHALLENGES_ENABLED
|
: CHALLENGES_ENABLED
|
||||||
? [
|
? [
|
||||||
{ name: 'Challenges', href: '/challenges' },
|
{ name: 'Challenges', href: '/challenges' },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user