@@ -13,6 +13,7 @@ import {
1313import { getAllPinnedPosts } from "../../actions/postAction" ;
1414import { getOrgProfile } from "../../actions/orgAction" ;
1515import ProfileFeed from "./profile-feed" ;
16+ import { Desktop } from '../../utils/breakpoints' ;
1617
1718class Profile extends Component {
1819 constructor ( props ) {
@@ -82,40 +83,37 @@ class Profile extends Component {
8283 pinnedPosts,
8384 } = this . state ;
8485 return (
85- < div className = "profile" >
86- < div
87- className = "navigation"
88- style = { {
89- background : "#f5f5f5" ,
90- } }
91- >
92- < Navigation profile = { this . state . profile } > </ Navigation >
93- </ div >
94- < div className = "news" >
95- < div className = "notify-user" >
96- < UserInfo userProfile = { userProfile } />
97- < Portfolio />
98- </ div >
99- < div className = "two" >
100- < div className = "posts-profile" >
101- { /* <PinPosts
102- all={all}
103- userProjects={userProjects}
104- userEvents={userEvents}
105- userPosts={userPosts}
106- pinnedPosts={pinnedPosts}
107- /> */ }
108- < ProfileFeed
109- all = { all }
110- userProjects = { userProjects }
111- userEvents = { userEvents }
112- userPosts = { userPosts }
113- pinnedPosts = { pinnedPosts }
114- />
86+ < >
87+ < Navigation profile = { this . state . profile } > </ Navigation >
88+ < div className = "profile" >
89+ < div className = "news" >
90+ < div className = "notify-user" >
91+ < UserInfo userProfile = { userProfile } />
92+ < Desktop >
93+ < Portfolio />
94+ </ Desktop >
95+ </ div >
96+ < div className = "two" >
97+ < div className = "posts-profile" >
98+ { /* <PinPosts
99+ all={all}
100+ userProjects={userProjects}
101+ userEvents={userEvents}
102+ userPosts={userPosts}
103+ pinnedPosts={pinnedPosts}
104+ /> */ }
105+ < ProfileFeed
106+ all = { all }
107+ userProjects = { userProjects }
108+ userEvents = { userEvents }
109+ userPosts = { userPosts }
110+ pinnedPosts = { pinnedPosts }
111+ />
112+ </ div >
115113 </ div >
116114 </ div >
117115 </ div >
118- </ div >
116+ </ >
119117 ) ;
120118 }
121119}
0 commit comments