logo base url
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-02-24 14:26:28 +03:30
parent 8bc5930bd6
commit bba527c83f
7 changed files with 29 additions and 7 deletions
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 550 KiB

+1 -1
View File
@@ -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}
+1 -1
View File
@@ -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
View File
@@ -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";
+1 -1
View File
@@ -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>
+2 -2
View File
@@ -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}
+1 -1
View File
@@ -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 || 'دسته‌بندی')