Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/pages/apps/[id].astro
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ const canonicalUrl = `https://pilotprotocol.network/apps/${app.id}`;
<!-- SIDEBAR -->
<aside class="detail-side">
<div class="side-card">
<h4>Information</h4>
<h3>Information</h3>
<div class="info-row"><span class="k">Vendor</span><span class="val">{app.vendorUrl ? <a href={app.vendorUrl} target="_blank" rel="noopener">{app.vendor}</a> : app.vendor}</span></div>
<div class="info-row"><span class="k">Category</span><span class="val">{catName(app.primaryCategory)}</span></div>
<div class="info-row"><span class="k">Version</span><span class="val">{app.version}</span></div>
Expand All @@ -357,7 +357,7 @@ const canonicalUrl = `https://pilotprotocol.network/apps/${app.id}`;

{app.grants.length > 0 && (
<div class="side-card">
<h4>Permissions</h4>
<h3>Permissions</h3>
{app.grants.map((g) => {
const idx = g.indexOf(':');
const cap = idx === -1 ? g : g.slice(0, idx);
Expand All @@ -369,7 +369,7 @@ const canonicalUrl = `https://pilotprotocol.network/apps/${app.id}`;
)}

<div class="side-card">
<h4>Publish an app</h4>
<h3>Publish an app</h3>
<p style="font-size:13px;color:var(--ink-dim);line-height:1.55;margin:0 0 14px;">Built something agents need? Ship it to the catalogue with one PR.</p>
<a class="pub-btn" href="/publish" style="width:100%;justify-content:center;box-sizing:border-box;">Publish your app <span class="arr">→</span></a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/appstore.css
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
/* sidebar (information) */
.detail-side { min-width: 0; position: sticky; top: 78px; display: grid; gap: 22px; }
.side-card { min-width: 0; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 20px; }
.side-card h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); margin: 0 0 14px; }
.side-card h3 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); margin: 0 0 14px; }
.info-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.info-row:first-of-type { border-top: 0; }
.info-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim); }
Expand Down
Loading