import { getMetaobject } from 'lib/shopify';
import kebabCase from 'lodash.kebabcase';
import Image from 'next/image';
import { Suspense } from 'react';
import HomePageFilters, { HomePageFiltersPlaceholder } from './filters/hompage-filters';
import DynamicHeroIcon from './hero-icon';
import ImageDisplay from './page/image-display';
const { SITE_NAME } = process.env;
const offers = [
{
title: 'Free Shipping (Commercial Address)',
icon: 'truck'
},
{
title: 'Up to 5 Years Unlimited Miles Warranty',
icon: 'arrow-path-rounded-square'
},
{
title: 'No Core Charge for 30 Days',
icon: 'currency-dollar'
},
{
title: 'Excellent Customer Support',
icon: 'star'
}
];
const Offers = () => {
return (
);
};
const HeroImage = async () => {
const heroImage = await getMetaobject({
handle: { type: 'hero', handle: `${kebabCase(SITE_NAME)}-hero` }
});
return heroImage ? (
Best Price Guarantee
We will match or beat any competitor's pricing.