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(