Add a Request form, with files in Google Drive and email notices
One form at /request for blog posts, events, and new or updated chapters, regions (updates only), partners, teams, awards and people. ?type= opens it on one; buttons on the Community sections, blog posts, Retreats and the front page calendar do. Files (.docx, PDF, JPEG, PNG) go to a Google Drive folder through a service account. Requests are feedback rows of type 'content' (migration 046), in a third Forms queue: files download from Drive, a .docx can become a draft blog post, and deleting a request deletes its files. New content and data requests email the addresses in Site settings through Gmail. Setup: docs/google-drive-and-mail.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
0e582c236b
commit
dc53af238f
31 changed files with 1318 additions and 113 deletions
|
|
@ -22,6 +22,7 @@ import { accentText, BRAND } from "../lib/color.ts"
|
|||
import PostContents from "../components/PostContents.tsx"
|
||||
import { headingAnchors } from "../lib/contents.ts"
|
||||
import QrCode from "../components/QrCode.tsx"
|
||||
import RequestLink from "../components/RequestLink.tsx"
|
||||
import { siteUrl } from "../lib/site.ts"
|
||||
import { FilePdf } from "@phosphor-icons/react"
|
||||
|
||||
|
|
@ -148,6 +149,11 @@ export default function BlogPost() {
|
|||
|
||||
<ContentBlocks blocks={post.blocks} accent={BRAND} />
|
||||
|
||||
<div className="flex flex-wrap items-center gap-3 border-t border-brand/15 pt-6 text-sm text-muted print:hidden">
|
||||
Have a story to share?
|
||||
<RequestLink type="blog" label="Write for the blog" />
|
||||
</div>
|
||||
|
||||
{/* Only on paper (Download PDF): where the post lives online,
|
||||
as a link and as a code to scan. */}
|
||||
<footer className="hidden break-inside-avoid items-center gap-6 border-t border-brand/20 pt-6 print:flex">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue