Edited: Login and Signup pages are now styled, Added: App logo

This commit is contained in:
2024-12-26 23:25:34 +01:00
parent 43960ddcb9
commit d33d233f0f
9 changed files with 127 additions and 4 deletions

View File

@ -1,4 +1,10 @@
<link rel="stylesheet" href="/css/login.css">
<section class="signin">
<div class="header-form">
<img src="/img/logo.jpg" alt="Habit Tracker Logo">
<h1>Sign in to Habit Tracker</h1>
</div>
<?php if ($this->get('error')): ?>
<div class="error"><?= $this->get('error') ?></div>
<?php endif; ?>

View File

@ -1,4 +1,10 @@
<section class="signup">
<link rel="stylesheet" href="/css/login.css">
<section class="signin">
<div class="header-form">
<img src="/img/logo.jpg" alt="Habit Tracker Logo">
<h1>Sign up to Habit Tracker</h1>
</div>
<?php if ($this->get('error')): ?>
<div class="error"><?= $this->get('error') ?></div>
<?php endif; ?>

View File

@ -3,6 +3,9 @@
<head>
<meta charset="utf-8">
<title>Habit Tracker | <?= $data['title'] ?></title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/global.css">
<link rel="stylesheet" href="/css/vars.css">
</head>
<body>
<header>
@ -10,8 +13,8 @@
<a href="/auth/signup">Sign Up</a>
<a href="/auth/logout">Log Out</a>
</header>
<section class="content">
<main class="content">
<?= $content ?>
</section>
</main>
</body>
</html>