Addet a backbutton to home page and fix the pr error

This commit is contained in:
2026-08-27 10:18:48 +02:00
parent 8de6ff9338
commit 770e170d0e
4 changed files with 61 additions and 8 deletions

View File

@@ -1,8 +1,22 @@
@rendermode InteractiveServer
@rendermode InteractiveServer
@implements IDisposable
@inject NavigationManager NavigationManager
<header class="top-nav">
<div class="brand">Blomster POS</div>
<div class="nav-start">
@if (!IsHomePage)
{
<button class="home-button"
type="button"
title="Tilbage til forsiden"
aria-label="Tilbage til forsiden"
@onclick="GoToHome">
</button>
}
<div class="brand">Blomster POS</div>
</div>
<time datetime="@_currentTime.ToString("O")">
@_currentTime.ToString(