Skip to content

Commit 900af8e

Browse files
authored
feat(544): adjust remove property section (#580)
1 parent a9d9370 commit 900af8e

File tree

1 file changed

+11
-23
lines changed

1 file changed

+11
-23
lines changed

src/components/SinglePropertyDetail.tsx

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import PropertyAccessOptionContainer from "./PropertyAccessOptionContainer";
1313
import { ThemeButton, ThemeButtonLink } from "./ThemeButton";
1414
import ContentCard from "./ContentCard";
1515
import cleanup from "@/images/transform-a-property.png";
16+
import { PiEyeSlash } from "react-icons/pi";
1617

1718
interface PropertyDetailProps {
1819
property: MapGeoJSONFeature | null;
@@ -270,30 +271,17 @@ const SinglePropertyDetail = ({
270271
/>
271272
</Link>
272273

273-
{/*
274-
<div className="flex mb-4 px-2 gap-4">
275-
<SinglePropertyInfoCard
276-
title="Lot Cleanup"
277-
body="In a day, clean up with a street crew and PHS!"
278-
icon={<Broom className="h-12 w-12" aria-hidden="true" />}
279-
/>
280-
<SinglePropertyInfoCard
281-
title="Community Garden"
282-
body="Set up a longer term, sustainable green space."
283-
icon={<PottedPlant className="h-12 w-12" aria-hidden="true" />}
284-
/>
274+
<div className="flex flex-col space-y-6 mt-[72px]">
275+
<p>You can request that we remove this property from the dashboard.</p>
276+
<div className="flex">
277+
<ThemeButtonLink
278+
color="secondary"
279+
href="/request-removal"
280+
startContent={<PiEyeSlash />}
281+
label={"Request we hide this property"}
282+
/>
283+
</div>
285284
</div>
286-
*/}
287-
288-
<h3 className="font-bold mb-2 py-2 heading-xl">Remove This Property</h3>
289-
<p>
290-
If you would like to request that we remove this property from the
291-
dashboard, please see our{" "}
292-
<a href="/request-removal" className="link">
293-
Request Removal page
294-
</a>
295-
.
296-
</p>
297285
</div>
298286
);
299287
};

0 commit comments

Comments
 (0)