import React, {useState} from 'react' import {Header} from "./Header"; import {useNavigate} from "react-router-dom"; import {Button, Image, Modal} from "antd"; import placeholderImage from '../src/Assets/placeholder.png' import AddNewReservation from "./Dashboard/AddNewReservation"; const FrontPage = ({}) => { const [restaurant, setRestaurant] = useState({name:'Sample Restaurant name', address: 'Sample street 1', city:'Sample'}); const [newReservationModal, setNewReservationModal] = useState(false); const [saveModalLoading, setSaveModalLoading] = useState(false); const history = useNavigate(); return(
history('/login')} buttonText={'Логирај се'}/>
{'place'} } wrapperStyle={{overflow:'hidden',width:'100%'}} style={{width:'100%', height:'100%',margin: 'auto',objectFit:'cover'}}>
{restaurant.name}
{restaurant.address}, {restaurant.city}
Прати ]} onCancel={()=>setNewReservationModal(false)} visible={newReservationModal}>
) } export default FrontPage;