feat: shared rendering, footer, terms of service, git deployment, consistency fixes

Rendering consistency:
- Create shared renderProtocolPill() and renderCollectionPill() functions
  used everywhere: library, collection detail, user profile, picker
- All protocol/collection modules now look identical across all contexts
- Profile page collections and protocols use the same shared renderers
- Protocol grids wrapped in .protocol-grid for consistent spacing

New features:
- Footer with CC-BY 4.0 license link and Terms of Service link
- Terms of Service page stating admin reserves right to remove content
- CC-BY 4.0 default license for submitted content

Deployment:
- README now recommends git clone for initial deployment
- README documents git pull for updates without data loss
- All nav links use #protocols instead of #library

Bug fixes (from previous commits, re-applied to current codebase):
- Delete redirect: reset currentRoute guard so navigate works after delete
- #protocols routing instead of #library
- forked_from: null no longer shows as clickable link
- Source field suppressed when it duplicates author
- Collections say 'curated by' instead of 'authored by'
- Breadcrumb home click works from detail pages
- Search debounce and double-navigation guard
This commit is contained in:
Protocolbot
2026-07-06 22:40:34 -06:00
parent d3077c78b0
commit 1148c19fd6
4 changed files with 169 additions and 107 deletions
Executable → Regular
+15 -1
View File
@@ -527,4 +527,18 @@ header nav a.active { color: var(--accent-bright); border-color: rgba(0,170,255,
.protocol-pill .meta > div:not(.steps) { font-size: 10px; }
.detail-header, .detail-section { padding: 16px 14px; border-radius: 12px; }
}
}
/* Footer */
.footer {
text-align: center;
padding: 16px;
font-family: var(--mono);
font-size: 11px;
color: var(--ink-dim);
}
.footer a {
color: var(--accent);
text-decoration: none;
}
.footer a:hover { text-decoration: underline; }