Commit 55280bfe authored by Lê Bảo Hồng Đức's avatar Lê Bảo Hồng Đức

fix

parent d2d59379
......@@ -3,6 +3,7 @@
import { useHomePosts } from "@/app/(main)/(home)/lib/use-home-posts";
import ImageNext from "@/components/shared/image-next";
import memberImages from "@/constants/memberImages";
import links from "@/links";
import Link from "next/link";
import { useEffect, useState } from "react";
import { Autoplay } from "swiper/modules";
......@@ -10,7 +11,7 @@ import { Swiper, SwiperSlide } from "swiper/react";
import "swiper/css";
const MEMBER_CONNECTION_FALLBACK_IMAGE = "/home/20-2048x1365.webp";
const FEATURED_MEMBER_API_URL = "/api/featured-members";
const FEATURED_MEMBER_API_URL = `${links.siteURL}api/featured-members`;
const FEATURED_MEMBER_MORE_URL =
"https://vccihcm.vn/giao-thuong-b2b?filters=users.status_id+%3D%3D+36ca1cc5-7b6e-4f9f-b973-69c5207deb62&sortField=created_at&sortOrder=ASC";
const VCCI_HCM_ORIGIN = "https://vccihcm.vn";
......
......@@ -5,6 +5,7 @@ import ImageNext from "@/components/shared/image-next";
import partnerImages from "@/constants/partnerImages";
import { ChevronRight, Play } from "lucide-react";
import Link from "next/link";
import links from "@/links";
import { fetchClientVideos } from "@/lib/api/videos";
import { Autoplay } from "swiper/modules";
import { Swiper, SwiperSlide } from "swiper/react";
......@@ -23,7 +24,7 @@ type PartnerResponse = {
};
};
const PARTNER_API_URL = "/api/partners";
const PARTNER_API_URL = `${links.siteURL}api/partners`;
const VCCI_HCM_ORIGIN = "https://vccihcm.vn";
const resolvePartnerImage = (avatar: string | null | undefined, index: number) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment