Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blazor sample #46

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Blazor sample #46

wants to merge 3 commits into from

Commits on Mar 24, 2024

  1. Added sample code from surevelox:ns/blazor-sample. Made sure pagetitl…

    …e is present on content page. Made content page handle when content is not present.
    psijkof committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    56e810b View commit details
    Browse the repository at this point in the history
  2. Inject NavigationManager and add interactive button

    In `App.razor`, the `NavigationManager` is now injected to dynamically set the `_baseUrl` variable, which is used to set the base href in the HTML head. A new interactive button has been added in `InteractiveButton.razor` that updates a feedback message with the current local time. The navigation menu in `NavMenu.razor` has been restructured, removing unnecessary div elements and adding a new navigation link to the "Base Url" page. A new page has been created in `BaseUrl.razor` to display various base URLs and an interactive button.
    psijkof committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    204b5d9 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Remove IHttpContextAccessor from BaseUrl.razor

    Removed the `IHttpContextAccessor` dependency injection named `OrchardHelper` from the `BaseUrl.razor` file. This change simplifies the code and reduces dependencies.
    psijkof committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    5d43bd0 View commit details
    Browse the repository at this point in the history