|
11 | 11 | <div class="header">
|
12 | 12 | <div class="nav-container">
|
13 | 13 | <div class="menu-button">
|
14 |
| - <TelerikButton Icon="@IconName.Menu" OnClick="ToggleMenuDrawer" /> |
| 14 | + <TelerikButton Icon="menu" OnClick="ToggleMenuDrawer" /> |
15 | 15 | </div>
|
16 | 16 | <div class="title">
|
17 | 17 | <h1>Blazing Coffee Warehouse</h1>
|
18 | 18 | </div>
|
19 | 19 | @if (Layout.HasDocs)
|
20 | 20 | {
|
21 | 21 | <div class="information">
|
22 |
| - <TelerikButton Icon="@IconName.Information" OnClick="@(() => DocsExpanded = !DocsExpanded)" /> |
| 22 | + <TelerikButton Icon="information" OnClick="@(() => DocsExpanded = !DocsExpanded)" /> |
23 | 23 | </div>
|
24 | 24 | }
|
25 | 25 | <div class="settings">
|
26 |
| - <TelerikButton Icon="@IconName.Gear" OnClick="@(() => SettingsExpanded = !SettingsExpanded)" /> |
| 26 | + <TelerikButton Icon="gear" OnClick="@(() => SettingsExpanded = !SettingsExpanded)" /> |
27 | 27 | </div>
|
28 | 28 | </div>
|
29 | 29 | </div>
|
|
34 | 34 | <Template>
|
35 | 35 | <DrawTemplate Data="context"></DrawTemplate>
|
36 | 36 | </Template>
|
37 |
| - <Content> |
| 37 | + <DrawerContent> |
38 | 38 | @Body
|
39 |
| - </Content> |
| 39 | + </DrawerContent> |
40 | 40 | </TelerikDrawer>
|
41 | 41 | <TelerikWindow @bind-Visible="SettingsExpanded" Modal="true">
|
42 | 42 | <WindowTitle>
|
|
96 | 96 | new List<DrawerItem>
|
97 | 97 | {
|
98 | 98 | new DrawerItem{ Text = L["Home"], Icon = "home", Url="/blazor-coffee/", Group = "home"},
|
99 |
| - new DrawerItem{ Text = L["Sales"], Icon = IconName.Dollar, Url="/blazor-coffee/sales", Group = "app"}, |
100 |
| - new DrawerItem{ Text = L["HumanCapital"], Icon = IconName.TellAFriend, Url="/blazor-coffee/manage-employees", Group = "app"}, |
101 |
| - new DrawerItem{ Text = L["ManageProducts"], Icon = IconName.Grid, Url="/blazor-coffee/manage-products", Group = "app"}, |
102 |
| - new DrawerItem{ Text = "GitHub", Icon = IconName.Share, Url="https://github.com/telerik/blazor-ui/tree/master/sample-applications/blazing-coffee", Group = "ext"}, |
103 |
| - new DrawerItem{ Text = "Telerik", Icon = IconName.HyperlinkGlobe, Url="https://telerik.com", Group = "ext"}, |
104 |
| - new DrawerItem{ Text = L["Documentation"], Icon = IconName.Html, Url="https://docs.telerik.com/blazor-ui/introduction", Group = "ext"}, |
105 |
| - new DrawerItem{ Text = L["Support"], Icon = IconName.Question, Url="https://www.telerik.com/account/support-tickets", Group = "ext"} |
| 99 | + new DrawerItem{ Text = L["Sales"], Icon = "dollar", Url="/blazor-coffee/sales", Group = "app"}, |
| 100 | + new DrawerItem{ Text = L["HumanCapital"], Icon = "tell-a-friend", Url="/blazor-coffee/manage-employees", Group = "app"}, |
| 101 | + new DrawerItem{ Text = L["ManageProducts"], Icon = "grid", Url="/blazor-coffee/manage-products", Group = "app"}, |
| 102 | + new DrawerItem{ Text = "GitHub", Icon = "share", Url="https://github.com/telerik/blazor-ui/tree/master/sample-applications/blazing-coffee", Group = "ext"}, |
| 103 | + new DrawerItem{ Text = "Telerik", Icon = "hyperlink-globe", Url="https://www.telerik.com", Group = "ext"}, |
| 104 | + new DrawerItem{ Text = L["Documentation"], Icon = "html", Url="https://docs.telerik.com/blazor-ui/introduction", Group = "ext"}, |
| 105 | + new DrawerItem{ Text = L["Support"], Icon = "question", Url="https://www.telerik.com/account/support-tickets", Group = "ext"} |
106 | 106 | };
|
107 | 107 |
|
108 | 108 | async Task ToggleMenuDrawer()
|
|
0 commit comments