Refactored views

This commit is contained in:
Chris Kankiewicz
2020-01-04 17:01:44 -07:00
parent 4600e9f3e3
commit 2ec1f7c94d
3 changed files with 9 additions and 11 deletions

View File

@@ -1,15 +1,13 @@
{% extends 'layouts/app.twig' %}
{% block content %}
<div class="flex flex-col h-screen">
{% include 'components/header.twig' %}
{% include 'components/header.twig' %}
<div id="content" class="flex-grow container flex justify-center items-center mx-auto px-4">
<p class="font-sans font-light text-4xl text-gray-600">
404 &bull; Not Found
</p>
</div>
{% include 'components/footer.twig' %}
<div id="content" class="flex-grow container flex justify-center items-center mx-auto px-4">
<p class="font-sans font-light text-4xl text-gray-600">
404 &bull; Not Found
</p>
</div>
{% include 'components/footer.twig' %}
{% endblock %}

View File

@@ -3,7 +3,7 @@
{% block content %}
{% include "components/header.twig" %}
<div id="content" class="container mx-auto px-4">
<div id="content" class="flex-grow container mx-auto px-4">
<ul id="file-list" class="py-4">
<div class="flex justify-between font-bold p-4">
<div class="flex-grow mr-2">

View File

@@ -9,6 +9,6 @@
<title>Directory Lister</title>
<div id="app" class="font-mono min-h-screen z-0 {{ config('dark_mode') ? 'dark-mode' : '' }}">
<div id="app" class="flex flex-col min-h-screen font-mono {{ config('dark_mode') ? 'dark-mode' : '' }}">
{% block content %}{% endblock %}
</div>