chore: transfer repo

This commit is contained in:
Danijel
2026-01-19 20:21:14 +01:00
commit 7d2fb0c737
213 changed files with 18085 additions and 0 deletions

53
lib/i18n/pathnames.ts Normal file
View 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',
},
};