CLAUDE.md mit Projektkonventionen für künftige Claude-Code-Sitzungen. Wiederkehrende UI-Muster konsolidiert: neue PageHeader-Control für Titel/Untertitel in den Listen- und Detailansichten, globale Styles für Dialog-Titel und Leerlisten-Hinweise statt inline wiederholter Werte. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
14 lines
750 B
XML
14 lines
750 B
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="LehrerApp.Desktop.Views.Shared.PageHeader"
|
|
x:CompileBindings="False">
|
|
<StackPanel>
|
|
<TextBlock Text="{Binding Title, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
|
FontSize="22" FontWeight="SemiBold"/>
|
|
<TextBlock Text="{Binding Subtitle, RelativeSource={RelativeSource AncestorType=UserControl}}"
|
|
FontSize="12" Opacity="0.5"
|
|
IsVisible="{Binding Subtitle, RelativeSource={RelativeSource AncestorType=UserControl},
|
|
Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
|
</StackPanel>
|
|
</UserControl>
|