File tree 4 files changed +31
-2
lines changed
4 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ module.exports = {
10
10
'https://github.com/coderplex-org/coderplex-org/wiki/Markdown-Guide' ,
11
11
permanent : false ,
12
12
} ,
13
+ {
14
+ source : '/chat' ,
15
+ destination : 'https://chat.coderplex.org' ,
16
+ permanent : true ,
17
+ } ,
13
18
]
14
19
} ,
15
20
}
Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ const navbarItems = [
19
19
value : 'members' ,
20
20
href : '/members' ,
21
21
} ,
22
+ {
23
+ title : 'Our Chatroom' ,
24
+ value : 'our-chatroom' ,
25
+ href : '/chat' ,
26
+ } ,
22
27
]
23
28
24
29
export default function AppNavBar ( ) {
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ export default function Hero() {
12
12
</ span >
13
13
</ h1 >
14
14
< p className = "mt-3 max-w-md mx-auto text-base text-gray-500 sm:text-lg md:mt-5 md:text-xl md:max-w-3xl" >
15
- Our mission is to help each other to learn more, create awesome
16
- things, and become better developers.
15
+ Achieve your goals with a community of passionate self-learners by
16
+ joining the Coderplex Community
17
17
</ p >
18
18
< div className = "mt-5 max-w-xl mx-auto sm:flex sm:justify-center md:mt-8" >
19
19
< div className = "rounded-md shadow" >
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import {
35
35
import { Goal } from './goals'
36
36
import type { GoalResponse } from 'src/pages/[username]'
37
37
import { scrollToContentWithId } from 'src/utils'
38
+ import { IconBrandDiscord } from 'tabler-icons'
38
39
39
40
type LikeData = {
40
41
count : number
@@ -351,6 +352,15 @@ function HomePageSideNavBar() {
351
352
< Gear className = "text-gray-400 group-hover:text-gray-500 flex-shrink-0 -ml-1 mr-3 h-6 w-6" />
352
353
< span className = "truncate" > Settings</ span >
353
354
</ A >
355
+
356
+ < A
357
+ href = "/chat"
358
+ className = "text-gray-600 hover:bg-gray-50 group flex items-center px-3 py-2 text-sm font-medium rounded-md"
359
+ aria-current = "false"
360
+ >
361
+ < IconBrandDiscord className = "text-gray-400 group-hover:text-gray-500 flex-shrink-0 -ml-1 mr-3 h-6 w-6" />
362
+ < span className = "truncate" > Our Chatroom</ span >
363
+ </ A >
354
364
</ >
355
365
) }
356
366
{ ! session && (
@@ -363,6 +373,15 @@ function HomePageSideNavBar() {
363
373
< Users className = "text-gray-400 group-hover:text-gray-500 flex-shrink-0 -ml-1 mr-3 h-6 w-6" />
364
374
< span className = "truncate" > Members</ span >
365
375
</ A >
376
+ < A
377
+ href = "/chat"
378
+ target = "_blank"
379
+ className = "text-gray-600 hover:bg-gray-50 group flex items-center px-3 py-2 text-sm font-medium rounded-md"
380
+ aria-current = "false"
381
+ >
382
+ < IconBrandDiscord className = "text-gray-400 group-hover:text-gray-500 flex-shrink-0 -ml-1 mr-3 h-6 w-6" />
383
+ < span className = "truncate" > Our Chatroom</ span >
384
+ </ A >
366
385
</ >
367
386
) }
368
387
</ div >
You can’t perform that action at this time.
0 commit comments