import type { Metadata } from 'next';

export const metadata: Metadata = {
  title: 'YouTube Views to Money Calculator | YTToolkits',
  description: 'Convert YouTube view counts to estimated earnings. See how much money different view counts make at various CPM rates.',
  keywords: 'youtube views to money, convert youtube views to money, youtube views to money calculator, views to cash calculator youtube, how much is 1000 views worth on youtube, how much is 10000 views worth on youtube, how much is 50000 views worth on youtube, how much is 100k views worth on youtube, how much is 500k views worth on youtube, how much is 1 million views worth on youtube, how much is 10 million views worth on youtube, youtube view to dollar converter, calculate money from views youtube, views to earnings youtube, youtube views worth calculator, youtube cash per view, how much money per view youtube, youtube view payment rate, convert views to cash, free youtube views to money calculator, best views to money converter, youtube views to usd, views to money formula, how to convert views to money on youtube, youtube view value calculator, views to revenue converter, calculate youtube view cash, youtube views to income, youtube views money estimator, youtube views to money for pc, youtube views to money for mac, youtube views to money for windows, youtube views to money for linux, youtube views to money for android, youtube views to money for iphone, youtube views to money for ipad, youtube views to money for ios, youtube views to money for chrome, youtube views to money for firefox, youtube views to money for edge, youtube views to money for safari, youtube views to money for chromebook, youtube views to money app, youtube views to money software, youtube views to money website, youtube views to money tool, youtube views to money online free, youtube views to money no ads, youtube views to money no registration, youtube views to money fast, youtube views to money safe, youtube views to money instant, youtube views to money accurate, youtube views to money for creators, youtube views to money for youtubers, youtube views to money for beginners, youtube views to money for shorts, youtube views to money 2026, youtube views to money 2027, youtube views to money 2028, youtube views to money 2029, youtube views to money 2030, youtube views to money 2031, youtube views to money 2032, youtube views to money 2033, youtube views to money 2034, youtube views to money 2035, convert views to money 2026, convert views to money 2027, convert views to money 2028, convert views to money 2029, convert views to money 2030, convert views to money 2031, convert views to money 2032, convert views to money 2033, convert views to money 2034, convert views to money 2035, youtube views to money calculator 2026, youtube views to money calculator 2027, youtube views to money calculator 2028, youtube views to money calculator 2029, youtube views to money calculator 2030, how much is 1000 views worth 2026, how much is 1000 views worth 2027, how much is 1000 views worth 2028, how much is 100k views worth 2026, how much is 100k views worth 2027, how much is 100k views worth 2028, how much is 1 million views worth 2026, how much is 1 million views worth 2027, how much is 1 million views worth 2028, free views to money calculator 2026, free views to money calculator 2027, free views to money calculator 2028, free views to money calculator 2029, free views to money calculator 2030, best views to money calculator 2026, best views to money calculator 2027, best views to money calculator 2028, best views to money calculator 2029, best views to money calculator 2030, online views to money calculator 2026, online views to money calculator 2027, online views to money calculator 2028, online views to money calculator 2029, online views to money calculator 2030, youtube views to money latest 2026, youtube views to money latest 2027, youtube views to money latest 2028, youtube views to money latest 2029, youtube views to money latest 2030, youtube views to money updated 2026, youtube views to money updated 2027, youtube views to money updated 2028, youtube views to money updated 2029, youtube views to money updated 2030, youtube views to money new 2026, youtube views to money new 2027, youtube views to money new 2028, youtube views to money new 2029, youtube views to money new 2030, youtube views to money working 2026, youtube views to money working 2027, youtube views to money working 2028, youtube views to money working 2029, youtube views to money working 2030, youtube views to money 2026 free, youtube views to money 2027 free, youtube views to money 2028 free, youtube views to money 2029 free, youtube views to money 2030 free, youtube views to money 2026 online, youtube views to money 2027 online, youtube views to money 2028 online, youtube views to money 2029 online, youtube views to money 2030 online, youtube views to money 2026 no ads, youtube views to money 2027 no ads, youtube views to money 2028 no ads, youtube views to money 2029 no ads, youtube views to money 2030 no ads, youtube views to money 2026 safe, youtube views to money 2027 safe, youtube views to money 2028 safe, youtube views to money 2029 safe, youtube views to money 2030 safe, youtube views to money 2026 fast, youtube views to money 2027 fast, youtube views to money 2028 fast, youtube views to money 2029 fast, youtube views to money 2030 fast, views to dollars calculator 2026, views to dollars calculator 2027, views to dollars calculator 2028, youtube views income 2026, youtube views income 2027, youtube views income 2028, youtube views to money 2026 and beyond, youtube views to money 2027 and beyond, youtube views to money 2028 and beyond, youtube views to money 2029 and beyond, youtube views to money 2030 and beyond, youtube views to money 2026-2030, youtube views to money 2026-2035, youtube views to money upcoming years, youtube views to money future years, youtube views to money next year, how much does youtube pay for views, view count to money, cash per 1000 views youtube, youtube views revenue lookup, estimate earnings from youtube views',
  openGraph: {
    title: 'YouTube Views to Money Calculator | YTToolkits',
    description: 'Convert YouTube view counts to estimated earnings. See how much money different view counts make at various CPM rates.',
    url: 'https://yttoolkits.site/views-to-money',
    siteName: 'YTToolkits',
    locale: 'en_US',
    type: 'website',
  },
  twitter: {
    card: 'summary_large_image',
    title: 'YouTube Views to Money Calculator | YTToolkits',
    description: 'Convert YouTube view counts to estimated earnings. See how much money different view counts make at various CPM rates.',
  },
  alternates: {
    canonical: 'https://yttoolkits.site/views-to-money',
  },
};

export default function Layout({ children }: { children: React.ReactNode }) {
  const schemaOrg = {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "SoftwareApplication",
        "name": "YTToolkits YouTube Views to Money Calculator",
        "operatingSystem": "All",
        "applicationCategory": "FinanceApplication",
        "offers": {
          "@type": "Offer",
          "price": "0",
          "priceCurrency": "USD"
        },
        "aggregateRating": {
          "@type": "AggregateRating",
          "ratingValue": "4.9",
          "ratingCount": "1960"
        },
        "description": "Free online converter to calculate how much money YouTube views are worth across different niches, countries, and CPM levels."
      },
      {
        "@type": "HowTo",
        "name": "How to Convert YouTube Views to Money",
        "step": [
          {
            "@type": "HowToStep",
            "name": "Enter YouTube Views",
            "text": "Type in any view count, from 1,000 views to 100 million views into the input box."
          },
          {
            "@type": "HowToStep",
            "name": "Choose Audience & Niche",
            "text": "Select your primary audience location and content vertical to determine typical RPM rates."
          },
          {
            "@type": "HowToStep",
            "name": "Customize CPM Value",
            "text": "Adjust the CPM slider to model conservative, average, and high revenue expectations."
          },
          {
            "@type": "HowToStep",
            "name": "View Instant Conversion",
            "text": "Review exact dollar values, estimated net payouts, and revenue comparisons instantly."
          }
        ]
      },
      {
        "@type": "BreadcrumbList",
        "itemListElement": [
          { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://yttoolkits.site" },
          { "@type": "ListItem", "position": 2, "name": "Tools", "item": "https://yttoolkits.site/tools" },
          { "@type": "ListItem", "position": 3, "name": "Views to Money Calculator", "item": "https://yttoolkits.site/views-to-money" }
        ]
      }
    ]
  };

  return (
    <>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(schemaOrg) }}
      />
      {children}
    </>
  );
}
