diff --git a/Src/NationsConverterWeb/NationsConverterWeb/Components/Pages/Dashboard.razor b/Src/NationsConverterWeb/NationsConverterWeb/Components/Pages/Dashboard.razor
index 8f6d7efa..e30e95ce 100644
--- a/Src/NationsConverterWeb/NationsConverterWeb/Components/Pages/Dashboard.razor
+++ b/Src/NationsConverterWeb/NationsConverterWeb/Components/Pages/Dashboard.razor
@@ -29,14 +29,34 @@
Developers & Modelers
@foreach (var discordUser in discordUsers.Where(x => x.User.IsStaff))
{
- @(discordUser.GlobalName ?? discordUser.Username)
+
+ @if (discordUser.AvatarHash is null)
+ {
+
+ }
+ else
+ {
+
+ }
+
@(discordUser.GlobalName ?? discordUser.Username)
+
}
Supporters
@if (discordUsers.Any(x => !x.User.IsStaff))
{
@foreach (var discordUser in discordUsers.Where(x => !x.User.IsStaff))
{
- @(discordUser.GlobalName ?? discordUser.Username)
+
+ @if (discordUser.AvatarHash is null)
+ {
+
+ }
+ else
+ {
+
+ }
+
@(discordUser.GlobalName ?? discordUser.Username)
+
}
}
else
diff --git a/Src/NationsConverterWeb/NationsConverterWeb/Program.cs b/Src/NationsConverterWeb/NationsConverterWeb/Program.cs
index c6def3c6..38120d70 100644
--- a/Src/NationsConverterWeb/NationsConverterWeb/Program.cs
+++ b/Src/NationsConverterWeb/NationsConverterWeb/Program.cs
@@ -101,7 +101,8 @@
app.UseStaticFiles(new StaticFileOptions
{
FileProvider = new PhysicalFileProvider(Path.Combine(builder.Environment.ContentRootPath, "Items")),
- RequestPath = "/items"
+ RequestPath = "/items",
+ ServeUnknownFileTypes = true
});
app.UseDirectoryBrowser(new DirectoryBrowserOptions
diff --git a/Src/NationsConverterWeb/NationsConverterWeb/wwwroot/img/discord-no-pfp.webp b/Src/NationsConverterWeb/NationsConverterWeb/wwwroot/img/discord-no-pfp.webp
new file mode 100644
index 00000000..46452681
Binary files /dev/null and b/Src/NationsConverterWeb/NationsConverterWeb/wwwroot/img/discord-no-pfp.webp differ