@@ -8,18 +8,18 @@ export default function Projects({ projectsData }) {
88 < title > Projects | WebXDAO</ title >
99 </ Head >
1010 < section className = "text-white text-center bg-[#00007f]" >
11- < div className = "px-20 py-20" >
11+ < div className = "px-5 py-10 sm:p -20" >
1212 < h1 className = "font-bold text-3xl md:text-5xl antialiased" >
1313 Resources/Projects
1414 </ h1 >
15- < div className = "mt-6 text-xl font-light text-true-gray-500 antialiased" >
15+ < div className = "mt-6 text-lg md:text- xl font-light text-true-gray-500 antialiased" >
1616 Here you can find a list of good projects and resources to learn
1717 about Blockchain and Web 3.0
1818 </ div >
1919 </ div >
2020 </ section >
2121
22- < div className = "container max-w-screen-xl mx-auto my-8 grid pb-8 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 mb-8 gap-6 px-8" >
22+ < div className = "container max-w-screen-xl mx-auto my-8 grid pb-8 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 mb-0 sm:mb- 8 gap-6 px-8" >
2323 { projectsData . map (
2424 ( { name, imgUrl, type, title, text, tags } , index ) => (
2525 < div
@@ -29,25 +29,24 @@ export default function Projects({ projectsData }) {
2929 < div className = "bg-white p-4 rounded-lg flex flex-col justify-between" >
3030 < div className = "relative mb-6" >
3131 < img
32- className = "lg:h-60 xl :h-56 md :h-64 h-72 w-full object-cover object-center rounded-md"
32+ className = "h-44 md :h-64 lg :h-60 xl:h-56 w-full object-cover object-center rounded-md"
3333 src = { prefix + imgUrl }
3434 alt = { name }
3535 />
3636 </ div >
37- < div className = "flex justify-between" >
38- < h2 className = "text-xl text-gray-900 font-semibold mb-4 " >
37+ < div className = "flex justify-between items-center md:items-start mb-2 md:mb-4 " >
38+ < h2 className = "text-lg md:text- xl text-gray-900 font-semibold" >
3939 { title }
4040 </ h2 >
4141 < h3
42- className = { `tracking-widest ${
43- type === "FREE" ? "text-green-500" : "text-yellow-500"
44- } text-sm font-semibold title-font`}
42+ className = { `tracking-widest ${ type === 'FREE' ? 'text-green-500' : 'text-yellow-500'
43+ } text-sm font-semibold title-font`}
4544 >
4645 { type }
4746 </ h3 >
4847 </ div >
4948
50- < p className = "leading-relaxed text-base text-gray-800 mb-5" >
49+ < p className = "leading-relaxed text-sm md:text- base text-gray-800 mb-5" >
5150 { text }
5251 </ p >
5352
0 commit comments