This commit is contained in:
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 550 KiB |
@@ -52,7 +52,7 @@ const InvoicePage = () => {
|
|||||||
<div className="flex items-center justify-between border-b pb-4 mb-6">
|
<div className="flex items-center justify-between border-b pb-4 mb-6">
|
||||||
<div>
|
<div>
|
||||||
<Image
|
<Image
|
||||||
src="/images/logo.png"
|
src="/images/logo.svg"
|
||||||
alt="لوگو"
|
alt="لوگو"
|
||||||
width={120}
|
width={120}
|
||||||
height={40}
|
height={40}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ const OrderInvoicePage = () => {
|
|||||||
<div className="flex items-center justify-between border-b pb-4 mb-6">
|
<div className="flex items-center justify-between border-b pb-4 mb-6">
|
||||||
<div>
|
<div>
|
||||||
<Image
|
<Image
|
||||||
src="/images/logo.png"
|
src="/images/logo.svg"
|
||||||
alt="لوگو"
|
alt="لوگو"
|
||||||
width={120}
|
width={120}
|
||||||
height={40}
|
height={40}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
export const TOKEN_NAME = "shinan_token";
|
export const TOKEN_NAME = "shinan_token";
|
||||||
export const REFRESH_TOKEN_NAME = "shinan_refresh_token";
|
export const REFRESH_TOKEN_NAME = "shinan_refresh_token";
|
||||||
export const BASE_URL = "https://api.shinan.ir";
|
export const BASE_URL = "https://shinan-api.dev.danakcorp.com";
|
||||||
// export const BASE_URL = "http://192.168.99.235:4000";
|
// export const BASE_URL = "http://192.168.99.235:4000";
|
||||||
|
|
||||||
export const PRIMARY_COLOR = "#a62186";
|
export const PRIMARY_COLOR = "#a62186";
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ const Footer: FC = () => {
|
|||||||
width={100}
|
width={100}
|
||||||
height={100}
|
height={100}
|
||||||
alt='logo'
|
alt='logo'
|
||||||
src={siteSetting?.results?.siteSetting?.siteLogo || '/images/logo.png'}
|
src={siteSetting?.results?.siteSetting?.siteLogo || '/images/logo.svg'}
|
||||||
className='w-full h-auto max-h-20 max-w-20 object-contain'
|
className='w-full h-auto max-h-20 max-w-20 object-contain'
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ const Header: FC = () => {
|
|||||||
<div className='md:hidden flex items-center justify-between relative'>
|
<div className='md:hidden flex items-center justify-between relative'>
|
||||||
<Link href='/' className='px-4 py-4'>
|
<Link href='/' className='px-4 py-4'>
|
||||||
<Image
|
<Image
|
||||||
src='/images/logo.png'
|
src='/images/logo.svg'
|
||||||
alt='logo'
|
alt='logo'
|
||||||
width={120}
|
width={120}
|
||||||
height={50}
|
height={50}
|
||||||
@@ -49,7 +49,7 @@ const Header: FC = () => {
|
|||||||
<div className='flex gap-[30px] items-center'>
|
<div className='flex gap-[30px] items-center'>
|
||||||
<Link href='/'>
|
<Link href='/'>
|
||||||
<Image
|
<Image
|
||||||
src='/images/logo.png'
|
src='/images/logo.svg'
|
||||||
alt='logo'
|
alt='logo'
|
||||||
width={100}
|
width={100}
|
||||||
height={100}
|
height={100}
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ const CartItemCard = ({
|
|||||||
|
|
||||||
const productImage = isOnline
|
const productImage = isOnline
|
||||||
? (item as CartItemType).product.imagesUrl.cover
|
? (item as CartItemType).product.imagesUrl.cover
|
||||||
: (item as EnrichedOfflineCartItem).product?.imagesUrl?.cover || '/images/logo.png'
|
: (item as EnrichedOfflineCartItem).product?.imagesUrl?.cover || '/images/logo.svg'
|
||||||
|
|
||||||
const productCategory = isOnline
|
const productCategory = isOnline
|
||||||
? ((item as CartItemType).product.category?._id || 'دستهبندی')
|
? ((item as CartItemType).product.category?._id || 'دستهبندی')
|
||||||
|
|||||||
Reference in New Issue
Block a user