Commit b9d5e5c2 authored by Phạm Quang Bảo's avatar Phạm Quang Bảo

a

parent 709ff6db
import type { NextConfig } from "next";
import links from "./src/links/index";
const nextConfig: NextConfig = {
/* config options here */
images: {
remotePatterns: [
{
protocol: "https",
hostname: links.backendHost,
hostname: "hiea.meu-solutions.com",
port: "",
pathname: "/vcci/images/**",
},
......
......@@ -8,7 +8,8 @@ import ImageNext from "@/components/shared/image-next";
function CardEvent({ event }: { event: EventItem }) {
return (
<Link
href={`hoat-dong/su-kien/${event.id}`}
// href={`hoat-dong/su-kien/${event.id}`}
href={`#`}
className='flex flex-row gap-2 mb-2 sm:gap-3 sm:mb-3 p-2 sm:p-3 border border-gray-200 bg-white rounded-md'
>
<ImageNext
......
......@@ -18,7 +18,7 @@ function Events() {
<h2 className="text-[18px] sm:text-[20px] font-bold uppercase text-[#e8c518]">
Sự kiện sắp diễn ra
</h2>
<Link href="/hoat-dong/su-kien" className="text-[#e8c518] text-sm sm:text-base">
<Link href="#" className="text-[#e8c518] text-sm sm:text-base">
<ChevronsRight />
</Link>
</div>
......@@ -34,7 +34,7 @@ function Events() {
{data?.responseData.rows.slice(0, 1).map((event: EventItem) => (
<Link
key={event.id}
href={`hoat-dong/su-kien/${event.id}`}
href={`#`}
className="flex flex-col w-full md:w-1/2 min-h-[180px] sm:min-h-[220px] gap-3 mb-3 border border-gray-200 bg-white rounded-md p-3"
>
<div className="w-full aspect-3/2 overflow-hidden">
......
......@@ -2,6 +2,5 @@ declare const links: {
analyticsGoogle: string
apiEndpoint: string
imageEndpoint: string
backendHost: string
}
export default links
const backendHost = '103.72.98.149:7041'
const links = {
analyticsGoogle: 'G-C9TEK9BS4C',
// apiEndpoint: "http://localhost:3000/api/v1.0",
apiEndpoint: `http://${backendHost}/api/v1.0`,
// imageEndpoint: 'https://utc2.erp.meu-solutions.com',
imageEndpoint: `http://${backendHost}`,
backendHost,
apiEndpoint: `https://hiea.meu-solutions.com/api/v1.0`,
imageEndpoint: `http://103.72.98.149:7041`,
siteURL: 'https://hiea-news.meu-solutions.com/',
}
export default links
\ No newline at end of file
export default links
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