source: frontend/src/Components/HotelDetails/DescriptionContainer.js@ 07f4e8b

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

images upload/download impl, other fixes

  • Property mode set to 100644
File size: 784 bytes
Line 
1import React from "react";
2import { Container } from "react-bootstrap";
3
4const DescriptionContainer = (props) => {
5 const type = props.type == "hotel" ? "сместувањето" : props.type == "restaurant" ? "ресторанот" : "превозот";
6
7 return <>
8 <Container
9 className="py-3 px-4 my-4 h-100"
10 style={{
11 border: "4px solid #1A5F7A",
12 borderRadius: "1em",
13 boxShadow: "0 3px 5px #1A5F7A",
14 maxHeight: "90%"
15 }}
16 >
17 <h3 className="mb-3" style={{textAlign: "left", color: "#159895"}}>Опис на {type}</h3>
18 <p style={{textAlign: "left", fontSize: "1.2em"}}>
19 {props.data}
20 </p>
21 </Container>
22 </>
23}
24
25export default DescriptionContainer
Note: See TracBrowser for help on using the repository browser.