Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VCCI-News
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Văn Hoàng
VCCI-News
Commits
b9d5e5c2
Commit
b9d5e5c2
authored
Dec 03, 2025
by
Phạm Quang Bảo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
709ff6db
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
14 deletions
+10
-14
next.config.ts
next.config.ts
+1
-2
index.tsx
.../(home)/components/events/components/card-event/index.tsx
+2
-1
index.tsx
src/app/(main)/(home)/components/events/index.tsx
+2
-2
index.d.ts
src/links/index.d.ts
+0
-1
index.ts
src/links/index.ts
+5
-8
No files found.
next.config.ts
View file @
b9d5e5c2
import
type
{
NextConfig
}
from
"next"
;
import
type
{
NextConfig
}
from
"next"
;
import
links
from
"./src/links/index"
;
const
nextConfig
:
NextConfig
=
{
const
nextConfig
:
NextConfig
=
{
/* config options here */
/* config options here */
images
:
{
images
:
{
remotePatterns
:
[
remotePatterns
:
[
{
{
protocol
:
"https"
,
protocol
:
"https"
,
hostname
:
links
.
backendHost
,
hostname
:
"hiea.meu-solutions.com"
,
port
:
""
,
port
:
""
,
pathname
:
"/vcci/images/**"
,
pathname
:
"/vcci/images/**"
,
},
},
...
...
src/app/(main)/(home)/components/events/components/card-event/index.tsx
View file @
b9d5e5c2
...
@@ -8,7 +8,8 @@ import ImageNext from "@/components/shared/image-next";
...
@@ -8,7 +8,8 @@ import ImageNext from "@/components/shared/image-next";
function
CardEvent
({
event
}:
{
event
:
EventItem
})
{
function
CardEvent
({
event
}:
{
event
:
EventItem
})
{
return
(
return
(
<
Link
<
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'
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
<
ImageNext
...
...
src/app/(main)/(home)/components/events/index.tsx
View file @
b9d5e5c2
...
@@ -18,7 +18,7 @@ function Events() {
...
@@ -18,7 +18,7 @@ function Events() {
<
h2
className=
"text-[18px] sm:text-[20px] font-bold uppercase text-[#e8c518]"
>
<
h2
className=
"text-[18px] sm:text-[20px] font-bold uppercase text-[#e8c518]"
>
Sự kiện sắp diễn ra
Sự kiện sắp diễn ra
</
h2
>
</
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
/>
<
ChevronsRight
/>
</
Link
>
</
Link
>
</
div
>
</
div
>
...
@@ -34,7 +34,7 @@ function Events() {
...
@@ -34,7 +34,7 @@ function Events() {
{
data
?.
responseData
.
rows
.
slice
(
0
,
1
).
map
((
event
:
EventItem
)
=>
(
{
data
?.
responseData
.
rows
.
slice
(
0
,
1
).
map
((
event
:
EventItem
)
=>
(
<
Link
<
Link
key=
{
event
.
id
}
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"
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"
>
<
div
className=
"w-full aspect-3/2 overflow-hidden"
>
...
...
src/links/index.d.ts
View file @
b9d5e5c2
...
@@ -2,6 +2,5 @@ declare const links: {
...
@@ -2,6 +2,5 @@ declare const links: {
analyticsGoogle
:
string
analyticsGoogle
:
string
apiEndpoint
:
string
apiEndpoint
:
string
imageEndpoint
:
string
imageEndpoint
:
string
backendHost
:
string
}
}
export
default
links
export
default
links
src/links/index.ts
View file @
b9d5e5c2
const
backendHost
=
'103.72.98.149:7041'
const
links
=
{
const
links
=
{
analyticsGoogle
:
'G-C9TEK9BS4C'
,
analyticsGoogle
:
'G-C9TEK9BS4C'
,
// apiEndpoint: "http://localhost:3000/api/v1.0",
apiEndpoint
:
`https://hiea.meu-solutions.com/api/v1.0`
,
apiEndpoint
:
`http://
${
backendHost
}
/api/v1.0`
,
imageEndpoint
:
`http://103.72.98.149:7041`
,
// imageEndpoint: 'https://utc2.erp.meu-solutions.com',
imageEndpoint
:
`http://
${
backendHost
}
`
,
backendHost
,
siteURL
:
'https://hiea-news.meu-solutions.com/'
,
siteURL
:
'https://hiea-news.meu-solutions.com/'
,
}
}
export
default
links
export
default
links
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment