source: frontend/src/Components/Layout/Offers/Offers.js@ 07f4e8b

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

images upload/download impl, other fixes

  • Property mode set to 100644
File size: 6.6 KB
Line 
1import React from 'react';
2import { Col, Container, Row, Image } from 'react-bootstrap';
3
4function Offers() {
5 return (
6 <>
7 <Container fluid="md" className='my-5'>
8 <Row>
9 <Col>
10 <a href='#' className='img-link'>
11 <Container>
12 <div style={{position: "relative"}}>
13 <Image
14 className="d-block w-100 rounded-5 mb-5"
15 style={{height: "53.2vh"}}
16 src="https://archello.com/thumbs/images/2020/08/09/comelite-architecture-structure-and-interior-design-contemporary-luxury-apartment-design-apartments-archello.1596935634.5614.jpg?fit=crop&w=414&h=518"
17 alt="Second slide"
18 />
19 <div
20 style={{
21 position: "absolute",
22 top: 0,
23 left: 0,
24 width: "100%",
25 height: "100%",
26 backgroundColor: "rgba(0, 0, 0, 0.5)", // Adjust the opacity (last value) as needed
27 }}
28 className="rounded-5"
29 />
30 </div>
31 <h4 style={{marginTop: "-25%", color: "white", zIndex: "99999", position: "relative"}}>
32 Апартмани
33 </h4>
34 </Container>
35 </a>
36 </Col>
37 <Col>
38 <a href='#' className='img-link'>
39 <Container className='mb-5'>
40 <div style={{position: "relative"}}>
41 <Image
42 className="d-block w-100 rounded-5 mb-5"
43 style={{height: "25vh"}}
44 src="https://i.ibb.co/V9vHbBT/303065972-497838965514102-2603054556040313705-n.jpg"
45 alt="Second slide"
46 />
47 <div
48 style={{
49 position: "absolute",
50 top: 0,
51 left: 0,
52 width: "100%",
53 height: "100%",
54 backgroundColor: "rgba(0, 0, 0, 0.5)", // Adjust the opacity (last value) as needed
55 }}
56 className="rounded-5"
57 />
58 </div>
59 <h4 style={{marginTop: "-25%", color: "white", zIndex: "99999", position: "relative"}}>
60 Традиционална кујна
61 </h4>
62 </Container>
63 </a>
64 <a href='#' className='img-link'>
65 <Container>
66 <div style={{position: "relative"}}>
67 <Image
68 className="d-block w-100 rounded-5 mb-5"
69 style={{height: "25vh"}}
70 src="https://www.tastingtable.com/img/gallery/20-italian-dishes-you-need-to-try-at-least-once/l-intro-1643403830.jpg"
71 alt="Second slide"
72 />
73 <div
74 style={{
75 position: "absolute",
76 top: 0,
77 left: 0,
78 width: "100%",
79 height: "100%",
80 backgroundColor: "rgba(0, 0, 0, 0.5)", // Adjust the opacity (last value) as needed
81 }}
82 className="rounded-5"
83 />
84 </div>
85 <h4 style={{marginTop: "-25%", color: "white", zIndex: "99999", position: "relative"}}>
86 Интернационална кујна
87 </h4>
88 </Container>
89 </a>
90 </Col>
91 <Col>
92 <a href='#' className='img-link'>
93 <Container>
94 <div style={{position: "relative"}}>
95 <Image
96 className="d-block w-100 rounded-5 mb-5"
97 style={{height: "53.2vh"}}
98 src="https://img.freepik.com/premium-photo/vertical-warm-toned-portrait-white-labrador-dog-lying-bed-cozy-home-interior-lit-by-sunlight-copy-space_236854-29020.jpg?w=2000"
99 alt="Second slide"
100 />
101 <div
102 style={{
103 position: "absolute",
104 top: 0,
105 left: 0,
106 width: "100%",
107 height: "100%",
108 backgroundColor: "rgba(0, 0, 0, 0.5)", // Adjust the opacity (last value) as needed
109 }}
110 className="rounded-5"
111 />
112 </div>
113 <h4 style={{marginTop: "-25%", color: "white", zIndex: "99999", position: "relative"}}>
114 Pet friendly
115 </h4>
116 </Container>
117 </a>
118 </Col>
119 </Row>
120 </Container>
121 </>
122 );
123}
124
125export default Offers;
Note: See TracBrowser for help on using the repository browser.