- New collection "documents" (title, slug, file, category, order, public); editors upload PDFs in the admin, no developer or redeploy needed - The app serves each file at /dokumente/<slug>.pdf, a URL that survives a new upload (PocketBase's own file name gets a random suffix) - New "documents" embed lists them as file cards, grouped by category; /downloads uses it - List/view rules are "public = true", so a draft PDF is not reachable through the PocketBase API either - Dev seed adds example documents with generated PDFs and fixes the const reassignment that broke seeding a fresh volume - Docs: editor guide, architecture, and the manual production setup steps Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
354 B
CSS
9 lines
354 B
CSS
/* The cards come from the global app.css (the lone PDF link). Unlike the post and
|
|
event teasers, the list belongs to the page's reading column, so it takes the same
|
|
centred 42rem as ContentPage's text, whose scoped rule does not reach in here. */
|
|
.embed-documents {
|
|
max-width: 42rem;
|
|
margin-inline: auto;
|
|
margin-top: var(--space-5);
|
|
}
|