Improvements for home page and formatting

This commit is contained in:
2025-12-11 14:17:33 -05:00
parent 8289b7139a
commit 27dc995bb8
4 changed files with 83 additions and 57 deletions
+16 -3
View File
@@ -16,9 +16,9 @@ namespace WebApp.Models
return loe switch
{
1 => "",
2 => "",
3 => "",
1 => "",
2 => "",
3 => "",
_ => Icons.Material.Filled.QuestionMark
};
}
@@ -31,6 +31,19 @@ namespace WebApp.Models
public static string PresentationEvent = "";
public static string QuestionMark = "❔";
// Tooltip mapping for icon unicode characters
public static Dictionary<string, string> IconTooltips => new()
{
{ OnSiteActivity, "On-Site Activity" },
{ RegionalEvent, "Regional Event" },
{ IndividualEvent, "Individual Event" },
{ PresubmissionEvent, "Presubmission" },
{ PresentationEvent, "Presentation/Interview" },
{ "①", "Level of Effort: 1" },
{ "②", "Level of Effort: 2" },
{ "③", "Level of Effort: 3" }
};
public static string EventEffort(EventDefinition eventDefinition)
{
return LevelOfEffortIcon(eventDefinition.LevelOfEffort);