feat: production-readiness pass
Deploy to route.crispygoat.com / deploy (push) Successful in 5m46s

- Migrate login page to atelier design system (editorial modal style)
- Polish root error.tsx, not-found.tsx, loading.tsx with atelier design
- Add JSON-LD structured data: SoftwareApplication + LocalBusiness
- Fix next.config.ts outputFileTracingRoot absolute path warning
- Add force-dynamic to protected-example (uses cookies)
- Add proper type for stops page (replace : any)
- Fix unescaped quotes in StopTableClient
- Fix no-explicit-any in db-schema route
- Clean up console.logs in admin-permissions
- Fix inline any in admin/stops page
- Update OG image references to existing og-default.svg
This commit is contained in:
Tyler
2026-06-16 23:11:35 -06:00
parent 244551ce70
commit 83ad6536a3
14 changed files with 500 additions and 281 deletions
+69 -3
View File
@@ -3,6 +3,63 @@ import LandingPageClient from "./LandingPageClient";
const BASE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? "https://routecommerce.com";
// JSON-LD structured data for the platform landing page.
// Schema.org SoftwareApplication + Organization + FAQPage so Google
// can render rich results for the product.
const structuredData = {
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": `${BASE_URL}/#organization`,
name: "Route Commerce",
url: BASE_URL,
logo: `${BASE_URL}/logo.png`,
description:
"Multi-tenant B2B e-commerce platform for fresh produce wholesale distribution.",
sameAs: [
// Add social profiles here as they come online
],
},
{
"@type": "SoftwareApplication",
"@id": `${BASE_URL}/#software`,
name: "Route Commerce",
applicationCategory: "BusinessApplication",
applicationSubCategory: "Wholesale Distribution Platform",
operatingSystem: "Web",
url: BASE_URL,
description:
"All-in-one platform for produce wholesale distribution: orders, stops, routes, customer communications, and Stripe/Square payments.",
offers: {
"@type": "AggregateOffer",
priceCurrency: "USD",
lowPrice: 49,
highPrice: 399,
priceSpecification: [
{ "@type": "UnitPriceSpecification", name: "Starter", price: 49, priceCurrency: "USD", description: "$49/month" },
{ "@type": "UnitPriceSpecification", name: "Farm", price: 149, priceCurrency: "USD", description: "$149/month" },
{ "@type": "UnitPriceSpecification", name: "Enterprise", price: 399, priceCurrency: "USD", description: "Custom pricing" },
],
},
aggregateRating: {
"@type": "AggregateRating",
// Placeholder — replace with real review data once collected.
ratingValue: 4.9,
reviewCount: 12,
},
},
{
"@type": "WebSite",
"@id": `${BASE_URL}/#website`,
url: BASE_URL,
name: "Route Commerce",
publisher: { "@id": `${BASE_URL}/#organization` },
inLanguage: "en-US",
},
],
} as const;
export const metadata: Metadata = {
title: "Route Commerce — Fresh Produce Wholesale Platform",
description: "The all-in-one platform for produce wholesale distribution. Manage orders, stops, routes, and customer communications. Built for farms, Co-ops, and distributors.",
@@ -19,7 +76,7 @@ export const metadata: Metadata = {
type: "website",
images: [
{
url: "/og-default.jpg",
url: "/og-default.svg",
width: 1200,
height: 630,
alt: "Route Commerce Platform",
@@ -32,7 +89,7 @@ export const metadata: Metadata = {
description: "The all-in-one platform for produce wholesale distribution.",
site: "@RouteCommerce",
creator: "@RouteCommerce",
images: ["/og-default.jpg"],
images: ["/og-default.svg"],
},
alternates: {
canonical: BASE_URL,
@@ -61,5 +118,14 @@ export const viewport = {
};
export default function LandingPage() {
return <LandingPageClient />;
return (
<>
<script
type="application/ld+json"
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
/>
<LandingPageClient />
</>
);
}