on master help sign in
Merge pull request #1775 from urbit/gc/sept2022spotlight
c5e5451Gordon
components/ecosystem/IndexCard.js+11−9
@@ -4,23 +4,25 @@ export default function IndexCard({ slug, feat }) {
4 return (
4 return (
5 <Link href={slug}>
5 <Link href={slug}>
6 <div className="cursor-pointer bg-wall-100 rounded-xl min-h-0 flex-1">
6 <div className="cursor-pointer bg-wall-100 rounded-xl min-h-0 flex-1">
7− <div className="flex flex-col p-4 justify-between items-between h-full relative">
7+ <div className="flex flex-col p-4 h-full relative">
8 {feat.image ? (
8 {feat.image ? (
9− <img
9+ <div
10− className="rounded-xl w-full flex-1 object-cover"
10+ className="w-64 md:w-full rounded-xl object-cover overflow-hidden basis-1/2"
11− src={feat.image}
11+ style={{
12− style={{ aspectRatio: "4 / 3" }}
12+ backgroundColor: feat?.matchedPost?.bgColor || "rgba(0,0,0,0)",
13− />
13+ }}
14+ >
15+ <img className="h-full w-64 md:w-full object-cover" src={feat.image} />
16+ </div>
14 ) : (
17 ) : (
15 <div
18 <div
16− className="rounded-xl w-full flex-1"
19+ className="rounded-xl w-full"
17 style={{
20 style={{
18− aspectRatio: "4 / 3",
19 backgroundColor: feat?.matchedPost?.bgColor || "rgba(0,0,0,0)",
21 backgroundColor: feat?.matchedPost?.bgColor || "rgba(0,0,0,0)",
20 }}
22 }}
21 />
23 />
22 )}
24 )}
23− <div className="grow-1 shrink-0 flex flex-col h-full min-h-0 pt-4">
25+ <div className="pt-4">
24 <p className="mb-2 font-semibold leading-5">{feat.title}</p>
26 <p className="mb-2 font-semibold leading-5">{feat.title}</p>
25 {badge(feat.type)}
27 {badge(feat.type)}
26 <p className="text-sm leading-5">{feat?.description}</p>
28 <p className="text-sm leading-5">{feat?.description}</p>
components/ecosystem/Post.js+2−2
@@ -23,10 +23,10 @@ export default function Post({ post }) {
23 post[feat]?.matchedPost?.bgColor || "rgba(0,0,0,0)",
23 post[feat]?.matchedPost?.bgColor || "rgba(0,0,0,0)",
24 }}
24 }}
25 >
25 >
26− {post[feat]?.image && (
26+ {post[feat]?.matchedPost?.image && (
27 <img
27 <img
28 className="rounded-xl w-24 object-cover"
28 className="rounded-xl w-24 object-cover"
29− src={post[feat].image}
29+ src={post[feat]?.matchedPost?.image}
30 />
30 />
31 )}
31 )}
32 </div>
32 </div>
content/ecosystem/spotlight/july-2022.md → content/ecosystem/spotlight/2022-august.mdrenamed+1−1
@@ -1,5 +1,5 @@
1+++
1+++
2−title = "July 2022"
2+title = "August 2022"
3date = "2022-07-27"
3date = "2022-07-27"
4
4
5[featured-1]
5[featured-1]
content/ecosystem/spotlight/2022-september.mdnew file+45
@@ -0,0 +1,45 @@
1++++
2+title = "September 2022"
3+date = "2022-08-29"
4+
5+[featured-1]
6+title = "sphinx"
7+description = "Browse your urbit network with Urbit's first submission and search engine."
8+image=""
9+content = """
10+Sphinx is Urbit’s first search engine. Unlike traditional web search engines, sphinx uses a gossip mechanism originally found in ~paldev’s rumors, so that anything you and your pals post is shared to your pals, as well as pals of pals.
11+
12+You can currently submit and search for applications, groups, and content (notebooks and collections), as well as browse by tag.
13+
14+![Screenshot](https://storage.googleapis.com/media.urbit.org/site/ecosystem/applications/sphinx2.png)
15+
16+"""
17+
18+[featured-2]
19+title = "peat"
20+description = "Back up your urbit with peat, Urbit's first backup utility."
21+image="https://storage.googleapis.com/media.urbit.org/site/ecosystem/spotlight/peat-thumb.png"
22+content = """
23+
24+Peat is Urbit’s first backup utility. Prior to Peat, there was no easy way to backup content from groups from your ship aside from copying your entire urbit. Peat makes it easy to export all your data from Groups, which uses the graph-store data structure, and in the future will provide support for the new structure in Tlon’s upcoming Groups revamp.
25+
26+![Screenshot](https://storage.googleapis.com/media.urbit.org/site/ecosystem/applications/peat.png)
27+
28+
29+"""
30+
31+[featured-3]
32+
33+title = "Josh Lehman: Urbit – The Peer-to-Peer Network Re-Decentralizing the Internet"
34+description = "Urbit Foundation Executive Director Josh Lehman and Epicenter host Brian Crain have a wide ranging discussion on Urbit's history and future."
35+image="https://storage.googleapis.com/media.urbit.org/site/ecosystem/spotlight/epicenterjoshthumb.jpg"
36+
37+content = """
38+
39+In this podcast Urbit Foundation Executive Director Josh Lehman provides a broad overview of that state of Urbit as of 2022, and what people can expecture in the near future and beyond.
40+
41+{% iframe height="150" src="https://www.youtube.com/embed/DqqUM-L_-2s" title="YouTube video player" width="100%" /%}
42+
43+
44+"""
45++++
pages/index.js+1−1
@@ -307,7 +307,7 @@ export async function getStaticProps() {
307
307
308 // Pull all latest ecosystem information
308 // Pull all latest ecosystem information
309 const ecosystem = getAllPosts(
309 const ecosystem = getAllPosts(
310− ["featured-1", "featured-2", "featured-3"],
310+ ["date", "featured-1", "featured-2", "featured-3"],
311 "ecosystem/spotlight",
311 "ecosystem/spotlight",
312 "date"
312 "date"
313 )[0];
313 )[0];