mobile test2

#deploy
This commit is contained in:
martin 2026-01-20 19:09:23 +01:00
parent 3ea8990128
commit 7c21286960
4 changed files with 5 additions and 8 deletions

View File

@ -16,7 +16,7 @@ const MainShell: React.FC = () => {
};
}, [resetHeader]);
const { user, logout } = useAuth();
const { logout } = useAuth();
const navigate = useNavigate();
const [hasActiveEvent, setHasActiveEvent] = useState(false);
// header is already available above
@ -108,9 +108,6 @@ const MainShell: React.FC = () => {
</div>
<div className="flex items-center gap-2 pointer-events-auto">
<div className="hidden md:block text-sm text-muted-foreground">
Hallo, {user?.name?.split(' ')[0] || 'Benutzer'}
</div>
<Button
variant="outline"
size="sm"

View File

@ -79,7 +79,7 @@ const Dashboard: React.FC<DashboardProps> = ({ onActionClick, hasActiveEvent, cu
<div className="space-y-6">
<div className="flex items-center justify-between">
<div>
<h1 className="text-2xl font-bold tracking-tight">Willkommen zurück LALA</h1>
<h1 className="text-2xl font-bold tracking-tight">Willkommen zurück</h1>
<p className="text-muted-foreground">Was möchtest du heute tun?</p>
</div>
</div>

View File

@ -560,7 +560,7 @@ const EventFormInline: React.FC<EventFormInlineProps> = ({ onSuccess, onCancel,
}
>
<form onSubmit={handleSubmit} className="relative">
<div className={isMobile ? 'sticky top-0 z-20 border-b bg-background' : 'sticky top-0 z-20 -mx-4 px-4 py-2 border-b bg-background'}>
<div className={isMobile ? 'sticky top-16 z-20 border-b bg-background' : 'sticky top-16 z-20 -mx-4 px-4 py-2 border-b bg-background'}>
{isMobile ? (
<div className="px-3 py-2">
<div className="flex items-center justify-between gap-2">

View File

@ -41,7 +41,7 @@ const EventWizard: React.FC<EventWizardProps> = ({ onComplete, onBackToOverview,
<Button type="button" variant="ghost" size="sm" onClick={onBackToOverview} className="h-10 px-2">
<span className="flex flex-col items-center leading-tight">
<LayoutGrid className="h-4 w-4" />
<span className="text-[10px] mt-0.5">Übersicht</span>
<span className="text-[10px] mt-0.5">Dashboard</span>
</span>
</Button>
{showForm && (
@ -58,7 +58,7 @@ const EventWizard: React.FC<EventWizardProps> = ({ onComplete, onBackToOverview,
<>
<DropdownMenuItem onClick={onBackToOverview} className="gap-2">
<LayoutGrid className="h-4 w-4" />
<span>Zurück zur Übersicht</span>
<span>Zurück zum Dashboard</span>
</DropdownMenuItem>
{showForm && (
<DropdownMenuItem onClick={handleBackToTimeline} className="gap-2">