@@ -7,7 +7,7 @@ import SingleColumn from "../../components/SingleColumn";
7import Section from "../../components/Section";
7import Section from "../../components/Section";
8import ob from "urbit-ob";
8import ob from "urbit-ob";
9import Markdown from "../../components/Markdown";
9import Markdown from "../../components/Markdown";
10−import Sigil from "../../components/Sigil";
10+import ResourceCard from "../../components/ResourceCard";
11import GatewayHeader from "../../components/gateway/GatewayHeader";
11import GatewayHeader from "../../components/gateway/GatewayHeader";
12import Gateway404 from "../../components/gateway/Gateway404";
12import Gateway404 from "../../components/gateway/Gateway404";
13import MetadataBlock from "../../components/gateway/MetadataBlock";
13import MetadataBlock from "../../components/gateway/MetadataBlock";
@@ -33,12 +33,6 @@ const IdPage = ({ data, markdown, applications, groups, network, params }) => {
33 // Galaxies shouldn't show parents, so store it as boolean here for reference.
33 // Galaxies shouldn't show parents, so store it as boolean here for reference.
34 const isGalaxy = ob.clan(id) === "galaxy";
34 const isGalaxy = ob.clan(id) === "galaxy";
37− <div className="rounded-xl overflow-hidden">
38− <Sigil patp={id} size={100} />
43 <Container>
37 <Container>
@@ -66,7 +60,7 @@ const IdPage = ({ data, markdown, applications, groups, network, params }) => {
66 <GatewayHeader
60 <GatewayHeader
67 title={id}
61 title={id}
68 image={data?.image || false}
62 image={data?.image || false}
69− sigil={sigil}
63+ patp={id}
70 item="Urbit ID"
64 item="Urbit ID"
72 <div className="flex flex-wrap md:flex-nowrap justify-between">
66 <div className="flex flex-wrap md:flex-nowrap justify-between">
@@ -98,15 +92,10 @@ const IdPage = ({ data, markdown, applications, groups, network, params }) => {
98 <Creations
92 <Creations
99 title="Applications"
93 title="Applications"
101− parentSlug="application"
95+ type="application"
102 data={applications}
96 data={applications}
105− title="Hosted Groups"
98+ <Creations title="Hosted Groups" id={id} type="group" data={groups} />
110 <Description
99 <Description
111 description={data.description}
100 description={data.description}
112 fallback="An Urbit ID."
101 fallback="An Urbit ID."
@@ -169,26 +158,19 @@ const IdPage = ({ data, markdown, applications, groups, network, params }) => {
172−const Creations = ({ id, title, data, parentSlug }) => {
161+const Creations = ({ id, title, data, type }) => {
174 data?.length > 0 && (
163 data?.length > 0 && (
175 <div className="flex space-y-2 flex-col">
164 <div className="flex space-y-2 flex-col">
176 <p className="text-wall-400 font-semibold">{title}</p>
165 <p className="text-wall-400 font-semibold">{title}</p>
177 <div className="flex flex-wrap space-x-4">
166 <div className="flex flex-wrap space-x-4">
178 {data.map((each) => (
167 {data.map((each) => (
179− <Link href={`/${parentSlug}/${id}/${each.slug}`}>
170+ shortcode={`${id}/${each.slug}`}
180− <div className="cursor-pointer rounded-xl bg-wall-100 p-4 flex items-center space-x-4">
171+ title={each.title}
182− className="overflow-hidden rounded-xl"
183− style={{ width: 50, height: 50 }}
185− each?.image ||
172+ image={each.image}
186− "https://media.urbit.org/logo/urbit-logo-card.png"
189− <a className="font-semibold">{each.title}</a>