From dbc04ea709d63a89961a3fdffbdf238a8182901d Mon Sep 17 00:00:00 2001 From: StephDietz Date: Mon, 10 Jul 2023 14:18:24 -0500 Subject: [PATCH] switch to outline icons --- components/cart/modal.tsx | 36 ++++++++++++++++++------------------ components/icons/cart.tsx | 4 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/components/cart/modal.tsx b/components/cart/modal.tsx index 9e8103bf3..87a68bfcc 100644 --- a/components/cart/modal.tsx +++ b/components/cart/modal.tsx @@ -1,7 +1,7 @@ 'use client'; import { Dialog, Transition } from '@headlessui/react'; -import { ShoppingCartIcon } from '@heroicons/react/24/solid'; +import { ShoppingCartIcon } from '@heroicons/react/24/outline'; import CartIcon from 'components/icons/cart'; import Price from 'components/price'; import { DEFAULT_OPTION } from 'lib/constants'; @@ -86,13 +86,13 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU {cart.lines.length === 0 ? ( -
+
-

Your cart is empty.

+

Your cart is empty.

) : ( -
-
    +
    +
      {cart.lines.map((item, i) => { const merchandiseSearchParams = {} as MerchandiseSearchParams; @@ -111,9 +111,9 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU
    • -
      +
      @@ -122,9 +122,9 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU onClick={closeCart} className="z-30 flex flex-row space-x-4" > -
      +
      {
      -
      +
      {item.merchandise.product.title} @@ -149,13 +149,13 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU ) : null}
      -
      +
      -
      +

      {item.quantity} @@ -169,22 +169,22 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU })}

    -
    +

    Taxes

    -
    +

    Shipping

    Calculated at checkout

    -
    +

    Total

    @@ -192,7 +192,7 @@ export default function CartModal({ cart, cartIdUpdated }: { cart: Cart; cartIdU
    Proceed to Checkout diff --git a/components/icons/cart.tsx b/components/icons/cart.tsx index 452b84a3c..6e28f8dd9 100644 --- a/components/icons/cart.tsx +++ b/components/icons/cart.tsx @@ -1,4 +1,4 @@ -import { ShoppingCartIcon } from '@heroicons/react/24/solid'; +import { ShoppingCartIcon } from '@heroicons/react/24/outline'; import clsx from 'clsx'; import CloseIcon from './close'; @@ -12,7 +12,7 @@ export default function CartIcon({ icon?: string; }) { return ( -
    +
    {icon === 'close' ? ( ) : (