Initial PHP slim project structure

This commit is contained in:
2022-11-19 13:51:05 -05:00
parent 63dcfcdde5
commit 4a44aef764
13 changed files with 1546 additions and 8 deletions

7
views/index.twig Normal file
View File

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

14
views/layout.twig Normal file
View File

@ -0,0 +1,14 @@
<!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 %} | Goliath</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
</head>
<body>
{% block content %}{% endblock %}
</body>
</html>