Skip to content

Commit

Permalink
Update AntBlazor
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxocube committed Jan 1, 2025
1 parent a897aa0 commit e1553a5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion MediaFeeder/MediaFeeder/Components/Layout/ListLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<Layout>
<Header Style="background-color: white;">
<Flex Justify="space-between" Align="flex-start">
<Flex Justify="FlexJustify.SpaceBetween" Align="FlexAlign.FlexStart">
<div class="top-row ps-3 navbar">
<div class="container-fluid">
<a class="navbar-brand" href="/">
Expand Down
6 changes: 3 additions & 3 deletions MediaFeeder/MediaFeeder/Components/Pages/Home.razor
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
</GridCol>

<GridCol Class="gutter-row" Span="8">
<Flex Justify="space-evenly">
<Flex Justify="FlexJustify.SpaceEvenly">
<Tooltip Title="Watch All Now">
<Button Icon="@(IconType.Outline.PlayCircle)"></Button>
</Tooltip>
Expand All @@ -105,7 +105,7 @@
</GridCol>
</GridRow>

<GridRow Gutter="(16, 16)" Style="padding: 16px;" Justify="space-around">
<GridRow Gutter="(16, 16)" Style="padding: 16px;" Justify="RowJustify.SpaceAround">
@if (Videos != null)
{
@foreach (var video in Videos)
Expand All @@ -126,7 +126,7 @@
}
</GridRow>

<Flex Justify="center">
<Flex Justify="FlexJustify.Center">
<Pagination Current="@PageNumber" Total="@ItemsAvailable" PageSize="@ResultsPerPage"
OnChange="PageChange"/>
</Flex>
4 changes: 2 additions & 2 deletions MediaFeeder/MediaFeeder/Components/Pages/Video.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<Layout>
<Header Style="background-color: white;">
<Flex Justify="space-between" Align="flex-start">
<Flex Justify="FlexJustify.SpaceBetween" Align="FlexAlign.FlexStart">
<div class="top-row ps-3 navbar">
<div class="container-fluid">
<Title>
Expand Down Expand Up @@ -62,7 +62,7 @@
{
<DynamicComponent Type="@Frame" Parameters="@(new Dictionary<string, object>() { { "Video", VideoObject } })"/>

<AntDesign.Text Type="secondary">
<AntDesign.Text Type="TextElementType.Secondary">
@if (VideoObject.Views > 0)
{
<span>@VideoObject.Views.ToMetric() views &#x2022; </span>
Expand Down
2 changes: 1 addition & 1 deletion MediaFeeder/MediaFeeder/Components/Tree/TreeView.razor
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@using MediaFeeder.Data
<Flex Vertical="true">
<Flex Justify="space-evenly">
<Flex Justify="FlexJustify.SpaceEvenly">
<Tooltip Title="Add Subscription">
<Button Icon="@(IconType.Outline.AppstoreAdd)"></Button>
</Tooltip>
Expand Down
2 changes: 1 addition & 1 deletion MediaFeeder/MediaFeeder/Components/VideoCard.razor
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<CardMeta
Title="@Video.Name"
Description="@Video.Description.Truncate(120)"/>
<AntDesign.Text Type="secondary">
<AntDesign.Text Type="TextElementType.Secondary">
@Video.Views.ToMetric() Views
@Video.PublishDate.Humanize()
Expand Down
2 changes: 1 addition & 1 deletion MediaFeeder/MediaFeeder/MediaFeeder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AntDesign" Version="1.0.1"/>
<PackageReference Include="AntDesign" Version="1.1.0" />
<PackageReference Include="Blazored.Video" Version="1.0.1" />
<PackageReference Include="Grpc.AspNetCore" Version="2.67.0" />
<PackageReference Include="Grpc.AspNetCore.HealthChecks" Version="2.67.0" />
Expand Down

0 comments on commit e1553a5

Please sign in to comment.