import type React from "react" import type { Metadata } from "next" import { Inter, Geist_Mono } from "next/font/google" import { Analytics } from "@vercel/analytics/next" import { Header } from "@/components/header" import { Footer } from "@/components/footer" import { StructuredData } from "@/components/structured-data" import { OrganizationSchema } from "@/components/organization-schema" import { SiteChatWidget } from "@/components/site-chat-widget" import { CartProvider } from "@/lib/cart/context" import { businessConfig } from "@/lib/seo-config" import "./globals.css" const inter = Inter({ subsets: ["latin"], variable: "--font-inter", display: "swap", }) const geistMono = Geist_Mono({ subsets: ["latin"], variable: "--font-geist-mono", display: "swap", }) export const metadata: Metadata = { metadataBase: new URL(businessConfig.website), title: "Free Vending Machines Utah | Rocky Mountain Vending | Salt Lake City, Ogden, Provo", description: "Get a FREE vending machine for your Utah business! No cost installation. Serving Salt Lake City, Ogden, Provo, and surrounding areas since 2019. 100+ machines installed. Call (435) 233-9668.", generator: "Next.js", keywords: [ "vending machines", "vending machine supplier", "free vending machines", "Utah vending", "Salt Lake City vending", "Ogden vending", "Provo vending", "vending machine repair", "vending machine service", ], authors: [{ name: businessConfig.name }], creator: businessConfig.name, publisher: businessConfig.name, robots: { index: true, follow: true, googleBot: { index: true, follow: true, "max-video-preview": -1, "max-image-preview": "large", "max-snippet": -1, }, }, icons: { icon: [ { url: "/icon-light-32x32.png", media: "(prefers-color-scheme: light)", }, { url: "/icon-dark-32x32.png", media: "(prefers-color-scheme: dark)", }, { url: "/icon.svg", type: "image/svg+xml", }, ], apple: "/apple-icon.png", }, openGraph: { type: "website", locale: "en_US", url: businessConfig.website, siteName: businessConfig.name, title: "Free Vending Machines Utah | Rocky Mountain Vending", description: "Get a FREE vending machine for your Utah business! No cost installation. Serving Salt Lake City, Ogden, Provo, and surrounding areas since 2019. 100+ machines installed.", images: [ { url: `${businessConfig.website}/images/rocky-mountain-vending-service-area-926x1024.webp`, width: 926, height: 1024, alt: "Rocky Mountain Vending Service Area", }, ], }, twitter: { card: "summary_large_image", title: "Free Vending Machines Utah | Rocky Mountain Vending", description: "Get a FREE vending machine for your Utah business! No cost installation. Serving Salt Lake City, Ogden, Provo, and surrounding areas since 2019.", images: [`${businessConfig.website}/images/rocky-mountain-vending-service-area-926x1024.webp`], creator: "@RMVVending", }, alternates: { canonical: businessConfig.website, }, verification: { // Google Search Console verification // To enable: Add your verification code from Google Search Console // Format: google: "your-verification-code-here" // Get your code from: https://search.google.com/search-console // google: process.env.GOOGLE_SITE_VERIFICATION || undefined, }, } export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { return (