27 lines
819 B
TypeScript
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;
|
|
}; |