Add project files.
This commit is contained in:
22
BlazorSyncfusionCrm/Client/Shared/NavBar.razor
Normal file
22
BlazorSyncfusionCrm/Client/Shared/NavBar.razor
Normal file
@ -0,0 +1,22 @@
|
||||
@inject NavigationManager NavigationManager
|
||||
|
||||
<SfAppBar ColorMode="AppBarColor.Primary">
|
||||
<SfButton CssClass="e-inherit" IconCss="e-icons e-home" Content="Home"
|
||||
OnClick="@(()=> NavigateToPage("/"))" />
|
||||
<SfButton CssClass="e-inherit" IconCss="e-icons e-user" Content="Contacts"
|
||||
OnClick="@(()=> NavigateToPage("/contacts"))" />
|
||||
<SfButton CssClass="e-inherit" IconCss="e-icons e-location" Content="Map"
|
||||
OnClick="@(()=> NavigateToPage("/map"))" />
|
||||
<SfButton CssClass="e-inherit" IconCss="e-icons e-notes" Content="Notes"
|
||||
OnClick="@(()=> NavigateToPage("/notes"))" />
|
||||
<AppBarSpacer></AppBarSpacer>
|
||||
<SfButton CssClass="e-inherit" IconCss="e-icons e-plus" Content="New Contact" />
|
||||
|
||||
</SfAppBar>
|
||||
|
||||
@code {
|
||||
void NavigateToPage(string page)
|
||||
{
|
||||
NavigationManager.NavigateTo(page);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user