Reply time setting, and server settings from process.env only

Inquiries and the sent page promise a reply within the site setting
replyTime (2 days, Greg 2026-10-11). The site reads its settings through one
helper that uses process.env only, so a .env file can never be copied into the
built bundle through import.meta.env.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aSbo2D1qP8cMFQCykf7kx
This commit is contained in:
Claude
2026-10-11 23:18:07 +00:00
parent 0d0b8e4085
commit 60dfeecd7f
6 changed files with 21 additions and 4 deletions
+1
View File
@@ -475,6 +475,7 @@ export const siteSettings = def({
lockup: line({ title: "Lockup line" }),
location: line({ title: "Location" }).optional(),
email: line({ title: "Email", description: "Printed on the resume PDF." }).optional(),
replyTime: line({ title: "Reply time", description: "How soon you answer inquiries, like 2 days." }).optional(),
availability: line({ title: "Availability", description: "Shown on the resume and Inquiries, like Open to freelance web work." }).optional(),
socials: z
.array(z.object({ label: line({ title: "Label" }), handle: line({ title: "Handle" }), url: z.url().meta({ title: "Link" }) }))