Skip to content

Commit

Permalink
add back button to address page
Browse files Browse the repository at this point in the history
  • Loading branch information
dinoboy197 committed Aug 25, 2024
1 parent 66f280e commit e94ddd4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/AddressSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import ProgressBar from "./ProgressBar";
import * as ELG from "esri-leaflet-geocoder";
import Link from "next/link";
import { GrLinkNext } from "react-icons/gr";
import { IoMdArrowBack } from "react-icons/io";
import { api } from "../utils/api";

declare global {
Expand Down Expand Up @@ -297,6 +298,14 @@ const AddressSearch: React.FC = () => {
)}
</div>
<div className="flex flex-row items-center justify-center gap-5">
<Link href={{ pathname: "./" }}>
<button
className="mb-1 mt-4 flex flex-row items-center justify-center rounded-full bg-white/80 px-6 py-2 text-blue-darker no-underline
transition hover:translate-y-1 hover:bg-white hover:text-blue-darker">
<IoMdArrowBack />
Homepage
</button>
</Link>
<Link href={{ pathname: "./survey" }}>
<button
className="mb-1 mt-4 flex flex-row items-center justify-center gap-1 rounded-full border-2
Expand Down

0 comments on commit e94ddd4

Please sign in to comment.