2026-03-21 18:05:06 +01:00
|
|
|
namespace AIStudio.Settings.DataModel;
|
|
|
|
|
|
|
|
|
|
public static class StartPageExtensions
|
|
|
|
|
{
|
2026-11-04 10:46:18 +01:00
|
|
|
extension(StartPage startPage)
|
2026-03-21 18:05:06 +01:00
|
|
|
{
|
2026-11-04 13:00:56 +01:00
|
|
|
public string Route => startPage switch
|
2026-11-04 10:46:18 +01:00
|
|
|
{
|
|
|
|
|
StartPage.HOME => string.Empty,
|
|
|
|
|
StartPage.CHAT => Routes.CHAT,
|
|
|
|
|
StartPage.ASSISTANTS => Routes.ASSISTANTS,
|
|
|
|
|
StartPage.INFORMATION => Routes.ABOUT,
|
|
|
|
|
StartPage.PLUGINS => Routes.PLUGINS,
|
|
|
|
|
StartPage.SUPPORTERS => Routes.SUPPORTERS,
|
|
|
|
|
StartPage.SETTINGS => Routes.SETTINGS,
|
2026-03-21 18:05:06 +01:00
|
|
|
|
2026-11-04 10:46:18 +01:00
|
|
|
_ => string.Empty,
|
|
|
|
|
};
|
|
|
|
|
}
|
2026-03-21 18:05:06 +01:00
|
|
|
}
|