LANCommander/LANCommander.Server/UI/Shared/BasicLayout.razor
Pat Hartl 86c906f8db Add project for automated tests
Had to remove the responsibility of providing the current version of the application from UpdateService. A new IVersionProvider can be used to get the version. This also allows for this to be mocked in tests.
2025-03-15 21:00:00 -05:00

12 lines
No EOL
318 B
Text

@inherits LayoutComponentBase
@inject IVersionProvider VersionProvider
<Layout Class="layout">
<Content Style="padding: 24px;">
@Body
</Content>
<Footer Style="text-align: center; padding-top: 0;">
LANCommander v@(VersionProvider.GetCurrentVersion().ToString())
</Footer>
</Layout>