diff --git a/src/Pure.Blazor.Components/Display/PureCard.razor b/src/Pure.Blazor.Components/Display/PureCard.razor
index b2d20d6..e2a2852 100644
--- a/src/Pure.Blazor.Components/Display/PureCard.razor
+++ b/src/Pure.Blazor.Components/Display/PureCard.razor
@@ -4,25 +4,27 @@
@if (Alignment == PureCardAlignment.Top)
{
-
+
@if (!string.IsNullOrWhiteSpace(ImageUrl))
{
-
+
}
+
+
@if (!string.IsNullOrWhiteSpace(Title))
{
@Title
}
-
+
@ChildContent
-
+
}
else
{
-
+
@if (!string.IsNullOrWhiteSpace(ImageUrl))
{
@@ -34,7 +36,7 @@ else
{
@Title
}
-
@ChildContent
+
@ChildContent
@@ -47,4 +49,5 @@ else
[Parameter] public PureCardAlignment Alignment { get; set; }
[Parameter] public string? ImageUrl { get; set; }
+ [Parameter] public string? ImageAlt { get; set; }
}
diff --git a/src/Pure.Blazor.Components/Pure.Blazor.Components.csproj b/src/Pure.Blazor.Components/Pure.Blazor.Components.csproj
index 0acc672..088da9a 100644
--- a/src/Pure.Blazor.Components/Pure.Blazor.Components.csproj
+++ b/src/Pure.Blazor.Components/Pure.Blazor.Components.csproj
@@ -7,7 +7,7 @@
preview
True
PureBlazor Components
-
0.3.0
+
0.4.0
PureBlazor.Components
Blazor UI components for .NET Blazor with an optional headless mode.
https://pureblazor.com