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

32
next.config.ts Normal file
View File

@@ -0,0 +1,32 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
images: {
formats: ['image/avif', 'image/webp'],
remotePatterns: [
{
protocol: 'https',
hostname: 'cdn.shopify.com',
pathname: '/s/files/**'
}
]
},
// Ručno implementiramo rewrite-ove za i18n
async rewrites() {
return {
beforeFiles: [
// Handle /en/* routes
{
source: '/en',
destination: '/'
},
{
source: '/en/:path*',
destination: '/:path*'
}
]
};
}
};
export default nextConfig;