Initial PHP Slim project structure

This commit is contained in:
2022-11-25 15:46:18 -05:00
parent 5581f0de90
commit ade48ccb2f
14 changed files with 1535 additions and 22 deletions

9
views/index.twig Normal file
View File

@ -0,0 +1,9 @@
{% extends 'layout.twig' %}
{% block title %}Dashboard{% endblock %}
{% block content %}
<p>This is a test.</p>
{% endblock %}

11
views/layout.twig Normal file
View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %} | Colossus</title>
</head>
<body>
{% block content %}{% endblock %}
</body>
</html>