Update src/config.ts

This commit is contained in:
2026-06-03 21:38:49 +00:00
parent d882c6e7aa
commit 981f758dc5

View File

@@ -1,4 +1,4 @@
import { Pathnames } from 'next-intl';
export const locales = ['en', 'ar'] as const;
export const defaultLocale = 'ar'; // Set default to Arabic as current content is Arabic
@@ -11,6 +11,6 @@ export const localePrefix = 'always';
// but useful if you plan to have separate pages later (e.g., /en/about vs /ar/about)
export const pathnames = {
'/': '/',
} satisfies Pathnames<typeof locales>;
};
export type AppPathnames = keyof typeof pathnames;