Deploy on DigitalOcean App Platform (GitHub-source build) + consolidate audit-fixes
Deploy config: - .do/app.yaml: build the Dockerfile directly from GitHub (deploy_on_push) instead of a pre-built DOCR image; NEXT_PUBLIC_* set RUN_AND_BUILD_TIME with the propertymanagement.network domain so they bake into the client bundle; add custom domains block (apex + www); wire Sentry DSN (server + browser). Included pending work from the audit-fixes branch: - AI provider abstraction (OpenAI/Anthropic, admin-selectable; Anthropic default) - Per-landlord e-signature (DocuSign OAuth + Dropbox Sign) + migration 0010 - Outbound webhooks / Zapier integration - PayPal removal (Stripe-only billing) - Storage hardening (fail-loud when Spaces unconfigured), security fixes Verified: full production Docker build (same build-args as DO) passes clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
917a06ee85
commit
5495b94924
@@ -1,5 +1,19 @@
|
||||
import { PLAN_AMOUNTS, getPlanLabel } from "@/lib/stripe/plans"
|
||||
import type { Plan } from "@/types"
|
||||
|
||||
const base = process.env.NEXT_PUBLIC_APP_URL ?? "https://propertymanagement.network"
|
||||
|
||||
// Real plans + displayed prices from lib/stripe/plans.ts (single source of truth).
|
||||
// Annual billing is auto-provisioned at checkout and has no fixed amount here, so
|
||||
// we advertise only the monthly / one-time base prices that actually exist.
|
||||
const planOrder: Plan[] = ["starter", "pro", "landlord", "lifetime"]
|
||||
const planOffers = planOrder.map((plan) => ({
|
||||
"@type": "Offer",
|
||||
name: getPlanLabel(plan),
|
||||
price: String(PLAN_AMOUNTS[plan]),
|
||||
priceCurrency: "USD",
|
||||
}))
|
||||
|
||||
// Mirrors the visible FAQ content in components/marketing/faq.tsx.
|
||||
// Keep these in sync with that source so the JSON-LD matches what users see.
|
||||
const faqs = [
|
||||
@@ -43,6 +57,11 @@ const organization: Record<string, unknown> = {
|
||||
name: "Property Management Network",
|
||||
url: base,
|
||||
logo: `${base}/logo-mark.png`,
|
||||
contactPoint: {
|
||||
"@type": "ContactPoint",
|
||||
contactType: "customer support",
|
||||
email: "support@propertymanagement.network",
|
||||
},
|
||||
sameAs: [
|
||||
"https://twitter.com/propertymgmtnet",
|
||||
"https://github.com/propertymanagement-network",
|
||||
@@ -64,11 +83,7 @@ const softwareApplication: Record<string, unknown> = {
|
||||
operatingSystem: "Web",
|
||||
description:
|
||||
"Property management software for independent landlords — track rent, maintenance requests, leases and expenses in one place. Free to start.",
|
||||
offers: {
|
||||
"@type": "Offer",
|
||||
price: "0",
|
||||
priceCurrency: "USD",
|
||||
},
|
||||
offers: planOffers,
|
||||
}
|
||||
|
||||
const faqPage: Record<string, unknown> = {
|
||||
|
||||
Reference in New Issue
Block a user