diff --git a/src/pages/polis.tsx b/src/pages/polis.tsx index 88e4796..9558ab8 100644 --- a/src/pages/polis.tsx +++ b/src/pages/polis.tsx @@ -1,6 +1,6 @@ import { type NextPage } from "next"; -import { NextPageButtonLink } from "../UI/NextPageButtonLink"; import ProgressBar from "../components/ProgressBar"; +import Link from "next/link"; interface PolisSurvey { id: string; @@ -14,29 +14,37 @@ const Polis: NextPage = () => { process.env.NEXT_PUBLIC_POLIS_SURVEYS ?? "" ); + const gridItemStyle = surveys.length > 2 ? "grid-cols-3" : "grid-cols-1"; return (