diff --git a/components/banner.tsx b/components/banner.tsx index 33541178c..a91ed5598 100644 --- a/components/banner.tsx +++ b/components/banner.tsx @@ -1,4 +1,5 @@ import { ChevronDownIcon } from '@heroicons/react/16/solid'; +import { phoneNumber } from 'lib/constants'; import Tooltip from './tooltip'; function Banner() { @@ -6,8 +7,8 @@ function Banner() {
Speak to a Specialist Now:{' '} - - (888) 242-2605 + + {phoneNumber?.title}
diff --git a/components/hero.tsx b/components/hero.tsx index 0367017e4..65584bd31 100644 --- a/components/hero.tsx +++ b/components/hero.tsx @@ -1,4 +1,4 @@ -import { getMetaobject, getMetaobjects } from 'lib/shopify'; +import { getMetaobject } from 'lib/shopify'; import kebabCase from 'lodash.kebabcase'; import Image from 'next/image'; import { Suspense } from 'react'; @@ -8,9 +8,26 @@ import ImageDisplay from './page/image-display'; const { SITE_NAME } = process.env; -const Offers = async () => { - const offers = await getMetaobjects('usp_item'); +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 (