Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add community guideline to sidebar #2472

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions web/components/nav/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
LightningBoltIcon,
LoginIcon,
TemplateIcon,
ScaleIcon,
} from '@heroicons/react/outline'
// import { GiftIcon, MapIcon, MoonIcon } from '@heroicons/react/solid'
import clsx from 'clsx'
Expand Down Expand Up @@ -143,7 +144,12 @@ const getDesktopNav = (
href: '/messages',
icon: PrivateMessagesIcon,
},
{ name: 'Leagues', href: '/leagues', icon: TrophyIcon }
{ name: 'Leagues', href: '/leagues', icon: TrophyIcon },
{
name: 'Guidelines',
href: 'https://manifoldmarkets.notion.site/Community-Guidelines-2b986d33f0c646478d4921667c272f21',
icon: ScaleIcon,
},
// Disable for now.
// { name: 'Dashboards', href: '/dashboard', icon: TemplateIcon }
)
Expand All @@ -157,7 +163,12 @@ const getDesktopNav = (
},
{ name: 'News', href: '/news', icon: NewspaperIcon },
{ name: 'About', href: '/about', icon: QuestionMarkCircleIcon },
{ name: 'App', onClick: openDownloadApp, icon: DeviceMobileIcon }
{ name: 'App', onClick: openDownloadApp, icon: DeviceMobileIcon },
{
name: 'Guidelines',
href: 'https://manifoldmarkets.notion.site/Community-Guidelines-2b986d33f0c646478d4921667c272f21',
icon: ScaleIcon,
},
)
}

Expand Down
Loading