From 1dca7a34548c9f8d386f4bf07fdd7d68b244ec03 Mon Sep 17 00:00:00 2001 From: shafi54 <108669266+shafi-aviz@users.noreply.github.com> Date: Sat, 21 Feb 2026 19:46:43 +0530 Subject: [PATCH] enh --- apps/backend/.env | 4 ++-- .../app/(drawer)/(tabs)/stores/index.tsx | 20 +++++++++++++++++++ .../(tabs)/stores/store-detail/[id].tsx | 17 ++++++++++++++++ packages/ui/index.ts | 4 ++-- 4 files changed, 41 insertions(+), 4 deletions(-) diff --git a/apps/backend/.env b/apps/backend/.env index 7e23b79..f01f7cc 100755 --- a/apps/backend/.env +++ b/apps/backend/.env @@ -1,6 +1,6 @@ ENV_MODE=PROD -DATABASE_URL=postgresql://postgres:meatfarmer_master_password@57.128.212.174:7447/meatfarmer #technocracy -# DATABASE_URL=postgres://postgres:meatfarmer_master_password@5.223.55.14:7447/meatfarmer #hetzner +# DATABASE_URL=postgresql://postgres:meatfarmer_master_password@57.128.212.174:7447/meatfarmer #technocracy +DATABASE_URL=postgres://postgres:meatfarmer_master_password@5.223.55.14:7447/meatfarmer #hetzner PHONE_PE_BASE_URL=https://api-preprod.phonepe.com/ PHONE_PE_CLIENT_ID=TEST-M23F2IGP34ZAR_25090 PHONE_PE_CLIENT_VERSION=1 diff --git a/apps/user-ui/app/(drawer)/(tabs)/stores/index.tsx b/apps/user-ui/app/(drawer)/(tabs)/stores/index.tsx index 1d44a6d..0500e47 100644 --- a/apps/user-ui/app/(drawer)/(tabs)/stores/index.tsx +++ b/apps/user-ui/app/(drawer)/(tabs)/stores/index.tsx @@ -35,10 +35,30 @@ const StoreCard = ({ const navigateToStore = () => router.push(`/(drawer)/(tabs)/stores/store-detail/${item.id}`); + const isMeatStore = item.name.toLowerCase().includes('meat'); + const ASSETS_BASE_URL = 'http://localhost:4000/assets'; + return ( + {/* Meat Store Images - Show at top if store name contains 'meat' */} + {isMeatStore && ( + + + + + + )} + {/* Top Header Section - Touchable */} + {/* Meat Store Images - Show at top if store name contains 'meat' */} + {storeData?.store?.name?.toLowerCase().includes('meat') && ( + + + + + + )} diff --git a/packages/ui/index.ts b/packages/ui/index.ts index 6da95c7..59d31ee 100755 --- a/packages/ui/index.ts +++ b/packages/ui/index.ts @@ -63,8 +63,8 @@ const isDevMode = Constants.executionEnvironment !== "standalone"; // const BASE_API_URL = API_URL; // const BASE_API_URL = 'http://10.0.2.2:4000'; // const BASE_API_URL = 'http://192.168.100.101:4000'; -const BASE_API_URL = 'http://192.168.100.105:4000'; -// let BASE_API_URL = "https://mf.freshyo.in"; +// const BASE_API_URL = 'http://192.168.100.105:4000'; +let BASE_API_URL = "https://mf.freshyo.in"; // let BASE_API_URL = 'http://192.168.100.104:4000'; // let BASE_API_URL = 'http://192.168.29.176:4000';