File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 11"use client" ;
22import React , { useState } from "react" ;
33import { IoChatbubbleEllipsesOutline } from "react-icons/io5" ;
4- import { FaUserFriends } from "react-icons/fa" ;
4+ import { FaUserFriends , FaEdit } from "react-icons/fa" ;
5+ import { useRouter } from "next/navigation" ;
56
67const Sidebar = ( ) => {
78 const [ activeTab , setActiveTab ] = useState ( "chat" ) ;
9+ const router = useRouter ( ) ;
810
911 return (
1012 < div className = "fixed h-[100vh] px-3 py-4 bg-[#25262D] top-0 w-[25%]" >
@@ -31,6 +33,15 @@ const Sidebar = () => {
3133 Friends
3234 </ button >
3335 </ div >
36+ < button
37+ className = "fixed flex bottom-0 left-0 w-[25%] mx-auto p-2 rounded bg-black text-gray-50 hover:text-black hover:bg-gray-50"
38+ onClick = { ( ) => router . push ( "/voyager/my_account" ) }
39+ >
40+ < span className = "ml-2" > Edit Interest and Location</ span >
41+ < span className = "ml-5 font-medium text-xl" >
42+ < FaEdit />
43+ </ span >
44+ </ button >
3445 </ div >
3546 ) ;
3647} ;
You can’t perform that action at this time.
0 commit comments