Changeset e857530 for client_app
- Timestamp:
- 02/10/21 17:33:29 (4 years ago)
- Branches:
- master
- Children:
- 1b4b6ff
- Parents:
- bf9486e
- Location:
- client_app/src/components/profiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
client_app/src/components/profiles/company_profile.js
rbf9486e re857530 1 1 import React from 'react'; 2 import {Container, Header, Table, Item, Button } from 'semantic-ui-react'2 import {Container, Header, Table, Item, Button, Segment} from 'semantic-ui-react' 3 3 import {Link} from "react-router-dom"; 4 4 … … 6 6 return( 7 7 <Container textAlign="left"> 8 <Header>Company:</Header> 9 <h3>{props.data.name}</h3> 10 <h2>E-mail: {props.data.email}</h2> 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> 8 <Header as="h1">Welcome!</Header> 9 <Segment.Group> 10 <Segment> 11 <Header>Company</Header> 12 </Segment> 13 <Segment> 14 <Header as="h3">Company Name:</Header> 15 {props.data.name} 16 </Segment> 17 <Segment> 18 <Header as="h3">Company e-mail:</Header> 19 {props.data.email} 20 </Segment> 21 <Segment><b>Address: </b> {props.data.address.country}-{props.data.address.city}-{props.data.address.street}</Segment> 22 </Segment.Group> 23 <Button primary as={Link} to={"/team/edit"}>Edit</Button> 13 24 </Container> 14 25 ); -
client_app/src/components/profiles/team_profile.js
rbf9486e re857530 1 1 import React from 'react'; 2 import {Container, Header, Table, Item, Button } from 'semantic-ui-react'2 import {Container, Header, Table, Item, Button, Segment} from 'semantic-ui-react' 3 3 import {Link} from "react-router-dom"; 4 4 … … 6 6 return( 7 7 <Container textAlign="left"> 8 <Header>Team:</Header> 9 <h3>{props.data.name}</h3> 10 <h2>E-mail: {props.data.email}</h2> 11 <h3>Members: {props.data.members}</h3> 8 <Header as="h1">Welcome!</Header> 9 <Segment.Group> 10 <Segment> 11 <Header>Team</Header> 12 </Segment> 13 <Segment> 14 <Header as="h3">Team Name:</Header> 15 {props.data.name} 16 </Segment> 17 <Segment> 18 <Header as="h3">Team e-mail:</Header> 19 {props.data.email} 20 </Segment> 21 <Segment><b>Number of members:</b> {props.data.members}</Segment> 22 </Segment.Group> 12 23 <Button primary as={Link} to={"/team/edit"}>Edit</Button> 13 24 </Container>
Note:
See TracChangeset
for help on using the changeset viewer.