This commit is contained in:
BOT Alex 2023-05-10 12:12:28 +02:00
parent c4cd5ec41a
commit 7a8a27c884
2 changed files with 5 additions and 5 deletions

View File

@ -17,13 +17,13 @@
</style> </style>
<MudContainer Class="mt-16 px-8 overflow-hidden" MaxWidth="MaxWidth.False"> <MudContainer Class="mt-16 px-8 overflow-hidden" MaxWidth="MaxWidth.False">
<MudGrid Spacing="8" Justify="Justify.Center"> <MudGrid Spacing="6" Justify="Justify.Center">
@for (int i = 0; i < 25; i++) @for (int i = 0; i < 100; i++)
{ {
<MudItem> <MudItem>
<MudPaper Class="md-8" Style="position:relative"> <MudPaper Class="md-8 rounded-lg" Style="position:relative">
<MudContainer Style="position:absolute;" Class="mt-4"> <MudContainer Style="position:absolute;" Class="mt-4">
<MudText Style="background-color:rgba(0, 0, 0, 0.4); backdrop-filter:blur(2px)" Class="pl-2 rounded-t-lg" Color="Color.Secondary" Typo="Typo.h6">@("@" + RandomUsernames[random.Next(0, RandomUsernames.Length)])</MudText> <MudText Style="background-color:rgba(0, 0, 0, 0.6); backdrop-filter:blur(2px)" Class="pl-2 rounded-t-lg py-2" Color="Color.Surface" Typo="Typo.h6">@("@" + RandomUsernames[random.Next(0, RandomUsernames.Length)])</MudText>
</MudContainer> </MudContainer>
<MudContainer> <MudContainer>
<MudImage Class="rounded-lg my-4" Src="@GetRandomImage()" Height="250" Width="250"></MudImage> <MudImage Class="rounded-lg my-4" Src="@GetRandomImage()" Height="250" Width="250"></MudImage>

View File

@ -15,7 +15,7 @@
<MudDrawer @bind-Open="@openStart" ClipMode="DrawerClipMode.Always" Breakpoint="Breakpoint.Lg" PreserveOpenState="false" Elevation="1" Variant="@DrawerVariant.Mini" OpenMiniOnHover="true"> <MudDrawer @bind-Open="@openStart" ClipMode="DrawerClipMode.Always" Breakpoint="Breakpoint.Lg" PreserveOpenState="false" Elevation="1" Variant="@DrawerVariant.Mini" OpenMiniOnHover="true">
<MudNavMenu> <MudNavMenu>
<MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.Store">Store</MudNavLink> <MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.Image">Posts</MudNavLink>
<MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.LibraryBooks">Library</MudNavLink> <MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.LibraryBooks">Library</MudNavLink>
<MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.Group">Community</MudNavLink> <MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.Group">Community</MudNavLink>
</MudNavMenu> </MudNavMenu>