diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index b3578c5..4545d50 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -255,14 +255,13 @@ const Dashboard: React.FC = () => { {/* TAB 0: MY REVIEWS */} {activeTab === 0 && ( - {/* Filter Controls for Reviews */} setRatedSearch(e.target.value)} slotProps={{ input: { startAdornment: } }} - sx={{ bgcolor: 'background.paper', borderRadius: 2 }} + sx={{ bgcolor: 'background.paper', borderRadius: 1, '& .MuiOutlinedInput-root': { borderRadius: 1 } }} /> @@ -272,22 +271,22 @@ const Dashboard: React.FC = () => { onClick={() => setRatedCategory(cat)} color={ratedCategory === cat ? 'primary' : 'default'} variant={ratedCategory === cat ? 'filled' : 'outlined'} - sx={{ fontWeight: 'bold', height: 40, px: 1 }} + sx={{ fontWeight: 'bold', height: 40, px: 1, borderRadius: 1 }} /> ))} - + @@ -336,9 +335,9 @@ const Dashboard: React.FC = () => { <> - - F - + + + {rating.flavor_name} @@ -424,7 +423,7 @@ const Dashboard: React.FC = () => { fullWidth placeholder={t('dashboard.searchMissing')} value={exploreSearch} onChange={e => setExploreSearch(e.target.value)} slotProps={{ input: { startAdornment: } }} - sx={{ bgcolor: 'background.paper', borderRadius: 2 }} + sx={{ bgcolor: 'background.paper', borderRadius: 1, '& .MuiOutlinedInput-root': { borderRadius: 1 } }} /> @@ -434,22 +433,22 @@ const Dashboard: React.FC = () => { onClick={() => setExploreCategory(cat)} color={exploreCategory === cat ? 'primary' : 'default'} variant={exploreCategory === cat ? 'filled' : 'outlined'} - sx={{ fontWeight: 'bold', height: 40, px: 1 }} + sx={{ fontWeight: 'bold', height: 40, px: 1, borderRadius: 1 }} /> ))} - + @@ -463,21 +462,42 @@ const Dashboard: React.FC = () => { ) : ( {filteredMissing.map(flavor => ( - + - - - + + + {flavor.followed_average_rating && ( - + - + {flavor.followed_average_rating.toFixed(1)} diff --git a/frontend/src/pages/PublicProfile.tsx b/frontend/src/pages/PublicProfile.tsx index 086390c..6f33ea9 100644 --- a/frontend/src/pages/PublicProfile.tsx +++ b/frontend/src/pages/PublicProfile.tsx @@ -272,22 +272,7 @@ const PublicProfile: React.FC = ({ adminMode }) => { )} - - - - Taste Profile - - + = ({ adminMode }) => { color: 'text.primary', position: 'relative', display: 'inline-block', - mb: 1 + mb: 2.5 }} > {data.username} - + = ({ adminMode }) => { bgcolor: (theme) => alpha(theme.palette.text.primary, 0.04), border: '1px solid', borderColor: 'divider', - borderRadius: 3, + borderRadius: 1, overflow: 'hidden', backdropFilter: 'blur(8px)' }} @@ -323,7 +308,7 @@ const PublicProfile: React.FC = ({ adminMode }) => { { label: 'Following', val: data.following_count } ].map((stat, i) => ( - + {stat.val} {stat.label} @@ -360,13 +345,13 @@ const PublicProfile: React.FC = ({ adminMode }) => { - + setActiveTab(v)} variant="fullWidth" sx={{ - '& .MuiTab-root': { fontWeight: '900', textTransform: 'none', fontSize: '1rem', borderRadius: 2 }, + '& .MuiTab-root': { fontWeight: '900', textTransform: 'none', fontSize: '1rem', borderRadius: 1 }, '& .Mui-selected': { color: 'primary.main' } }} > @@ -411,7 +396,7 @@ const PublicProfile: React.FC = ({ adminMode }) => { {tier.key} @@ -424,16 +409,37 @@ const PublicProfile: React.FC = ({ adminMode }) => { {items.map((rating: Rating) => ( - + alpha(theme.palette.background.paper, 0.4), transition: 'all 0.3s ease', + overflow: 'hidden', '&:hover': { transform: 'translateY(-8px)', borderColor: 'primary.main', boxShadow: '0 12px 32px rgba(0,0,0,0.1)' } }}> - - + + @@ -449,7 +455,7 @@ const PublicProfile: React.FC = ({ adminMode }) => {