Edited: small changes in header

This commit is contained in:
Filip Rojek 2024-12-27 15:26:08 +01:00
parent e0dfc7120f
commit 1ff7fc454f

View File

@ -17,14 +17,14 @@
<header>
<div id="hd-left">
<a href="/"><img src="/img/logo.jpg" alt="home"></a>
<a href="/"><?= $data['title'] ?></a>
<label><?= $data['title'] ?></label>
</div>
<div id="hd-right">
<?php if (!isset($_SESSION['user'])): ?>
<a href="/auth/signin">Log In</a>
<a href="/auth/signup">Sign Up</a>
<?php else: ?>
<a href="/auth/logout">Log Out</a>
<a href="/auth/logout">Sign out</a>
<?php endif; ?>
</div>
</header>