-
-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathDocsMainLayout.razor.cs
More file actions
89 lines (80 loc) · 10.4 KB
/
DocsMainLayout.razor.cs
File metadata and controls
89 lines (80 loc) · 10.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
namespace BlazorBootstrap.Demo.RCL;
public partial class DocsMainLayout : MainLayoutBase
{
internal override IEnumerable<NavItem> GetNavItems()
{
navItems ??= new List<NavItem>
{
new (){ Id = "1", Text = "Getting Started", Href = DemoRouteConstants.Docs_URL_GettingStarted, IconName = IconName.HouseDoorFill },
new (){ Id = "2", Text = "Layout", IconName = IconName.LayoutTextWindowReverse, IconColor = IconColor.Success },
new (){ Id = "200", Text = "Blazor Bootstrap Layout", Href = DemoRouteConstants.Docs_URL_Layout, IconName = IconName.BrowserEdge, ParentId = "2" },
new (){ Id = "3", Text = "Content", IconName = IconName.BodyText, IconColor = IconColor.Primary },
new (){ Id = "300", Text = "Icons", Href = DemoRouteConstants.Docs_URL_Icons, IconName = IconName.PersonSquare, ParentId = "3" },
new (){ Id = "301", Text = "Images", Href = DemoRouteConstants.Docs_URL_Images, IconName = IconName.Image, ParentId = "3" },
new (){ Id = "4", Text = "Forms", IconName = IconName.InputCursorText, IconColor = IconColor.Success },
new (){ Id = "400", Text = "Auto Complete", Href = DemoRouteConstants.Docs_URL_AutoComplete, IconName = IconName.InputCursorText, ParentId = "4" },
new (){ Id = "401", Text = "Checkbox Input", Href = DemoRouteConstants.Docs_URL_CheckboxInput, IconName = IconName.CheckSquareFill, ParentId = "4" },
new (){ Id = "402", Text = "Currency Input", Href = DemoRouteConstants.Docs_URL_CurrencyInput, IconName = IconName.CurrencyDollar, ParentId = "4" },
new (){ Id = "403", Text = "Date Input", Href = DemoRouteConstants.Docs_URL_DateInput, IconName = IconName.CalendarDate, ParentId = "4" },
new (){ Id = "404", Text = "Enum Input", Href = DemoRouteConstants.Docs_URL_EnumInput, IconName = IconName.MenuButtonWideFill, ParentId = "4" },
new (){ Id = "405", Text = "Number Input", Href = DemoRouteConstants.Docs_URL_NumberInput, IconName = IconName.InputCursor, ParentId = "4" },
new (){ Id = "406", Text = "Password Input", Href = DemoRouteConstants.Docs_URL_PasswordInput, IconName = IconName.EyeSlashFill, ParentId = "4" },
new (){ Id = "407", Text = "Radio Input", Href = DemoRouteConstants.Docs_URL_RadioInput, IconName = IconName.RecordCircle, ParentId = "4" },
new (){ Id = "408", Text = "Range Input", Href = DemoRouteConstants.Docs_URL_RangeInput, IconName = IconName.Sliders, ParentId = "4" },
//new (){ Id = "404", Text = "Select Input", Href = DemoRouteConstants.Docs_URL_SelectInput, IconName = IconName.MenuButtonWideFill, ParentId = "4" },
new (){ Id = "409", Text = "Switch", Href = DemoRouteConstants.Docs_URL_Switch, IconName = IconName.ToggleOn, ParentId = "4" },
new (){ Id = "410", Text = "Text Input", Href = DemoRouteConstants.Docs_URL_TextInput, IconName = IconName.InputCursorText, ParentId = "4" },
new (){ Id = "411", Text = "Text Area Input", Href = DemoRouteConstants.Docs_URL_TextAreaInput, IconName = IconName.InputCursorText, ParentId = "4" },
new (){ Id = "412", Text = "Time Input", Href = DemoRouteConstants.Docs_URL_TimeInput, IconName = IconName.ClockFill, ParentId = "4" },
new (){ Id = "5", Text = "Components", IconName = IconName.GearFill, IconColor = IconColor.Danger },
new (){ Id = "500", Text = "Accordion", Href = DemoRouteConstants.Docs_URL_Accordion, IconName = IconName.ChevronBarExpand, ParentId = "5" },
new (){ Id = "501", Text = "Alerts", Href = DemoRouteConstants.Docs_URL_Alerts, IconName = IconName.CheckCircleFill, ParentId = "5" },
new (){ Id = "502", Text = "Badge", Href = DemoRouteConstants.Docs_URL_Badge, IconName = IconName.AppIndicator, ParentId = "5" },
new (){ Id = "503", Text = "Breadcrumb", Href = DemoRouteConstants.Docs_URL_Breadcrumb, IconName = IconName.SegmentedNav, ParentId = "5" },
new (){ Id = "504", Text = "Buttons", Href = DemoRouteConstants.Docs_URL_Buttons, IconName = IconName.ToggleOn, ParentId = "5" },
new (){ Id = "505", Text = "Callout", Href = DemoRouteConstants.Docs_URL_Callout, IconName = IconName.StickyFill, ParentId = "5" },
new (){ Id = "506", Text = "Card", Href = DemoRouteConstants.Docs_URL_Card, IconName = IconName.CardHeading, ParentId = "5" },
new (){ Id = "507", Text = "Carousel", Href = DemoRouteConstants.Docs_URL_Carousel, IconName = IconName.CollectionPlayFill, ParentId = "5" },
new (){ Id = "508", Text = "Charts", Href = DemoRouteConstants.Docs_URL_BarChart, IconName = IconName.BarChartLineFill, ParentId = "5", Match = NavLinkMatch.All },
new (){ Id = "509", Text = "Collapse", Href = DemoRouteConstants.Docs_URL_Collapse, IconName = IconName.ArrowsCollapse, ParentId = "5" },
new (){ Id = "510", Text = "Confirm Dialog", Href = DemoRouteConstants.Docs_URL_ConfirmDialog, IconName = IconName.QuestionDiamondFill, ParentId = "5" },
new (){ Id = "511", Text = "Dropdown", Href = DemoRouteConstants.Docs_URL_Dropdown, IconName = IconName.MenuButtonWideFill, ParentId = "5" },
new (){ Id = "512", Text = "Google Map", Href = DemoRouteConstants.Docs_URL_GoogleMap, IconName = IconName.Map, ParentId = "5" },
new (){ Id = "513", Text = "Grid", Href = DemoRouteConstants.Docs_URL_Grid, IconName = IconName.Grid, ParentId = "5" },
new (){ Id = "514", Text = "Markdown", Href = DemoRouteConstants.Docs_URL_Markdown, IconName = IconName.MarkdownFill, ParentId = "5" },
new (){ Id = "514", Text = "Modals", Href = DemoRouteConstants.Docs_URL_Modal, IconName = IconName.WindowStack, ParentId = "5" },
new (){ Id = "515", Text = "Offcanvas", Href = DemoRouteConstants.Docs_URL_Offcanvas, IconName = IconName.LayoutSidebarReverse, ParentId = "5" },
new (){ Id = "516", Text = "Pagination", Href = DemoRouteConstants.Docs_URL_Pagination, IconName = IconName.ThreeDots, ParentId = "5" },
new (){ Id = "517", Text = "PDF Viewer", Href = DemoRouteConstants.Docs_URL_PDFViewer, IconName = IconName.FilePdfFill, ParentId = "5" },
new (){ Id = "518", Text = "Placeholders", Href = DemoRouteConstants.Docs_URL_Placeholders, IconName = IconName.ColumnsGap, ParentId = "5" },
new (){ Id = "519", Text = "Preload", Href = DemoRouteConstants.Docs_URL_Preload, IconName = IconName.ArrowClockwise, ParentId = "5" },
new (){ Id = "520", Text = "Progress", Href = DemoRouteConstants.Docs_URL_Progress, IconName = IconName.UsbC, ParentId = "5" },
new (){ Id = "521", Text = "Ribbon", Href = DemoRouteConstants.Docs_URL_Ribbon, IconName = IconName.WindowStack, ParentId = "5" },
new (){ Id = "522", Text = "Script Loader", Href = DemoRouteConstants.Docs_URL_ScriptLoader, IconName = IconName.CodeSlash, ParentId = "5" },
new (){ Id = "523", Text = "Sidebar", Href = DemoRouteConstants.Docs_URL_Sidebar, IconName = IconName.LayoutSidebar, ParentId = "5" },
new (){ Id = "524", Text = "Sidebar 2", Href = DemoRouteConstants.Docs_URL_Sidebar2, IconName = IconName.ListNested, ParentId = "5" },
new (){ Id = "525", Text = "Sortable List", Href = DemoRouteConstants.Docs_URL_SortableList, IconName = IconName.ArrowsMove, ParentId = "5" },
new (){ Id = "526", Text = "Spinner", Href = DemoRouteConstants.Docs_URL_Spinners, IconName = IconName.ArrowRepeat, ParentId = "5" },
new (){ Id = "527", Text = "Tabs", Href = DemoRouteConstants.Docs_URL_Tabs, IconName = IconName.WindowPlus, ParentId = "5" },
new (){ Id = "528", Text = "Theme Switcher", Href = DemoRouteConstants.Docs_URL_ThemeSwitcher, IconName = IconName.NintendoSwitch, ParentId = "5" },
new (){ Id = "529", Text = "Toasts", Href = DemoRouteConstants.Docs_URL_Toasts, IconName = IconName.ExclamationTriangleFill, ParentId = "5" },
new (){ Id = "530", Text = "Tooltips", Href = DemoRouteConstants.Docs_URL_Tooltips, IconName = IconName.ChatSquareDotsFill, ParentId = "5" },
new (){ Id = "6", Text = "Data Visualization", IconName = IconName.BarChartFill, IconColor = IconColor.Warning },
new (){ Id = "600", Text = "Bar Chart", Href = DemoRouteConstants.Docs_URL_BarChart, IconName = IconName.BarChartFill, ParentId = "6", Match = NavLinkMatch.All },
new (){ Id = "601", Text = "Doughnut Chart", Href = DemoRouteConstants.Docs_URL_DoughnutChart, IconName = IconName.CircleFill, ParentId = "6", Match = NavLinkMatch.All },
new (){ Id = "602", Text = "Line Chart", Href = DemoRouteConstants.Docs_URL_LineChart, IconName = IconName.GraphUp, ParentId = "6", Match = NavLinkMatch.All },
new (){ Id = "603", Text = "Pie Chart", Href = DemoRouteConstants.Docs_URL_PieChart, IconName = IconName.PieChartFill, ParentId = "6", Match = NavLinkMatch.All },
new (){ Id = "604", Text = "Polar Area Chart", Href = DemoRouteConstants.Docs_URL_PolarAreaChart, IconName = IconName.PieChartFill, ParentId = "6", Match = NavLinkMatch.All },
new (){ Id = "605", Text = "Radar Chart", Href = DemoRouteConstants.Docs_URL_RadarChart, IconName = IconName.Radar, ParentId = "6", Match = NavLinkMatch.All },
new (){ Id = "605", Text = "Scatter Chart", Href = DemoRouteConstants.Docs_URL_ScatterChart, IconName = IconName.GraphUpArrow, ParentId = "6", Match = NavLinkMatch.All },
new(){ Id = "7", Text = "Services", IconName = IconName.WrenchAdjustableCircleFill, IconColor = IconColor.Success },
new (){ Id = "700", Text = "Breadcrumb Service", Href = DemoRouteConstants.Docs_URL_BreadcrumbService, IconName = IconName.SegmentedNav, ParentId = "7" },
new (){ Id = "701", Text = "Modal Service", Href = DemoRouteConstants.Docs_URL_ModalService, IconName = IconName.WindowStack, ParentId = "7" },
new (){ Id = "702", Text = "Preload Service", Href = DemoRouteConstants.Docs_URL_PreloadService, IconName = IconName.ArrowRepeat, ParentId = "7" },
new (){ Id = "703", Text = "Toast Service", Href = DemoRouteConstants.Docs_URL_ToastService, IconName = IconName.InfoCircleFill, ParentId = "7" },
//new(){ Id = "19", Text = "Utilities", IconName = IconName.GearWideConnected, IconColor = IconColor.Info },
//new (){ Id = "1900", Text = "Color Utility", Href = DemoRouteConstants.Docs_URL_ColorUtils, IconName = IconName.Palette2, ParentId = "19" },
};
return navItems;
}
}