Following the instructions in this article, I attempted to add icons to my app. Here is the link to the article:
In order to do so, I included the Bootstrap Icons font stylesheet in the Head section of App.razor:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="/" />
<link rel="stylesheet" href="bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="app.css" />
<link rel="stylesheet" href="MyApp.styles.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="32505d5d4641464053421f5b515d5c4172031c011c02">[email protected]</a>/font/bootstrap-icons.css">
<link rel="icon" type="image/png" href="favicon.png" />
<HeadOutlet />
</head>
<body>
I then attempted to use an icon from the provided list, for example:
<NavLink class="nav-link" href="Account/SignIn">
<i class="bi bi-0-circle"></i>
<span class="nav-menu" aria-hidden="true"></span> Sign In
</NavLink>
However, despite my efforts, the icon did not display properly. I even tried another method:
<span class="bi bi-0-circle nav-menu" aria-hidden="true"></span> Sign In
I am unsure why the icon is not showing up as expected. Can anyone help me troubleshoot this issue?