diff options
| author | realtradam <[email protected]> | 2024-07-27 23:55:51 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-07-27 23:55:51 -0400 |
| commit | c24839e8f8b4b6868f8ee383b589ce01dcdc81e1 (patch) | |
| tree | b8678e31f75ad441affc8c89aea0e349337a9c8a /frontend/src/components | |
| parent | 55ec4c9dbd9fa1b98cab03f046c98d33125fb484 (diff) | |
| download | spring-blog-c24839e8f8b4b6868f8ee383b589ce01dcdc81e1.tar.gz spring-blog-c24839e8f8b4b6868f8ee383b589ce01dcdc81e1.zip | |
cleanup frontend
Diffstat (limited to 'frontend/src/components')
| -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> |
