@@ -8,18 +8,18 @@ export default function Projects({ projectsData }) {
8
8
< title > Projects | WebXDAO</ title >
9
9
</ Head >
10
10
< 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" >
12
12
< h1 className = "font-bold text-3xl md:text-5xl antialiased" >
13
13
Resources/Projects
14
14
</ 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" >
16
16
Here you can find a list of good projects and resources to learn
17
17
about Blockchain and Web 3.0
18
18
</ div >
19
19
</ div >
20
20
</ section >
21
21
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" >
23
23
{ projectsData . map (
24
24
( { name, imgUrl, type, title, text, tags } , index ) => (
25
25
< div
@@ -29,25 +29,24 @@ export default function Projects({ projectsData }) {
29
29
< div className = "bg-white p-4 rounded-lg flex flex-col justify-between" >
30
30
< div className = "relative mb-6" >
31
31
< 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"
33
33
src = { prefix + imgUrl }
34
34
alt = { name }
35
35
/>
36
36
</ 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" >
39
39
{ title }
40
40
</ h2 >
41
41
< 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`}
45
44
>
46
45
{ type }
47
46
</ h3 >
48
47
</ div >
49
48
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" >
51
50
{ text }
52
51
</ p >
53
52
0 commit comments