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