Added: MVC structure, Router, Views and Controllers for home page and login/signup

This commit is contained in:
2024-12-25 23:02:09 +01:00
parent 7b4b349816
commit 3144078860
17 changed files with 167 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
class AuthController {
public function signin() {
$view = new View();
$data = [
'title' => 'Log In'
];
$view->render('auth/signin', $data);
}
public function signup() {
$view = new View();
$data = [
'title' => 'Register'
];
$view->render('auth/signup', $data);
}
}