procurement-frontend2/src/shared/variables/links.ts
2024-10-12 18:04:14 +06:00

27 lines
819 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("news"), pathname: "/news" },
{ id: 3, pagename: t("tenders"), pathname: "/tenders" },
{ id: 4, pagename: t("contacts"), pathname: "/contacts" },
];
return LINKS;
};
export const FOOTER_LINKS = () => {
const t = useTranslations("navigation");
const FOOTER_LINKS = [
{ id: 1, pagename: t("home"), pathname: "/" },
{ id: 2, pagename: t("news"), pathname: "/news" },
{ id: 3, pagename: t("tenders"), pathname: "/tenders" },
{ id: 4, pagename: t("contacts"), pathname: "/contacts" },
{ id: 5, pagename: t("privacy"), pathname: "/privacy" },
];
return FOOTER_LINKS;
};