@@ -48,7 +48,7 @@ const AgentsPage = ({agents, additionalAgents}: {agents: Agent[], additionalAgen
48
48
49
49
</ Head >
50
50
< Navbar activePage = "features" />
51
- < section className = "relative md:py-44 py-32 bg-no-repeat bg-bottom bg-cover" style = { { backgroundImage :"url('/images/bg/bg-pages.jpg')" } } >
51
+ { /* <section className="relative md:py-44 py-32 bg-no-repeat bg-bottom bg-cover" style={{backgroundImage:"url('/images/bg/bg-pages.jpg')"}}>
52
52
<div className="absolute inset-0 bg-gradient-to-t from-slate-900 to-slate-900/70"></div>
53
53
<div className="container relative">
54
54
<div className="grid grid-cols-1 text-center mt-6">
@@ -74,8 +74,8 @@ const AgentsPage = ({agents, additionalAgents}: {agents: Agent[], additionalAgen
74
74
</ul>
75
75
</div>
76
76
</div>
77
- </ section >
78
- < div className = "relative" >
77
+ </section> */ }
78
+ { /* <div className="relative">
79
79
<div className="shape absolute sm:-bottom-px -bottom-[2px] start-0 end-0 overflow-hidden z-1 text-white dark:text-slate-900">
80
80
<svg
81
81
className="w-full h-auto scale-[2.0] origin-top"
@@ -89,47 +89,65 @@ const AgentsPage = ({agents, additionalAgents}: {agents: Agent[], additionalAgen
89
89
></path>
90
90
</svg>
91
91
</div>
92
- </ div >
93
- < div className = 'container mb-5' >
94
- < div className = "grid lg:grid-cols-3 md:grid-cols-2 grid-cols-1 mt-6 gap-6" >
92
+ </div> */ }
93
+ < div className = "relative md:py-20 py-16" >
94
+ < div className = "shape absolute sm:-bottom-px -bottom-[2px] start-0 end-0 overflow-hidden z-1 text-white dark:text-slate-900" >
95
+ < svg className = "w-full h-auto scale-[2.0] origin-top" viewBox = "0 0 2880 48" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
96
+ < path d = "M0 48H1437.5H2880V0H2160C1442.5 52 720 0 720 0H0V48Z" fill = "currentColor" > </ path >
97
+ </ svg >
98
+ </ div >
99
+ </ div >
100
+
101
+ < div className = 'container mb-6' >
102
+ < h2 className = 'text-lg font-bold' > Trending</ h2 >
103
+ < p className = 'text-md text-slate-300' > Discover the most popular agents in the Marketplace </ p >
104
+ < div className = "grid lg:grid-cols-3 md:grid-cols-2 grid-cols-2 mt-6 gap-6" >
95
105
{ agents . map ( ( item , index ) => {
96
106
const config = genConfig ( item . title ) ;
97
107
return (
98
- < Link
99
- href = { `/agents/${ item . slug } ` }
100
- className = "px-6 py-10 shadow hover:shadow-md dark:shadow-gray-800 dark:hover:shadow-gray-700 duration-500 rounded-lg bg-white dark:bg-slate-900 border-white border-[3px]"
101
- key = { index }
102
- >
103
- < div className = "w-14 h-14 rounded-full" >
104
- < Avatar style = { { width : '3.5rem' , height : '3.5rem' } } { ...config } />
108
+ < Link className = "flex flex-col overflow-hidden bg-white dark:bg-slate-900" key = { index } href = { `/agents/${ item . slug } ` } >
109
+ < div className = "rounded-md" >
110
+ < Avatar style = { { width : '4.3rem' , height : '4.2rem' } } { ...config } />
105
111
</ div >
112
+ < div className = "py-5 px-3 pt-3" >
113
+ < h3 className = "text-xl font-semibold" > { item . title } </ h3 >
114
+ < h3 className = "text-xs" style = { {
115
+ overflow : "hidden" ,
116
+ display : "-webkit-box" ,
117
+ WebkitBoxOrient : "vertical" ,
118
+ WebkitLineClamp : 2
119
+ } } > { item . description } </ h3 >
120
+ </ div >
121
+ </ Link >
122
+ ) ;
123
+ } ) }
124
+ </ div >
106
125
107
- < div className = "content mt-7" >
108
- < div
109
- className = "title h5 text-lg font-medium hover:text-amber-400 duration-500"
110
- >
111
- { item . title }
112
- </ div >
113
- < p className = "text-slate-400 mt-3" >
114
- { item . description }
115
- </ p >
116
- < div className = "mt-6 w-full flex flex-wrap space-x-2 space-y-2" >
117
- { item . tags . map ( ( tag , index ) => (
118
- < span
119
- key = { index }
120
- className = "rounded-full border text-amber-200 justify-center m-1 px-3 py-1"
121
- style = { { whiteSpace : 'nowrap' , marginRight : "10px" , marginTop : "10px" } }
122
- >
123
- { tag }
124
- </ span >
125
- ) ) }
126
+ < h2 className = 'text-lg font-bold' style = { { paddingTop : "64px" } } > Additional Agents < span className = 'text-sm font-semibold' > Comming Soon...</ span > </ h2 >
127
+ < p className = 'text-md text-slate-300' > Discover the most popular agents in the Marketplace </ p >
128
+ < div className = "grid lg:grid-cols-3 md:grid-cols-2 grid-cols-2 mt-6 gap-6" >
129
+ { agents . map ( ( item , index ) => {
130
+ const config = genConfig ( item . title ) ;
131
+ return (
132
+ < div className = "flex flex-col overflow-hidden bg-white dark:bg-slate-900" key = { index } >
133
+ < div className = "rounded-md" >
134
+ < Avatar style = { { width : '4.3rem' , height : '4.2rem' } } { ...config } />
126
135
</ div >
136
+ < div className = "py-5 px-3 pt-3" >
137
+ < h3 className = "text-xl font-semibold" > { item . title } </ h3 >
138
+ < h3 className = "text-xs" style = { {
139
+ overflow : "hidden" ,
140
+ display : "-webkit-box" ,
141
+ WebkitBoxOrient : "vertical" ,
142
+ WebkitLineClamp : 2
143
+ } } > { item . description } </ h3 >
127
144
</ div >
128
- </ Link >
145
+ </ div >
129
146
) ;
130
147
} ) }
131
148
</ div >
132
- </ div >
149
+ </ div >
150
+
133
151
< Footer />
134
152
< Switcher />
135
153
</ >
0 commit comments