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

Merge branch 'feat/home_page' into tumlumtumla

parents 695425f5 2ce89c19
......@@ -69,14 +69,12 @@ const Page = () => {
'/home/hoi-vien-tieu-bieu/UOB-logo_Vuong.jpeg.webp',
]
if (isLoadingNews || isLoadingCategory || isLoadingEvent)
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 />
</div>
)
return (
) : (
<>
{/* Banner */}
<Swiper
......@@ -589,6 +587,7 @@ const Page = () => {
</div >
</>
)
)
}
export default Page
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