diff options
Diffstat (limited to 'frontend/src/components/Layout.tsx')
| -rw-r--r-- | frontend/src/components/Layout.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index d8613d5..9a7576e 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -61,12 +61,14 @@ export default function Layout({ <nav className="bg-gray-900 p-4 mt-0 w-full"> <div className="container mx-auto flex items-center"> <div className="flex text-white font-extrabold"> - {/*th:if="${(user == null || user.username == null)}"*/} <a className="flex text-white text-base no-underline whitespace-nowrap hover:text-white hover:no-underline" href="#" > - ☕ {user.value === null ? "Spring!" : user.value} + ☕{" "} + {user.value === null + ? "Spring!" + : `Logged in as: ${user.value}`} <span className="hidden w-0 md:w-auto md:block pl-1"></span> </a> </div> |
