update phone number on homepage

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe 2024-07-11 08:30:59 +07:00
parent ec20bb445c
commit d651cbd228
No known key found for this signature in database
GPG Key ID: CFD53CE570D42DF5

View File

@ -1,4 +1,5 @@
import { PhoneIcon } from '@heroicons/react/24/outline'; import { PhoneIcon } from '@heroicons/react/24/outline';
import { phoneNumber } from 'lib/constants';
import { getMetaobject } from 'lib/shopify'; import { getMetaobject } from 'lib/shopify';
import Image from 'next/image'; import Image from 'next/image';
import { Suspense } from 'react'; import { Suspense } from 'react';
@ -43,7 +44,7 @@ const FAQ = async ({ handle }: { handle: string }) => {
</div> </div>
<div> <div>
<p>Have Any Questions</p> <p>Have Any Questions</p>
<a href={`tel:${8882422605}`}>(888) 242-2605</a> <a href={phoneNumber?.link}>{phoneNumber?.title}</a>
</div> </div>
</div> </div>
<button className="mt-5 w-fit rounded bg-primary px-4 py-2 text-sm text-white"> <button className="mt-5 w-fit rounded bg-primary px-4 py-2 text-sm text-white">