@inherits LocalizableComponentBase
@* The feed page's tabs, one per kind of feed, scrolling sideways on narrow screens. Groups adds a choice of the
persona's communities and circles, Lists a choice of its lists (made and filled on /lists), Tag the hashtag being
read, with its week and a button to follow it (its public posts then come home). The stats icon shows how the current feed was
read; the buttons on the right open the composer and, on narrow screens, the globe. *@
@foreach (var type in Types)
{
@TabName(type)
@if (type is TimelineType.Notifications && UnreadNotifications > 0)
{
@UnreadNotifications
}
else if (type is TimelineType.Direct && UnreadConversations > 0)
{
@UnreadConversations
}
}
@Localizer["Post"]
@if (Filter.TimelineType is TimelineType.Groups)
{
@if (Groups.Count == 0)
{
@Localizer["This persona is in no community or circle yet."]
}
else
{
@foreach (var group in Groups)
{
}
}
}
else if (Filter.TimelineType is TimelineType.Lists)
{