amdp3-metaforums/Application/Views/layouts/head.php

24 lines
679 B
PHP
Raw Normal View History

2019-11-18 13:33:45 +00:00
<html>
<head>
<link href="/css/metaforums.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<title>Metaforums</title>
</head>
<body>
<header>
<div class="header-left">
<a href="/" class="header-link">Metaforums</a>
</div>
<div class="header-middle">
</div>
<div class="header-left">
<?php if($auth->isLoggedIn()) { ?>
<a href="/logout" class="header-link">Logout</a>
<?php } else {?>
<a href="/login" class="header-link">Login</a>
<a href="/signup" class="header-link">Signup</a>
<?php } ?>
</div>
</header>
<main>