Files
meezi/web/admin/src/i18n/routing.ts
T
soroush.asadi 0a33497d40 feat(admin-web): add web/admin to repo
Initial commit of the Super-Admin web panel (Next.js + TypeScript).
CI admin-web-check job was failing because the directory was never
tracked in git.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 18:46:25 +03:30

11 lines
294 B
TypeScript

import { defineRouting } from "next-intl/routing";
import { createNavigation } from "next-intl/navigation";
export const routing = defineRouting({
locales: ["fa", "ar", "en"],
defaultLocale: "fa",
});
export const { Link, redirect, usePathname, useRouter } =
createNavigation(routing);