import { Button } from "@rallly/ui/button"; import { Icon } from "@rallly/ui/icon"; import { CheckIcon, PlusIcon, ZapIcon } from "lucide-react"; import Link from "next/link"; import { Trans } from "react-i18next/TransWithoutContext"; import { GroupPollIcon } from "@/app/[locale]/(admin)/app-card"; import { getGuestPolls } from "@/features/quick-create/lib/get-guest-polls"; import { getTranslation } from "@/i18n/server"; import { RelativeDate } from "./components/relative-date"; export async function QuickStartWidget() { const polls = await getGuestPolls(); const { t } = await getTranslation(); return (

{polls.length > 0 ? (

    {polls.map((poll) => (
  • {poll.title}
  • ))}
) : null}

); }