diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 1d7f374..b725f9e 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -221,7 +221,14 @@ const App: React.FC = () => { - + { - + } /> } /> diff --git a/frontend/src/pages/CategoryList.tsx b/frontend/src/pages/CategoryList.tsx index bc37025..96e5de7 100644 --- a/frontend/src/pages/CategoryList.tsx +++ b/frontend/src/pages/CategoryList.tsx @@ -94,7 +94,7 @@ const CategoryList: React.FC = () => { ); return ( - + Search Results for "{query}" Found {filteredFlavors.length} items @@ -150,7 +150,6 @@ const CategoryList: React.FC = () => { textAlign: 'center', borderBottom: '1px solid rgba(255,255,255,0.1)', width: '100%', - mt: -4, // Counter the parent Box py: 4 boxSizing: 'border-box', overflow: 'hidden' }} @@ -185,7 +184,7 @@ const CategoryList: React.FC = () => { {/* Main Content inside Container */} - + {/* Top Rated Flavors */} {topFlavors.length > 0 && ( @@ -224,7 +223,7 @@ const CategoryList: React.FC = () => { Browse by Category {categories.map(category => ( - + { if (!data) return Please login to view dashboard.; return ( - + Personal Dashboard diff --git a/frontend/src/pages/Login.tsx b/frontend/src/pages/Login.tsx index b28a2f1..49acf7a 100644 --- a/frontend/src/pages/Login.tsx +++ b/frontend/src/pages/Login.tsx @@ -219,7 +219,7 @@ const Login: React.FC = () => { const adminUrl = (import.meta.env.VITE_API_URL || 'http://localhost:8000/api/').replace('/api/', '/admin/'); return ( - + {message && {message.text}} {renderContent()} diff --git a/frontend/src/pages/PublicProfile.tsx b/frontend/src/pages/PublicProfile.tsx index 6e7f703..ed6b08a 100644 --- a/frontend/src/pages/PublicProfile.tsx +++ b/frontend/src/pages/PublicProfile.tsx @@ -57,7 +57,7 @@ const PublicProfile: React.FC = () => { const others = data.ratings.filter(r => r.score < 8); return ( - + {data.username.charAt(0).toUpperCase()} diff --git a/frontend/src/pages/Settings.tsx b/frontend/src/pages/Settings.tsx index 177bec3..9edb441 100644 --- a/frontend/src/pages/Settings.tsx +++ b/frontend/src/pages/Settings.tsx @@ -78,7 +78,7 @@ const Settings: React.FC = () => { }; return ( - + Account Settings {message && ( diff --git a/frontend/src/pages/categories/CategoryFlavors.tsx b/frontend/src/pages/categories/CategoryFlavors.tsx index c8522a7..fb1b8cf 100644 --- a/frontend/src/pages/categories/CategoryFlavors.tsx +++ b/frontend/src/pages/categories/CategoryFlavors.tsx @@ -63,7 +63,7 @@ const CategoryFlavors: React.FC = () => { if (loading) return ; return ( - + {categoryName || 'Flavors'} diff --git a/frontend/src/pages/flavors/FlavorDetail.tsx b/frontend/src/pages/flavors/FlavorDetail.tsx index 3be2f6a..b1dae09 100644 --- a/frontend/src/pages/flavors/FlavorDetail.tsx +++ b/frontend/src/pages/flavors/FlavorDetail.tsx @@ -146,7 +146,7 @@ const FlavorDetail: React.FC = () => { if (!flavor) return Flavor not found; return ( - +