1 | import React from "react";
|
---|
2 | import LoginForm from "../Components/Login/LoginForm";
|
---|
3 | import { Container, Row, Col, Form } from "react-bootstrap";
|
---|
4 | import Navigation from "../Components/Layout/Navbar/Navigation";
|
---|
5 | import Carousel from "react-bootstrap/Carousel";
|
---|
6 | import { useState } from "react";
|
---|
7 | import DescriptionContainer from "../Components/HotelDetails/DescriptionContainer";
|
---|
8 | import ReviewsCarousel from "../Components/HotelDetails/ReviewsCarousel";
|
---|
9 | import RoomsTable from "../Components/HotelDetails/RoomsTable";
|
---|
10 | import ContactBar from "../Components/HotelDetails/ContactBar";
|
---|
11 | import Menu from "../Components/RestaurantDetails/Menu";
|
---|
12 | import MenuCarousel from "../Components/RestaurantDetails/Carousel";
|
---|
13 |
|
---|
14 | const RestaurantDetailsPage = (props) => {
|
---|
15 | document.body.style.backgroundColor = "white";
|
---|
16 |
|
---|
17 | const [index, setIndex] = useState(0);
|
---|
18 |
|
---|
19 | const handleSelect = (selectedIndex) => {
|
---|
20 | setIndex(selectedIndex);
|
---|
21 | };
|
---|
22 |
|
---|
23 | return (
|
---|
24 | <>
|
---|
25 | <Navigation />
|
---|
26 | <Container className="my-3">
|
---|
27 | <Row className="d-flex justify-content-between">
|
---|
28 | <Col style={{textAlign: "left"}}>
|
---|
29 | <h2 style={{color: "#159895"}}>Име на ресторант</h2>
|
---|
30 | </Col>
|
---|
31 | <Col>
|
---|
32 | <Container>
|
---|
33 | <Row className="mb-4">
|
---|
34 | <Col style={{textAlign: "right"}}>
|
---|
35 | <span
|
---|
36 | style={{
|
---|
37 | backgroundColor: "#159895",
|
---|
38 | padding: "0.75em",
|
---|
39 | fontWeight: "bold",
|
---|
40 | fontSize: "1.25rem",
|
---|
41 | borderRadius: "0.75em",
|
---|
42 | color: "white",
|
---|
43 | }}
|
---|
44 | >
|
---|
45 | 9.1
|
---|
46 | </span>
|
---|
47 | </Col>
|
---|
48 | </Row>
|
---|
49 | </Container>
|
---|
50 | </Col>
|
---|
51 | </Row>
|
---|
52 | <Row>
|
---|
53 | <Col
|
---|
54 | className="p-3 rounded-4"
|
---|
55 | sm={3}
|
---|
56 | style={{ backgroundColor: "#002B5B" }}
|
---|
57 | >
|
---|
58 | <Row>
|
---|
59 | <h3 className="mb-5 mt-3" style={{color: "white"}}>Критериуми од пребарувањето</h3>
|
---|
60 | <Form.Floating className="mb-3">
|
---|
61 | <Form.Control
|
---|
62 | size="md"
|
---|
63 | type="text"
|
---|
64 | placeholder="Каде ќе патувате?:"
|
---|
65 | id="location"
|
---|
66 | ></Form.Control>
|
---|
67 | <label htmlFor="location">Локација:</label>
|
---|
68 | </Form.Floating>
|
---|
69 | </Row>
|
---|
70 | <Row>
|
---|
71 | <Form.Floating className="mb-3">
|
---|
72 | <Form.Control
|
---|
73 | size="md"
|
---|
74 | type="date"
|
---|
75 | placeholder="Датум на резервација:"
|
---|
76 | id="date"
|
---|
77 | ></Form.Control>
|
---|
78 | <label htmlFor="dateFrom">Датум на резерација:</label>
|
---|
79 | </Form.Floating>
|
---|
80 | </Row>
|
---|
81 | <Row>
|
---|
82 | <Form.Floating className="mb-3">
|
---|
83 | <Form.Control
|
---|
84 | size="md"
|
---|
85 | type="time"
|
---|
86 | placeholder="Време на пристигање:"
|
---|
87 | id="time"
|
---|
88 | ></Form.Control>
|
---|
89 | <label htmlFor="time">Време на пристигање:</label>
|
---|
90 | </Form.Floating>
|
---|
91 | </Row>
|
---|
92 | <Row>
|
---|
93 | <Form.Floating className="mb-3">
|
---|
94 | <Form.Control
|
---|
95 | size="md"
|
---|
96 | type="number"
|
---|
97 | placeholder="Број на гости:"
|
---|
98 | id="floatingPassengers"
|
---|
99 | ></Form.Control>
|
---|
100 | <label htmlFor="floatingPassengers">Број на гости:</label>
|
---|
101 | </Form.Floating>
|
---|
102 | </Row>
|
---|
103 | </Col>
|
---|
104 | <Col>
|
---|
105 | <Container>
|
---|
106 | <Row>
|
---|
107 | <Carousel activeIndex={index} onSelect={handleSelect}>
|
---|
108 | <Carousel.Item>
|
---|
109 | <img
|
---|
110 | className="d-block w-100 h-400 rounded-5"
|
---|
111 | src="https://emagazin.mk/wp-content/uploads/2022/03/Karos_Photography-7795.jpg"
|
---|
112 | alt="First slide"
|
---|
113 | style={{ height: "50vh" }}
|
---|
114 | />
|
---|
115 | </Carousel.Item>
|
---|
116 | <Carousel.Item>
|
---|
117 | <img
|
---|
118 | className="d-block w-100 rounded-5"
|
---|
119 | src="https://emagazin.mk/wp-content/uploads/2022/03/Karos_Photography-7871.jpg"
|
---|
120 | alt="Second slide"
|
---|
121 | style={{ height: "50vh" }}
|
---|
122 | />
|
---|
123 | </Carousel.Item>
|
---|
124 | <Carousel.Item>
|
---|
125 | <img
|
---|
126 | className="d-block w-100 rounded-5"
|
---|
127 | src="https://lh5.googleusercontent.com/p/AF1QipMQAwahuuJCJ2rDUYNrhnwiX1070adTsM6LmzV5=w480-h300-k-n"
|
---|
128 | alt="Third slide"
|
---|
129 | style={{ height: "50vh" }}
|
---|
130 | />
|
---|
131 | </Carousel.Item>
|
---|
132 | </Carousel>
|
---|
133 | </Row>
|
---|
134 | <Row>
|
---|
135 | <Container></Container>
|
---|
136 | </Row>
|
---|
137 | </Container>
|
---|
138 | </Col>
|
---|
139 | </Row>
|
---|
140 | <Row className="mb-5">
|
---|
141 | <Col className="col-md-8"><DescriptionContainer type="restaurant"></DescriptionContainer></Col>
|
---|
142 | <Col className="col-md-4"><ReviewsCarousel></ReviewsCarousel></Col>
|
---|
143 | </Row>
|
---|
144 | <Row className="mb-3"><MenuCarousel></MenuCarousel></Row>
|
---|
145 | <Row><ContactBar></ContactBar></Row>
|
---|
146 | </Container>
|
---|
147 | </>
|
---|
148 | );
|
---|
149 | };
|
---|
150 |
|
---|
151 | export default RestaurantDetailsPage;
|
---|