on master help sign in
ecosystem: two-col apps, fix icons
commit2a9ca50252f2ee0952236fab11d431ce57b7f2a1 authorMatilde Park <matilde.park@urbit.org> dateMon 25 Jul 2022, 14:54 (4 years ago) parent38ef3d2
1 file changed+6−6
pages/ecosystem/index.js+6−6
pages/ecosystem/index.js+6−6
@@ -1,6 +1,3 @@
1−// All sections in one template
2−// Grid-columns-three
3−// Get content from content/ecosystem/spotlight, content/applications, content/marketplaces, content/organizations, content/podcasts, content/groups
41import { useRouter } from "next/router";
52import Head from "next/head";
63import Meta from "../../components/Meta";
@@ -114,7 +111,7 @@ export default function Ecosystem({
114111 className={classnames("grid gap-12 w-full", {
115112 "grid-cols-2 md:grid-cols-3": type !== "podcasts",
116113 "grid-cols-1": type === "podcasts",
117− "grid-cols-1 md:grid-cols-1": type === "applications",
114+ "grid-cols-1 md:grid-cols-2": type === "applications",
118115 hidden: type === undefined,
119116 })}
120117 >
@@ -132,13 +129,16 @@ export default function Ecosystem({
132129 <Link href={`/applications/${app.ship}/${app.slug}`}>
133130 <div className="flex space-x-4 items-center cursor-pointer hover:opacity-90">
134131 <div
135− className="h-36 w-36 rounded-xl items-center justify-center"
132+ className="h-36 w-36 rounded-xl items-center justify-center shrink-0 overflow-hidden"
136133 style={{
137134 backgroundColor: app?.bgColor || "rgba(0,0,0,0)",
138135 }}
139136 >
140137 {app?.image && (
141− <img className="items-center" src={app.image} />
138+ <img
139+ className="items-center h-36 w-36"
140+ src={app.image}
141+ />
142142 )}
143143 </div>
144144 <div className="">