on master help sign in
Merge pull request #1775 from urbit/gc/sept2022spotlight

Add September 2022 Ecosystem Spotlight

commitc5e5451b303c33f63b7c65debc145fd5e96ad33f authorGordon <gordon.cieplak@urbit.org> dateTue 30 Aug 2022, 23:04 (4 years ago) parent2a5626e550ef0d
5 files changed+60−13
components/ecosystem/IndexCard.js+11−9 components/ecosystem/Post.js+2−2 content/ecosystem/spotlight/july-2022.md → content/ecosystem/spotlight/2022-august.md+1−1 content/ecosystem/spotlight/2022-september.md+45 pages/index.js+1−1
components/ecosystem/IndexCard.js+11−9
@@ -4,23 +4,25 @@ export default function IndexCard({ slug, feat }) {
44 return (
55 <Link href={slug}>
66 <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">
88 {feat.image ? (
9− <img
10− className="rounded-xl w-full flex-1 object-cover"
11− src={feat.image}
12− style={{ aspectRatio: "4 / 3" }}
13− />
9+ <div
10+ className="w-64 md:w-full rounded-xl object-cover overflow-hidden basis-1/2"
11+ style={{
12+ backgroundColor: feat?.matchedPost?.bgColor || "rgba(0,0,0,0)",
13+ }}
14+ >
15+ <img className="h-full w-64 md:w-full object-cover" src={feat.image} />
16+ </div>
1417 ) : (
1518 <div
16− className="rounded-xl w-full flex-1"
19+ className="rounded-xl w-full"
1720 style={{
18− aspectRatio: "4 / 3",
1921 backgroundColor: feat?.matchedPost?.bgColor || "rgba(0,0,0,0)",
2022 }}
2123 />
2224 )}
23− <div className="grow-1 shrink-0 flex flex-col h-full min-h-0 pt-4">
25+ <div className="pt-4">
2426 <p className="mb-2 font-semibold leading-5">{feat.title}</p>
2527 {badge(feat.type)}
2628 <p className="text-sm leading-5">{feat?.description}</p>
components/ecosystem/Post.js+2−2
@@ -23,10 +23,10 @@ export default function Post({ post }) {
2323 post[feat]?.matchedPost?.bgColor || "rgba(0,0,0,0)",
2424 }}
2525 >
26− {post[feat]?.image && (
26+ {post[feat]?.matchedPost?.image && (
2727 <img
2828 className="rounded-xl w-24 object-cover"
29− src={post[feat].image}
29+ src={post[feat]?.matchedPost?.image}
3030 />
3131 )}
3232 </div>
content/ecosystem/spotlight/july-2022.md → content/ecosystem/spotlight/2022-august.mdrenamed+1−1
@@ -1,5 +1,5 @@
11+++
2−title = "July 2022"
2+title = "August 2022"
33date = "2022-07-27"
44
55[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() {
307307
308308 // Pull all latest ecosystem information
309309 const ecosystem = getAllPosts(
310− ["featured-1", "featured-2", "featured-3"],
310+ ["date", "featured-1", "featured-2", "featured-3"],
311311 "ecosystem/spotlight",
312312 "date"
313313 )[0];