chore: transfer repo
This commit is contained in:
53
lib/i18n/pathnames.ts
Normal file
53
lib/i18n/pathnames.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
// Ova datoteka definira putanje za različite lokalizacije
|
||||
// Format: { path: { locale: localized_path } }
|
||||
|
||||
export const pathnames = {
|
||||
// Za root putanju (početnu stranicu)
|
||||
'/': {
|
||||
en: '/en',
|
||||
hr: '/',
|
||||
},
|
||||
// Za build-box stranicu i njene podstranice
|
||||
'/build-box': {
|
||||
en: '/en/build-box',
|
||||
hr: '/build-box',
|
||||
},
|
||||
'/build-box/customize': {
|
||||
en: '/en/build-box/customize',
|
||||
hr: '/build-box/customize',
|
||||
},
|
||||
// Za proizvode
|
||||
'/products': {
|
||||
en: '/en/products',
|
||||
hr: '/products',
|
||||
},
|
||||
// Za search
|
||||
'/search': {
|
||||
en: '/en/search',
|
||||
hr: '/search',
|
||||
},
|
||||
'/search/:collection': {
|
||||
en: '/en/search/:collection',
|
||||
hr: '/search/:collection',
|
||||
},
|
||||
// Za about stranicu
|
||||
'/about': {
|
||||
en: '/en/about',
|
||||
hr: '/about',
|
||||
},
|
||||
// Za cart
|
||||
'/cart': {
|
||||
en: '/en/cart',
|
||||
hr: '/cart',
|
||||
},
|
||||
// Za proizvod
|
||||
'/product/:product': {
|
||||
en: '/en/product/:product',
|
||||
hr: '/product/:product',
|
||||
},
|
||||
// Za dinamičke stranice
|
||||
'/:page': {
|
||||
en: '/en/:page',
|
||||
hr: '/:page',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user