Skip to content
Snippets Groups Projects
Commit 944859ce authored by Alexander Rudolph's avatar Alexander Rudolph
Browse files

Create Overview Page for Rented boats

parent bcf89a0f
No related branches found
No related tags found
No related merge requests found
import { Button } from "react-bootstrap";
import { useTranslation } from "react-i18next";
import Divider from "../components/Divider";
import RentedBoatTile from "../components/RentedBoatTile";
function BoatOverview() {
const {t} = useTranslation();
return (
<div className="text-center">
{/*TODO: Make dynamic*/}
<h1 className="mt-3">{t("boatOverview.labelOverdue")}</h1>
<div className="row mx-auto w-100 justify-content-center">
<RentedBoatTile boatName="Canoe 13" time="13:15-15:14" persons="1 Person" overdue="Overdue!"></RentedBoatTile>
<RentedBoatTile boatName="Canoe 15" time="13:15-15:14" persons="3 Person" overdue="Overdue!"></RentedBoatTile>
<RentedBoatTile boatName="Canoe 15" time="13:15-15:14" persons="3 Person" overdue="Overdue!"></RentedBoatTile>
<RentedBoatTile boatName="Canoe 15" time="13:15-15:14" persons="3 Person" overdue="Overdue!"></RentedBoatTile>
<RentedBoatTile boatName="Canoe 15" time="13:15-15:14" persons="3 Person" overdue="Overdue!"></RentedBoatTile>
<RentedBoatTile boatName="Canoe 15" time="13:15-15:14" persons="3 Person" overdue="Overdue!"></RentedBoatTile>
</div>
<Button variant="light" className="color-secondary border w-50 text-uppercase rounded-pill">{t("boatOverview.buttonShowAll")}</Button>
<Divider />
<h1 className="mt-3">{t("boatOverview.labelCurrentlyRented")}</h1>
<Button variant="light" className="color-secondary border w-50 text-uppercase rounded-pill">{t("boatOverview.buttonShowAll")}</Button>
</div>
);
}
export default BoatOverview;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment