mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2025-01-18 21:04:21 +01:00
Working on UI
This commit is contained in:
parent
9e0a08c38c
commit
098cd7bac3
|
@ -8,16 +8,12 @@
|
||||||
<MudLayout>
|
<MudLayout>
|
||||||
<MudAppBar>
|
<MudAppBar>
|
||||||
<MudIconButton Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start" OnClick="@((e) => DrawerToggle())" />
|
<MudIconButton Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start" OnClick="@((e) => DrawerToggle())" />
|
||||||
|
<MudText Typo="Typo.h6">SharpRSS</MudText>
|
||||||
</MudAppBar>
|
</MudAppBar>
|
||||||
<MudDrawer @bind-Open="@_drawerOpen" ClipMode="DrawerClipMode.Always">
|
<MudDrawer @bind-Open="@_drawerOpen" ClipMode="DrawerClipMode.Always">
|
||||||
<MudToolBar>
|
<MudNavMenu Color="Color.Primary">
|
||||||
RSS
|
<MudNavLink Href="/" Icon="@Icons.Material.Filled.Home">Home</MudNavLink>
|
||||||
</MudToolBar>
|
</MudNavMenu>
|
||||||
<MudList Color="Color.Info">
|
|
||||||
<MudListItem Text="Main" Icon="@Icons.Material.Filled.Badge" IconSize="Size.Medium"/>
|
|
||||||
<MudListItem Text="Test" Icon="@Icons.Material.Filled.Lan" IconSize="Size.Medium"/>
|
|
||||||
<MudListItem Text="Val" Icon="@Icons.Material.Filled.Policy" IconSize="Size.Medium"/>
|
|
||||||
</MudList>
|
|
||||||
</MudDrawer>
|
</MudDrawer>
|
||||||
<MudMainContent>
|
<MudMainContent>
|
||||||
@Body
|
@Body
|
||||||
|
|
|
@ -1,7 +1,24 @@
|
||||||
@page "/"
|
@page "/"
|
||||||
@inject RssService _rssService
|
@inject RssService _rssService
|
||||||
|
|
||||||
|
<MudGrid Style="margin-left: 5px; margin-top: 5px">
|
||||||
|
@for (int i = 0; i < 10; i++)
|
||||||
|
{
|
||||||
|
<MudCard Style="margin: 3px">
|
||||||
|
<MudCardMedia Image="https://mudblazor.com/images/door.jpg" Height="200" />
|
||||||
|
<MudCardContent>
|
||||||
|
<MudText Typo="Typo.h5">Old Paint</MudText>
|
||||||
|
<MudText Typo="Typo.body2">Old paint found on a stone house door.</MudText>
|
||||||
|
<MudText Typo="Typo.body2">This photo was taken in a small village in Istra Croatia.</MudText>
|
||||||
|
</MudCardContent>
|
||||||
|
<MudCardActions>
|
||||||
|
<MudButton Variant="Variant.Text" Color="Color.Primary">Share</MudButton>
|
||||||
|
<MudButton Variant="Variant.Text" Color="Color.Primary">Learn More</MudButton>
|
||||||
|
</MudCardActions>
|
||||||
|
</MudCard>
|
||||||
|
}
|
||||||
|
|
||||||
|
</MudGrid>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user