File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "short_name" : " React App " ,
3- "name" : " Create React App Sample " ,
2+ "short_name" : " MoreByPrinal " ,
3+ "name" : " MoreByPrinal - Where Elegance Meets Tradition " ,
44 "icons" : [
55 {
66 "src" : " favicon.ico" ,
2020 ],
2121 "start_url" : " ." ,
2222 "display" : " standalone" ,
23- "theme_color" : " #000000 " ,
23+ "theme_color" : " #008B8B " ,
2424 "background_color" : " #ffffff"
2525}
Original file line number Diff line number Diff line change @@ -21,8 +21,11 @@ import Terms from './pages/Terms';
2121const AppContent = ( ) => {
2222 const { toasts, removeToast } = useToast ( ) ;
2323
24+ // Determine basename based on environment
25+ const basename = process . env . NODE_ENV === 'production' ? '/morebyprinal' : '/morebyprinal' ;
26+
2427 return (
25- < Router basename = "/morebyprinal" >
28+ < Router basename = { basename } >
2629 < div className = "min-h-screen bg-light-cream" >
2730 < Header />
2831 < main className = "pt-20" >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const ProductCard = ({ product }) => {
1717 < div className = "relative w-full h-80 overflow-hidden" >
1818 { /* Main Image */ }
1919 < img
20- src = { product . images [ 0 ] || '/images/placeholder-product.jpg' }
20+ src = { product . images [ 0 ] || '. /images/placeholder-product.jpg' }
2121 alt = { product . name }
2222 className = { `w-full h-80 object-cover transition-all duration-700 transform group-hover:scale-110 ${
2323 isHovered && product . images [ 1 ] ? 'opacity-0' : 'opacity-100'
You can’t perform that action at this time.
0 commit comments