diff --git a/TaikoWebUI/Pages/Profile.razor b/TaikoWebUI/Pages/Profile.razor
index 39afad8..7c251e9 100644
--- a/TaikoWebUI/Pages/Profile.razor
+++ b/TaikoWebUI/Pages/Profile.razor
@@ -3,9 +3,11 @@
@inject IGameDataService GameDataService
@inject IDialogService DialogService
@inject LoginService LoginService
+@inject IJSRuntime JS
+
Profile
@if (LoginService.LoginRequired)
{
@@ -35,10 +37,9 @@ else
Profile Options
-
-
+
@@ -50,10 +51,10 @@ else
-
+
-
+
Select a Title
@@ -68,7 +69,7 @@ else
-
+
@foreach (var item in Enum.GetValues())
@@ -76,12 +77,12 @@ else
}
-
+
-
+
@@ -93,7 +94,7 @@ else
@DifficultySettingCourseStrings[index]
}
-
+
@for (uint i = 0; i < DifficultySettingStarStrings.Length; i++)
{
@@ -101,7 +102,7 @@ else
@DifficultySettingStarStrings[index]
}
-
+
@for (uint i = 0; i < DifficultySettingSortStrings.Length; i++)
{
@@ -114,7 +115,7 @@ else
-
+
Costume Options
@@ -129,7 +130,7 @@ else
@index - @costumeTitle
}
-
+
@for (var i = 0; i < costumeFlagArraySizes[2]; i++)
{
@@ -138,7 +139,7 @@ else
@index - @costumeTitle
}
-
+
@for (var i = 0; i < costumeFlagArraySizes[3]; i++)
{
@@ -147,7 +148,7 @@ else
@index - @costumeTitle
}
-
+
@for (var i = 0; i < costumeFlagArraySizes[0]; i++)
{
@@ -156,7 +157,7 @@ else
@index - @costumeTitle
}
-
+
@for (var i = 0; i < costumeFlagArraySizes[4]; i++)
{
@@ -166,7 +167,7 @@ else
}
-
+
@for (uint i = 0; i < Constants.COSTUME_COLOR_MAX; i++)
@@ -203,7 +204,7 @@ else
-
+
Song Options
@@ -225,7 +226,7 @@ else
@SpeedStrings[index]
}
-
+
@foreach (var item in Enum.GetValues())
@@ -233,7 +234,7 @@ else
}
-
+
@for (uint i = 0; i < ToneStrings.Length; i++)
{
@@ -241,7 +242,7 @@ else
@ToneStrings[index]
}
-
+
Notes Position
@@ -253,40 +254,60 @@ else
-
-
+
+
-
+
-
- @if (response.Kigurumi == 0)
- {
-
-
-
+ @* Player Visualizer *@
+
+
+ @if (response.Kigurumi == 0)
+ {
+
+
+
+
+
+
+
+ }
+ else
+ {
+
+
+
+ }
+
+
+
-
-
-
-
- }
- else
+ @* Player Nameplate *@
+
+ @* Title text *@
+
+
+ @response.Title
+
+
+ @* Name text *@
+
+ @* Name textoffset to the right for Dan Rank *@
+
+ @response.MyDonName
+ @response.MyDonName
+
+
+
+
+ @if (response.IsDisplayDanOnNamePlate)
{
-
-
-
+
}
-
-
-
+
- @*
- Share
- Learn More
- *@
-
+
}
+}
+
+@code {
+ private async Task UpdateMyDonName()
+ {
+ @if (response is not null) await JS.InvokeVoidAsync("updateMyDonName", response.MyDonName);
+ }
+
+ private async Task UpdateTitle()
+ {
+ @if (response is not null) await JS.InvokeVoidAsync("updateTitle", response.Title);
+ }
}
\ No newline at end of file
diff --git a/TaikoWebUI/Pages/Profile.razor.cs b/TaikoWebUI/Pages/Profile.razor.cs
index d560526..1d3bb07 100644
--- a/TaikoWebUI/Pages/Profile.razor.cs
+++ b/TaikoWebUI/Pages/Profile.razor.cs
@@ -35,20 +35,15 @@ public partial class Profile
"masks/body-bodymask-0070", "masks/body-bodymask-0092", "masks/body-bodymask-0121",
"masks/body-bodymask-0123", "masks/body-bodymask-0127", "masks/body-bodymask-0136",
"masks/body-bodymask-0153",
-
"masks/body-facemask-0005", "masks/body-facemask-0015", "masks/body-facemask-0030",
"masks/body-facemask-0064", "masks/body-facemask-0065", "masks/body-facemask-0069",
"masks/body-facemask-0090", "masks/body-facemask-0092", "masks/body-facemask-0136",
"masks/body-facemask-0151", "masks/body-facemask-0152", "masks/body-facemask-0153",
-
"masks/head-bodymask-0113", "masks/head-bodymask-0138",
-
"masks/head-facemask-0003", "masks/head-facemask-0113", "masks/head-facemask-0137",
"masks/head-facemask-0138",
-
"masks/kigurumi-bodymask-0052", "masks/kigurumi-bodymask-0109", "masks/kigurumi-bodymask-0110",
"masks/kigurumi-bodymask-0115", "masks/kigurumi-bodymask-0123",
-
"masks/kigurumi-facemask-0052", "masks/kigurumi-facemask-0109", "masks/kigurumi-facemask-0110",
"masks/kigurumi-facemask-0115", "masks/kigurumi-facemask-0123",
};
diff --git a/TaikoWebUI/wwwroot/css/Nijiiro.woff2 b/TaikoWebUI/wwwroot/css/Nijiiro.woff2
new file mode 100644
index 0000000..a595281
Binary files /dev/null and b/TaikoWebUI/wwwroot/css/Nijiiro.woff2 differ
diff --git a/TaikoWebUI/wwwroot/css/app.css b/TaikoWebUI/wwwroot/css/app.css
index 8c8d833..b1daabe 100644
--- a/TaikoWebUI/wwwroot/css/app.css
+++ b/TaikoWebUI/wwwroot/css/app.css
@@ -1,5 +1,10 @@
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
+@font-face {
+ font-family: 'Nijiiro';
+ src: url('Nijiiro.woff2') format('woff2')
+}
+
html, body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate.png
new file mode 100644
index 0000000..1841a32
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate.png differ
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_1.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_1.png
new file mode 100644
index 0000000..6790ccf
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_1.png differ
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_2.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_2.png
new file mode 100644
index 0000000..6790ccf
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_2.png differ
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_3.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_3.png
new file mode 100644
index 0000000..6790ccf
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_3.png differ
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_4.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_4.png
new file mode 100644
index 0000000..6790ccf
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_AI_4.png differ
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate_dan.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_dan.png
new file mode 100644
index 0000000..71ebf4c
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_dan.png differ
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate_gold.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_gold.png
new file mode 100644
index 0000000..e4e199c
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_gold.png differ
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate_purple.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_purple.png
new file mode 100644
index 0000000..c1e78ea
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_purple.png differ
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate_rainbow.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_rainbow.png
new file mode 100644
index 0000000..4718b5e
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_rainbow.png differ
diff --git a/TaikoWebUI/wwwroot/images/Nameplates/nameplate_wood.png b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_wood.png
new file mode 100644
index 0000000..fa7cda8
Binary files /dev/null and b/TaikoWebUI/wwwroot/images/Nameplates/nameplate_wood.png differ
diff --git a/TaikoWebUI/wwwroot/index.html b/TaikoWebUI/wwwroot/index.html
index 567bbd7..de7cf5a 100644
--- a/TaikoWebUI/wwwroot/index.html
+++ b/TaikoWebUI/wwwroot/index.html
@@ -16,8 +16,8 @@
@@ -29,6 +29,8 @@
+
+