New files added
This commit is contained in:
parent
44a6d295d8
commit
594b8a64fa
2 changed files with 18 additions and 0 deletions
6
Response.php
Normal file
6
Response.php
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
|
||||
class Response{
|
||||
const NOT_FOUND = 404;
|
||||
const FORBIDDEN = 403;
|
||||
}
|
||||
12
views/403.php
Normal file
12
views/403.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php require ('partials/head.php') ?>
|
||||
<?php require ('partials/nav.php') ?>
|
||||
<?php require ('partials/banner.php') ?>
|
||||
<main>
|
||||
<div class="mx-auto max-w-7xl py-6 sm:px-6 lg:px-8">
|
||||
<h1 class="text-2xl font-bold">Unauthorized</h1>
|
||||
<p class="mt-4">
|
||||
<a href="/" class="text-blue underline">Go back home.</a>
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
<?php require ('partials/footer.php') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue