mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-04 00:47:02 +01:00
updated mobile bar
This commit is contained in:
1 parent
18b641b2d6
commit
61ce0a170e
2 files changed
+10
-2
No files matched your search
@@ -363,7 +363,7 @@ const App: React.FC = () => {
|
||||
<Toolbar sx={{ minHeight: { xs: 56, sm: 64 } }} />
|
||||
|
||||
<Drawer
|
||||
anchor="left"
|
||||
anchor="right"
|
||||
open={drawerOpen}
|
||||
onClose={() => setDrawerOpen(false)}
|
||||
>
|
||||
|
||||
@@ -117,7 +117,15 @@ const Settings: React.FC<SettingsProps> = ({ themeName, onThemeChange }) => {
|
||||
|
||||
return (
|
||||
<Container maxWidth="sm" sx={{ py: 4 }}>
|
||||
<Typography variant="h4" gutterBottom sx={{ mt: 4 }}>Account Settings</Typography>
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 3, mb: 4, mt: 4 }}>
|
||||
<Avatar src={avatar || undefined} sx={{ width: 80, height: 80, border: '3px solid', borderColor: 'primary.main' }}>
|
||||
{!avatar && username.charAt(0).toUpperCase()}
|
||||
</Avatar>
|
||||
<Box>
|
||||
<Typography variant="h4" sx={{ fontWeight: 'bold' }}>{username}</Typography>
|
||||
<Typography variant="body2" color="text.secondary">Manage your account and preferences</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
{message && (
|
||||
<Alert severity={message.type} sx={{ mb: 3 }} onClose={() => setMessage(null)}>
|
||||
|
||||
Reference in new issue
Block a user