-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f0fa56
commit cf638e7
Showing
11 changed files
with
294 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { Card, CardBody, CardText } from 'reactstrap'; | ||
import React from 'react'; | ||
|
||
export const CommonNameCard = ({ key, id, profilePic, nickname, jobRole }) => { | ||
return ( | ||
<> | ||
<Card | ||
style={{ | ||
border: '2px solid navy', | ||
borderRadius: '10px', | ||
width: '300px', | ||
padding: '10px', | ||
display: 'flex', | ||
flexDirection: 'row', | ||
alignItems: 'center', | ||
}} | ||
> | ||
{/* Display Picture Placeholder */} | ||
<div | ||
style={{ | ||
width: '50px', | ||
height: '50px', | ||
borderRadius: '50%', | ||
backgroundColor: '#ccc', | ||
marginRight: '15px', | ||
}} | ||
></div> | ||
{/* Nickname and Job Role */} | ||
<CardBody style={{ padding: '0' }}> | ||
<h5 style={{ margin: '0', color: 'navy' }}>{nickname}</h5> | ||
<CardText style={{ margin: '0', color: '#666' }}>{jobRole}</CardText> | ||
</CardBody> | ||
</Card> | ||
</> | ||
); | ||
}; | ||
|
||
export default CommonNameCard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import ErrorBoundaryRoutes from 'app/shared/error/error-boundary-routes'; | ||
import { Route } from 'react-router-dom'; | ||
import React from 'react'; | ||
import SearchAppActivity from 'app/entities/search/searchAppActivity'; | ||
|
||
const SearchAppActivityRoutes = () => ( | ||
<ErrorBoundaryRoutes> | ||
<Route index element={<SearchAppActivity />} /> | ||
</ErrorBoundaryRoutes> | ||
); | ||
|
||
export default SearchAppActivityRoutes; |
Oops, something went wrong.