MyHome/primary/templates/layouts/base.html

25 lines
694 B
HTML
Raw Permalink Normal View History

2020-01-15 14:09:07 +00:00
{% load static %}
<!DOCTYPE html>
<html>
<head>
<link href="{% static "tailwind.min.css" %}" rel="stylesheet">
<title>MyHome</title>
</head>
<body>
<div class=" h-16 w-full z-10 flex flex-row justify-start items-center bg-blue-500 text-white">
<div class="ml-4">
<a href="/">{% block title %} MyHome {% endblock %}</a>
</div>
<div class="mr-4">
</div>
</div>
<div class="py-4 px-4 h-32 flex flex-row justify-start items-center bg-blue-500 text-white text-4xl">
{% block subtitle %} Selamat datang di rumah! {% endblock %}
</div>
<div class="my-4 mx-4">
{% block content %} {% endblock %}
</div>
</body>
</html>