{"version":3,"file":"component---src-pages-index-tsx-397f2896c123381eae61.js","mappings":"uNAeO,MCNMA,EAAOC,IAAqB,IAADC,EAAAC,EAAAC,EAAAC,EAAAC,EACtC,MAAM,SAAEC,EAAQ,SAAEC,GAAaP,EACzBQ,GDKOC,EAAAA,EAAAA,gBAAc,cAefC,KAAKC,aClBXC,EAAuB,QAAlBX,EAAGK,aAAQ,EAARA,EAAUM,aAAK,IAAAX,EAAAA,EAAIO,EAAaI,MACxCC,EAAmC,QAAxBX,EAAGI,aAAQ,EAARA,EAAUO,mBAAW,IAAAX,EAAAA,EAAIM,EAAaK,YACpDC,EAAWN,EAAaM,SAGxBC,EAA8C,QAA/BZ,EAAGI,aAAQ,EAARA,EAAUS,QAAQ,MAAO,WAAG,IAAAb,EAAAA,EAAI,GAExD,OACEc,EAAAA,cAAAA,EAAAA,SAAA,KACEA,EAAAA,cAAA,QAAMC,KAAK,OACXD,EAAAA,cAAA,aAAQL,GACRK,EAAAA,cAAA,QAAME,UAAU,YAAYC,QAAQ,+BACpCH,EAAAA,cAAA,QAAMI,SAAS,YAAYD,QAAQ,UACnCH,EAAAA,cAAA,QAAMK,KAAK,2BAA2BF,QAAQ,gDAC9CH,EAAAA,cAAA,QAAMK,KAAK,cAAcF,QAASP,IAClCI,EAAAA,cAAA,QAAMK,KAAK,WAAWF,QAASN,IAC/BG,EAAAA,cAAA,QAAMI,SAAS,SAASD,QAAO,8BAA+BL,QAAAA,EAAmB,MACjFE,EAAAA,cAAA,QAAMI,SAAS,WAAWD,QAA2B,QAApBhB,EAAEE,aAAQ,EAARA,EAAUiB,gBAAQ,IAAAnB,EAAAA,EAAI,KACzDa,EAAAA,cAAA,QAAMI,SAAS,WAAWD,QAAO,GAAKR,IACtCK,EAAAA,cAAA,QAAMI,SAAS,eAAeD,QAASR,IACvCK,EAAAA,cAAA,QAAMI,SAAS,iBAAiBD,QAASP,IACzCI,EAAAA,cAAA,QAAMK,KAAK,eAAeF,QAAQ,eAClCH,EAAAA,cAAA,QAAMK,KAAK,eAAeF,QAAQ,wBAClCH,EAAAA,cAAA,QAAMK,KAAK,gBAAgBF,QAAO,GAAKR,IACvCK,EAAAA,cAAA,QAAMK,KAAK,oBAAoBF,QAA2B,QAApBf,EAAEC,aAAQ,EAARA,EAAUiB,gBAAQ,IAAAlB,EAAAA,EAAI,KAC9DY,EAAAA,cAAA,QAAMK,KAAK,sBAAsBF,QAASP,IAC1CI,EAAAA,cAAA,QAAMK,KAAK,cAAcF,QAAO,8BAA+BL,QAAAA,EAAmB,MACjF,EC9BDS,EAEF,yGAWEC,EAAiC,CACrC,KAAQ,CACNb,MAAO,kDACPC,YACE,8JACFU,SAAUC,GAEZ,YAAa,CACXZ,MAAO,gEACPC,YACE,iKACFU,SApBA,0GAsBF,MAAS,CACPX,MAAO,+DACPC,YACE,kKACFU,SAAUC,GAEZ,eAAgB,CACdZ,MAAO,qDACPC,YACE,6JACFU,SAAUC,GAEZ,kBAAmB,CACjBZ,MAAO,mCACPC,YACE,gKACFU,SAAUC,GAEZ,mBAAoB,CAClBZ,MAAO,sDACPC,YACE,2JACFU,SAAUC,ICtBd,MAfkBE,IAA4B,IAA3B,YAAEC,GAAoBD,GACvCE,EAAAA,EAAAA,YAAU,KACR,GAAsB,oBAAXC,OAAwB,CAGjC,GAFAC,QAAQC,IAAI,qBAAsBF,OAAOG,SAASC,MAE9CJ,OAAOG,SAASC,KAAKC,SAAS,yBAEhC,YADAC,EAAAA,EAAAA,UAAS,4BAGTA,EAAAA,EAAAA,UAAS,gDAEb,IACC,GAAG,EAKD,MAAMC,EAAOC,IAAkB,IAAjB,SAAEL,GAAUK,EAC/B,MAAM/B,ED2SCmB,EC3SsB,QAC7B,OAAOnB,GAAYW,EAAAA,cAAClB,EAAG,CAACO,SAAUA,EAAUC,SAAUyB,EAASM,UAAY,C","sources":["webpack://pineapple-kats/./src/components/SEO/useSiteMetadata.ts","webpack://pineapple-kats/./src/components/SEO/SEO.tsx","webpack://pineapple-kats/./src/constants/seo.ts","webpack://pineapple-kats/./src/pages/index.tsx"],"sourcesContent":["import { graphql, useStaticQuery } from 'gatsby';\n\ninterface Metadata {\n site: {\n siteMetadata: {\n title: string;\n description: string;\n keywords: string;\n twitterUsername: string;\n image: string;\n siteUrl: string;\n };\n };\n}\n\nexport const useSiteMetadata = () => {\n const data = useStaticQuery(graphql`\n query SiteMetadataQuery {\n site {\n siteMetadata {\n title\n description\n keywords\n twitterUsername\n image\n siteUrl\n }\n }\n }\n `);\n\n return data.site.siteMetadata;\n};\n","import React, { ReactNode } from 'react';\nimport { useSiteMetadata } from './useSiteMetadata';\nimport { SeoInfo } from 'src/constants/seo';\n\ninterface SEOProps {\n pagePath: string;\n metaInfo?: SeoInfo;\n}\n\nexport const SEO = (props: SEOProps) => {\n const { metaInfo, pagePath } = props;\n const siteDefaults = useSiteMetadata();\n\n const title = metaInfo?.title ?? siteDefaults.title;\n const description = metaInfo?.description ?? siteDefaults.description;\n const keywords = siteDefaults.keywords;\n\n // trim starting slash, if any\n const pagePathTrimmed = pagePath?.replace(/^\\//, '') ?? '';\n\n return (\n <>\n \n {title}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","export interface SeoInfo {\n title: string;\n description: string;\n imageUrl?: string;\n}\n\ninterface SeoContainerInterface {\n [key: string]: SeoInfo;\n}\n\nconst SeoImageUrls = {\n primary:\n 'https://cdn.sanity.io/images/7skkgjh0/production/51917da38abe5035586ff1e3df36be41f7a655b1-1200x798.jpg',\n starterBox:\n 'https://cdn.sanity.io/images/7skkgjh0/production/b20f7801feaee31f140048bf4dae57cfd1a0ca61-1040x690.jpg',\n wetFood:\n 'https://cdn.sanity.io/images/7skkgjh0/production/79f9578dcf7190ee41e36d06f1a238b2ab1532bf-1000x787.jpg',\n dryFood:\n 'https://cdn.sanity.io/images/7skkgjh0/production/f59522b7ff0ef521d5ccab7b852fe1769457d3b7-1000x667.jpg',\n goodnessBlends:\n 'https://cdn.sanity.io/images/7skkgjh0/production/26043cc118bffd24ed13b31120d6b269bd2fe624-2849x1935.jpg'\n};\n\nconst PageSeo: SeoContainerInterface = {\n 'home': {\n title: 'Real, Healthy Cat Food Made Simple | Cat Person',\n description:\n 'No grains or fillers. Just simple, high-protein food for cats and the people who love them. Start a plan now and get grain-free cat food delivered monthly.',\n imageUrl: SeoImageUrls.primary\n },\n 'meal-plan': {\n title: 'Meal Plans | Easier, Healthier Cat Food Delivery | Cat Person',\n description:\n 'Meals made healthier for them, Meal Plans made easier for you. Get natural, grain-free cat food delivered monthly at 10% off. Edit, delay, or cancel any time.',\n imageUrl: SeoImageUrls.starterBox\n },\n 'about': {\n title: 'About | Healthy Cat Food Without the Fine Print | Cat Person',\n description:\n '19 varieties of protein-packed, grain-free cat food, delivered. Plus bowls, beds, and more, all designed to meet your cat’s needs and your aesthetic standards.',\n imageUrl: SeoImageUrls.primary\n },\n 'how-it-works': {\n title: 'How It Works | Cat Food Subscriptions | Cat Person',\n description:\n 'Tell us about your cat; we’ll customize their Meal Plan. Get high-protein meals delivered every 4 weeks at 10% off with our subscription cat food service.',\n imageUrl: SeoImageUrls.primary\n },\n 'food-philosophy': {\n title: 'Our Food Philosophy | Cat Person',\n description:\n 'No grains, no fillers, no fine print. Our simple, healthy cat food only has ingredients your cat needs to thrive—like 2.5x more protein than AAFCO standards.',\n imageUrl: SeoImageUrls.primary\n },\n 'transition-guide': {\n title: 'How to Transition Your Cat to New Food | Cat Person',\n description:\n 'It’s important to give your cat’s tummy and tastebuds time to adjust. Here’s how to safely transition your cat to our high-protein, grain-free cat food.',\n imageUrl: SeoImageUrls.primary\n }\n};\n\nconst CollectionSeo: SeoContainerInterface = {\n 'wet-food': {\n title: 'High-Protein, Grain-Free Wet Food | Cat Person',\n description:\n 'Packed with high-quality meat and totally grain-free, our 16 varieties of Paté and Shreds in Broth wet food have everything your cat needs to thrive.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'dry-food': {\n title: 'High-Protein, Grain-Free Dry Food for Cats | Cat Person',\n description:\n 'What makes our dry cat food different? It’s super high in protein, grain-free, and contains no weird fillers. Upgrade your cat to our healthy kibble today.',\n imageUrl: SeoImageUrls.dryFood\n },\n 'treats': {\n title: 'Healthy, Grain-Free Cat Supplements',\n description:\n 'Want to support your cat’s health? Treat them to Goodness Blends, tasty purées of real meat and hardworking nutrients. Available in 5 targeted health benefits.',\n imageUrl: SeoImageUrls.goodnessBlends\n },\n 'mesa-bowl': {\n title: 'Mesa Bowl | Modern Cat Bowl and Spill-Catching Tray | Cat Person',\n description:\n 'Our Mesa Bowl is ergonomically designed for your cat’s comfort—the shallow bowl prevents whisker fatigue and the elevated base reduces strain from crouching.',\n imageUrl:\n 'https://cdn.sanity.io/images/7skkgjh0/production/227ba28a789d621f8e176f902b32d700a3fe64aa-2984x1894.jpg'\n },\n 'canopy-bed': {\n title: 'Canopy Bed | Modern 3-in-1 Cat Bed | Cat Person',\n description:\n 'Designed with a felt canopy and machine-washable cushion, our 3-in-1 cat bed adjusts to your cat’s preferences and the elevated design looks great in any home.',\n imageUrl:\n 'https://cdn.sanity.io/images/7skkgjh0/production/ee64c3060020447db46fc2cdf6d1562fd67cd4d6-1000x1000.jpg'\n },\n 'toys': {\n title: 'Interactive Catnip Wand Toy for Cats | Cat Person',\n description:\n 'Keep your kitty entertained with premium, interactive cat toys that have it all: a wand, string, plush toy, and everyone’s favorite—catnip. Shop now.',\n imageUrl:\n 'https://cdn.sanity.io/images/7skkgjh0/production/6eac90383458b37c5d3cce2f317b5a52d2f9469b-1200x600.jpg'\n },\n 'cat-person-bucket-hat': {\n title: 'Cat Person Bucket Hat | Cat Person',\n description:\n 'Protect your face from the sun while flaunting your bond. Shop the limited edition Cat Person Bucket Hat, made from 100% cotton.',\n imageUrl:\n 'https://cdn.shopify.com/s/files/1/0270/2150/8682/products/CatPersonBucketHatBlack_CollectionPage.jpg'\n }\n};\n\nconst ProductSeo: SeoContainerInterface = {\n 'wet-food': CollectionSeo['wet-food'],\n 'dry-food': CollectionSeo['dry-food'],\n 'goodness-blends': CollectionSeo['treats'],\n 'catnip-toy': CollectionSeo['toys'],\n 'bed': CollectionSeo['canopy-bed'],\n 'mesa-bowl': CollectionSeo['mesa-bowl'],\n 'cat-person-bucket-hat': CollectionSeo['cat-person-bucket-hat'],\n 'cat-person-hoodie': {\n title: 'Cat Person Hoodie in Black | Cat Person',\n description:\n 'Hoodie for you, hoodie strings for your cat. Made from 100% organic cotton fleece, the Cat Person Hoodie in Black is perfect for lounging with your furry BFF.',\n imageUrl:\n 'https://cdn.sanity.io/images/7skkgjh0/production/cf57b8eab622933530b6a264f258793d2d8e583f-2560x3842.jpg'\n },\n 'cat-hoodie': {\n title: 'Cat Hoodie in Black | Cat Person',\n description:\n 'Made from 100% US-sourced cotton, the Cat Hoodie is guaranteed to make your cat look 100% adorable. Buy it with a matching Cat Person Hoodie & save $10.',\n imageUrl:\n 'https://cdn.sanity.io/images/7skkgjh0/production/6e18dbcbfeb1fb26c93b407c8df51890aa80b1ca-2560x3840.jpg'\n },\n 'cat-person-hoodie-cream': {\n title: 'Cat Person Hoodie in Cream | Cat Person',\n description:\n 'Cozy, 100% cotton, and still looks good when it’s covered in cat hair. Shop the Cat Person Hoodie in Cream and save when you buy it with a matching Cat Hoodie.',\n imageUrl:\n 'https://cdn.sanity.io/images/7skkgjh0/production/f21cd01ac07123cb478e148d60ab7eea27d36a90-1600x2000.jpg'\n },\n 'cat-hoodie-cream': {\n title: 'Cat Hoodie in Cream | Cat Person',\n description:\n 'For cats who are proud to be cats. Shop the 100% cotton Cat Hoodie in Cream and save 10% when you bundle it with the matching Cat Person Hoodie..',\n imageUrl:\n 'https://cdn.sanity.io/images/7skkgjh0/production/3561f2942a16a717471d56b9919fe215e91f23d7-1600x1999.jpg'\n },\n 'beanie': {\n title: 'Cat Person Embroidered Cotton Beanie | Cat Person',\n description:\n 'Keep your head toasty while flaunting your bond in our 100% cotton Cat Person Beanie. Part of a limited edition merch collection, so shop now while you can.',\n imageUrl:\n 'https://cdn.sanity.io/images/7skkgjh0/production/5b5b8fd4d1057cea231da1a2d16e4fa2fa9c7e4c-2560x3840.jpg'\n },\n 'cat-person-baseball-cap': {\n title: 'Cat Person Embroidered Baseball Cap | Cat Person',\n description:\n 'In case of bad fur days. Flaunt your cat person pride with the embroidered, 100% cotton Cat Person Baseball Cap, part of a limited edition merch collection.',\n imageUrl:\n 'https://cdn.sanity.io/images/7skkgjh0/production/1dad0d49b6679d8a879b4db89f3924bbfa3e5227-1600x2000.jpg'\n },\n 'signature-hoodie': {\n title: 'Signature Cat Hoodie | Cat Person',\n description:\n 'This 100% GOTS Certified Organic Cotton hoodie features a special cat illustration.'\n },\n 'litter-box': {\n title: 'Modern Covered Litter Box | Skylight Litter Box | Cat Person',\n description:\n 'The modern Skylight Litter Box features a ventilated wood lid, matte black exterior, and accessible corner entry.'\n },\n 'litter-scoop': {\n title: 'Metal Litter Scoop | Hideaway Scoop | Cat Person',\n description:\n 'Keep your scooper handy yet hidden with this long-handled cat litter scoop and matching holder. Made from durable aluminum alloy and pine wood handle.'\n },\n 'dog-toy': {\n title: 'Jason Catnip Pounce Toy | Cat Person',\n description:\n 'Entertain your kitty with this catnip pounce toy. This dog-shaped toy features a string “leash” to tease your cat.'\n }\n};\n\nconst VariantSeo: SeoContainerInterface = {\n 'chicken-pate': {\n title: 'Chicken Paté Wet Food Recipe | Cat Person',\n description:\n 'Keep your kitty’s pantry stocked with Cat Person’s Chicken Paté, a healthy, protein-packed wet food recipe made with real chicken and zero grains or fillers.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'chicken-shreds-in-broth': {\n title: 'Chicken Shreds in Broth Wet Food Recipe | Cat Person',\n description:\n 'Made with real chicken and zero grains, our best selling Chicken Shreds in Broth supplies your cat with all the nutrients they need. Start your cat food subscription today.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'chicken-turkey-pate': {\n title: 'Chicken & Turkey Paté Wet Food Recipe | Cat Person',\n description:\n 'Made with real, high-quality meat—not grains and fillers. Try Cat Person’s grain-free Chicken & Turkey Paté and save when you start a cat food subscription.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'chicken-turkey-shreds-in-broth': {\n title: 'Chicken & Turkey Shreds in Broth Wet Food Recipe | Cat Person',\n description:\n 'We pack every cup of our Chicken & Turkey Shreds in Broth with real, high-quality meat—not grains and fillers. It’s the healthy cat food your feline deserves.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'tuna-pate': {\n title: 'Tuna Paté Wet Food Recipe | Cat Person',\n description:\n 'Satisfy your cat’s cravings and nutritional needs with our grain-free Tuna Paté, a healthy cat food option made with high-quality, sustainably sourced seafood.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'tuna-shreds-in-broth': {\n title: 'Tuna Shreds in Broth Wet Food Recipe | Cat Person',\n description:\n 'Healthier, meatier, convenient-ier cat food. Cat Person’s Tuna Shreds in Broth is grain-free, low carb, and made with sustainably sourced seafood.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'tuna-salmon-pate': {\n title: 'Tuna & Salmon Paté Wet Food Recipe | Cat Person',\n description:\n 'Feed your cat the protein they need with our Tuna & Salmon Paté. This natural cat food recipe is grain-free, high-protein, and made with sustainably sourced seafood.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'tuna-salmon-shreds-in-broth': {\n title: 'Tuna Salmon Shreds in Broth Wet Food Recipe | Cat Person',\n description:\n 'Our #1 Tuna Salmon Shreds in Broth wet food has 95% more protein than AAFCO standards for healthier, leaner cats. Try the grain-free food that has cats purring.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'mackerel-bream-pate': {\n title: 'Mackerel & Bream Paté Wet Food Recipe | Cat Person',\n description:\n 'Give your cat a taste of the good stuff with Cat Person’s Mackerel & Bream Paté. Our natural cat food is grain-free and made with real, high-quality protein.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'salmon-mackerel-pate': {\n title: 'Salmon & Mackerel Paté Wet Food Recipe | Cat Person',\n description:\n 'Feed your cat a grain-free, high-protein diet with our Salmon & Mackerel Paté, made with zero fillers and sustainably sourced seafood. ',\n imageUrl: SeoImageUrls.wetFood\n },\n 'salmon-mackerel-shreds-in-broth': {\n title: 'Salmon & Mackerel Shreds in Broth Wet Food Recipe | Cat Person',\n description:\n 'Give your cat a taste of the good stuff with Cat Person’s Salmon & Mackerel Shreds in Broth. Our cat food is grain-free and made with high-quality seafood.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'beef-pate': {\n title: 'Beef Paté Wet Food Recipe | Cat Person',\n description:\n 'Looking for chicken-free cat food? Look no further than Cat Person’s Beef Paté, a high-protein, grain-free wet food option made with real beef.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'beef-shreds-in-broth': {\n title: 'Beef Shreds in Broth Wet Food Recipe | Cat Person',\n description:\n 'Never question what’s in your cat’s food. Our Beef Shreds in Broth is grain-free and uses beef as its only protein source, making it easy to avoid allergens.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'chicken-duck-pate': {\n title: 'Chicken & Duck Paté Wet Food Recipe | Cat Person',\n description:\n 'Keep your cat happy and healthy with our protein-packed, grain-free Chicken & Duck Paté. Start your cat food subscription today and save 10% on every order.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'chicken-duck-shreds-in-broth': {\n title: 'Chicken & Duck Shreds in Broth Wet Food Recipe | Cat Person',\n description:\n 'Looking for healthy cat food? Try Cat Person’s Chicken & Duck Shreds in Broth. It’s high-protein, grain-free, and packed with real chicken and duck.',\n imageUrl: SeoImageUrls.wetFood\n },\n\n 'duck-pate': {\n title: 'Duck Paté Wet Food Recipe | Cat Person',\n description:\n 'Cat Person’s Duck Paté makes it easy to avoid common food allergens like chicken. Plus, all our cat food is natural, grain-free, and packed with protein.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'duck-shreds-in-broth': {\n title: 'Duck Shreds in Broth Wet Food Recipe | Cat Person',\n description:\n 'Does your cat have food allergies? Try Duck Shreds in Broth. Our grain-free recipe uses duck as the only protein source, making it easy to avoid allergens.',\n imageUrl: SeoImageUrls.wetFood\n },\n 'chicken-turkey': {\n title: 'Chicken & Turkey Dry Food Recipe | Cat Person',\n description:\n 'Some cats like crunch. That’s why we made Chicken & Turkey Dry Food, so your cat can get the grain-free, high-protein diet they need and the crunch they love.',\n imageUrl: SeoImageUrls.dryFood\n },\n 'duck-turkey': {\n title: 'Duck & Turkey Dry Food Recipe | Cat Person',\n description:\n 'It’s not just kibble; it’s healthy, grain-free, super high-protein kibble. Try Cat Person’s Duck & Turkey Dry Food Recipe save when you start a Meal Plan.',\n imageUrl: SeoImageUrls.dryFood\n },\n 'salmon-tuna': {\n title: 'Salmon & Tuna Dry Food Recipe | Cat Person',\n description:\n 'Treat your cat to the good stuff. You know, the grain-free, high-protein good stuff made with sustainable seafood. That’s our Salmon & Tuna Dry Food Recipe.',\n imageUrl: SeoImageUrls.dryFood\n },\n 'cognitive-health': {\n title: 'Cat Supplements for Cognitive Health | Cat Person',\n description:\n 'Give your cat a nutrient boost with our Cognitive Health Goodness Blends—a tasty cat supplement that supports your cat’s brain development and health.',\n imageUrl: SeoImageUrls.goodnessBlends\n },\n 'immune-support': {\n title: 'Cat Supplements for Immune Support | Cat Person',\n description:\n 'Boost your cat’s health and immunity with our Immune Support Goodness Blends, a tasty purée of meat and nutrients like Vitamin C and Omega-3 Fatty Acids.',\n imageUrl: SeoImageUrls.goodnessBlends\n },\n 'skin-coat': {\n title: 'Cat Supplements for Skin & Coat Health | Cat Person',\n description:\n 'Support healthy skin and shiny fur with Skin & Coat Goodness Blends, supplements made with real meat and nutrients like Zinc, Omega-3, and Omega-6 Fatty Acids.',\n imageUrl: SeoImageUrls.goodnessBlends\n },\n 'digestive-support': {\n title: 'Cat Supplements for Digestive Support | Cat Person',\n description:\n 'Show your cat some extra love with our grain-free Digestive Support cat supplements. These tasty treats are made with real meat and help support a healthy gut.',\n imageUrl: SeoImageUrls.goodnessBlends\n },\n 'bone-joint': {\n title: 'Cat Supplements for Bone & Joint Health | Cat Person',\n description:\n 'Keep your feline friend healthy and active with our Bone & Joint Goodness Blends. These tasty cat supplements help support bone health and joint mobility.',\n imageUrl: SeoImageUrls.goodnessBlends\n }\n};\n\nexport const pageSeoInfo = (page: string): SeoInfo | undefined => {\n return PageSeo[page];\n};\n\nexport const collectionSeoInfo = (product: string): SeoInfo | undefined => {\n return CollectionSeo[product];\n};\n\nexport const variantSeoInfo = (product: string, variant?: string): SeoInfo | undefined => {\n const productSeo = ProductSeo[product];\n const variantSeo = variant ? VariantSeo[variant] : undefined;\n return variantSeo ?? productSeo;\n};\n","import React, { useEffect } from 'react';\nimport { SEO } from 'src/components/SEO';\nimport Footer from 'src/components/footer';\nimport { ProductFeaturesWithCta } from 'src/components/products/productFeaturesWithCta';\nimport { pageSeoInfo } from 'src/constants/seo';\nimport { PrimaryHero } from 'src/modules/PrimaryHero';\nimport { FeaturedProduct } from 'src/modules/featuredProduct';\nimport { HeroModule } from 'src/modules/heroModule';\nimport { InstagramModule } from 'src/modules/Instagram/instagramModule';\nimport { ShopFood } from 'src/modules/shopFood';\nimport { TestimonialCarousel } from 'src/modules/testimonialCarousel/testimonialCarousel';\nimport { Link, navigate } from 'gatsby';\n\ninterface Props {\n pageContext: {\n menus: [];\n footer: Record;\n homePageModules: Record>;\n };\n}\n\nconst IndexPage = ({ pageContext }: Props) => {\n useEffect(() => {\n if (typeof window !== 'undefined') {\n console.log('url from src/pages', window.location.href);\n\n if (window.location.href.includes('support.catperson.com')) {\n navigate('https://help.weruva.com');\n return;\n } else {\n navigate('https://www.weruva.com/collections/cat-person');\n }\n }\n }, []);\n};\n\nexport default IndexPage;\n\nexport const Head = ({ location }) => {\n const metaInfo = pageSeoInfo('home');\n return metaInfo && ;\n};\n"],"names":["SEO","props","_metaInfo$title","_metaInfo$description","_pagePath$replace","_metaInfo$imageUrl","_metaInfo$imageUrl2","metaInfo","pagePath","siteDefaults","useStaticQuery","site","siteMetadata","title","description","keywords","pagePathTrimmed","replace","React","lang","httpEquiv","content","property","name","imageUrl","SeoImageUrls","PageSeo","_ref","pageContext","useEffect","window","console","log","location","href","includes","navigate","Head","_ref2","pathname"],"sourceRoot":""}