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
5045c429
You need to sign in or sign up before continuing.
Commit
5045c429
authored
Nov 17, 2025
by
Phạm Quang Bảo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix/url
parent
1f06999f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ArticleDetailPage.tsx
src/app/(main)/[...slug]/templates/ArticleDetailPage.tsx
+4
-4
No files found.
src/app/(main)/[...slug]/templates/ArticleDetailPage.tsx
View file @
5045c429
...
...
@@ -22,7 +22,7 @@ export default function ArticleDetailPage() {
code
:
slug
[
0
],
});
const
{
data
,
isLoading
}
=
useGetNews
<
GetNewsResponseType
>
({
filters
:
`external_link==
${
path
}
`
,
filters
:
`external_link==
/
${
path
}
`
,
});
return
(
...
...
@@ -37,17 +37,17 @@ export default function ArticleDetailPage() {
<
div
className=
"grid grid-cols-1 lg:grid-cols-3 gap-5"
>
<
main
className=
"lg:col-span-2 bg-white border rounded-md p-8"
>
<
div
className=
'pb-5 text-primary text-2xl leading-normal font-medium'
>
{
data
?.
responseData
?.
rows
[
0
].
title
}
{
data
?.
responseData
?.
rows
[
0
]
?
.
title
}
</
div
>
<
div
className=
'flex items-center gap-2 text-sm mb-4'
>
<
span
className=
'text-base text-blue-700'
>
{
dayjs
(
data
?.
responseData
?.
rows
[
0
].
created_at
).
format
(
'DD/MM/YYYY'
)
}
{
dayjs
(
data
?.
responseData
?.
rows
[
0
]
?
.
created_at
).
format
(
'DD/MM/YYYY'
)
}
</
span
>
</
div
>
<
hr
className=
"my-5"
/>
<
div
className=
'flex-1 text-app-grey text-base overflow-hidden'
>
<
div
className=
"prose tiptap overflow-hidden"
>
{
parse
(
data
?.
responseData
?.
rows
[
0
].
description
??
''
)
}
{
parse
(
data
?.
responseData
?.
rows
[
0
]
?
.
description
??
''
)
}
</
div
>
</
div
>
</
main
>
...
...
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