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
+26 -15
View File
@@ -2,22 +2,33 @@ import type { Metadata, Viewport } from "next";
const BASE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? "https://routecommerce.com";
// BreadcrumbList schema for SEO
const indianRiverBreadcrumbSchema = {
// Structured data for the Indian River Direct storefront.
// LocalBusiness + BreadcrumbList for the family farm brand.
const indianRiverStructuredData = {
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
"@graph": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": BASE_URL,
"@type": "BreadcrumbList",
itemListElement: [
{ "@type": "ListItem", position: 1, name: "Home", item: BASE_URL },
{ "@type": "ListItem", position: 2, name: "Indian River Direct", item: `${BASE_URL}/indian-river-direct` },
],
},
{
"@type": "ListItem",
"position": 2,
"name": "Indian River Direct",
"item": `${BASE_URL}/indian-river-direct`,
"@type": "LocalBusiness",
"@id": `${BASE_URL}/indian-river-direct/#localbusiness`,
name: "Indian River Direct",
description:
"Fresh peaches and citrus from our Florida groves to truckload sales in your neighborhood. Family-owned since 1985.",
url: `${BASE_URL}/indian-river-direct`,
image: `${BASE_URL}/og-default.svg`,
priceRange: "$$",
address: {
"@type": "PostalAddress",
addressRegion: "FL",
addressCountry: "US",
},
foundingDate: "1985",
},
],
};
@@ -41,7 +52,7 @@ export const metadata: Metadata = {
type: "website",
images: [
{
url: "/og-indian-river.jpg",
url: "/og-default.svg",
width: 1200,
height: 630,
alt: "Indian River Direct - Fresh Peaches & Citrus",
@@ -54,7 +65,7 @@ export const metadata: Metadata = {
description: "Fresh peaches and citrus from our Florida groves. Family-owned since 1985. Pre-order for 2026 season.",
site: "@IndianRiverDirect",
creator: "@IndianRiverDirect",
images: ["/og-indian-river.jpg"],
images: ["/og-default.svg"],
},
alternates: {
canonical: `${BASE_URL}/indian-river-direct`,
@@ -68,7 +79,7 @@ export const metadata: Metadata = {
},
},
other: {
"application/ld+json": JSON.stringify(indianRiverBreadcrumbSchema),
"application/ld+json": JSON.stringify(indianRiverStructuredData),
},
};