dynamic routes for main page

This commit is contained in:
2025-05-23 11:48:45 +03:00
parent efccb591ff
commit 45e5e78df2
10 changed files with 234 additions and 141 deletions

View File

@@ -1,7 +1,6 @@
import type { NextConfig } from 'next'
const API_URL =
process.env.NEXT_PUBLIC_API_URL || 'http://127.0.0.1:8000/api/v1'
const API_URL = process.env.NEXT_PUBLIC_API_URL || 'http://127.0.0.1:8000/api/v1'
const nextConfig: NextConfig = {
images: {
@@ -20,6 +19,10 @@ const nextConfig: NextConfig = {
protocol: 'https',
hostname: 'tripwb.com',
},
{
protocol: 'https',
hostname: 'i.ibb.co',
},
],
},
}