source: frontend/src/Components/MostPopularRoutes/Route.js@ 5528b99

Last change on this file since 5528b99 was e6c2521, checked in by darsov2 <62809499+darsov2@…>, 6 months ago

images upload/download impl, other fixes

  • Property mode set to 100644
File size: 1.4 KB
Line 
1import React from "react";
2import { Col, Container, Image, Row } from "react-bootstrap";
3import { TbArrowsExchange } from "react-icons/tb"
4
5const Route = (props) => {
6 return (
7 <>
8 <Container className="border py-2 rounded-3" style={{borderColor: "#1A5F7A", borderWidth: "3px"}}>
9 <Row>
10 <Col>
11 <Image
12 src={props.imag1}
13 className="thumbnail rounded"
14 width={75}
15 height={75}
16 />
17 </Col>
18 <Col>
19 <h5 className="w-25">{props.destination1}</h5>
20 </Col>
21 <Col className="my-auto">
22 <TbArrowsExchange size="3rem" color="#159895"></TbArrowsExchange>
23 </Col>
24 <Col clas>
25 <h5 className="w-25">{props.destination2}</h5>
26 </Col>
27 <Col>
28 <Image
29 src={props.imag2}
30 className="thumbnail rounded"
31 width={75}
32 height={75}
33 />
34 </Col>
35 </Row>
36 </Container>
37
38
39 </>
40 )
41}
42
43export default Route;
Note: See TracBrowser for help on using the repository browser.