"use client"; import { Icon } from "@iconify/react"; import { useLocale, useTranslations } from "next-intl"; import { Button, ButtonIcon, ButtonLabel, Typography } from "poyraz-ui/atoms"; import { useRouter } from "@/i18n/routing"; import { WEB_APPS } from "@/data/projects"; import { getLocalizedValue } from "@/lib/locale"; import { ProjectCardWithPopover } from "@/components/project-card-with-popover"; export function HomeProjectsSection() { const t = useTranslations("Home"); const tProjects = useTranslations("Projects"); const locale = useLocale(); const router = useRouter(); const projects = WEB_APPS.slice(0, 5); return (
{t("projectsTitle")}
{projects.map((project, index) => ( ))}
); }