
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    
    <!-- Preconnect for performance -->
    <link rel="preconnect" href="https://nhcjdbxahplmwcgwfcqh.supabase.co" />
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    
    <link rel="icon" href="./favicon.png" type="image/png" />
    <link rel="canonical" href="https://parentmemo.com" />
    
    <!-- Base Meta Tags (will be updated by early injection script) -->
    <title>ParentMemo - Practical Parenting Tools & Expert Guidance</title>
    <meta name="description" content="Access monthly printable resources, activities, and tools designed to make parenting easier. Download your free activity pack today." />
    <meta name="keywords" content="parenting resources, printable activities, parenting tools, parenting guides, family activities, parenting downloads" />
    <meta name="author" content="ParentMemo" />

    <!-- Open Graph Tags -->
    <meta property="og:title" content="ParentMemo - Practical Parenting Tools & Expert Guidance" />
    <meta property="og:description" content="Access monthly printable resources, activities, and tools designed to make parenting easier. Download your free activity pack today." />
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://parentmemo.com" />
    <meta property="og:image" content="https://parentmemo.com/lovable-uploads/0239a4a5-1099-4792-8a17-282d24ce225b.png" />
    <meta property="og:image:width" content="1200" />
    <meta property="og:image:height" content="800" />
    <meta property="og:image:alt" content="ParentMemo - Practical parenting tools and resources" />
    <meta property="og:image:type" content="image/png" />
    <meta property="og:site_name" content="ParentMemo" />

    <!-- Twitter Card Tags -->
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:site" content="@parentmemo" />
    <meta name="twitter:title" content="ParentMemo - Practical Parenting Tools & Expert Guidance" />
    <meta name="twitter:description" content="Access monthly printable resources, activities, and tools designed to make parenting easier. Download your free activity pack today." />
    <meta name="twitter:image" content="https://parentmemo.com/lovable-uploads/0239a4a5-1099-4792-8a17-282d24ce225b.png" />
    <meta name="twitter:image:alt" content="ParentMemo - Practical parenting tools and resources" />
    
    <!-- Structured Data - Organization -->
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Organization",
      "name": "ParentMemo",
      "url": "https://parentmemo.com",
      "logo": "https://parentmemo.com/favicon.png",
      "description": "A supportive parenting community providing expert resources, practical tools, and encouragement for modern parents.",
      "sameAs": [
        "https://twitter.com/parentmemo",
        "https://facebook.com/parentmemo",
        "https://instagram.com/parentmemo"
      ],
      "email": "hello@parentmemo.com",
      "foundingDate": "2025",
      "areaServed": "Worldwide",
      "serviceType": "Parenting Support and Resources"
    }
    </script>
    
    <!-- Early Meta Injection Script - Runs BEFORE React -->
    <script>
      (function() {
        const routeMeta = {
          '/': {
            title: 'ParentMemo - Practical Parenting Tools & Expert Guidance',
            description: 'Access monthly printable resources, activities, and tools designed to make parenting easier. Download your free activity pack today.',
            keywords: 'parenting resources, printable activities, parenting tools, parenting guides, family activities, parenting downloads',
            image: 'https://parentmemo.com/lovable-uploads/0239a4a5-1099-4792-8a17-282d24ce225b.png'
          },
          '/about': {
            title: 'About ParentMemo - Expert Parenting Support',
            description: 'Learn about ParentMemo\'s mission to provide practical parenting support, expert guidance, and a warm community for parents worldwide.',
            keywords: 'about parentmemo, parenting experts, parenting mission, family support',
            image: 'https://parentmemo.com/lovable-uploads/0239a4a5-1099-4792-8a17-282d24ce225b.png'
          },
          '/resources': {
            title: 'Parenting Resources Library - ParentMemo',
            description: 'Access printable parenting tools, guides, and resources to support your family. From routines to activities, find what you need.',
            keywords: 'parenting resources, printable parenting tools, parenting guides, family activities',
            image: 'https://parentmemo.com/lovable-uploads/0239a4a5-1099-4792-8a17-282d24ce225b.png'
          },
          '/bundles': {
            title: 'Parenting Resource Bundles - ParentMemo',
            description: 'Download curated parenting resource bundles with printables, guides, and tools for specific ages and challenges.',
            keywords: 'parenting bundles, printable bundles, parenting guides bundle',
            image: 'https://parentmemo.com/lovable-uploads/0239a4a5-1099-4792-8a17-282d24ce225b.png'
          },
          '/membership': {
            title: 'Membership Plans - ParentMemo',
            description: 'Choose the right membership plan for your parenting journey. Get access to expert resources, community support, and personalized guidance.',
            keywords: 'parenting membership, premium parenting resources, parenting subscription',
            image: 'https://parentmemo.com/lovable-uploads/0239a4a5-1099-4792-8a17-282d24ce225b.png'
          }
        };
        
        const currentPath = window.location.pathname;
        const meta = routeMeta[currentPath] || routeMeta['/'];
        
        // Update title
        document.title = meta.title;
        
        // Update meta tags
        const updateOrCreateMeta = (name, content, property = false) => {
          const selector = property ? `meta[property="${name}"]` : `meta[name="${name}"]`;
          let element = document.querySelector(selector);
          if (!element) {
            element = document.createElement('meta');
            if (property) {
              element.setAttribute('property', name);
            } else {
              element.setAttribute('name', name);
            }
            document.head.appendChild(element);
          }
          element.setAttribute('content', content);
        };
        
        updateOrCreateMeta('description', meta.description);
        updateOrCreateMeta('keywords', meta.keywords);
        updateOrCreateMeta('og:title', meta.title, true);
        updateOrCreateMeta('og:description', meta.description, true);
        updateOrCreateMeta('og:image', meta.image, true);
        updateOrCreateMeta('og:url', 'https://parentmemo.com' + currentPath, true);
        updateOrCreateMeta('twitter:title', meta.title);
        updateOrCreateMeta('twitter:description', meta.description);
        updateOrCreateMeta('twitter:image', meta.image);
        
        // Update canonical URL
        let canonical = document.querySelector('link[rel="canonical"]');
        if (canonical) {
          canonical.href = 'https://parentmemo.com' + currentPath;
        }
      })();
    </script>
    <script type="module" crossorigin src="./assets/index-CNcgbOQ7.js"></script>
    <link rel="stylesheet" crossorigin href="./assets/index-C904UXmo.css">
  </head>

  <body>
    <div id="root"></div>
    <!-- IMPORTANT: DO NOT REMOVE THIS SCRIPT TAG OR THIS VERY COMMENT! -->
    <script src="https://cdn.gpteng.co/gptengineer.js" type="module"></script>
  </body>
</html>
