Skip to content

Commit

Permalink
make the sponsor ad image slightly smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Dec 8, 2024
1 parent b0c877f commit dfd2170
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web/Jordnaer/Features/Ad/SponsorAd.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<div class="image-ad-wrapper">
<div class="image-with-label">
<MudHidden Breakpoint="Breakpoint.SmAndDown" Invert>
<MudImage Src="@MobileImagePath" Fluid="Fluid" Alt="@ImageAlt" Class="@Class" loading="lazy" />
<MudImage Src="@MobileImagePath" Height="450" Alt="@ImageAlt" Class="@Class" loading="lazy" />
</MudHidden>
<MudHidden Breakpoint="Breakpoint.SmAndDown">
<MudImage Src="@DesktopImagePath" Fluid="Fluid" Alt="@ImageAlt" Class="@Class" loading="lazy" />
<MudImage Src="@DesktopImagePath" Height="500" Alt="@ImageAlt" Class="@Class" loading="lazy" />
</MudHidden>
<div class="image-ad-label">Sponsor reklame</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/web/Jordnaer/Pages/UserSearch/UserSearch.razor
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
Link="https://www.mooncreative.dk/" />

<UserSearchResultComponent Filter="_filter" SearchResult="_searchResult" SelectedPageChanged="@OnSelectedPageChanged" />

</MudLoading>

@code {
Expand Down

0 comments on commit dfd2170

Please sign in to comment.