feat(Icons) Added font awesome icons (#29)

This commit is contained in:
2022-05-02 01:03:04 -04:00
committed by GitHub
parent a64d59bb46
commit 2465433b5f
18 changed files with 110 additions and 32 deletions
@@ -7,7 +7,7 @@
{
<div class="mobileNavSectionButton" @onclick="() => OnSectionClicked(webSection)" @onclick:preventDefault="true" @onclick:stopPropagation="true">
<div class="mobileNavSectionButtonText">
@webSection?.Name
<i class="fa-solid @webSection.Icon" style="font-size: 28px;"></i>
</div>
</div>
}
@@ -96,6 +96,7 @@
border: 1px solid var(--primary);
width: 100%;
height: 64px;
border-radius: 2px;
display: flex;
background-color: var(--primary);
cursor: pointer;
@@ -146,7 +147,7 @@
@code {
#if NO_SQL
[Parameter]
public List<WebSectionModel?> WebSections { get; set; } = default!;
public List<WebSectionModel> WebSections { get; set; } = default!;
[Parameter]
public List<WebPageModel> WebPages { get; set; } = default!;