We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aab8dc commit e1f4745Copy full SHA for e1f4745
src/BootstrapBlazor.Server/Components/Samples/BootstrapBlazorIcons.razor
@@ -1,5 +1,6 @@
1
@page "/icon"
2
@inject IStringLocalizer<BootstrapBlazorIcons> Localizer
3
+@inject IOptions<WebsiteOptions> WebsiteOption
4
5
<h3>@Localizer["IconsTitle"]</h3>
6
@@ -24,6 +25,6 @@
24
25
26
<DemoBlock Title="@Localizer["ImageTitle"]" Introduction="@Localizer["ImageIntro"]" Name="Image">
27
<BootstrapBlazorIcon>
- <img src="./favicon.png" alt="img" />
28
+ <img src="@WebsiteOption.Value.GetAssetUrl("favicon.png")" alt="img" />
29
</BootstrapBlazorIcon>
30
</DemoBlock>
0 commit comments