fix(calendar): Symbol in der Kopfleiste ergänzt
Jede andere Seite zeigt neben dem Titel ein Strichsymbol (Papierkorb, Geteiltes, Etiketten, ...) - beim Kalender fehlte es, PageHeader bekam keinen icon-Prop. Dasselbe Kalendersymbol wie in der Seitenleiste. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
27a026421f
commit
ba33706d2e
1 file changed
+9
-1
@@ -238,7 +238,15 @@ export default function CalendarPage() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ display: 'flex', flexDirection: 'column', height: '100%', minWidth: 0 }}>
|
<div style={{ display: 'flex', flexDirection: 'column', height: '100%', minWidth: 0 }}>
|
||||||
<PageHeader title="Kalender">
|
<PageHeader
|
||||||
|
title="Kalender"
|
||||||
|
icon={
|
||||||
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
|
||||||
|
<rect x="3" y="5" width="18" height="16" rx="2" />
|
||||||
|
<path d="M3 10h18M8 3v4M16 3v4" />
|
||||||
|
</svg>
|
||||||
|
}
|
||||||
|
>
|
||||||
<div style={{ display: 'flex', gap: 6 }}>
|
<div style={{ display: 'flex', gap: 6 }}>
|
||||||
{(['month', 'week', 'list'] as ViewMode[]).map(m => (
|
{(['month', 'week', 'list'] as ViewMode[]).map(m => (
|
||||||
<button key={m} onClick={() => setViewMode(m)} style={{
|
<button key={m} onClick={() => setViewMode(m)} style={{
|
||||||
|
|||||||
Reference in new issue
Block a user