on master help sign in
updating spotlight and adding new groups
881664cGordon
content/applications/~marnec-dozzod-marzod/groups.mdnew file+12
@@ -0,0 +1,12 @@
1++++
2+title = "Groups (Beta)"
3+shortcode = "~marnec-dozzod-marzod/groups"
4+license = "MIT"
5+image = "https://bootstrap.urbit.org/icon-groups.svg"
6+bgColor = "#EFF0F4"
7+developer = "Tlon"
8+website = "https://github.com/tloncorp/landscape-apps"
9+description = "Groups is a decentralized platform that integrates with Talk, Notebook, and Gallery for a full, communal suite of tools."
10++++
11+
12+Start, host, and cultivate communities. Own your communications, organize your resources, and share documents. Groups is a decentralized platform that integrates with Talk, Notebook, and Gallery for a full, communal suite of tools.
content/ecosystem/spotlight/2022-december.md+1−2
@@ -12,9 +12,8 @@ Join the new and improved Urbit Foundation group to get updates from the Urbit F
12"""
12"""
13
13
14[featured-2]
14[featured-2]
15−title = "Groups 2.0 (Beta)"
15+title = "Groups (Beta)"
16description = "The new Groups application from Tlon is officially now in beta."
16description = "The new Groups application from Tlon is officially now in beta."
17−image="https://storage.googleapis.com/media.urbit.org/site/ecosystem/articles/3things40.jpg"
18content = """
17content = """
19
18
20Test drive the future of Urbit now with Tlon's official beta of Groups. This beta features a
19Test drive the future of Urbit now with Tlon's official beta of Groups. This beta features a
pages/ecosystem/index.js+5−4
@@ -46,7 +46,7 @@ export default function Ecosystem({
46 case "applications":
46 case "applications":
47 title = "Applications • Ecosystem";
47 title = "Applications • Ecosystem";
48 break;
48 break;
49− case "groups":
49+ case "applications":
50 title = "Groups • Ecosystem";
50 title = "Groups • Ecosystem";
51 break;
51 break;
52 case "marketplaces":
52 case "marketplaces":
@@ -234,6 +234,8 @@ export default function Ecosystem({
234 </div>
234 </div>
235 </Link>
235 </Link>
236 ))}
236 ))}
237+
238+
237 </div>
239 </div>
238 </div>
240 </div>
239 </div>
241 </div>
@@ -297,7 +299,7 @@ function EcosystemSidebar() {
297 <ActiveLink
299 <ActiveLink
298 currentPath={currentPath}
300 currentPath={currentPath}
299 className="type-ui"
301 className="type-ui"
300− href="/ecosystem?type=groups"
302+ href="/ecosystem?type=marketplaces"
301 >
303 >
302 Marketplaces
304 Marketplaces
303 </ActiveLink>
305 </ActiveLink>
@@ -380,7 +382,7 @@ function SpotlightArchive({ posts, search }) {
380 );
382 );
381}
383}
382
384
383−export async function getStaticProps({ }) {
385+export async function getStaticProps({}) {
384 const posts = getAllPosts(
386 const posts = getAllPosts(
385 ["title", "date", "slug", "featured-1", "featured-2", "featured-3"],
387 ["title", "date", "slug", "featured-1", "featured-2", "featured-3"],
386 "ecosystem/spotlight",
388 "ecosystem/spotlight",
@@ -453,7 +455,6 @@ export async function getStaticProps({ }) {
453 ...podcasts.map((e) => ({ ...e, type: "Podcast" })),
455 ...podcasts.map((e) => ({ ...e, type: "Podcast" })),
454 ...articles.map((e) => ({ ...e, type: "Article" })),
456 ...articles.map((e) => ({ ...e, type: "Article" })),
455 ...marketplaces.map((e) => ({ ...e, type: "Marketplace" })),
457 ...marketplaces.map((e) => ({ ...e, type: "Marketplace" })),
456− ...groups.map((e) => ({ ...e, type: "Group" })),
457 ].filter((e) => e.title === post[feat].title)?.[0];
458 ].filter((e) => e.title === post[feat].title)?.[0];
458 post[feat].image = post[feat]?.image || matchedPost?.image || null;
459 post[feat].image = post[feat]?.image || matchedPost?.image || null;
459 post[feat].type = matchedPost?.type || "Podcast";
460 post[feat].type = matchedPost?.type || "Podcast";