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
4de59c4b
Commit
4de59c4b
authored
Nov 21, 2025
by
Văn Hoàng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/responsive' into 'develop'
Fix/responsive See merge request
!40
parents
b53461dd
01624b19
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
107 additions
and
127 deletions
+107
-127
EventDetailPage.tsx
src/app/(main)/[...slug]/templates/EventDetailPage.tsx
+4
-4
InformationPage.tsx
src/app/(main)/[...slug]/templates/InformationPage.tsx
+1
-1
footer.tsx
src/app/(main)/_lib/layout/footer.tsx
+102
-122
No files found.
src/app/(main)/[...slug]/templates/EventDetailPage.tsx
View file @
4de59c4b
...
@@ -43,14 +43,14 @@ export default function EventDetailPage() {
...
@@ -43,14 +43,14 @@ export default function EventDetailPage() {
<
div
className=
'flex flex-col gap-5 w-full'
>
<
div
className=
'flex flex-col gap-5 w-full'
>
<
ListCategory
categories=
{
categoriesPage
?.
responseData
?.
children
}
/>
<
ListCategory
categories=
{
categoriesPage
?.
responseData
?.
children
}
/>
<
div
className=
"grid grid-cols-1 lg:grid-cols-3 gap-5"
>
<
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
"
>
<
main
className=
"lg:col-span-2 bg-white border rounded-md p
y-10 px-5 md:px-20
"
>
<
div
className=
'pb-5 text-primary text-2xl leading-normal font-medium'
>
<
div
className=
'pb-5 text-primary text-2xl leading-normal font-medium'
>
{
eventsDetail
?.
responseData
?.
rows
[
0
]?.
name
}
{
eventsDetail
?.
responseData
?.
rows
[
0
]?.
name
}
</
div
>
</
div
>
<
hr
className=
"py-2"
/>
<
hr
className=
"py-2"
/>
{
/* Top summary with image + details */
}
{
/* Top summary with image + details */
}
<
div
className=
"flex flex-col
lg
:flex-row gap-6 my-6"
>
<
div
className=
"flex flex-col
md
:flex-row gap-6 my-6"
>
<
div
className=
"w-full lg:w-1/2 bg-gray-50 rounded-md overflow-hidden"
>
<
div
className=
"w-full lg:w-1/2 bg-gray-50 rounded-md overflow-hidden"
>
{
eventsDetail
?.
responseData
?.
rows
[
0
].
image
?
(
{
eventsDetail
?.
responseData
?.
rows
[
0
].
image
?
(
<
div
className=
"w-full h-52 relative "
>
<
div
className=
"w-full h-52 relative "
>
...
@@ -64,7 +64,7 @@ export default function EventDetailPage() {
...
@@ -64,7 +64,7 @@ export default function EventDetailPage() {
)
}
)
}
</
div
>
</
div
>
<
div
className=
"w-full lg:w-1/2 bg-white border rounded-md p-6"
>
<
div
className=
"w-full lg:w-1/2 bg-white border rounded-md p-
3 md:p-
6"
>
<
div
className=
"flex flex-col gap-3"
>
<
div
className=
"flex flex-col gap-3"
>
<
div
className=
"text-sm text-gray-500 flex flex-row items-center gap-2"
>
<
div
className=
"text-sm text-gray-500 flex flex-row items-center gap-2"
>
<
Clock
className=
"h-5 w-5 text-yellow-500"
/>
<
Clock
className=
"h-5 w-5 text-yellow-500"
/>
...
@@ -109,7 +109,7 @@ export default function EventDetailPage() {
...
@@ -109,7 +109,7 @@ export default function EventDetailPage() {
</
div
>
</
div
>
{
/* Full description */
}
{
/* Full description */
}
<
div
className=
"p
-7.5 p
rose tiptap overflow-hidden"
>
<
div
className=
"prose tiptap overflow-hidden"
>
{
parse
(
eventsDetail
?.
responseData
?.
rows
[
0
]?.
description
??
""
)
}
{
parse
(
eventsDetail
?.
responseData
?.
rows
[
0
]?.
description
??
""
)
}
</
div
>
</
div
>
</
main
>
</
main
>
...
...
src/app/(main)/[...slug]/templates/InformationPage.tsx
View file @
4de59c4b
...
@@ -35,7 +35,7 @@ export default function InformationPage() {
...
@@ -35,7 +35,7 @@ export default function InformationPage() {
)
:
(
)
:
(
<
div
className=
'flex flex-col gap-5 w-full'
>
<
div
className=
'flex flex-col gap-5 w-full'
>
<
ListCategory
categories=
{
category
?.
responseData
?.
children
}
/>
<
ListCategory
categories=
{
category
?.
responseData
?.
children
}
/>
<
main
className=
" bg-white border rounded-md py-10 px-
3
0"
>
<
main
className=
" bg-white border rounded-md py-10 px-
5 md:px-20 lg:px-2
0"
>
<
div
className=
'text-primary text-2xl leading-normal font-bold'
>
<
div
className=
'text-primary text-2xl leading-normal font-bold'
>
{
data
?.
responseData
?.
rows
[
0
]?.
title
}
{
data
?.
responseData
?.
rows
[
0
]?.
title
}
</
div
>
</
div
>
...
...
src/app/(main)/_lib/layout/footer.tsx
View file @
4de59c4b
This diff is collapsed.
Click to expand it.
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