diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index c1f01e8..4d149bb 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -15,6 +15,7 @@ import { Tooltip } from '@mui/material'; import ContentCopyIcon from '@mui/icons-material/ContentCopy'; +import ArrowBackIcon from '@mui/icons-material/ArrowBack'; import { Link } from 'react-router-dom'; import api from '../api'; import { useTitle } from '../hooks/useTitle'; @@ -70,6 +71,16 @@ const Dashboard: React.FC = () => { return ( + + diff --git a/frontend/src/pages/Login.tsx b/frontend/src/pages/Login.tsx index 49acf7a..3753dfc 100644 --- a/frontend/src/pages/Login.tsx +++ b/frontend/src/pages/Login.tsx @@ -1,5 +1,7 @@ import React, { useState } from 'react'; import { Typography, TextField, Button, Box, Paper, Tab, Tabs, Alert, Container } from '@mui/material'; +import ArrowBackIcon from '@mui/icons-material/ArrowBack'; +import { Link } from 'react-router-dom'; import api from '../api'; import { useTitle } from '../hooks/useTitle'; @@ -220,7 +222,20 @@ const Login: React.FC = () => { return ( - + + + {message && {message.text}} {renderContent()} diff --git a/frontend/src/pages/PublicProfile.tsx b/frontend/src/pages/PublicProfile.tsx index b337c01..b99e1bc 100644 --- a/frontend/src/pages/PublicProfile.tsx +++ b/frontend/src/pages/PublicProfile.tsx @@ -12,8 +12,10 @@ import { Tabs, Tab, Paper, - Divider + Divider, + Button } from '@mui/material'; +import ArrowBackIcon from '@mui/icons-material/ArrowBack'; import { Link } from 'react-router-dom'; import api from '../api'; import { useTitle } from '../hooks/useTitle'; @@ -91,6 +93,16 @@ const PublicProfile: React.FC = () => { return ( + + {/* Profile Header */} diff --git a/frontend/src/pages/Settings.tsx b/frontend/src/pages/Settings.tsx index 5bc2345..d99fc53 100644 --- a/frontend/src/pages/Settings.tsx +++ b/frontend/src/pages/Settings.tsx @@ -15,6 +15,8 @@ import { ListSubheader, Divider } from '@mui/material'; +import ArrowBackIcon from '@mui/icons-material/ArrowBack'; +import { Link } from 'react-router-dom'; import api from '../api'; import { useTitle } from '../hooks/useTitle'; import type { CatppuccinTheme } from '../theme'; @@ -117,6 +119,16 @@ const Settings: React.FC = ({ themeName, onThemeChange }) => { return ( + + {!avatar && username.charAt(0).toUpperCase()} @@ -133,7 +145,10 @@ const Settings: React.FC = ({ themeName, onThemeChange }) => { )} - + Appearance Theme @@ -165,7 +180,10 @@ const Settings: React.FC = ({ themeName, onThemeChange }) => { - + Profile Picture @@ -183,7 +201,10 @@ const Settings: React.FC = ({ themeName, onThemeChange }) => { - + Profile Information
= ({ themeName, onThemeChange }) => { )} - + Change Password { {categoryName || 'Flavors'} - - ← Back to all categories - + diff --git a/frontend/src/pages/flavors/FlavorDetail.tsx b/frontend/src/pages/flavors/FlavorDetail.tsx index 877a737..f948d5e 100644 --- a/frontend/src/pages/flavors/FlavorDetail.tsx +++ b/frontend/src/pages/flavors/FlavorDetail.tsx @@ -16,6 +16,7 @@ import { } from '@mui/material'; import api from '../../api'; import { useTitle } from '../../hooks/useTitle'; +import ArrowBackIcon from '@mui/icons-material/ArrowBack'; interface Reply { id: number; @@ -148,8 +149,14 @@ const FlavorDetail: React.FC = () => { return ( -