Update carousels, card hover, and IranBay branding.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-10-04 13:21:51 +03:30
co-authored by Cursor
commit 42aff5aee9
162 changed files with 16828 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
import type { NextConfig } from "next";
const dashboardUrl =
process.env.NEXT_PUBLIC_DASHBOARD_URL?.replace(/\/$/, "") ||
"http://localhost:3002";
const customerDashboardUrl =
process.env.NEXT_PUBLIC_CUSTOMER_DASHBOARD_URL?.replace(/\/$/, "") ||
"http://customer.localhost:3002";
const nextConfig: NextConfig = {
async redirects() {
return [
{
source: "/login",
destination: `${customerDashboardUrl}/login`,
permanent: false,
},
{
source: "/signup",
destination: `${customerDashboardUrl}/login`,
permanent: false,
},
{
source: "/forgot-password",
destination: `${dashboardUrl}/forgot-password`,
permanent: false,
},
];
},
};
export default nextConfig;