7dfaba6e3d
- Add marketing pages: blog, changelog, roadmap, waitlist, security, maintenance - Add GDPR cookie consent banner with preference modal - Add referral system with API routes for code generation/tracking - Add waitlist API with referral support - Add PWA support: manifest, service worker, install prompt - Add onboarding flow with 6-step guided tour - Add in-app notification center with bell dropdown - Add admin launch checklist (32 items across 8 categories) - Update landing page with trust badges - Add Open Graph image and favicon - Configure ESLint for PWA install patterns - Add LAUNCH_CHECKLIST.md with go-to-market guide Supabase migrations for: - blog_posts and blog_categories tables - waitlist_signups table - roadmap_items table - launch_checklist_items table
61 lines
1.9 KiB
TypeScript
61 lines
1.9 KiB
TypeScript
import type { Metadata, Viewport } from "next";
|
|
import "./globals.css";
|
|
import { Providers } from "@/components/Providers";
|
|
import ToastNotificationContainer from "@/components/notifications/ToastNotification";
|
|
import CookieConsentBanner from "@/components/legal/CookieConsentBanner";
|
|
|
|
const BASE_URL = process.env.NEXT_PUBLIC_SITE_URL ?? "https://routecommerce.com";
|
|
|
|
export const viewport: Viewport = {
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
themeColor: "#0a0a0a",
|
|
};
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: "Route Commerce | Fresh Produce Wholesale Platform",
|
|
template: "%s | Route Commerce",
|
|
},
|
|
description: "Multi-tenant B2B e-commerce platform for fresh produce wholesale distribution. Brands sell to customers who pick up at scheduled stops or receive shipments.",
|
|
keywords: ["wholesale produce", "farm fresh", "B2B e-commerce", "produce distribution", "pickup stops", "fresh produce"],
|
|
metadataBase: new URL(BASE_URL),
|
|
openGraph: {
|
|
title: "Route Commerce | Fresh Produce Wholesale Platform",
|
|
description: "Multi-tenant B2B e-commerce platform for fresh produce wholesale distribution.",
|
|
url: BASE_URL,
|
|
siteName: "Route Commerce",
|
|
locale: "en_US",
|
|
type: "website",
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Route Commerce | Fresh Produce Wholesale Platform",
|
|
description: "Multi-tenant B2B e-commerce platform for fresh produce wholesale distribution.",
|
|
site: "@RouteCommerce",
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
googleBot: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body>
|
|
<Providers>{children}</Providers>
|
|
<ToastNotificationContainer />
|
|
<CookieConsentBanner />
|
|
</body>
|
|
</html>
|
|
);
|
|
} |