Added: MVC structure, Router, Views and Controllers for home page and login/signup
This commit is contained in:
16
app/views/layouts/base.php
Normal file
16
app/views/layouts/base.php
Normal file
@ -0,0 +1,16 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Habit Tracker | <?= $data['title'] ?></title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<a href="/auth/signin">Log In</a>
|
||||
<a href="/auth/signup">Sign Up</a>
|
||||
</header>
|
||||
<section class="content">
|
||||
<?= $content ?>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user