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

[tag]0.1-vcci

parent a7e94f8d
Pipeline #50726 passed with stages
in 7 minutes and 37 seconds
......@@ -3,7 +3,6 @@
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";
......@@ -11,7 +10,8 @@ import { Swiper, SwiperSlide } from "swiper/react";
import "swiper/css";
const MEMBER_CONNECTION_FALLBACK_IMAGE = "/home/20-2048x1365.webp";
const FEATURED_MEMBER_API_URL = `${links.siteURL}api/featured-members`;
const FEATURED_MEMBER_API_URL =
"https://vccihcm.vn/api/v1.0/organizations?pageSize=12&filters=users.status_id%3D%3D36ca1cc5-7b6e-4f9f-b973-69c5207deb62&sortField=created_at&sortOrder=ASC";
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";
......@@ -75,7 +75,7 @@ function Members() {
const rows = data.responseData?.rows ?? [];
if (isMounted) {
setFeaturedMembers(rows.slice(0, 9));
setFeaturedMembers(rows.slice(0, 12));
}
} catch (error) {
console.error(error);
......
......@@ -5,7 +5,6 @@ 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";
......@@ -24,7 +23,8 @@ type PartnerResponse = {
};
};
const PARTNER_API_URL = `${links.siteURL}api/partners`;
const PARTNER_API_URL =
"https://vccihcm.vn/api/v1.0/organizations?filters=type%3D%3DSPONSOR&pageSize=12&sortField=sort_order&sortOrder=ASC";
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