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
33fcbbfb
Commit
33fcbbfb
authored
Nov 05, 2025
by
Phạm Quang Bảo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update loading
parent
e83b5a22
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
451 additions
and
452 deletions
+451
-452
page.tsx
src/app/(main)/(home)/page.tsx
+451
-452
No files found.
src/app/(main)/(home)/page.tsx
View file @
33fcbbfb
...
@@ -67,14 +67,12 @@ const Page = () => {
...
@@ -67,14 +67,12 @@ const Page = () => {
'/home/hoi-vien-tieu-bieu/UOB-logo_Vuong.jpeg.webp'
,
'/home/hoi-vien-tieu-bieu/UOB-logo_Vuong.jpeg.webp'
,
]
]
if
(
isLoadingNews
||
isLoadingCategory
||
isLoadingEvent
)
return
(
return
(
<
div
className=
"w-full h-[80vh] flex justify-center items-center"
>
isLoadingNews
||
isLoadingCategory
||
isLoadingEvent
?
(
<
div
className=
"container w-full h-[80vh] flex justify-center items-center"
>
<
Spinner
/>
<
Spinner
/>
</
div
>
</
div
>
)
)
:
(
return
(
<>
<>
{
/* Banner */
}
{
/* Banner */
}
<
Swiper
<
Swiper
...
@@ -580,6 +578,7 @@ const Page = () => {
...
@@ -580,6 +578,7 @@ const Page = () => {
</
div
>
</
div
>
</>
</>
)
)
)
}
}
export
default
Page
export
default
Page
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