more design fix

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-07-10 13:57:44 +07:00
parent 589efe5699
commit 951263c7e2
8 changed files with 64 additions and 52 deletions

View File

@@ -4,7 +4,7 @@ import { InformationCircleIcon } from '@heroicons/react/20/solid';
import { ArrowPathRoundedSquareIcon } from '@heroicons/react/24/outline';
import Price from 'components/price';
import SideDialog from 'components/side-dialog';
import { CORE_VARIANT_ID_KEY, CORE_WAIVER } from 'lib/constants';
import { CORE_VARIANT_ID_KEY, CORE_WAIVER, phoneNumber } from 'lib/constants';
import { CoreChargeOption, ProductVariant } from 'lib/shopify/types';
import { cn, createUrl } from 'lib/utils';
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
@@ -119,10 +119,10 @@ const CoreCharge = ({ variants }: CoreChargeProps) => {
<div className="md:flex md:justify-between">
<p className="mt-1 text-blue-700 md:mt-0">
<a
href="tel:+18882422605"
href={phoneNumber?.link}
className="whitespace-nowrap text-blue-700 hover:text-blue-600"
>
(888) 242-2605
{phoneNumber?.title}
<span aria-hidden="true"> &rarr;</span>
</a>
</p>

View File

@@ -3,7 +3,7 @@
import { InformationCircleIcon, TruckIcon } from '@heroicons/react/24/outline';
import Price from 'components/price';
import SideDialog from 'components/side-dialog';
import { DELIVERY_OPTION_KEY } from 'lib/constants';
import { DELIVERY_OPTION_KEY, phoneNumber } from 'lib/constants';
import { cn, createUrl } from 'lib/utils';
import { usePathname, useRouter, useSearchParams } from 'next/navigation';
import { ReactNode, useState } from 'react';
@@ -168,10 +168,10 @@ const Delivery = () => {
<div className="md:flex md:justify-between">
<p className="mt-1 text-blue-700 md:mt-0">
<a
href="tel:+18882422605"
href={phoneNumber?.link}
className="whitespace-nowrap text-blue-700 hover:text-blue-600"
>
(888) 242-2605
{phoneNumber?.title}
<span aria-hidden="true"> &rarr;</span>
</a>
</p>