From bba527c83f70792a3ce717fcd25bf5f8c24ab442 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Tue, 24 Feb 2026 14:26:28 +0330 Subject: [PATCH] logo base url --- public/images/logo.svg | 22 ++++++++++++++++++++ src/app/cart/invoice/page.tsx | 2 +- src/app/profile/orders/[id]/invoice/page.tsx | 2 +- src/config/const.ts | 2 +- src/share/Footer.tsx | 2 +- src/share/Header.tsx | 4 ++-- src/share/components/Cart.tsx | 2 +- 7 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 public/images/logo.svg diff --git a/public/images/logo.svg b/public/images/logo.svg new file mode 100644 index 0000000..c5cf29d --- /dev/null +++ b/public/images/logo.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/app/cart/invoice/page.tsx b/src/app/cart/invoice/page.tsx index 88a1cc4..31eb68d 100644 --- a/src/app/cart/invoice/page.tsx +++ b/src/app/cart/invoice/page.tsx @@ -52,7 +52,7 @@ const InvoicePage = () => {
لوگو {
لوگو { width={100} height={100} 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' />
diff --git a/src/share/Header.tsx b/src/share/Header.tsx index eb7f474..e0578a3 100644 --- a/src/share/Header.tsx +++ b/src/share/Header.tsx @@ -34,7 +34,7 @@ const Header: FC = () => {
logo {