diff --git a/.gitignore b/.gitignore index da1541f..72c8892 100644 --- a/.gitignore +++ b/.gitignore @@ -6,8 +6,22 @@ build/ # Python venv/ +.venv/ +env/ __pycache__/ *.pyc +*.egg-info/ +.pytest_cache/ +.mypy_cache/ +input/ +output/ + +# Distribution / Packaging +build/ +dist/ +wheels/ +*.egg +.eggs/ # System .DS_Store @@ -15,3 +29,4 @@ Thumbs.db # IDE .vscode/ +.idea/ diff --git a/Pottery-website/App.tsx b/Pottery-website/App.tsx index a705808..b7e8941 100644 --- a/Pottery-website/App.tsx +++ b/Pottery-website/App.tsx @@ -2,31 +2,51 @@ import React, { Suspense, lazy } from 'react'; import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; import Header from './components/Header'; import Footer from './components/Footer'; +import Cart from './components/Cart'; import ScrollToTop from './components/ScrollToTop'; import RouteTransition from './components/RouteTransition'; +import { StoreProvider } from './src/context/StoreContext'; // Lazy load pages for better performance const Home = lazy(() => import('./pages/Home')); const Collections = lazy(() => import('./pages/Collections')); const Atelier = lazy(() => import('./pages/Atelier')); const Editorial = lazy(() => import('./pages/Editorial')); +const ProductPhotography = lazy(() => import('./pages/Journal/ProductPhotography')); +const PackagingGuide = lazy(() => import('./pages/Journal/PackagingGuide')); +const MotivationInClay = lazy(() => import('./pages/Journal/MotivationInClay')); +const ProductDetail = lazy(() => import('./pages/ProductDetail')); +const ArticleDetail = lazy(() => import('./pages/ArticleDetail')); +const Checkout = lazy(() => import('./pages/Checkout')); +const MockPayment = lazy(() => import('./pages/MockPayment')); +const Success = lazy(() => import('./pages/Success')); +const Admin = lazy(() => import('./pages/Admin')); function App() { return ( - -
- - }> - - } /> - } /> - } /> - } /> - - - -