Skip to content

Commit

Permalink
Removing Unrelated Surveys
Browse files Browse the repository at this point in the history
Removed the placeholder unrelated surveys and removed the additional margin separation from Step 3
  • Loading branch information
Lawrence-Kwok committed Sep 25, 2024
1 parent 8d7ec9d commit c000a93
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions src/pages/polis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,7 @@ const Polis: NextPage = () => {
<>
<PageLayout>
<PageHeader title="Step 3: Please select the Pol.is survey you wish to complete." />
<div className={`flex flex-row flex-wrap sm:gap-2 md:gap-4 lg:gap-6`}>
{surveys?.map(({ id, title }, index) => {
return (
<div
className="mb-4 flex items-center justify-center"
key={`survey-button-next-page-${index}`}
>
<div className="w-full">
<Link
href={{
pathname: `./polissurvey`,
query: { surveyId: id },
}}
>
<button className="btn-primary btn bg-[#FFF] text-primary-content md:min-w-[150px]">
{title}
</button>
</Link>
</div>
</div>
);
})}
</div>
<div className="mt-20">
<div>
<Link href={{ pathname: "./survey" }}>
<PrevButton text={"Retake Demographic Survey"} />
</Link>
Expand Down

0 comments on commit c000a93

Please sign in to comment.