@@ -6,7 +6,6 @@ import Pagination from '@/components/Pagination';
66import { SPONSOR_TITLE , MEDPAR_TITLE } from '@/types/constant' ;
77import BlogPost from '@/components/BlogPost' ;
88import { ErrorTypes } from '@/types/enum' ;
9- import PageTransition from '@/components/PageTransition' ;
109import SponsorAndPartnerContainer from '@/components/SponsorAndPartnerContainer' ;
1110import VistockHome from '@/components/VistockHome' ;
1211import VistockAnnoucement from '@/assets/images/home/announcement-v1.png' ;
@@ -60,73 +59,71 @@ const Homepage: React.FC<{}> = () => {
6059 }
6160
6261 return (
63- < PageTransition >
64- < div >
65- < div className = "bg-[#FF8952]" >
66- < img
67- src = { VistockAnnoucement }
68- alt = "annoucement"
69- className = "w-screen"
70- draggable = "false"
71- />
72- </ div >
73- { /* <Annoucement /> */ }
74- < div className = "bg-gradient-to-b from-DarkOrange to-MediumBrown min-h-screen relative z-10" >
75- < VistockHome />
76- < div className = "py-10" >
77- < div className = "container max-w-[92.5vw] xl:max-w-screen-xl mx-auto" >
78- < div className = "flex justify-center relative pt-9" >
79- < div className = "bg-LightBrown absolute top-0 lg:right-[14%] rounded-md flex flex-row justify-between items-center self-center w-44 h-10" >
80- < Pagination
81- pagination = { posts . meta . pagination }
82- page = { page }
83- setPage = { setPage }
84- />
85- </ div >
86- < div className = "grid place-items-stretch lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1 gap-6 bg-LightBrown py-6 px-6 rounded-lg" >
87- { blogPostElements }
88- </ div >
62+ < div >
63+ < div className = "bg-[#FF8952]" >
64+ < img
65+ src = { VistockAnnoucement }
66+ alt = "annoucement"
67+ className = "w-screen"
68+ draggable = "false"
69+ />
70+ </ div >
71+ { /* <Annoucement /> */ }
72+ < div className = "bg-gradient-to-b from-DarkOrange to-MediumBrown min-h-screen relative z-10" >
73+ < VistockHome />
74+ < div className = "py-10" >
75+ < div className = "container max-w-[92.5vw] xl:max-w-screen-xl mx-auto" >
76+ < div className = "flex justify-center relative pt-9" >
77+ < div className = "bg-LightBrown absolute top-0 lg:right-[14%] rounded-md flex flex-row justify-between items-center self-center w-44 h-10" >
78+ < Pagination
79+ pagination = { posts . meta . pagination }
80+ page = { page }
81+ setPage = { setPage }
82+ />
83+ </ div >
84+ < div className = "grid place-items-stretch lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1 gap-6 bg-LightBrown py-6 px-6 rounded-lg" >
85+ { blogPostElements }
8986 </ div >
90- < div className = "relative bg-LightBrown py-6 px-2 mt-16 rounded-lg flex flex-col justify-center" >
91- < div className = " flex relative h-[36px] justify-center my-auto ">
92- < div className = " font-Heading text-xl sm:text-2xl text-center bg-LightBrown absolute px-[10px] py-1 bottom-10 rounded drop-shadow-lg " >
93- { SPONSOR_TITLE }
94- </ div >
87+ </ div >
88+ < div className = "relative bg-LightBrown py-6 px-2 mt-16 rounded-lg flex flex-col justify-center">
89+ < div className = "flex relative h-[36px] justify-center my-auto " >
90+ < div className = " font-Heading text-xl sm:text-2xl text-center bg-LightBrown absolute px-[10px] py-1 bottom-10 rounded drop-shadow-lg" >
91+ { SPONSOR_TITLE }
9592 </ div >
96- < SponsorAndPartnerContainer
97- listOfSponsorAndPartner = { sponsorSM }
98- />
99- < SponsorAndPartnerContainer
100- listOfSponsorAndPartner = { sponsorMD }
101- />
102- < SponsorAndPartnerContainer
103- listOfSponsorAndPartner = { sponsorLG }
104- />
10593 </ div >
106- < div className = "relative bg-LightBrown py-6 px-2 mt-16 rounded-lg flex justify-center flex-col" >
107- < div className = "flex relative h-[36px] justify-center my-auto" >
108- < div className = " font-Heading text-xl sm:text-2xl text-center bg-LightBrown absolute px-[10px] py-1 bottom-10 rounded drop-shadow-lg" >
109- { MEDPAR_TITLE }
110- </ div >
94+ < SponsorAndPartnerContainer
95+ listOfSponsorAndPartner = { sponsorSM }
96+ />
97+ < SponsorAndPartnerContainer
98+ listOfSponsorAndPartner = { sponsorMD }
99+ />
100+ < SponsorAndPartnerContainer
101+ listOfSponsorAndPartner = { sponsorLG }
102+ />
103+ </ div >
104+ < div className = "relative bg-LightBrown py-6 px-2 mt-16 rounded-lg flex justify-center flex-col" >
105+ < div className = "flex relative h-[36px] justify-center my-auto" >
106+ < div className = " font-Heading text-xl sm:text-2xl text-center bg-LightBrown absolute px-[10px] py-1 bottom-10 rounded drop-shadow-lg" >
107+ { MEDPAR_TITLE }
111108 </ div >
112- < SponsorAndPartnerContainer
113- listOfSponsorAndPartner = { medparSM }
114- />
115- < SponsorAndPartnerContainer
116- listOfSponsorAndPartner = { medparMD }
117- />
118- < SponsorAndPartnerContainer
119- listOfSponsorAndPartner = { medparLG }
120- />
121- < SponsorAndPartnerContainer
122- listOfSponsorAndPartner = { medparXL }
123- />
124109 </ div >
110+ < SponsorAndPartnerContainer
111+ listOfSponsorAndPartner = { medparSM }
112+ />
113+ < SponsorAndPartnerContainer
114+ listOfSponsorAndPartner = { medparMD }
115+ />
116+ < SponsorAndPartnerContainer
117+ listOfSponsorAndPartner = { medparLG }
118+ />
119+ < SponsorAndPartnerContainer
120+ listOfSponsorAndPartner = { medparXL }
121+ />
125122 </ div >
126123 </ div >
127124 </ div >
128125 </ div >
129- </ PageTransition >
126+ </ div >
130127 ) ;
131128} ;
132129
0 commit comments