Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 302b001

Browse files
committed
Updates to the navbar
1 parent 93aa05b commit 302b001

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

src/components/AppNavBar.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ const navbarItems = [
1919
{
2020
title: 'Chatroom',
2121
value: 'chatroom',
22-
href: '/chat',
23-
},
24-
{
25-
title: 'Report Bug',
26-
value: 'report-bug',
27-
href: 'https://github.com/coderplex-org/coderplex-org/issues/new',
22+
href: 'https://chat.coderplex.org',
2823
},
2924
]
3025

@@ -51,6 +46,11 @@ export default function AppNavBar() {
5146
value: 'settings',
5247
href: '/profile/settings',
5348
},
49+
{
50+
title: 'Report Bug',
51+
value: 'report-bug',
52+
href: 'https://github.com/coderplex-org/coderplex-org/issues/new',
53+
},
5454
]
5555
: []),
5656
]

src/components/HomePageFeed.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
import { Avatar, Button, Menu } from '@/ui'
1+
import { Avatar, Menu } from '@/ui'
22
import {
33
ChatCenteredDots,
44
DotsThreeOutlineVertical,
5-
Eye,
65
Gear,
76
Pencil,
87
RocketLaunch,
98
ThumbsUp,
109
Trash,
1110
UserCircle,
1211
Users,
13-
X,
1412
} from 'phosphor-react'
1513
import * as React from 'react'
1614
import { HomePageFeedUpdateType } from 'src/pages'
1715
import { DateTime } from 'luxon'
1816
import { useMutation, useQuery, useQueryClient } from 'react-query'
1917
import classNames from 'classnames'
20-
import { useState, useRef, useEffect } from 'react'
18+
import { useState, useRef } from 'react'
2119
import { signIn, useSession } from 'next-auth/client'
2220
import { User } from 'src/pages/members'
2321
import useFollowUser from './profile/useFollowUser'
@@ -446,7 +444,7 @@ function HomePageSideNavBar() {
446444
</A>
447445

448446
<A
449-
href="/chat"
447+
href="https://chat.coderplex.org"
450448
className="text-gray-600 hover:bg-gray-50 group flex items-center px-3 py-2 text-sm font-medium rounded-md"
451449
aria-current="false"
452450
>
@@ -475,7 +473,7 @@ function HomePageSideNavBar() {
475473
<span className="truncate">Members</span>
476474
</A>
477475
<A
478-
href="/chat"
476+
href="https://chat.coderplex.org"
479477
target="_blank"
480478
className="text-gray-600 hover:bg-gray-50 group flex items-center px-3 py-2 text-sm font-medium rounded-md"
481479
aria-current="false"

0 commit comments

Comments
 (0)