kgroad-frontend2/src/shared/variables/links_footer.ts
2024-09-11 15:55:18 +06:00

18 lines
587 B
TypeScript

import { useTranslations } from "next-intl";
export const LINKS = () => {
const t = useTranslations("navigation");
const LINKS = [
{ id: 1, pagename: t("home"), pathname: "/" },
{ id: 2, pagename: t("about_us"), pathname: "/about-us" },
{ id: 3, pagename: t("privacy"), pathname: "/privacy" },
{ id: 4, pagename: t("support"), pathname: "/support" },
{ id: 5, pagename: t("statistics"), pathname: "/statistics" },
{ id: 6, pagename: t("news"), pathname: "/news" },
{ id: 7, pagename: t("volunteers"), pathname: "/volunteers" },
];
return LINKS;
};