Changeset 48e4a3e for client_app/src/components
- Timestamp:
- 01/12/21 21:55:23 (4 years ago)
- Branches:
- master
- Children:
- 2c06dce
- Parents:
- 96eb8bc
- Location:
- client_app/src/components
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
client_app/src/components/data/components/profiles/company_profile.js
r96eb8bc r48e4a3e 10 10 <h2>E-mail: {props.data.email}</h2> 11 11 <h3>Address: {props.data.address.country} {props.data.address.city} {props.data.address.street}</h3> 12 <Button primary as={Link} to={"/ company/edit"}>Edit</Button>12 <Button primary as={Link} to={"/profile/edit"}>Edit</Button> 13 13 </Container> 14 14 ); -
client_app/src/components/data/components/profiles/team_profile.js
r96eb8bc r48e4a3e 10 10 <h2>E-mail: {props.data.email}</h2> 11 11 <h3>Members: {props.data.members}</h3> 12 <Button primary as={Link} to={"/ team/edit"}>Edit</Button>12 <Button primary as={Link} to={"/profile/edit"}>Edit</Button> 13 13 </Container> 14 14 ); -
client_app/src/components/main/App.js
r96eb8bc r48e4a3e 11 11 import UserProjects from "../data/components/user_projects"; 12 12 import CompanyJobs from "../data/components/company_jobs"; 13 import TeamProjects from "../data/components/team_projects"; 14 import TeamJobs from "../data/components/team_jobs"; 15 import CompanyInternships from "../data/components/company_internships"; 13 16 14 17 class App extends Component{ … … 33 36 <Route path={"/user/internships"} render={() => <UserInternships userProfile={this.state.currentUser}/>} /> 34 37 <Route path={"/user/projects"} render={() => <UserProjects userProfile={this.state.currentUser}/>} /> 35 <Route path={"/team/jobs"} render={() => < CompanyJobs userProfile={this.state.currentUser} />}/>36 <Route path={"/team/projects"} />38 <Route path={"/team/jobs"} render={() => <TeamJobs userProfile={this.state.currentUser} />}/> 39 <Route path={"/team/projects"} render={() => <TeamProjects userProfile={this.state.currentUser} />}/> 37 40 <Route path={"/company/jobs"} render={() => <CompanyJobs userProfile={this.state.currentUser} />}/> 38 <Route path={"/company/internships"} />41 <Route path={"/company/internships"} render={() => <CompanyInternships userProfile={this.state.currentUser}/>} /> 39 42 <Route path={"/profile/edit"} /> 40 43 <Route path={"/job/edit"} />
Note:
See TracChangeset
for help on using the changeset viewer.